diff --git a/css/auto-suggest.css b/css/auto-suggest.css index 737f99f2..9bfeb053 100644 --- a/css/auto-suggest.css +++ b/css/auto-suggest.css @@ -13,7 +13,7 @@ left: 0; width: 100%; max-height: 40vh; - border-radius: var(--radius); + border-radius: var(--theme-radius); overflow-y: auto; z-index: var(--z-index-auto-suggest-list); display: flex; @@ -35,7 +35,7 @@ border-width: var(--form-input-border); border-style: solid; border-color: transparent; - border-radius: var(--radius); + border-radius: var(--theme-radius); width: 100%; height: 100%; display: flex; @@ -64,7 +64,7 @@ color: rgb(var(--form-input-text-focus)); outline: none; text-decoration: none; - box-shadow: 0 0 0 var(--line-width) rgb(var(--accent)), 0 0 0 calc(var(--line-width) * 2) rgba(var(--accent), 0.25); + box-shadow: 0 0 0 var(--line-width) rgb(var(--theme-accent)), 0 0 0 calc(var(--line-width) * 2) rgba(var(--theme-accent), 0.25); } .auto-suggest-link:active { diff --git a/css/background.css b/css/background.css index 45cb6e87..29010d4b 100755 --- a/css/background.css +++ b/css/background.css @@ -26,7 +26,7 @@ } .background-accent { - background-color: rgba(var(--accent), var(--background-accent-opacity)); + background-color: rgba(var(--theme-accent), var(--background-accent-opacity)); position: absolute; top: 0; left: 0; diff --git a/css/base.css b/css/base.css index 4b310a61..c831452a 100755 --- a/css/base.css +++ b/css/base.css @@ -1,5 +1,5 @@ :root { - --accent: 250, 130, 0; + --root-font-size: 14px; --black: 0, 0, 0; --white: 255, 255, 255; --shade-01: 38, 40, 49; @@ -45,40 +45,33 @@ --form-checkbox-radio-chcked-label: var(--gray-16); --form-checkbox-radio-disabled-label: var(--gray-04); --form-range-thumb: var(--gray-12); - --root-font-size: 14px; - --radius: 0.2em; + --theme-accent: 250, 130, 0; + --theme-radius: 0.2rem; --line-width: 0.2em; --background: rgb(var(--gray-01)); --gutter: 0.5rem; - --animation-speed-fast: 0.2s; - --animation-speed-medium: 0.4s; - --animation-speed-slow: 0.6s; --font-regular: "Open Sans Regular", sans-serif; --font-bold: "Open Sans Bold", sans-serif; --font-light: "Open Sans Light", sans-serif; --font-fjalla: "Fjalla One Regular", sans-serif; - --z-index-background: 1000; - --z-index-link: 2000; - --z-index-header: 3000; - --z-index-tip: 4000; - --z-container-edge: 5000; - --z-index-shade: 6000; - --z-index-modal: 7000; - --z-index-menu: 8000; - --z-index-auto-suggest-list: 8000; - --z-index-edge: 9000; --header-area-width: 100%; --header-shade-color: transparent; --header-shade-opacity: none; --header-search-width: 0%; - --header-padding-top: calc(var(--line-width) * var(--header-padding-multiplier-top)); - --header-padding-bottom: calc(var(--line-width) * var(--header-padding-multiplier-bottom)); - --header-padding-multiplier-top: 4; - --header-padding-multiplier-bottom: 4; - --header-border-width-top: calc(var(--line-width) * var(--header-border-width-multiplier-top)); - --header-border-width-bottom: calc(var(--line-width) * var(--header-border-width-multiplier-bottom)); - --header-border-width-multiplier-top: 1; - --header-border-width-multiplier-bottom: 1; + --header-padding-top: calc(var(--line-width) * var(--header-padding-top-multiplier)); + --header-padding-bottom: calc(var(--line-width) * var(--header-padding-bottom-multiplier)); + --header-padding-top-multiplier: 4; + --header-padding-bottom-multiplier: 4; + --header-border-width-top: calc(var(--line-width) * var(--header-border-width-top-multiplier)); + --header-border-width-bottom: calc(var(--line-width) * var(--header-border-width-bottom-multiplier)); + --header-border-width-top-multiplier: 1; + --header-border-width-bottom-multiplier: 1; + --header-date-size: 1em; + --header-clock-size: 1em; + --header-search-size: 1em; + --header-button-size: 1em; + --header-greeting-size: 1em; + --header-transitional-size: 1em; --link-area-width: 100%; --link-area-gutter-multiplier: 2; --link-item-size: 1em; @@ -90,13 +83,24 @@ --background-accent-opacity: 0; --background-blur: 0; --layout-width: 80%; - --menu-border: calc(var(--line-width) * 1) solid rgb(var(--gray-03)); + --animation-speed-fast: 0.2s; + --animation-speed-medium: 0.4s; + --animation-speed-slow: 0.6s; --shadow-small: 0 2px 1px rgba(0, 0, 0, 0.1), 0 3px 2px rgba(0, 0, 0, 0.1); --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.1), 0 6px 15px rgba(0, 0, 0, 0.1); --shadow-large: 0 4px 10px rgba(0, 0, 0, 0.1), 0 6px 30px rgba(0, 0, 0, 0.1); --shadow-small-inset: inset 0 1px 1px rgba(0, 0, 0, 0.05); --shadow-medium-inset: inset 0 2px 2px rgba(0, 0, 0, 0.1); --shadow-large-inset: inset 0 3px 3px rgba(0, 0, 0, 0.15); + --z-index-background: 1000; + --z-index-link: 2000; + --z-index-header: 3000; + --z-index-tip: 4000; + --z-index-shade: 5000; + --z-index-modal: 6000; + --z-index-menu: 7000; + --z-index-auto-suggest-list: 8000; + --z-index-edge: 9000; /* breakpoint reference */ /* can not be used in @media as of yet */ --breakpoint-sm: 550px; @@ -109,15 +113,15 @@ :root.is-link-style-block { --link-item-width: 11em; --link-item-height: 10em; - --url-height: 20%; - --edit-height: 30%; + --link-item-url-height: 20%; + --link-item-edit-height: 30%; } :root.is-link-style-list { --link-item-width: 20em; --link-item-height: 4em; - --url-height: 30%; - --edit-height: 50%; + --link-item-url-height: 30%; + --link-item-edit-height: 50%; } @media (min-width: 700px) { @@ -127,7 +131,7 @@ } ::selection { - background-color: rgb(var(--accent)); + background-color: rgb(var(--theme-accent)); color: rgb(var(--white)); } diff --git a/css/button.css b/css/button.css index 421101c1..09f7cfa6 100755 --- a/css/button.css +++ b/css/button.css @@ -16,13 +16,13 @@ input[type="submit"] { border-bottom-width: var(--line-width); border-style: solid; border-color: transparent; - border-radius: var(--radius); + border-radius: var(--theme-radius); text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: none; - transition: all var(--animation-speed-fast) ease-in-out; + transition: background-color var(--animation-speed-fast) ease-in-out, color var(--animation-speed-fast) ease-in-out, border var(--animation-speed-fast) ease-in-out; display: inline-flex; flex-direction: row; justify-content: center; @@ -51,7 +51,7 @@ input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { background-color: rgb(var(--gray-04)); - border-bottom-color: rgb(var(--accent)); + border-bottom-color: rgb(var(--theme-accent)); color: rgb(var(--button-text-active)); transition: none; } @@ -83,7 +83,7 @@ button [class*=" icon-"], } .button.active { - border-bottom-color: rgb(var(--accent)); + border-bottom-color: rgb(var(--theme-accent)); color: rgb(var(--button-text-active)); } diff --git a/css/clock.css b/css/clock.css index c277fbee..810deacb 100755 --- a/css/clock.css +++ b/css/clock.css @@ -1,7 +1,7 @@ .clock { margin: 0; padding: 0; - border-radius: var(--radius); + border-radius: var(--theme-radius); font-size: 1em; font-family: var(--font-fjalla); color: rgb(var(--style-neutral-text)); @@ -39,7 +39,7 @@ .clock-separator { justify-content: center; - color: rgb(var(--accent)); + color: rgb(var(--theme-accent)); } .clock-hours, diff --git a/css/date.css b/css/date.css index 9158eb7a..bf9ac517 100755 --- a/css/date.css +++ b/css/date.css @@ -1,7 +1,7 @@ .date { margin: 0; padding: 0; - border-radius: var(--radius); + border-radius: var(--theme-radius); font-size: 1em; font-family: var(--font-fjalla); color: rgb(var(--style-neutral-text)); @@ -39,7 +39,7 @@ .date-separator { justify-content: center; - color: rgb(var(--accent)); + color: rgb(var(--theme-accent)); } .date-date, diff --git a/css/edge.css b/css/edge.css index 69e8b8e5..652dee74 100644 --- a/css/edge.css +++ b/css/edge.css @@ -1,13 +1,13 @@ .edge { - background-color: rgba(var(--accent), 0.10); + background-color: rgba(var(--theme-accent), 0.10); width: 0; height: 0; position: absolute; top: 0; left: 0; opacity: 0; - border-radius: calc(var(--radius) * 2); - box-shadow: inset 0 0 0 var(--line-width) rgb(var(--accent)), inset 0 0 0 calc(var(--line-width) * 2) rgba(var(--accent), 0.25), inset 0 0 0 calc(var(--line-width) * 3) rgba(var(--accent), 0.25); + border-radius: var(--theme-radius); + box-shadow: inset 0 0 0 var(--line-width) rgb(var(--theme-accent)), inset 0 0 0 calc(var(--line-width) * 2) rgba(var(--theme-accent), 0.25), inset 0 0 0 calc(var(--line-width) * 3) rgba(var(--theme-accent), 0.25); z-index: var(--z-index-edge); pointer-events: none; transition: opacity var(--animation-speed-fast) ease-in-out; diff --git a/css/form.css b/css/form.css index 7b6e89be..c9602d86 100755 --- a/css/form.css +++ b/css/form.css @@ -17,7 +17,7 @@ input[type="text"] { border-width: var(--form-input-border); border-style: solid; border-color: transparent; - border-radius: var(--radius); + border-radius: var(--theme-radius); cursor: text; transition: background-color var(--animation-speed-fast) ease-in-out, color var(--animation-speed-fast) ease-in-out, border-color var(--animation-speed-fast) ease-in-out, box-shadow var(--animation-speed-fast) ease-in-out; -moz-appearance: textfield; @@ -55,7 +55,7 @@ input[type="text"]:focus { color: rgb(var(--form-input-text-focus)); outline: none; z-index: 2; - box-shadow: 0 0 0 var(--line-width) rgb(var(--accent)), 0 0 0 calc(var(--line-width) * 2) rgba(var(--accent), 0.25); + box-shadow: 0 0 0 var(--line-width) rgb(var(--theme-accent)), 0 0 0 calc(var(--line-width) * 2) rgba(var(--theme-accent), 0.25); } input[type="email"][disabled], @@ -93,7 +93,7 @@ input[type="search"]::placeholder, input[type="tel"]::placeholder, input[type="text"]::placeholder { color: rgb(var(--form-input-placeholder)); - transition: all var(--animation-speed-fast) ease-in-out; + transition: color var(--animation-speed-fast) ease-in-out; } input[type="email"]:hover::placeholder, @@ -218,7 +218,7 @@ input[type="radio"]:hover+label:before { input[type="checkbox"]:active+label:before, input[type="radio"]:active+label:before { - color: rgb(var(--accent)); + color: rgb(var(--theme-accent)); transform: scale(0.9); } @@ -236,7 +236,7 @@ input[type="radio"]:not([disabled]):focus:checked+label { input[type="checkbox"]:checked+label:before, input[type="radio"]:checked+label:before { - color: rgb(var(--accent)); + color: rgb(var(--theme-accent)); } input[type="checkbox"]:checked:focus+label:before, @@ -298,7 +298,7 @@ input[type="color"] { border-width: 0; border-style: solid; border-color: transparent; - border-radius: var(--radius); + border-radius: var(--theme-radius); overflow: hidden; cursor: pointer; transition: border-color var(--animation-speed-fast) ease-in-out, box-shadow var(--animation-speed-fast) ease-in-out; @@ -354,7 +354,7 @@ input[type="range"] { height: 2em; width: 100%; border: 0; - border-radius: var(--radius); + border-radius: var(--theme-radius); cursor: pointer; position: relative; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); @@ -370,7 +370,7 @@ input[type="range"]:before { height: var(--line-width); width: 100%; border: 0; - border-radius: var(--radius); + border-radius: var(--theme-radius); transform: translate(0, -50%); transition: all var(--animation-speed-fast) ease-in-out; } @@ -407,7 +407,7 @@ input[type="range"]::-webkit-slider-thumb { padding: 0; border-width: var(--line-width); border-style: solid; - border-color: rgb(var(--accent)); + border-color: rgb(var(--theme-accent)); border-radius: 100%; position: relative; height: 1em; @@ -459,7 +459,7 @@ input[type="range"]::-moz-range-track { height: var(--line-width); width: 100%; border: 0; - border-radius: var(--radius); + border-radius: var(--theme-radius); transition: all var(--animation-speed-fast) ease-in-out; -webkit-appearance: none; } @@ -471,7 +471,7 @@ input[type="range"]::-moz-range-thumb { padding: 0; border-width: var(--line-width); border-style: solid; - border-color: rgb(var(--accent)); + border-color: rgb(var(--theme-accent)); border-radius: 100%; position: relative; height: 1em; @@ -505,9 +505,9 @@ input[type="range"]::-moz-range-thumb:active { } input[type="range"]::-moz-range-progress { - background-color: rgb(var(--accent)); + background-color: rgb(var(--theme-accent)); height: calc(var(--line-width) * 1.5); - border-radius: var(--radius); + border-radius: var(--theme-radius); } input[type="range"][disabled]::-moz-range-track { @@ -526,7 +526,7 @@ input[type="range"][disabled]:focus::-moz-range-thumb { } input[type="range"][disabled]::-moz-range-progress { - background-color: rgb(var(--gray-08)); + background-color: rgb(var(--gray-04)); } /* input helper */ @@ -579,13 +579,13 @@ input[type="range"][disabled]~.input-helper { border-bottom-width: var(--line-width); border-style: solid; border-color: transparent; - border-radius: var(--radius); + border-radius: var(--theme-radius); text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: none; - transition: all var(--animation-speed-fast) ease-in-out; + transition: background-color var(--animation-speed-fast) ease-in-out, color var(--animation-speed-fast) ease-in-out, border var(--animation-speed-fast) ease-in-out; display: inline-flex; flex-direction: row; justify-content: center; @@ -608,7 +608,7 @@ input[type="range"][disabled]~.input-helper { .input-button input[type="radio"]:active+label, .input-button input[type="color"]:active+label { background-color: rgb(var(--gray-04)); - border-bottom-color: rgb(var(--accent)); + border-bottom-color: rgb(var(--theme-accent)); color: rgb(var(--button-text-active)); transition: none; } @@ -617,7 +617,7 @@ input[type="range"][disabled]~.input-helper { .input-button input[type="radio"]:checked+label, .input-button input[type="color"]:checked+label { background-color: rgb(var(--gray-04)); - border-bottom-color: rgb(var(--accent)); + border-bottom-color: rgb(var(--theme-accent)); color: rgb(var(--button-text-active)); transition: none; } @@ -666,7 +666,7 @@ input[type="range"][disabled]~.input-helper { .input-color-dot-accent input[type="color"], .input-color-dot-accent input[type="color"]:hover, .input-color-dot-accent input[type="color"]:focus { - box-shadow: 0 0 0.25em 0 rgba(var(--accent), 0.6), 0 0 0.5em 0 rgba(var(--accent), 0.4); + box-shadow: 0 0 0.25em 0 rgba(var(--theme-accent), 0.6), 0 0 0.5em 0 rgba(var(--theme-accent), 0.4); } .input-color-dot input[type="color"]+label { @@ -718,7 +718,7 @@ input[type="range"][disabled]~.input-helper { border-bottom-width: var(--line-width); border-style: solid; border-color: transparent; - border-radius: var(--radius); + border-radius: var(--theme-radius); transition: background-color var(--animation-speed-fast) ease-in-out, border-color var(--animation-speed-fast) ease-in-out; } @@ -821,7 +821,7 @@ input[type="range"][disabled]~.input-helper { .form-group>input[type="tel"]:first-child, .form-group>input[type="text"]:first-child, .form-group>input[type="color"]:first-child { - border-radius: var(--radius) 0 0 var(--radius); + border-radius: var(--theme-radius) 0 0 var(--theme-radius); } .form-group>.form-group-text:last-child, @@ -834,7 +834,7 @@ input[type="range"][disabled]~.input-helper { .form-group>input[type="tel"]:last-child, .form-group>input[type="text"]:last-child, .form-group>input[type="color"]:last-child { - border-radius: 0 var(--radius) var(--radius) 0; + border-radius: 0 var(--theme-radius) var(--theme-radius) 0; } .form-group.nested-button * .button, @@ -848,12 +848,12 @@ input[type="range"][disabled]~.input-helper { .form-group.nested-button *:first-child input[type="checkbox"]+label, .form-group.nested-button *:first-child input[type="radio"]+label, .form-group.nested-button *:first-child input[type="color"]+label { - border-radius: var(--radius) 0 0 var(--radius); + border-radius: var(--theme-radius) 0 0 var(--theme-radius); } .form-group.nested-button *:last-child .button, .form-group.nested-button *:last-child input[type="checkbox"]+label, .form-group.nested-button *:last-child input[type="radio"]+label, .form-group.nested-button *:last-child input[type="color"]+label { - border-radius: 0 var(--radius) var(--radius) 0; + border-radius: 0 var(--theme-radius) var(--theme-radius) 0; } diff --git a/css/greeting.css b/css/greeting.css index 89cd206b..d95e5e0a 100755 --- a/css/greeting.css +++ b/css/greeting.css @@ -1,7 +1,7 @@ .greeting { margin: 0; padding: 0; - border-radius: var(--radius); + border-radius: var(--theme-radius); font-size: 1em; font-family: var(--font-fjalla); color: rgb(var(--style-neutral-text)); diff --git a/css/header.css b/css/header.css index 3eecac5c..d46299d7 100755 --- a/css/header.css +++ b/css/header.css @@ -46,11 +46,11 @@ } .is-header-border-top-show .header-border { - border-top: var(--header-border-width-top) solid rgb(var(--accent)); + border-top: var(--header-border-width-top) solid rgb(var(--theme-accent)); } .is-header-border-bottom-show .header-border { - border-bottom: var(--header-border-width-bottom) solid rgb(var(--accent)); + border-bottom: var(--header-border-width-bottom) solid rgb(var(--theme-accent)); } .header-area { @@ -109,19 +109,39 @@ position: relative; } -.header-search { - width: var(--header-search-width); -} - -.is-header-search-width-style-auto .header-search { +.is-header-search-style-auto .header-search { flex-grow: 1; min-width: 10em; } -.is-header-search-width-style-custom .header-search { +.is-header-search-style-custom .header-search { width: var(--header-search-width); } +.header-date { + font-size: var(--header-date-size); +} + +.header-clock { + font-size: var(--header-clock-size); +} + +.header-search { + font-size: var(--header-search-size); +} + +.header-button { + font-size: var(--header-button-size); +} + +.header-greeting { + font-size: var(--header-greeting-size); +} + +.header-transitional { + font-size: var(--header-transitional-size); +} + .header-date, .header-clock, .header-search, @@ -136,8 +156,8 @@ .is-header-search-show .header-search, .is-header-date-show .header-date, .is-header-clock-show .header-clock, -.is-header-edit-add-show .header-edit-add, -.is-header-accent-show .header-accent, +.is-header-button-edit-add-show .header-edit-add, +.is-header-button-accent-show .header-accent, .is-header-greeting-show .header-greeting, .is-header-transitional-show .header-transitional, .is-menu .header-menu { diff --git a/css/link.css b/css/link.css index 73e753d1..78a084c1 100755 --- a/css/link.css +++ b/css/link.css @@ -63,7 +63,7 @@ .link-panel-front { background-color: rgb(var(--gray-02)); - border-radius: var(--radius); + border-radius: var(--theme-radius); width: 100%; height: 100%; display: flex; @@ -155,37 +155,44 @@ .is-link-url-show .link-item:focus .link-panel-front, .is-link-url-show .link-item:focus-within .link-panel-front, .is-link-url-show .link-item:hover .link-panel-front { - height: calc(100% - var(--url-height)); + height: calc(100% - var(--link-item-url-height)); } .link-panel-back { + background-color: rgb(var(--theme-accent)); + border-radius: var(--theme-radius); + width: calc(100% - calc(var(--line-width) * 2)); + height: calc(100% - calc(var(--line-width) * 2)); + position: absolute; + top: var(--line-width); + left: var(--line-width); display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; - width: 100%; - height: 100%; - position: absolute; - bottom: 0; - left: 0; z-index: 2; + transition: height var(--animation-speed-fast) ease-in-out, top var(--animation-speed-fast) ease-in-out; } -.link-panel-back:before { - content: ""; - background-color: rgb(var(--accent)); - border-radius: var(--radius); - width: calc(100% - calc(var(--line-width) + var(--line-width))); - height: calc(100% - 0.25em); - position: absolute; - bottom: 0; - left: var(--line-width); - z-index: -1; +.is-link-item-line-show .link-panel-back { + height: calc(100% - var(--line-width)); } +.is-link-url-show:not(.is-link-item-line-show) .link-item:focus .link-panel-back, +.is-link-url-show:not(.is-link-item-line-show) .link-item:focus-within .link-panel-back, +.is-link-url-show:not(.is-link-item-line-show) .link-item:hover .link-panel-back { + top: calc(var(--line-width) * 2); +} + +/* .is-link-item-line-show.is-link-url-show .link-item:focus .link-panel-back, +.is-link-item-line-show.is-link-url-show .link-item:focus-within .link-panel-back, +.is-link-item-line-show.is-link-url-show .link-item:hover .link-panel-back { + top: var(--line-width); +} */ + .link-control { margin: 0; - padding: 0 var(--line-width); + padding: 0; height: 0; display: flex; overflow: hidden; @@ -199,19 +206,18 @@ background-color: transparent; margin-bottom: 0; border: 0; - padding-left: 0; - padding-right: 0; + padding: 0; color: rgb(var(--gray-02)); flex-grow: 1; flex-basis: 50%; } .link-control-item:first-child { - border-radius: 0 0 0 var(--radius); + border-radius: 0 0 0 var(--theme-radius); } .link-control-item:last-child { - border-radius: 0 0 var(--radius) 0 + border-radius: 0 0 var(--theme-radius) 0 } .link-control-item:focus, @@ -255,7 +261,7 @@ .link-item:focus-within .link-url, .link-item:focus .link-url, .link-item:hover .link-url { - height: var(--url-height); + height: var(--link-item-url-height); } .link-url-text { @@ -292,14 +298,14 @@ .link-display-letter { font-family: var(--font-fjalla); - color: rgb(var(--accent)); + color: rgb(var(--theme-accent)); line-height: 1; white-space: nowrap; transition: color var(--animation-speed-fast) ease-in-out; } .link-display-icon { - color: rgb(var(--accent)); + color: rgb(var(--theme-accent)); transition: color var(--animation-speed-fast) ease-in-out; } @@ -386,18 +392,18 @@ .is-link-edit .link-panel-front, .is-link-edit .link-item:hover .link-panel-front, .is-link-edit .link-item:focus .link-panel-front { - height: calc(100% - var(--edit-height)); + height: calc(100% - var(--link-item-edit-height)); box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4); } .is-link-edit.is-link-url-show .link-item:focus .link-panel-front, .is-link-edit.is-link-url-show .link-item:focus-within .link-panel-front, .is-link-edit.is-link-url-show .link-item:hover .link-panel-front { - height: calc(100% - var(--edit-height)); + height: calc(100% - var(--link-item-edit-height)); } .is-link-edit .link-control { - height: var(--edit-height); + height: var(--link-item-edit-height); } .is-link-edit .link-item:hover .link-url, diff --git a/css/menu.css b/css/menu.css index b5520441..f8576768 100755 --- a/css/menu.css +++ b/css/menu.css @@ -20,8 +20,8 @@ } .menu-area { - background-color: rgb(var(--gray-01)); - border-radius: var(--radius); + background-color: rgba(var(--gray-01), 0.95); + border-radius: var(--theme-radius); width: 100%; max-height: 100%; overflow-y: auto; @@ -65,7 +65,7 @@ } .menu-item:not(:last-child) { - border-bottom: var(--menu-border); + border-bottom: calc(var(--line-width) * 2) solid rgb(var(--gray-03)); } .menu-item-header { @@ -85,7 +85,7 @@ margin: 0; padding-top: 0.75em; padding-bottom: 0.75em; - border-radius: 0 var(--radius) 0 0; + border-radius: 0 var(--theme-radius) 0 0; } .menu-nav-button { @@ -99,7 +99,7 @@ } .menu-nav-button:first-child { - border-radius: var(--radius) 0 0 0; + border-radius: var(--theme-radius) 0 0 0; } .menu-nav-button [class^="icon-"], diff --git a/css/modal.css b/css/modal.css index 39706223..5a1e09a7 100755 --- a/css/modal.css +++ b/css/modal.css @@ -38,7 +38,7 @@ .modal-body { background-color: rgb(var(--gray-01)); - border-radius: var(--radius) var(--radius) 0 0; + border-radius: var(--theme-radius) var(--theme-radius) 0 0; padding: 2em; max-height: calc(90vh - 3.6666666667em); overflow-y: auto; @@ -59,7 +59,7 @@ background-color: rgb(var(--gray-01)); position: relative; z-index: 2; - border-radius: 0 0 var(--radius) var(--radius); + border-radius: 0 0 var(--theme-radius) var(--theme-radius); display: flex; } @@ -73,9 +73,9 @@ } .modal-controls .modal-button:first-child { - border-radius: 0 0 0 var(--radius); + border-radius: 0 0 0 var(--theme-radius); } .modal-controls .modal-button:last-child { - border-radius: 0 0 var(--radius) 0 + border-radius: 0 0 var(--theme-radius) 0 } diff --git a/css/shade.css b/css/shade.css index 722f516d..737b75d9 100755 --- a/css/shade.css +++ b/css/shade.css @@ -1,5 +1,5 @@ .shade { - background-color: rgba(var(--accent), 0.4); + background-color: rgba(var(--theme-accent), 0.4); position: fixed; top: -1em; left: -1em; @@ -14,5 +14,5 @@ } .is-edge:not(.is-background-image-show) .shade { - background-color: rgba(var(--accent), 0.05); + background-color: rgba(var(--theme-accent), 0.05); } diff --git a/css/tip.css b/css/tip.css index 7d4ee771..e277d1dd 100755 --- a/css/tip.css +++ b/css/tip.css @@ -47,7 +47,7 @@ padding: 0.5em 1em; background-color: rgb(var(--gray-04)); border: 0; - border-radius: calc(var(--radius) * 2); + border-radius: calc(var(--theme-radius) * 2); color: rgb(var(--gray-18)); font-size: 0.8em; font-family: var(--font-regular); diff --git a/css/transitional.css b/css/transitional.css index 12fc0eaf..55a72b67 100644 --- a/css/transitional.css +++ b/css/transitional.css @@ -1,7 +1,7 @@ .transitional { margin: 0; padding: 0; - border-radius: var(--radius); + border-radius: var(--theme-radius); font-size: 1em; font-family: var(--font-fjalla); color: rgb(var(--gray-14)); diff --git a/css/typography.css b/css/typography.css index 0ba6ab0b..e815f0f6 100755 --- a/css/typography.css +++ b/css/typography.css @@ -53,7 +53,7 @@ p { hr { border: 0; border-top: 1px solid rgb(var(--gray-02)); - border-radius: var(--radius); + border-radius: var(--theme-radius); margin: 1em 0; clear: both; } diff --git a/index.html b/index.html index 737f79db..42d5179c 100644 --- a/index.html +++ b/index.html @@ -69,24 +69,24 @@ -
+
- - + +
-
-
+
-
+
@@ -253,6 +253,14 @@
+
+
+ + +
+
+ +
@@ -276,6 +284,14 @@ +
+
+ + +
+
+ +
@@ -342,6 +358,14 @@ +
+
+ + +
+
+ +
+
+
+ + +
+
+ +

- +
- - + +

Search box will grow to best fit available space.

- - + + +

Define how wide the Search box should be inside the Header Area.

- - + +

@@ -552,6 +585,15 @@
+
+
+ + +

Only the Search box width control will change the Width of the Search box.

+
+
+ +
@@ -561,13 +603,21 @@ @@ -690,7 +740,7 @@
- +
@@ -855,6 +905,14 @@

Accent Colour and Background Image may need to be changed to best fit the Theme Style.

+
+
+ + +
+
+ +