|
1 | 1 | :root { |
2 | | - --accent: 250, 130, 0; |
| 2 | + --root-font-size: 14px; |
3 | 3 | --black: 0, 0, 0; |
4 | 4 | --white: 255, 255, 255; |
5 | 5 | --shade-01: 38, 40, 49; |
|
45 | 45 | --form-checkbox-radio-chcked-label: var(--gray-16); |
46 | 46 | --form-checkbox-radio-disabled-label: var(--gray-04); |
47 | 47 | --form-range-thumb: var(--gray-12); |
48 | | - --root-font-size: 14px; |
49 | | - --radius: 0.2em; |
| 48 | + --theme-accent: 250, 130, 0; |
| 49 | + --theme-radius: 0.2rem; |
50 | 50 | --line-width: 0.2em; |
51 | 51 | --background: rgb(var(--gray-01)); |
52 | 52 | --gutter: 0.5rem; |
53 | | - --animation-speed-fast: 0.2s; |
54 | | - --animation-speed-medium: 0.4s; |
55 | | - --animation-speed-slow: 0.6s; |
56 | 53 | --font-regular: "Open Sans Regular", sans-serif; |
57 | 54 | --font-bold: "Open Sans Bold", sans-serif; |
58 | 55 | --font-light: "Open Sans Light", sans-serif; |
59 | 56 | --font-fjalla: "Fjalla One Regular", sans-serif; |
60 | | - --z-index-background: 1000; |
61 | | - --z-index-link: 2000; |
62 | | - --z-index-header: 3000; |
63 | | - --z-index-tip: 4000; |
64 | | - --z-container-edge: 5000; |
65 | | - --z-index-shade: 6000; |
66 | | - --z-index-modal: 7000; |
67 | | - --z-index-menu: 8000; |
68 | | - --z-index-auto-suggest-list: 8000; |
69 | | - --z-index-edge: 9000; |
70 | 57 | --header-area-width: 100%; |
71 | 58 | --header-shade-color: transparent; |
72 | 59 | --header-shade-opacity: none; |
73 | 60 | --header-search-width: 0%; |
74 | | - --header-padding-top: calc(var(--line-width) * var(--header-padding-multiplier-top)); |
75 | | - --header-padding-bottom: calc(var(--line-width) * var(--header-padding-multiplier-bottom)); |
76 | | - --header-padding-multiplier-top: 4; |
77 | | - --header-padding-multiplier-bottom: 4; |
78 | | - --header-border-width-top: calc(var(--line-width) * var(--header-border-width-multiplier-top)); |
79 | | - --header-border-width-bottom: calc(var(--line-width) * var(--header-border-width-multiplier-bottom)); |
80 | | - --header-border-width-multiplier-top: 1; |
81 | | - --header-border-width-multiplier-bottom: 1; |
| 61 | + --header-padding-top: calc(var(--line-width) * var(--header-padding-top-multiplier)); |
| 62 | + --header-padding-bottom: calc(var(--line-width) * var(--header-padding-bottom-multiplier)); |
| 63 | + --header-padding-top-multiplier: 4; |
| 64 | + --header-padding-bottom-multiplier: 4; |
| 65 | + --header-border-width-top: calc(var(--line-width) * var(--header-border-width-top-multiplier)); |
| 66 | + --header-border-width-bottom: calc(var(--line-width) * var(--header-border-width-bottom-multiplier)); |
| 67 | + --header-border-width-top-multiplier: 1; |
| 68 | + --header-border-width-bottom-multiplier: 1; |
| 69 | + --header-date-size: 1em; |
| 70 | + --header-clock-size: 1em; |
| 71 | + --header-search-size: 1em; |
| 72 | + --header-button-size: 1em; |
| 73 | + --header-greeting-size: 1em; |
| 74 | + --header-transitional-size: 1em; |
82 | 75 | --link-area-width: 100%; |
83 | 76 | --link-area-gutter-multiplier: 2; |
84 | 77 | --link-item-size: 1em; |
|
90 | 83 | --background-accent-opacity: 0; |
91 | 84 | --background-blur: 0; |
92 | 85 | --layout-width: 80%; |
93 | | - --menu-border: calc(var(--line-width) * 1) solid rgb(var(--gray-03)); |
| 86 | + --animation-speed-fast: 0.2s; |
| 87 | + --animation-speed-medium: 0.4s; |
| 88 | + --animation-speed-slow: 0.6s; |
94 | 89 | --shadow-small: 0 2px 1px rgba(0, 0, 0, 0.1), 0 3px 2px rgba(0, 0, 0, 0.1); |
95 | 90 | --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.1), 0 6px 15px rgba(0, 0, 0, 0.1); |
96 | 91 | --shadow-large: 0 4px 10px rgba(0, 0, 0, 0.1), 0 6px 30px rgba(0, 0, 0, 0.1); |
97 | 92 | --shadow-small-inset: inset 0 1px 1px rgba(0, 0, 0, 0.05); |
98 | 93 | --shadow-medium-inset: inset 0 2px 2px rgba(0, 0, 0, 0.1); |
99 | 94 | --shadow-large-inset: inset 0 3px 3px rgba(0, 0, 0, 0.15); |
| 95 | + --z-index-background: 1000; |
| 96 | + --z-index-link: 2000; |
| 97 | + --z-index-header: 3000; |
| 98 | + --z-index-tip: 4000; |
| 99 | + --z-index-shade: 5000; |
| 100 | + --z-index-modal: 6000; |
| 101 | + --z-index-menu: 7000; |
| 102 | + --z-index-auto-suggest-list: 8000; |
| 103 | + --z-index-edge: 9000; |
100 | 104 | /* breakpoint reference */ |
101 | 105 | /* can not be used in @media as of yet */ |
102 | 106 | --breakpoint-sm: 550px; |
|
109 | 113 | :root.is-link-style-block { |
110 | 114 | --link-item-width: 11em; |
111 | 115 | --link-item-height: 10em; |
112 | | - --url-height: 20%; |
113 | | - --edit-height: 30%; |
| 116 | + --link-item-url-height: 20%; |
| 117 | + --link-item-edit-height: 30%; |
114 | 118 | } |
115 | 119 |
|
116 | 120 | :root.is-link-style-list { |
117 | 121 | --link-item-width: 20em; |
118 | 122 | --link-item-height: 4em; |
119 | | - --url-height: 30%; |
120 | | - --edit-height: 50%; |
| 123 | + --link-item-url-height: 30%; |
| 124 | + --link-item-edit-height: 50%; |
121 | 125 | } |
122 | 126 |
|
123 | 127 | @media (min-width: 700px) { |
|
127 | 131 | } |
128 | 132 |
|
129 | 133 | ::selection { |
130 | | - background-color: rgb(var(--accent)); |
| 134 | + background-color: rgb(var(--theme-accent)); |
131 | 135 | color: rgb(var(--white)); |
132 | 136 | } |
133 | 137 |
|
|
0 commit comments