diff --git a/index.css b/index.css index a5768367..db8ccb89 100644 --- a/index.css +++ b/index.css @@ -36,6 +36,12 @@ textarea { width: 100%; } +iframe { + border: 0; + pointer-events: none; + width: 100%; +} + #map { background-color: #000000; mask-mode: alpha; @@ -222,18 +228,12 @@ t, cursor: pointer; } -#options .pressed { - background-color: #896c77 !important; - font-style: italic; -} - i.icon-lock { cursor: pointer; } #routeEditor > *, -#labelEditor div, -#markerEditor div { +#labelEditor div { display: inline-block; } @@ -323,10 +323,21 @@ text.drag { text-shadow: 0 0 1px red; } +#dialogs { + background-color: var(--bg-dialogs); +} + .draggable { cursor: move; } +.ui-widget-header { + border-bottom: 1px solid var(--dark-solid); + background: var(--header); + color: #ffffff; + font-weight: bold; +} + .ui-dialog, #optionsContainer { user-select: none; @@ -338,6 +349,7 @@ text.drag { border: solid 1px #5e4fa2; margin: 10px; padding-bottom: 0.3em; + background: var(--bg-light); } #options input, @@ -356,7 +368,7 @@ text.drag { } .tab { - border-bottom: 1px solid #5d4651; + border-bottom: 1px solid var(--dark-solid); height: 2.2em; display: flex; justify-content: space-between; @@ -370,19 +382,19 @@ div.tab > button#optionsHide { button.options { width: 100%; - background-color: #997b89; + background-color: var(--bg-main); font-weight: bold; border: none; transition: 0.2s; } -button.options:hover { - background-color: #806070 !important; - color: white !important; +button.active { + background-color: var(--header); + color: white; } -button.active { - background-color: #916e7f; +button.options:hover { + background-color: var(--header-active); color: white; } @@ -412,10 +424,35 @@ button.active { #options i { color: #31272c; - font-size: 0.8em; + font-size: 0.85em; cursor: pointer; } +#options button i.icon-cog { + position: absolute; + padding: 0.1em 0.3em; + background-color: var(--bg-lighter); + border-radius: 50%; + visibility: hidden; + opacity: 0; + transition: 0.4s ease-in-out; +} + +#options button i.icon-cog:hover { + color: #111; + background-color: var(--bg-light); + transform: rotateZ(180deg); +} + +#options button i.icon-cog:active { + transform: translateY(1px); +} + +#options button:hover i.icon-cog { + visibility: visible; + opacity: 1; +} + input[type="color"] { -webkit-appearance: none; cursor: pointer; @@ -461,11 +498,11 @@ input[type="color"]::-webkit-color-swatch-wrapper { border-radius: 15%; width: 0.91em; height: 0.91em; - background: #a58394; - border: 1px solid #5d4651; + background: var(--light-solid); + border: 1px solid var(--dark-solid); cursor: pointer; margin-top: -0.4em; - box-shadow: 0.5px 0.5px 0px #5d4651; + box-shadow: 0.5px 0.5px 0px var(--dark-solid); } #options input[type="range"]::-moz-range-thumb { @@ -473,10 +510,10 @@ input[type="color"]::-webkit-color-swatch-wrapper { border-radius: 15%; width: 0.73em; height: 0.73em; - background: #a58394; - border: 1px solid #5d4651; + background: var(--light-solid); + border: 1px solid var(--dark-solid); cursor: pointer; - box-shadow: 0.5px 0.5px 0px #5d4651; + box-shadow: 0.5px 0.5px 0px var(--dark-solid); } #options input[type="range"]::-webkit-slider-runnable-track { @@ -520,7 +557,7 @@ input[type="color"]::-webkit-color-swatch-wrapper { } #optionsContent input[type="number"]:hover { - outline: 1px solid #5d4651; + outline: 1px solid var(--dark-solid); } #optionsContent input.paired { @@ -542,10 +579,9 @@ input[type="color"]::-webkit-color-swatch-wrapper { width: 100%; } -#optionsSeedGenerate:before { - content: "✓"; - margin-left: -2px; - font-weight: bold; +#options input[type="color"] { + width: 2em; + padding: 1px; } .tabcontent button.sideButton { @@ -601,7 +637,7 @@ input[type="color"]::-webkit-color-swatch-wrapper { #exitCustomization > div { width: 12em; - background: #5d4651; + background: var(--dark-solid); cursor: move; } @@ -637,7 +673,7 @@ input[type="color"]::-webkit-color-swatch-wrapper { } .tabcontent button { - background-color: #916e7f; + background-color: var(--bg-lighter); border: none; padding: 0.45em 0.75em; margin: 0.35em 0; @@ -645,8 +681,13 @@ input[type="color"]::-webkit-color-swatch-wrapper { font-size: 1em; } +.tabcontent button.pressed { + background-color: var(--header); + font-style: italic; +} + .tabcontent button:hover { - background-color: #a8879d !important; + background-color: var(--header-active); } #toolsContent div { @@ -679,12 +720,12 @@ input[type="color"]::-webkit-color-swatch-wrapper { } fieldset { - border: 1px solid #5d4651; + border: 1px solid var(--dark-solid); } .tabcontent li { list-style-type: none; - background-color: #997b89; + background-color: var(--bg-main); cursor: pointer; padding: 0.35em; margin: 0.2em 0.3em; @@ -693,14 +734,17 @@ fieldset { text-align: center; } -#options .buttonoff { - background-color: #b6b4b440 !important; - color: #666; +.tabcontent .buttonoff { + background-color: var(--bg-disabled); + color: #444444aa; +} + +.tabcontent li:hover { + box-shadow: 0 0 2px 2px var(--dark-solid) 17; } -.tabcontent li:hover, .tabcontent button:hover { - box-shadow: 0 0 2px 2px #5d465117; + background-color: var(--header); } #optionsContainer span { @@ -799,7 +843,7 @@ fieldset { table.matrix-table th, table.matrix-table td { - border: 1px solid #5d4651; + border: 1px solid var(--dark-solid); height: 2em; padding: 0.2em; position: relative; @@ -815,7 +859,7 @@ table.matrix-table tr:hover th { } table.matrix-table td:hover { - outline: 2px solid #5d4651; + outline: 2px solid var(--dark-solid); outline-offset: -1px; z-index: 1; } @@ -1142,7 +1186,7 @@ i.resetButton { } i.resetButton:active { - color: #5d4651; + color: var(--dark-solid); } .ui-dialog button.pressed { @@ -1183,7 +1227,7 @@ i.resetButton:active { } .ui-dialog input[type="number"] { - width: 3.5em; + width: 4.5em; } .ui-dialog .disabled { @@ -1519,9 +1563,11 @@ div.states > .coaIcon > use { #stateNameEditor div.label, #provinceNameEditor div.label, -#regimentBody div.label { +#regimentBody div.label, +#markerEditor div.label { display: inline-block; width: 5.5em; + padding: 0.3em 0; } #saveTilesScreen div.label { @@ -1529,10 +1575,6 @@ div.states > .coaIcon > use { width: 5em; } -#regimentBody div { - margin: 0.1em 0; -} - #regimentBody input[type="number"] { width: 5em; } @@ -1677,8 +1719,8 @@ div.editorLine { } #pickerHeader { - fill: #916e7f; - stroke: #5d4651; + fill: var(--header); + stroke: var(--dark-solid); cursor: move; } @@ -1692,7 +1734,7 @@ div.editorLine { #pickerCloseRect { cursor: pointer; - fill: #916e7f; + fill: var(--header); stroke: #f8ffff; } @@ -1965,10 +2007,7 @@ div.textual span, font-family: monospace; user-select: none; text-anchor: middle; -} - -#markerEditor > button { - vertical-align: top; + dominant-baseline: central; } .highlighted { @@ -2198,14 +2237,14 @@ svg.button { color: #920303; background-color: #dabdbd91; padding: 2px; - border: 1px solid #916e7f; + border: 1px solid var(--header); } .announcement { background-color: #a18888; color: white; padding: 0.4em 0.5em; - border: dashed 1px #5d4651; + border: dashed 1px var(--dark-solid); } .speaker { diff --git a/index.html b/index.html index a143b30c..836f729f 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ @@ -210,14 +211,6 @@ - - - - - ? - - - @@ -234,7 +227,7 @@
Azgaar's
Fantasy Map Generator
-
v. 1.66
+
v. 1.7

LOADING...

@@ -242,7 +235,7 @@
- +
@@ -1356,7 +1363,7 @@ - + @@ -1462,8 +1469,7 @@ -
- +