|
@@ -1368,51 +1368,100 @@ input:checked + .toggleSwitchSlider:before {
|
|
|
* Settings View (Mods Tab)
|
|
* Settings View (Mods Tab)
|
|
|
* * */
|
|
* * */
|
|
|
|
|
|
|
|
-#settingsReqModsContent,
|
|
|
|
|
-#settingsOptModsContent,
|
|
|
|
|
-#settingsDropinModsContent {
|
|
|
|
|
- font-size: 12px;
|
|
|
|
|
|
|
+/* Selected server content container */
|
|
|
|
|
+#settingsSelServContainer {
|
|
|
background: rgba(0, 0, 0, 0.25);
|
|
background: rgba(0, 0, 0, 0.25);
|
|
|
|
|
+ width: 75%;
|
|
|
border-radius: 3px;
|
|
border-radius: 3px;
|
|
|
- color: white;
|
|
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ margin: 15px 0px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* Div which will be populated with the selected server's information. */
|
|
|
|
|
+#settingsSelServContent {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: flex-start;
|
|
|
|
|
+ padding: 5px 0px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* Wrapper container for the switch server button. */
|
|
|
|
|
+#settingsSwitchServerContainer {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ padding: 15px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* Button to switch server configurations on the mods tab. */
|
|
|
|
|
+#settingsSwitchServerButton {
|
|
|
|
|
+ opacity: 0;
|
|
|
|
|
+ border: 1px solid rgb(255, 255, 255);
|
|
|
|
|
+ color: rgb(255, 255, 255);
|
|
|
|
|
+ background: none;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ border-radius: 3px;
|
|
|
|
|
+ font-family: 'Avenir Medium';
|
|
|
|
|
+ transition: 0.25s ease;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+}
|
|
|
|
|
+#settingsSwitchServerButton:hover,
|
|
|
|
|
+#settingsSwitchServerButton:focus {
|
|
|
|
|
+ box-shadow: 0px 0px 20px rgb(255, 255, 255);
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.25);
|
|
|
|
|
+}
|
|
|
|
|
+#settingsSwitchServerButton:active {
|
|
|
|
|
+ box-shadow: 0px 0px 20px rgb(187, 187, 187);
|
|
|
|
|
+ background: rgba(187, 187, 187, 0.25);
|
|
|
|
|
+ border: 1px solid rgb(187, 187, 187);
|
|
|
|
|
+ color: rgb(187, 187, 187);
|
|
|
|
|
+}
|
|
|
|
|
+#settingsSelServContainer:hover #settingsSwitchServerButton {
|
|
|
|
|
+ opacity: 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Main content container for the mod elements. */
|
|
|
#settingsModsContainer {
|
|
#settingsModsContainer {
|
|
|
width: 75%;
|
|
width: 75%;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Mod sub-container header text. */
|
|
|
.settingsModsHeader {
|
|
.settingsModsHeader {
|
|
|
padding-bottom: 10px;
|
|
padding-bottom: 10px;
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
|
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Mod elements sub-containers. */
|
|
|
#settingsReqModsContainer,
|
|
#settingsReqModsContainer,
|
|
|
#settingsOptModsContainer,
|
|
#settingsOptModsContainer,
|
|
|
#settingsDropinModsContainer {
|
|
#settingsDropinModsContainer {
|
|
|
padding-bottom: 25px;
|
|
padding-bottom: 25px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Main content containers for mod elements. */
|
|
|
|
|
+#settingsReqModsContent,
|
|
|
|
|
+#settingsOptModsContent,
|
|
|
|
|
+#settingsDropinModsContent {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ background: rgba(0, 0, 0, 0.25);
|
|
|
|
|
+ border-radius: 3px;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* Mod elements. */
|
|
|
.settingsMod,
|
|
.settingsMod,
|
|
|
.settingsDropinMod {
|
|
.settingsDropinMod {
|
|
|
padding: 10px;
|
|
padding: 10px;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
.settingsSubMod {
|
|
.settingsSubMod {
|
|
|
padding: 10px 0px 10px 15px;
|
|
padding: 10px 0px 10px 15px;
|
|
|
margin-left: 20px;
|
|
margin-left: 20px;
|
|
|
border-left: 1px solid rgba(255, 255, 255, 0.5);
|
|
border-left: 1px solid rgba(255, 255, 255, 0.5);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.settingsModStatus {
|
|
|
|
|
- width: 7px;
|
|
|
|
|
- height: 7px;
|
|
|
|
|
- border-radius: 50%;
|
|
|
|
|
- background-color: #c32625;
|
|
|
|
|
- margin-right: 15px;
|
|
|
|
|
- transition: 0.25s ease;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
|
|
+/* Main content container for mod element information. */
|
|
|
.settingsModContent {
|
|
.settingsModContent {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
@@ -1420,100 +1469,92 @@ input:checked + .toggleSwitchSlider:before {
|
|
|
transition: opacity 0.25s ease;
|
|
transition: opacity 0.25s ease;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Wrapper container for the left side of a mod element. */
|
|
|
.settingsModMainWrapper {
|
|
.settingsModMainWrapper {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.settingsModVersion {
|
|
|
|
|
- color: grey;
|
|
|
|
|
- font-size: 10px;
|
|
|
|
|
|
|
+/* Mod enabled/disabled status. */
|
|
|
|
|
+.settingsModStatus {
|
|
|
|
|
+ width: 7px;
|
|
|
|
|
+ height: 7px;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ background-color: #c32625;
|
|
|
|
|
+ margin-right: 15px;
|
|
|
|
|
+ transition: 0.25s ease;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Mod details container. */
|
|
|
.settingsModDetails {
|
|
.settingsModDetails {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* The version of the mod. */
|
|
|
|
|
+.settingsModVersion {
|
|
|
|
|
+ color: grey;
|
|
|
|
|
+ font-size: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* Disabled toggleswitch for required mods. */
|
|
|
.toggleSwitch[reqmod] {
|
|
.toggleSwitch[reqmod] {
|
|
|
filter: grayscale(49%) brightness(60%);
|
|
filter: grayscale(49%) brightness(60%);
|
|
|
pointer-events: none;
|
|
pointer-events: none;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Set the status color of an enabled mod. */
|
|
|
.settingsBaseMod[enabled] > .settingsModContent > .settingsModMainWrapper > .settingsModStatus {
|
|
.settingsBaseMod[enabled] > .settingsModContent > .settingsModMainWrapper > .settingsModStatus {
|
|
|
background-color: rgb(165, 195, 37);
|
|
background-color: rgb(165, 195, 37);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Add opacity to submods of a disabled mod. */
|
|
|
.settingsBaseMod:not([enabled]) > .settingsSubModContainer .settingsModContent {
|
|
.settingsBaseMod:not([enabled]) > .settingsSubModContainer .settingsModContent {
|
|
|
opacity: 0.5;
|
|
opacity: 0.5;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Curve the left border for submods. */
|
|
|
.settingsSubModContainer > .settingsSubMod:first-child {
|
|
.settingsSubModContainer > .settingsSubMod:first-child {
|
|
|
border-top-left-radius: 10px;
|
|
border-top-left-radius: 10px;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
.settingsSubModContainer > .settingsSubMod:last-child {
|
|
.settingsSubModContainer > .settingsSubMod:last-child {
|
|
|
border-bottom-left-radius: 10px;
|
|
border-bottom-left-radius: 10px;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-settingsSubModContainer > .settingsSubMod:only-child {
|
|
|
|
|
|
|
+.settingsSubModContainer > .settingsSubMod:only-child {
|
|
|
border-top-left-radius: 10px;
|
|
border-top-left-radius: 10px;
|
|
|
border-bottom-left-radius: 10px;
|
|
border-bottom-left-radius: 10px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Wrapper container for all submods. */
|
|
|
.settingsSubModContainer {
|
|
.settingsSubModContainer {
|
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-#settingsSelServContainer {
|
|
|
|
|
|
|
+/* Button to open the mods folder for drop-in mods. */
|
|
|
|
|
+#settingsDropinFileSystemButton {
|
|
|
background: rgba(0, 0, 0, 0.25);
|
|
background: rgba(0, 0, 0, 0.25);
|
|
|
- width: 75%;
|
|
|
|
|
- border-radius: 3px;
|
|
|
|
|
- display: flex;
|
|
|
|
|
- justify-content: space-between;
|
|
|
|
|
- margin: 15px 0px;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-#settingsSelServContent {
|
|
|
|
|
- display: flex;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
- justify-content: flex-start;
|
|
|
|
|
- padding: 5px 0px;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-#settingsSwitchServerContainer {
|
|
|
|
|
- display: flex;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
- padding: 15px;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-#settingsSwitchServerButton {
|
|
|
|
|
- opacity: 0;
|
|
|
|
|
- border: 1px solid rgb(255, 255, 255);
|
|
|
|
|
- color: rgb(255, 255, 255);
|
|
|
|
|
- background: none;
|
|
|
|
|
- font-size: 12px;
|
|
|
|
|
|
|
+ border: 1px solid rgba(126, 126, 126, 0.57);
|
|
|
border-radius: 3px;
|
|
border-radius: 3px;
|
|
|
- font-family: 'Avenir Medium';
|
|
|
|
|
- transition: 0.25s ease;
|
|
|
|
|
|
|
+ height: 50px;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+ padding: 0px 50px;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
outline: none;
|
|
outline: none;
|
|
|
|
|
+ transition: 0.25s ease;
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
}
|
|
}
|
|
|
-#settingsSwitchServerButton:hover,
|
|
|
|
|
-#settingsSwitchServerButton:focus {
|
|
|
|
|
- box-shadow: 0px 0px 20px rgb(255, 255, 255);
|
|
|
|
|
- background: rgba(255, 255, 255, 0.25);
|
|
|
|
|
-}
|
|
|
|
|
-#settingsSwitchServerButton:active {
|
|
|
|
|
- box-shadow: 0px 0px 20px rgb(187, 187, 187);
|
|
|
|
|
- background: rgba(187, 187, 187, 0.25);
|
|
|
|
|
- border: 1px solid rgb(187, 187, 187);
|
|
|
|
|
- color: rgb(187, 187, 187);
|
|
|
|
|
|
|
+#settingsDropinFileSystemButton:hover,
|
|
|
|
|
+#settingsDropinFileSystemButton:focus {
|
|
|
|
|
+ background: rgba(54, 54, 54, 0.25);
|
|
|
|
|
+ text-shadow: 0px 0px 20px white;
|
|
|
}
|
|
}
|
|
|
-#settingsSelServContainer:hover #settingsSwitchServerButton {
|
|
|
|
|
- opacity: 1;
|
|
|
|
|
|
|
+/* Refresh instructions on the file system button. */
|
|
|
|
|
+#settingsDropinRefreshNote {
|
|
|
|
|
+ font-size: 10px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Button to remove drop-in mods. */
|
|
|
.settingsDropinRemoveButton {
|
|
.settingsDropinRemoveButton {
|
|
|
background: none;
|
|
background: none;
|
|
|
border: none;
|
|
border: none;
|
|
@@ -1535,29 +1576,6 @@ settingsSubModContainer > .settingsSubMod:only-child {
|
|
|
text-shadow: 0px 0px 20px #9b1f1f, 0px 0px 20px #9b1f1f, 0px 0px 20px #9b1f1f;
|
|
text-shadow: 0px 0px 20px #9b1f1f, 0px 0px 20px #9b1f1f, 0px 0px 20px #9b1f1f;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-#settingsDropinFileSystemButton {
|
|
|
|
|
- background: rgba(0, 0, 0, 0.25);
|
|
|
|
|
- border: 1px solid rgba(126, 126, 126, 0.57);
|
|
|
|
|
- border-radius: 3px;
|
|
|
|
|
- height: 50px;
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- text-align: left;
|
|
|
|
|
- padding: 0px 50px;
|
|
|
|
|
- cursor: pointer;
|
|
|
|
|
- outline: none;
|
|
|
|
|
- transition: 0.25s ease;
|
|
|
|
|
- margin-bottom: 10px;
|
|
|
|
|
-}
|
|
|
|
|
-#settingsDropinFileSystemButton:hover,
|
|
|
|
|
-#settingsDropinFileSystemButton:focus {
|
|
|
|
|
- background: rgba(54, 54, 54, 0.25);
|
|
|
|
|
- text-shadow: 0px 0px 20px white;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-#settingsDropinRefreshNote {
|
|
|
|
|
- font-size: 10px;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
/* * *
|
|
/* * *
|
|
|
* Settings View (Java Tab)
|
|
* Settings View (Java Tab)
|
|
|
* * */
|
|
* * */
|