-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_cards.scss
More file actions
138 lines (113 loc) · 2.81 KB
/
_cards.scss
File metadata and controls
138 lines (113 loc) · 2.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
.cards {
&__header {
margin: 96px 0 18px 0;
align-items: center;
justify-content: center;
text-align: center;
h2 {
font-size: 30px;
line-height: 36px;
color: $b-color;
}
span {
font-size: 14px;
line-height: 17px;
color: #9F9F9F;
}
}
&__wrap {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
&__box {
display: flex;
flex-wrap: wrap;
width: 360px;
height: 581px;
margin: 30px 0 0 0;
background: #F8F8F8;
position: relative;
overflow: hidden;
&:hover {
box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.15);
.cards__box__shadow {
opacity: 1;
}
}
&__shadow {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 420px;
background-color: rgba(58, 56, 56, 0.83);
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
a {
text-decoration: none;
}
.btn {
display: flex;
background:none;
padding: 13px 16px 13px 13px;
font-size: 14px;
line-height: 17px;
color: $text-color;
border: 1px solid $text-color;
align-items: center;
cursor: pointer;
&__icon {
padding-right: 11px;
}
}
}
}
&__img {
height: 420px;
}
&__text {
height: 100%;
padding: 24px 28px 20px 16px;
}
&__name {
font-size: 13px;
line-height: 16px;
text-decoration: none;
color: #000000;
}
&__content {
padding: 12px 0 18px 0;
font-weight: 300;
font-size: 14px;
line-height: 17px;
color: #5D5D5D;
}
&__price {
font-size: 16px;
line-height: 19px;
color: $decor-color;
}
a.catalog {
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
.cards__button {
margin: 48px 0 95px 0;
background: none;
border: 1px solid $btn-color;
font-size: 16px;
line-height: 19px;
color: #F26376;
padding: 14px 38px;
cursor: pointer;
&:hover {
color: $text-color;
background: $decor-color;
}
}
}
}