Revize c38f4c3a
Přidáno uživatelem Marek Zábran před téměř 5 roky(ů)
resources/sass/_custom.scss | ||
---|---|---|
2 | 2 |
|
3 | 3 |
body { |
4 | 4 |
//font-family: 'Nunito Sans', sans-serif; |
5 |
background-color: $cusBlack;
|
|
5 |
background-color: $theme-color-five;
|
|
6 | 6 |
|
7 | 7 |
.head-title h1 { |
8 |
color: $cusWhite;
|
|
8 |
color: $theme-color-one;
|
|
9 | 9 |
font-family: Avenir; |
10 | 10 |
font-size: 60pt; |
11 | 11 |
font-weight: bold; |
... | ... | |
69 | 69 |
|
70 | 70 |
p { |
71 | 71 |
font-size: 8pt; |
72 |
color: $black;
|
|
72 |
color: $theme-color-five;
|
|
73 | 73 |
} |
74 | 74 |
} |
75 | 75 |
} |
... | ... | |
93 | 93 |
} |
94 | 94 |
|
95 | 95 |
.card-body { |
96 |
background-color: $cusBlack;
|
|
96 |
background-color: $theme-color-five;
|
|
97 | 97 |
font-family: Avenir; |
98 |
color: $cusBrown3;
|
|
98 |
color: $theme-color-four;
|
|
99 | 99 |
|
100 | 100 |
} |
101 | 101 |
|
102 | 102 |
.kaplicky{ |
103 |
color: $cusWhite;
|
|
103 |
color: $theme-color-one;
|
|
104 | 104 |
font-size: 11pt; |
105 | 105 |
font-family: Avenir Black; |
106 | 106 |
//width: 100pt; |
... | ... | |
108 | 108 |
} |
109 | 109 |
|
110 | 110 |
.form-control { |
111 |
background-color: $cusBlack;
|
|
111 |
background-color: $theme-color-five;
|
|
112 | 112 |
margin-top: -1px; |
113 | 113 |
//border-bottom: 1px; |
114 |
border-top-color: $cusBlack;
|
|
115 |
border-left-color: $cusBlack;
|
|
116 |
border-right-color: $cusBlack;
|
|
117 |
border-bottom-color: 0.5pt $cusWhite;
|
|
118 |
color: $cusWhite;
|
|
114 |
border-top-color: $theme-color-five;
|
|
115 |
border-left-color: $theme-color-five;
|
|
116 |
border-right-color: $theme-color-five;
|
|
117 |
border-bottom-color: 0.5pt $theme-color-one;
|
|
118 |
color: $theme-color-one;
|
|
119 | 119 |
box-shadow: none; |
120 | 120 |
//transition: none; |
121 | 121 |
font-size: 8pt; |
122 | 122 |
} |
123 | 123 |
|
124 | 124 |
.form-control:focus { |
125 |
background-color: $cusBlack;
|
|
125 |
background-color: $theme-color-five;
|
|
126 | 126 |
margin-top: -1px; |
127 | 127 |
//border-bottom: 1px; |
128 |
border-top-color: $cusBlack;
|
|
129 |
border-left-color: $cusBlack;
|
|
130 |
border-right-color: $cusBlack;
|
|
131 |
border-bottom-color: 0.5pt $cusWhite;
|
|
132 |
color: $cusWhite;
|
|
128 |
border-top-color: $theme-color-five;
|
|
129 |
border-left-color: $theme-color-five;
|
|
130 |
border-right-color: $theme-color-five;
|
|
131 |
border-bottom-color: 0.5pt $theme-color-one;
|
|
132 |
color: $theme-color-one;
|
|
133 | 133 |
box-shadow: none; |
134 | 134 |
//transition: none; |
135 | 135 |
font-size: 8pt; |
... | ... | |
137 | 137 |
|
138 | 138 |
.button-square { |
139 | 139 |
font-size: 8pt; |
140 |
background-color: $cusBlack;
|
|
141 |
color: $white;
|
|
142 |
border: 0.5pt solid $white;
|
|
140 |
background-color: $theme-color-five;
|
|
141 |
color: $theme-color-one;
|
|
142 |
border: 0.5pt solid $theme-color-one;
|
|
143 | 143 |
border-radius: 0; |
144 | 144 |
width: 6.5rem; |
145 | 145 |
height: 2rem; |
... | ... | |
175 | 175 |
|
176 | 176 |
&:hover { |
177 | 177 |
background-color: transparent; |
178 |
border-color: $cusBrown3;
|
|
178 |
border-color: $theme-color-four;
|
|
179 | 179 |
} |
180 | 180 |
|
181 | 181 |
&:focus { |
182 | 182 |
background-color: transparent; |
183 |
border-color: $cusBrown3;
|
|
183 |
border-color: $theme-color-four;
|
|
184 | 184 |
outline: none !important; |
185 | 185 |
box-shadow: none !important; |
186 | 186 |
} |
... | ... | |
197 | 197 |
position: relative; |
198 | 198 |
|
199 | 199 |
//Circle style button |
200 |
.btn-circle.rounded-circle.btn-sm { |
|
201 |
position: absolute; |
|
202 |
width: 120px; |
|
203 |
height: 120px; |
|
200 |
//Toto možná nebude zcela optimální pro ostatní circle buttony. Nehodící se propagujte do btn-categories |
|
201 |
.btn-circle.rounded-circle { |
|
204 | 202 |
padding: 6px 0px; |
205 |
border-radius: 15px; |
|
206 | 203 |
font-size: 16px; |
207 | 204 |
text-align: center; |
208 |
background-color: $cusBlack; |
|
209 |
border-color: $cusBrown3; |
|
205 |
} |
|
206 |
.btn-categories |
|
207 |
{ |
|
208 |
position: absolute; |
|
210 | 209 |
border-width: 5px; |
211 |
color:$cusBrown3; |
|
210 |
background-color: $theme-color-five; |
|
211 |
border-color: $theme-color-four; |
|
212 |
color:$theme-color-four; |
|
212 | 213 |
outline: none !important; |
213 | 214 |
box-shadow: none !important; |
214 | 215 |
|
215 |
&:active { |
|
216 |
&:active |
|
217 |
{ |
|
216 | 218 |
background-color: $cusBrown2; |
217 |
border-color: $cusBrown3;
|
|
219 |
border-color: $theme-color-four;
|
|
218 | 220 |
outline: none !important; |
219 | 221 |
box-shadow: none !important; |
220 |
color:$cusBlack;
|
|
222 |
color:$theme-color-five;
|
|
221 | 223 |
} |
222 | 224 |
} |
223 | 225 |
|
224 |
.btn-circle.rounded-circle.btn-dm |
|
226 |
.btn-sm |
|
227 |
{ |
|
228 |
width: 120px; |
|
229 |
height: 120px; |
|
230 |
} |
|
231 |
.btn-dm |
|
225 | 232 |
{ |
226 |
position: absolute; |
|
227 | 233 |
width: 240px; |
228 | 234 |
height: 240px; |
229 |
padding: 6px 0; |
|
230 |
border-radius: 15px; |
|
231 |
font-size: 16px; |
|
232 |
text-align: center; |
|
233 |
background-color: $cusBlack; |
|
234 |
border-color: $cusBrown3; |
|
235 |
color:$cusBrown3; |
|
236 |
border-width: 5px; |
|
237 |
outline: none !important; |
|
238 |
box-shadow: none !important; |
|
239 |
|
|
240 |
&:active { |
|
241 |
background-color: $cusBrown2; |
|
242 |
border-color: $cusBrown3; |
|
243 |
outline: none !important; |
|
244 |
box-shadow: none !important; |
|
245 |
color:$cusBlack; |
|
246 |
} |
|
247 | 235 |
} |
248 |
|
|
249 |
.btn-circle.rounded-circle.btn-xl |
|
236 |
.btn-xl |
|
250 | 237 |
{ |
251 |
position: absolute; |
|
252 | 238 |
width: 360px; |
253 | 239 |
height: 360px; |
254 |
padding: 6px 0px; |
|
255 |
border-radius: 15px; |
|
256 |
font-size: 16px; |
|
257 |
text-align: center; |
|
258 |
background-color: $cusBlack; |
|
259 |
border-color: $cusBrown3; |
|
260 |
color:$cusBrown3; |
|
261 |
border-width: 5px; |
|
262 |
outline: none !important; |
|
263 |
box-shadow: none !important; |
|
264 |
|
|
265 |
&:active { |
|
266 |
background-color: $cusBrown2; |
|
267 |
border-color: $cusBrown3; |
|
268 |
outline: none !important; |
|
269 |
box-shadow: none !important; |
|
270 |
color:$cusBlack; |
|
271 |
} |
|
272 | 240 |
} |
241 |
|
|
273 | 242 |
} |
274 | 243 |
} |
275 | 244 |
|
276 | 245 |
@media only screen and (max-width: 540px) |
277 | 246 |
{ |
247 |
|
|
278 | 248 |
.head-title.text-center h1 |
279 | 249 |
{ |
280 | 250 |
font-size: 45pt; |
... | ... | |
297 | 267 |
width: 180px; |
298 | 268 |
height: 180px; |
299 | 269 |
} |
300 |
} |
|
301 | 270 |
|
302 |
@media only screen and (max-width: 540px) |
|
303 |
{ |
|
304 | 271 |
body{ |
305 | 272 |
.carousel { |
306 | 273 |
.carousel-inner { |
resources/sass/_variables.scss | ||
---|---|---|
6 | 6 |
$font-size-base: 0.9rem; |
7 | 7 |
$line-height-base: 1.6; |
8 | 8 |
|
9 |
// Colors |
|
9 |
// Colors - nepoužívat!
|
|
10 | 10 |
$blue: #3490dc; |
11 | 11 |
$indigo: #6574cd; |
12 | 12 |
$purple: #9561e2; |
... | ... | |
20 | 20 |
$white: #ffff; |
21 | 21 |
$black: #000; |
22 | 22 |
|
23 |
// Custom colors |
|
23 |
// Custom colors - deprecated - nepoužívat, odstranit!
|
|
24 | 24 |
$cusWhite: #ffffff; |
25 | 25 |
$cusBrown1: #ddd1b9; |
26 | 26 |
$cusBrown2: #efdab3; |
27 | 27 |
$cusBrown3: #ead4b0; |
28 | 28 |
$cusBlack: #272727; |
29 | 29 |
|
30 |
// Design colors - nepoužívat! |
|
31 |
$white: #ffffff; |
|
32 |
$pastel-grey: #ddd1b9; |
|
33 |
$whey: #efdab3; |
|
34 |
$desert-sand: #ead4b0; |
|
35 |
$raisin-black: #272727; |
|
36 |
// Theme colors - TOHLE POUŽÍVAT!, úpravy jen z Design colors |
|
37 |
$theme-color-one: $white; |
|
38 |
$theme-color-two: $pastel-grey; |
|
39 |
$theme-color-three: $whey; |
|
40 |
$theme-color-four: $desert-sand; |
|
41 |
$theme-color-five: $raisin-black; |
|
42 |
|
resources/views/categories/index.blade.php | ||
---|---|---|
15 | 15 |
{{--@for($k = 1; $k <= count($categories);$k++)--}} |
16 | 16 |
@for($k = 1; $k <= 10;$k++) |
17 | 17 |
@if($categorySizes[$k-1] == 1) |
18 |
<button type="button" class="btn btn-primary btn-circle rounded-circle btn-sm" id="cat-{{$k}}">{{$categoryNames[$k-1]->nameEN}}</button>
|
|
18 |
<button type="button" class="btn btn-circle rounded-circle btn-categories btn-sm" id="cat-{{$k}}">{{$categoryNames[$k-1]->nameEN}}</button>
|
|
19 | 19 |
@elseif($categorySizes[$k-1] == 2) |
20 |
<button type="button" class="btn btn-primary btn-circle rounded-circle btn-dm" id="cat-{{$k}}">{{$categoryNames[$k-1]->nameEN}}</button>
|
|
20 |
<button type="button" class="btn btn-circle rounded-circle btn-categories btn-dm" id="cat-{{$k}}">{{$categoryNames[$k-1]->nameEN}}</button>
|
|
21 | 21 |
@else |
22 |
<button type="button" class="btn btn-primary btn-circle rounded-circle btn-xl" id="cat-{{$k}}">{{$categoryNames[$k-1]->nameEN}}</button>
|
|
22 |
<button type="button" class="btn btn-circle rounded-circle btn-categories btn-xl" id="cat-{{$k}}">{{$categoryNames[$k-1]->nameEN}}</button>
|
|
23 | 23 |
@endif |
24 | 24 |
@endfor |
25 | 25 |
</div> |
Také k dispozici: Unified diff
Issue #7945 @1h
Oprava redundancí v btn-circle.
Unifikace barev.