Skip to content

Commit 18cedea

Browse files
committed
Komponenta Price do List Item
1 parent 2d7b76c commit 18cedea

File tree

7 files changed

+52
-159
lines changed

7 files changed

+52
-159
lines changed

css/style.css

Lines changed: 13 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/components/_list-item.scss

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,25 @@ Napr. seznamy ubytovatelu, pobytu, last-minute atd.
6767

6868
// Cenovy stitek
6969

70+
.list-item .price {
71+
display: inline-block;
72+
width: auto;
73+
color: #444;
74+
75+
strong {
76+
font-weight: normal;
77+
color: #888;
78+
}
79+
}
80+
81+
.list-item .price.price--big {
82+
background-color: #ddd;
83+
padding: 3px;
84+
margin: 0 6px 18px 0;
85+
}
86+
87+
// Umisteni v komponente
88+
7089
.list-item .content .price {
7190
@media #{$large-start} {
7291
position: absolute;
@@ -75,6 +94,8 @@ Napr. seznamy ubytovatelu, pobytu, last-minute atd.
7594
}
7695
}
7796

97+
98+
7899
// Varianta bez spodniho ramecku
79100
// Napr. na homepages verze 2014
80101

scss/components/_price-date.scss

Lines changed: 0 additions & 105 deletions
This file was deleted.

scss/components/_price.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
3+
Ceny - velke "cenovky"
4+
======================
5+
6+
*/
7+

scss/index.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
@import "components/foot";
2323
@import "components/inline-list";
2424
@import "components/list-item";
25-
@import "components/price-date";
2625
@import "components/site_logo";
2726
@import "components/site_nav";
2827

scss/variables/_variables.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ $anchor-color: #0EB10E;
2525
$active-color: darken($anchor-color, 20%);
2626
$text-color: #000;
2727

28+
// Sedive barvy
29+
$color-grey-1: #444;
30+
$color-grey-2: #555;
31+
$color-grey-3: #666;
32+
$color-grey-4: #888;
33+
$color-grey-5: #eee;
34+
$color-grey-6: #ddd;
35+
$color-grey-7: #eee;
36+
37+
2838
// Svetla barva pro pozadi prvku
2939
// Smichana hlavni barva se svetle sedivou.
3040
// (Otestovano jako viditelne i na mem Samsung monitoru)

0 commit comments

Comments
 (0)