diff --git a/icons.css b/icons.css index 8e8ba0fc..88ab7e4c 100644 --- a/icons.css +++ b/icons.css @@ -4,13 +4,13 @@ font-weight: normal; font-style: normal; } - + [class^="icon-"]:before, [class*=" icon-"]:before, [class^="icon-"]:after, [class*=" icon-"]:after { font-family: "icons"; font-style: normal; font-weight: normal; speak: none; - + display: inline-block; text-decoration: inherit; width: 1em; @@ -18,7 +18,7 @@ font-size: 1em; margin: -1px; padding: 0; - + /* For safety - reset parent styles, that can break glyph codes*/ font-variant: normal; text-transform: none; @@ -27,7 +27,7 @@ -moz-osx-font-smoothing: grayscale; /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ } - + /* Font Awesome icons */ .icon-pencil:before { content: '\e800'; } /* '' */ .icon-font:before { content: '\e801'; } /* '' */ @@ -201,10 +201,12 @@ /* Custom icons */ .icon-w:before { font-style: italic; content: 'w:'; } +.icon-f:before { font-style: italic; content: 'f:'; } .icon-n:before { font-style: italic; content: 'n:'; } .icon-i:before { font-style: italic; content: 'i:'; } .icon-s:before { font-style: italic; content: 's:'; } +.icon-r:before { font-style: italic; content: 'r:'; } .icon-a:before { font-style: italic; content: 'a:'; } .icon-smooth:before {font-weight: bold; content: '∼'; } .icon-disrupt:before {font-weight: bold; content: '෴'; } -.icon-if:before {font-style: italic; font-weight: bold; content: 'if'; } \ No newline at end of file +.icon-if:before {font-style: italic; font-weight: bold; content: 'if'; } diff --git a/index.css b/index.css index 9a97d8c5..7ee38d92 100644 --- a/index.css +++ b/index.css @@ -1,318 +1,337 @@ @font-face { - font-family: 'Almendra SC'; - font-style: normal; - font-weight: 400; - src: local('Almendra SC Regular'), local('AlmendraSC-Regular'), url(https://fonts.gstatic.com/s/almendrasc/v8/Iure6Yx284eebowr7hbyTaZOrLQ.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + font-family: 'Almendra SC'; + font-style: normal; + font-weight: 400; + src: local('Almendra SC Regular'), local('AlmendraSC-Regular'), url(https://fonts.gstatic.com/s/almendrasc/v8/Iure6Yx284eebowr7hbyTaZOrLQ.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @media print { - div, canvas {display: none;} + div, canvas { + display: none; + } } body { - margin: 0; - border: 0; + margin: 0; + border: 0; } svg { - position: absolute; - background-color: #53679f; + position: absolute; + background-color: #53679f; } canvas { - position: absolute; - pointer-events: none; + position: absolute; + pointer-events: none; } input, button, select, a { - outline: none; + outline: none; } button, select, a { - cursor: pointer; + cursor: pointer; } .pointer { - cursor: pointer; + cursor: pointer; } #terrs { - stroke-width: 0.7; - stroke-linejoin: round; - mask: url(#shape); - mask-mode: alpha; + stroke-width: 0.7; + stroke-linejoin: round; + mask: url(#shape); + mask-mode: alpha; } #cults { - stroke-width: 0.7; - stroke-linejoin: round; - mask: url(#shape); - mask-mode: alpha; - pointer-events: none; + stroke-width: 0.7; + stroke-linejoin: round; + mask: url(#shape); + mask-mode: alpha; + pointer-events: none; } #grid { - display: none; - fill: none; + display: none; + fill: none; } #landmass { - fill-rule: evenodd; - stroke: none; + fill-rule: evenodd; + stroke: none; } -#lakes, #oceanLayers { - fill-rule: evenodd; +#lakes, +#oceanLayers { + fill-rule: evenodd; } #coastline { - fill: none; - stroke-linejoin: round; + fill: none; + stroke-linejoin: round; } #regions { - stroke-width: 0; - fill-rule: evenodd; - stroke-linejoin: round; - mask: url(#shape); - mask-mode: alpha; - pointer-events: none; + stroke-width: 0; + fill-rule: evenodd; + stroke-linejoin: round; + mask: url(#shape); + mask-mode: alpha; + pointer-events: none; } #rivers { - stroke: none; - mask: url(#shape); - cursor: pointer; + stroke: none; + mask: url(#shape); + cursor: pointer; } -#burgs { - fill-opacity: 0.6; - cursor: pointer; +#icons { + cursor: pointer; } #terrain { - mask: url(#shape); - mask-mode: alpha; + mask: url(#shape); + mask-mode: alpha; + cursor: pointer; } #hills { - stroke-width: 0.1px; - fill: #999999; + stroke-width: 0.1px; + fill: #999999; } #mounts { - stroke-width: 0.1px; - fill: white; + stroke-width: 0.1px; + fill: white; } -#strokes { - stroke-width: 0.08px; - width: 2px; - stroke: #5c5c70; - stroke-dasharray: 0.5, 0.7; - stroke-linecap: round; +.strokes { + stroke-width: 0.08px; + width: 2px; + stroke: #5c5c70; + stroke-dasharray: 0.5, 0.7; + stroke-linecap: round; } #borders { - fill: none; + fill: none; } #routes { - fill: none; - cursor: pointer; + fill: none; + cursor: pointer; } #roads, #trails { - mask: url(#shape); - mask-mode: alpha; + mask: url(#shape); + mask-mode: alpha; } #swamps { - stroke-width: 0.05px; - fill: none; - stroke: #5c5c70; + stroke-width: 0.05px; + fill: none; + stroke: #5c5c70; } #forests { - stroke-width: 0.1px; - stroke: #5c5c70; + stroke-width: 0.1px; + stroke: #5c5c70; } #options .pressed { - background-color: #916e7f; - font-style: italic; + background-color: #916e7f; + font-style: italic; } -#updateFullscreen { - color: #382830; - font-size: 10px; +#options i { + cursor: pointer; + color: #382830; + font-size: 9px; } .editTrigger { - display: none; - position: relative; - width: 60px; + display: none; + position: relative; + width: 60px; } .editTrigger[type="number"] { - width: 44px; - height: 14px; + width: 44px; + height: 14px; } .editTrigger[type="range"] { - width: 132px; - cursor: pointer; + width: 132px; + cursor: pointer; } #editGroupSelect { - width: 146px; + width: 146px; } #editGroupInput { - display: none; - width: 161px; + display: none; + width: 161px; } -#editSizeIcon, #editOpacityIcon, #editShadowIcon { - display: none; +#editText { + width: 160px; } -#editText { - width: 160px; -} - -#editFontSelect { - width: 129px; +#editFontSelect { + width: 129px; } #editFontInput { - width: 125px; + width: 125px; } -#editColor { - height: 20px; - width: 50px; - padding: 0; +input[type="color"].editColor { + height: 18px; + width: 46px; + padding: 0; + cursor: pointer; +} + +input[type="range"].editRange { + width: 80px; +} + +input[type="number"].editNumber { + width: 44px; } #riverScale { - width: 40px; + width: 40px; } #riverAngle, #riverWidthInput, #riverIncrement { - width: 70px; + width: 70px; } .editButtonS { - display: none; - cursor: pointer; + display: none; + cursor: pointer; } .editValue { - display: none; - cursor: default; - font-size: small; - width: 34px; + display: none; + cursor: default; + font-size: small; + width: 34px; } -#riverEditor > *, #routeEditor > * { - display: inline-block; +#riverEditor>*, +#routeEditor>*, +#iconEditor>*, +#reliefEditor>*, +#burgEditor * { + display: inline-block; } #labels { - text-anchor: middle; - dominant-baseline: alphabetic; - text-shadow: 0 0 4px white; - cursor: pointer; + text-anchor: middle; + dominant-baseline: alphabetic; + text-shadow: 0 0 4px white; + cursor: pointer; } #countries { - dominant-baseline: central; + dominant-baseline: central; +} + +#routeLength { + background-color: #f3f3f3; + border: 1px solid #a5a5a5; + padding: 3px; + font-size: 11px; + cursor: default; } .tag { - fill: #fffa90; - stroke: #333333; - stroke-width: 1.4px; + fill: #fffa90; + stroke: #333333; + stroke-width: 1.4px; } .line { - stroke: #666666; - stroke-width: 1px; + stroke: #666666; + stroke-width: 1px; } .circle { - stroke-width: 1px; - fill: none; + stroke-width: 1px; + fill: none; } circle.drag { - stroke: white; + stroke: white; } text.drag { - text-shadow: 0 0 1px red; + text-shadow: 0 0 1px red; } .draggable { - cursor: move; -} - -#optionsContainer { - display: none; + cursor: move; } .ui-dialog, #optionsContainer { - user-select: none; + user-select: none; } #options { - margin: 10px; - display: none; - font-size: smaller; - font-family: monospace; - position: absolute; - background-color: rgba(168, 130, 147, 0.85); - border: solid 1px #5e4fa2; + margin: 10px; + display: none; + font-size: smaller; + font-family: monospace; + position: absolute; + background-color: rgba(168, 130, 147, 0.85); + border: solid 1px #5e4fa2; } .tab { - overflow: hidden; - border-bottom: 1px solid #5d4651;; + overflow: hidden; + border-bottom: 1px solid #5d4651; + height: 28px; } button.options { - background-color: #997c89; - font-family: monospace; - font-weight: bold; - float: left; - border: none; - padding: 8px 14px; - transition: 0.2s; - font-size: 1em; -} - -#aboutTab.options { - padding: 8px; + background-color: #997c89; + font-family: monospace; + font-weight: bold; + float: left; + border: none; + padding: 8px 14px; + transition: 0.2s; + font-size: 1em; } #options p { - font-style: italic; - font-weight: bold; + font-style: italic; + font-weight: bold; +} + +#aboutContent { + text-align: justify; } #aboutContent p { - font-style: italic; - font-weight: normal; + font-style: italic; + font-weight: normal; } #aboutContent a { - color: #1d1b1c; - font-weight: bold; + color: #1d1b1c; + font-weight: bold; } -#options input[type="color"], #convertImageDialog input[type="color"] { +#options input[type="color"], +#convertImageDialog input[type="color"] { width: 38px; padding: 0; border: 0; @@ -321,311 +340,343 @@ button.options { } #options input[type="range"] { - width: 120px; - height: 2px; - background: #ffffff; - top: -2px; - position: relative; - appearance: none; - -webkit-appearance: none; + width: 120px; + height: 2px; + background: #ffffff; + top: -2px; + position: relative; + appearance: none; + -webkit-appearance: none; } #options input[type="range"]::-webkit-slider-thumb { - -webkit-appearance: none; - border-radius: 15%; - width: 10px; - height: 10px; - background: #916e7f; - border: 1px solid #5d4651; - cursor: pointer; + -webkit-appearance: none; + border-radius: 15%; + width: 10px; + height: 10px; + background: #916e7f; + border: 1px solid #5d4651; + cursor: pointer; } #options input[type="range"]::-moz-range-thumb { - -moz-appearance: none; - border-radius: 15%; - width: 10px; - height: 10px; - background: #916e7f; - border: 1px solid #5d4651; - cursor: pointer; + -moz-appearance: none; + border-radius: 15%; + width: 10px; + height: 10px; + background: #916e7f; + border: 1px solid #5d4651; + cursor: pointer; } #options select { - height: 14px; - width: 122px; - border: 0; - font-size: smaller; - font-family: monospace; - cursor: pointer; + height: 14px; + width: 122px; + border: 0; + font-size: smaller; + font-family: monospace; + cursor: pointer; } #options .buttonoff { - background-color: #b6b4b440; - color: grey; + background-color: #b6b4b440; + color: grey; } #sticked button { - background-color: rgba(153, 124, 137, 0); - padding: 0; - margin: 1px 17px; + background-color: rgba(153, 124, 137, 0); + padding: 0; + margin: 1px 17px; } #collapsible { - margin: 10px; - border: 1px solid transparent; - position: absolute; - z-index: 2; + margin: 10px; + border: 1px solid transparent; + position: absolute; + z-index: 2; +} + +#collapsible>button { + height: 28px; } #optionsTrigger { - display: block; - padding: 5.5px 5.5px; - opacity: 0.6; + width: 19px; + font-size: 9px; + padding: 0; } #regenerate { - display: none; - opacity: 0.9; - padding: 7px 10px; + display: none; + padding: 0px 8px; +} + +.glow { + animation: glowing 3s infinite; +} + +@keyframes glowing { + 0% { + box-shadow: 0 0 -4px #ded2d8; + } + 50% { + box-shadow: 0 0 6px #ded2d8; + } + 100% { + box-shadow: 0 0 -4px #ded2d8; + } } button.options:hover { - background-color: #806070; - color: white; + background-color: #806070; + color: white; } button.active { - background-color: #916e7f; - color: white; + background-color: #916e7f; + color: white; } #layoutTab { - margin-left: 19px; + margin-left: 19px; } .tabcontent { - display: none; - padding: 0 6px 2px 12px; - opacity: 0.8; - max-width: 290px; + display: none; + padding: 0 6px 2px 12px; + opacity: 0.8; + max-width: 290px; } .tabcontent button { - background-color: #997c89; - font-family: monospace; - border: none; - padding: 5px 8px; - margin: 4px 0; - transition: 0.1s; - font-size: 1em; + background-color: #997c89; + font-family: monospace; + border: none; + padding: 5px 8px; + margin: 4px 0; + transition: 0.1s; + font-size: 1em; } .tabcontent button:hover { - background-color: #a8879d; + background-color: #a8879d; } #mapLayers { - display: inline-block; - padding: 0; - margin: 0; + display: inline-block; + padding: 0; + margin: 0; } .tabcontent li { - list-style-type: none; - background-color: #997c89; - cursor: pointer; - padding: 5px 8px; - margin: 4px; - transition: 0.1s; - float: left; + list-style-type: none; + background-color: #997c89; + cursor: pointer; + padding: 5px 8px; + margin: 4px; + transition: 0.1s; + float: left; } .tabcontent li:hover { - background-color: #a8879d; + background-color: #a8879d; } .tabcontent li.solid { - color: #42383f; + color: #42383f; } p { - margin-bottom: 0; + margin-bottom: 0; } #optionsContainer span { - cursor: default; + cursor: default; } .pairedNumber { - width: 36px; - line-height: 16px; - height: 10px; - font-size: smaller; - font-family: monospace; + width: 36px; + line-height: 16px; + height: 10px; + font-size: smaller; + font-family: monospace; } -#statusbar { +#cellInfo>div { + margin: 5px; + display: inline-block; + vertical-align: top; +} + +#cellInfo>div:nth-child(2) { + width: 35%; +} + +#tooltip { + position: fixed; display: none; - position: absolute; - font-family: monospace; - margin-left: 10px; - color: #272727; - word-wrap: break-word; - font-size: 1.2vw; + text-align: center; + top: calc(98vh - (10px + 0.5vw)); + width: 100%; + cursor: default; + text-shadow: 1px 0px 1px #1d0e0f; + color: #ffffff; + font-size: calc(10px + 0.5vw); + pointer-events: none; } #optionsContent table td:nth-of-type(1) { - text-decoration: underline dotted gray; - cursor: help; - width: 126px; + width: 8px; } -#optionsContent table td:nth-of-type(3) { - text-align: right; +#optionsContent table td:nth-of-type(2) { + text-decoration: underline dotted gray; + cursor: help; + width: 126px; +} + +#optionsContent table td:nth-of-type(4) { + text-align: right; + width: 18px; } .overflow-div { - height: 300px; - overflow-y: auto; - user-select: text; + height: 300px; + overflow-y: auto; + user-select: text; } .overflow-table { - width: 100%; - font-size: smaller; - text-align: center; + width: 100%; + font-size: smaller; + text-align: center; } #sizeOutput { - color: green; + color: green; } #icons { - stroke: #0d0d0d; - fill: grey; -} - -#fileInputs { - display: none; -} - -#customizationMenu { - display: none; + stroke: #0d0d0d; + fill: grey; } .setColors { - display: inline-block; + display: inline-block; } body button.noicon { - width: 24px; - height: 20px; - margin: 1px; - padding: 1px 6px; - float: left; - font-family: Copperplate, monospace; + width: 24px; + height: 20px; + margin: 1px; + padding: 1px 6px; + float: left; + font-family: Copperplate, monospace; } -#brushesPanel > div, #templateEditor > div { - margin: 2px 0; +#brushesPanel>div, +#templateEditor>div { + margin: 2px 0; } #templateEditor #templateTools { - display: inline-block; - margin-bottom: -3px; + display: inline-block; + margin-bottom: -3px; } #templateSelect { - width: 150px; + width: 150px; } -#templateBody > div { - border: 1px solid #a3a3a3; - border-radius: 1px; - background-image: linear-gradient(to right, #ffffff 0%, #fafafa 51%, #ebebeb 100%); - margin: 1px 1px; - width: 226px; - padding: 1px 2px; - font-size: 9px; +#templateBody>div { + border: 1px solid #a3a3a3; + border-radius: 1px; + background-image: linear-gradient(to right, #ffffff 0%, #fafafa 51%, #ebebeb 100%); + margin: 1px 1px; + width: 226px; + padding: 1px 2px; + font-size: 9px; } -#templateBody > div:hover { - border-color: #808080; - background-image: linear-gradient(to right, #fcfcfc 0%, #ededed 51%, #dedede 100%); +#templateBody>div:hover { + border-color: #808080; + background-image: linear-gradient(to right, #fcfcfc 0%, #ededed 51%, #dedede 100%); } #templateBody span { - display: inline-block; - margin: 0 1px; - float: right; - cursor: pointer; + display: inline-block; + margin: 0 1px; + float: right; + cursor: pointer; } #templateBody span:hover { - color: #297cb8; + color: #297cb8; } #templateBody label { - float: right; - margin-right: 4px; + float: right; + margin-right: 4px; } #templateBody label:first-of-type { - margin-right: 12px; + margin-right: 12px; } #templateBody input { - height: 4px; - width: 45px; - font-family: monospace; - height: 4px; - font-family: monospace; + height: 4px; + width: 45px; + font-family: monospace; + height: 4px; + font-family: monospace; } #templateBody select { - border: 0; - background-color: rgba(255, 255, 255, 0); - width: 58px; - cursor: pointer; + border: 0; + background-color: rgba(255, 255, 255, 0); + width: 58px; + cursor: pointer; } .controlPoints { - fill: #ff0000; - stroke: #841f1f; - stroke-width: 0.1; - cursor: move; - opacity: .8; + fill: #ff0000; + stroke: #841f1f; + stroke-width: 0.1; + cursor: move; + opacity: .8; } -.drag-trigger{ - border-left: 12px solid transparent; - border-right: 12px solid #916e7f; - border-top: 12px solid transparent; - position: absolute; - right: 0; - top: 100%; - margin-top: -12px; +.drag-trigger { + border-left: 12px solid transparent; + border-right: 12px solid #916e7f; + border-top: 12px solid transparent; + position: absolute; + right: 0; + top: 100%; + margin-top: -12px; } -.drag-trigger:hover{ - cursor: move; - border-right-color: #5e4fa2; +.drag-trigger:hover { + cursor: move; + border-right-color: #5e4fa2; } #styleInputs div { - display: none; - line-height: 6px; + display: none; + line-height: 6px; } -#styleInputs #styleOpacity, #styleInputs #styleFill, #styleInputs #styleFilter { - display: block; +#styleInputs #styleOpacity, +#styleInputs #styleFill, +#styleInputs #styleFilter { + display: block; } #styleInputs button { - padding: 0 6px; - margin: 0 2px; - border: 1px #827c7f solid; - background-color: #ffffff; + padding: 0 6px; + margin: 0 2px; + border: 1px #827c7f solid; + background-color: #ffffff; } #restoreStyle { @@ -634,561 +685,591 @@ body button.noicon { } .pureInput { - display: inline-block; - width: 50px; - height: 10px; - font-size: small; - font-size: smaller; - font-family: monospace; + display: inline-block; + width: 50px; + height: 10px; + font-size: small; + font-size: smaller; + font-family: monospace; } .tint { - filter: sepia(1) hue-rotate(200deg); + filter: sepia(1) hue-rotate(200deg); } .color-div { - width: 32px; - height: 12px; - display: inline-block; - margin: 1px 2px; - border: 1px #c5c5c5 groove; - cursor: pointer; + width: 32px; + height: 12px; + display: inline-block; + margin: 1px 2px; + border: 1px #c5c5c5 groove; + cursor: pointer; } #colorsSelect div { - height: 18px; - display: inline-block; - cursor: pointer; + height: 18px; + display: inline-block; + cursor: pointer; } .color-div:hover { - border-color: red; + border-color: red; } .hoveredColor { - box-shadow: 0 0 1px 1px #717171; + box-shadow: 0 0 1px 1px #717171; } .selectedColor { - border-color: red; + outline: 2px solid #f87b66; } #colorScheme { - margin: 6px 1px 4px 1px; + margin: 6px 1px 4px 1px; } #colorsSelectValue { - font-size: larger; - position: relative; - font-family: monospace; - font-weight: bold; - top: -3px; + font-size: larger; + position: relative; + font-family: monospace; + font-weight: bold; + top: -3px; } .selectedCell { - stroke-width: 1; - stroke: #da3126; + stroke-width: 1; + stroke: #da3126; } body .ui-dialog { - padding: 1px; - font-size: 12px; + padding: 1px; + font-size: 12px; } body .ui-dialog-titlebar { - font-size: 14px; + font-size: 14px; } .ui-dialog input { - height: 14px; + height: 14px; } .ui-dialog button.pressed { - box-shadow: inset 1px 1px 0 0 #ccc; - border-color: #a6a6da; - background-color: #ecd8d8; + box-shadow: inset 1px 1px 0 0 #ccc; + border-color: #a6a6da; + background-color: #ecd8d8; } .ui-dialog input[type="range"] { - outline: none; - height: 2px; - background: #e9e9e9; - top: -4px; - position: relative; - appearance: none; - -webkit-appearance: none; + outline: none; + height: 2px; + background: #e9e9e9; + top: -4px; + position: relative; + appearance: none; + -webkit-appearance: none; } .ui-dialog input[type="range"]::-webkit-slider-thumb { - -webkit-appearance: none; - border-radius: 15%; - width: 10px; - height: 10px; - background: #e9e9e9; - border: 1px solid #9b9b9b; - cursor: pointer; + -webkit-appearance: none; + border-radius: 15%; + width: 10px; + height: 10px; + background: #e9e9e9; + border: 1px solid #9b9b9b; + cursor: pointer; } .ui-dialog input[type="range"]::-moz-range-thumb { - appearance: none; - border-radius: 15%; - width: 10px; - height: 10px; - background: #e9e9e9; - border: 1px solid #9b9b9b; - cursor: pointer; + appearance: none; + border-radius: 15%; + width: 10px; + height: 10px; + background: #e9e9e9; + border: 1px solid #9b9b9b; + cursor: pointer; } .ui-dialog .disabled { - opacity: 0.2; + opacity: 0.2; } .ui-dialog .disabled::slider-thumb { - opacity: 0.2; + opacity: 0.2; } .ui-dialog .disabled::-moz-range-thumb { - opacity: 0.2; + opacity: 0.2; } .ui-dialog:disabled { - cursor: default; + cursor: default; } div.slider { - width: 40em; - margin-top: 0.2em; + width: 40em; + margin-top: 0.2em; } div.slider .ui-slider-handle { - width: 3em; - height: 1.6em; - top: 50%; - margin-top: -.8em; - text-align: center; - line-height: 1.6em; + width: 3em; + height: 1.6em; + top: 50%; + margin-top: -.8em; + text-align: center; + line-height: 1.6em; } #saveDropdown { - display: none; - position: absolute; - left: 29%; - top: 100%; - border: 1px solid #5e4fa2; - background-color: #a4879b; - width: 44px; + display: none; + position: absolute; + left: 29%; + top: 100%; + border: 1px solid #5e4fa2; + background-color: #a4879b; + width: 44px; } -#saveDropdown > div { - padding: 2px 4px; - cursor: pointer; +#saveDropdown>div { + padding: 2px 4px; + cursor: pointer; } -#saveDropdown > div:hover { - color: white; +#saveDropdown>div:hover { + color: white; } -#brushPower, #brushRadius { - width: 88px; +#brushPower, +#brushRadius { + width: 88px; } -#rescaleHigher, #rescaleLower, #rescaleModifier { - width: 40px; +#rescaleHigher, +#rescaleLower, +#rescaleModifier { + width: 40px; } #rescaler { - width: 175px; - top: -2px; + width: 175px; + top: -2px; } .italic { - font-style: italic; + font-style: italic; } .hidden { - display: none; + display: none; } .sortable { - font-weight: bold; - font-size: 10px; - cursor: pointer; - display: inline-block; + font-weight: bold; + font-size: 10px; + cursor: pointer; + display: inline-block; } .totalLine { - color: #666666; - font-style: italic; - font-size: 10px; - margin-bottom: 3px; + color: #666666; + font-style: italic; + font-size: 10px; + margin-bottom: 3px; } -.totalLine > div { - display: inline-block; +.totalLine>div { + display: inline-block; } div.states { - border: 1px solid #d4d4d4; - background-image: linear-gradient(to right, #fcfcfc 0%, #f2f2f2 51%, #dedede 100%); - margin: 1px 0; - padding: 0 2px; - font-size: 10px; + border: 1px solid #d4d4d4; + background-image: linear-gradient(to right, #fcfcfc 0%, #f2f2f2 51%, #dedede 100%); + margin: 1px 0; + padding: 0 2px; + font-size: 10px; } div.states:hover { - border: 1px solid #c4c4c4; - background-image: linear-gradient(to right, #dedede 100%, #f2f2f2 51%, #fcfcfc 0%); + border: 1px solid #c4c4c4; + background-image: linear-gradient(to right, #dedede 100%, #f2f2f2 51%, #fcfcfc 0%); } div.states * { - display: inline-block; + display: inline-block; } div.states sup { - display: inline-block; + display: inline-block; } -div.states > input { - width: 60px; - background: none; - border: 0; +div.states>input { + width: 60px; + background: none; + border: 0; } -div.states > input.stateColor { - width: 13px; - height: 17px; - padding: 0px; - margin-right: -1px; - border: 0; - background: none; - cursor: pointer; +div.states>input.stateColor { + width: 13px; + height: 17px; + padding: 0px; + margin-right: -1px; + border: 0; + background: none; + cursor: pointer; } div.states div { - width: 32px; + width: 32px; } div.states .statePower { - width: 32px; - line-height: 14px; + width: 32px; + line-height: 14px; } div.states .stateBurgs { - width: 24px; + width: 24px; } -div.states > .stateArea { - width: 50px; +div.states>.stateArea { + width: 50px; } -div.states > .statePopulation { - width: 30px; +div.states>.statePopulation { + width: 30px; } -div.states .stateBurgs, div.states .stateBIcon, div.states .icon-trash-empty { - cursor: pointer; +div.states .stateBurgs, +div.states .stateBIcon, +div.states .icon-trash-empty { + cursor: pointer; } -div.states > [class^="icon-"] { - color: #6e5e66; - padding: 0 1px 0 7px; +div.states>[class^="icon-"] { + color: #6e5e66; + padding: 0 1px 0 7px; } -div.states > .before { - color: #6e5e66; - padding: 0 1px 0 0; +div.states>.before { + color: #6e5e66; + padding: 0 1px 0 0; } -div.states > .small { - font-size: 9px; +div.states>.small { + font-size: 9px; } -#burgsBody, #countriesBody { - overflow: auto; - max-height: 362px; +#burgsBody, +#countriesBody { + overflow: auto; + max-height: 362px; } #countriesBody { - min-width: 366px; + min-width: 366px; } #burgsBody { - min-width: 260px; + min-width: 260px; } -div.states .burgName, div.states .burgCulture { - width: 56px; +div.states .burgName, +div.states .burgCulture { + width: 56px; } div.states .burgPopulation { - width: 30px; + width: 30px; } #burgsFooterPopulation { - border: 0; - width: 50px; - color: #666666; - font-style: italic; - line-height: 14px; + border: 0; + width: 50px; + color: #666666; + font-style: italic; + line-height: 14px; } div.states .enlange { - cursor: pointer; + cursor: pointer; } -#countriesEditor div > .hidden { - display: none; +#countriesEditor div>.hidden { + display: none; } .placeholder { - opacity: 0; + opacity: 0; } -span.ui-dialog-title > input.stateColor { - width: 14px; - height: 18px; - border: 0; - background: none; - cursor: pointer; +span.ui-dialog-title>input.stateColor { + width: 14px; + height: 18px; + border: 0; + background: none; + cursor: pointer; } div.states.selected { - border: 1px solid #b28585; - background-image: linear-gradient(to right, #e5dada 100%, #f2f2f2 51%, #fcfcfc 0%); + border: 1px solid #b28585; + background-image: linear-gradient(to right, #e5dada 100%, #f2f2f2 51%, #fcfcfc 0%); } div.states button.selectCapital { - margin: -1px 21px 0 7px; - padding: 0px 3px; + margin: -1px 21px 0 7px; + padding: 0px 3px; } #scaleBody { - margin-left: 14px; + margin-left: 14px; } -#scaleBody > div > * { - display: inline-block; - font-size: 11px; +#scaleBody>div>* { + display: inline-block; + font-size: 11px; } -#scaleBody > div > div { - width: 100px; +#scaleBody>div>div { + width: 100px; } -#scaleBody > div > select { - width: 110px; - border: 1px solid #e9e9e9; +#scaleBody>div>select { + width: 110px; + border: 1px solid #e9e9e9; } -#scaleBody > div > input[type="text"] { - width: 110px; - border: 0; +#scaleBody>div>input[type="text"] { + width: 110px; + border: 0; } -#scaleBody > div > input[type="range"] { - width: 80px; +#scaleBody>div>input[type="range"] { + width: 80px; } -#scaleBody > div > output { - width: 40px; +#scaleBody>div>input.output { + width: 30px; } .scaleHeader { - margin-left: -10px; - font-weight: bold; - font-style: italic; - margin-top: 6px; + margin-left: -10px; + font-weight: bold; + font-style: italic; + margin-top: 6px; } #ruler { - cursor: move; + cursor: move; } #ruler circle { - stroke: #4e5a69; - fill: yellow; + stroke: #4e5a69; + fill: yellow; } #ruler .white { - stroke: white; + stroke: white; } #ruler .gray { - stroke: #3d3d3d; + stroke: #3d3d3d; } #ruler text { - font-family: tahoma; - fill: #3d3d3d; - stroke: none; - text-anchor: middle; - dominant-baseline: ideographic; - text-shadow: 0 0 4px white; - cursor: pointer; + font-family: tahoma; + fill: #3d3d3d; + stroke: none; + text-anchor: middle; + dominant-baseline: ideographic; + text-shadow: 0 0 4px white; + cursor: pointer; } #ruler .opisometer { - fill: none; + fill: none; } #ruler .planimeter { - fill: lightblue; - fill-rule: evenodd; - fill-opacity: 0.5; - stroke: #737373; + fill: lightblue; + fill-rule: evenodd; + fill-opacity: 0.5; + stroke: #737373; } #scaleBar { - stroke: none; - fill: none; - cursor: move; + stroke: none; + fill: none; + cursor: move; } #scaleBar text { - fill: #353540; - text-anchor: middle; - font-family: Georgia; + fill: #353540; + text-anchor: middle; + font-family: Georgia; } -#icon-anchor { - fill: white; - stroke: #3e3e4b; - stroke-width: 1.2; +#scaleBottom { + margin: 6px 0 0 6px; +} + +#barBackColor { + width: 24px; + height: 16px; + padding: 0px; + border: 0; + background: none; + cursor: pointer; } #overlay { - fill: none; + fill: none; } #loading { - color: #fff5da; - text-align: center; - text-shadow: 0px 1px 4px #4c3a35; - max-width: 780px; - position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - cursor: default; - user-select: none; + color: #fff5da; + text-align: center; + text-shadow: 0px 1px 4px #4c3a35; + max-width: 780px; + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + cursor: default; + user-select: none; } #title_name { - text-align: left; - font-size: 2em; - margin-left: 5%; + text-align: left; + font-size: 2em; + margin-left: 5%; } #title { - font-size: 4.5em; - margin: -12px 0 -6px 0; + font-size: 4.5em; + margin: -12px 0 -6px 0; } #version { - text-align: right; - font-size: 1.2em; + text-align: right; + font-size: 1.2em; } #initial { - fill: none; - stroke: black; + fill: none; + stroke: black; } #init-rose { - stroke-dasharray: 1; - /*animation: spin 30s infinite ease-in-out;*/ - opacity: .7; - transform: translate(50%, 50%); + stroke-dasharray: 1; + /*animation: spin 30s infinite ease-in-out;*/ + opacity: .7; + transform: translate(50%, 50%); } @keyframes spin { - 0% {transform: translate(50%, 50%) rotate(0deg);} - 100% {transform: translate(50%, 50%) rotate(359deg);} + 0% { + transform: translate(50%, 50%) rotate(0deg); + } + 100% { + transform: translate(50%, 50%) rotate(359deg); + } } -#loading-text span, #uploading-map span { - animation-name: blink; - animation-duration: 3s; - animation-iteration-count: infinite; - animation-fill-mode: both; +#loading-text span, +#uploading-map span { + animation-name: blink; + animation-duration: 3s; + animation-iteration-count: infinite; + animation-fill-mode: both; } #loading-text span:nth-child(2) { - animation-delay: 1s; + animation-delay: 1s; } #loading-text span:nth-child(3) { - animation-delay: 2s; + animation-delay: 2s; } @keyframes blink { - 0% {opacity: 0;} - 20% {opacity: 1;} - 100% {opacity: .1;} + 0% { + opacity: 0; + } + 20% { + opacity: 1; + } + 100% { + opacity: .1; + } } -ul.share-buttons li{ - display: inline; - float: none; - padding: 4px; - background: 0; +ul.share-buttons li { + display: inline; + float: none; + padding: 4px; + background: 0; } -ul.share-buttons img{ - width: 16px; +ul.share-buttons img { + width: 16px; } input[type="checkbox"] { display: none; } -.checkbox, .checkbox-label { - margin: 5px; - cursor: pointer; +.checkbox, +.checkbox-label { + margin: 5px; + cursor: pointer; } -.checkbox + .checkbox-label:before { - content: ''; - background: #ece6eb; - border-radius: 3px; - display: inline-block; - vertical-align: text-top; - width: 8px; - height: 8px; - padding: 2px; - margin-right: 2px; +.checkbox+.checkbox-label:before { + content: ''; + background: #ece6eb; + border-radius: 1px; + display: inline-block; + vertical-align: text-top; + width: 7px; + height: 7px; + padding: 2px; + margin-right: 3px; } -.checkbox:checked + .checkbox-label:before { - background: #b19aa6; - transition: .1s; - box-shadow: inset 0px 0px 0px 2px #ece6ea; +.checkbox:checked+.checkbox-label:before { + background: #997c89; + transition: .2s; + box-shadow: inset 0px 0px 0px 2px #ece6ea; } #map-dragged { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - display: flex; - align-items: center; - justify-content: center; - z-index: 10; - pointer-events: none; - text-align: center; - background: rgba(0, 0, 0, .5); + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: flex; + align-items: center; + justify-content: center; + z-index: 10; + pointer-events: none; + text-align: center; + background: rgba(0, 0, 0, .5); } #map-dragged p { - font-size: 2.4em; - color: #fff5da; - text-shadow: 0px 1px 4px #4c3a35; + font-size: 2.4em; + color: #fff5da; + text-shadow: 0px 1px 4px #4c3a35; } #map-dragged p:before { - content: ''; - display: inline-block; - vertical-align: middle; - height: 100%; + content: ''; + display: inline-block; + vertical-align: middle; + height: 100%; +} + +#capital-anchors, #town-anchors { + transform: translate(-0.47em, -0.47em); } diff --git a/index.html b/index.html index 6c56f571..8c97969f 100644 --- a/index.html +++ b/index.html @@ -32,12 +32,12 @@ - - + + - + @@ -75,7 +75,7 @@ - + Anchor @@ -140,23 +140,23 @@
Azgaar's
Fantasy Map Generator
-
v. 0.56b
+
v. 0.57b

LOADING...

-
+ -