-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom_after2.css
More file actions
202 lines (160 loc) · 4.55 KB
/
custom_after2.css
File metadata and controls
202 lines (160 loc) · 4.55 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
/*
* Custom code goes here.
* A template should always ship with an empty custom.css
*/
/* Ensure the dropdown menu is displayed vertically */
/* Zmiana menu głównego na rozwijane pionowo */
/* Ustawienie listy rozwijanej w menu głównym pionowo */
/*
* Custom code goes here.
* A template should always ship with an empty custom.css
*/
/** kolor fontów */
#header .header-top a {
color: #000 !important;
text-decoration: none;
background-color: #fff;
}
#header .header-top a:hover {
color: #026409 !important;
}
h1,
h2,
h3,
h4,
a,
p,
body,
li:last-child,
products,
col-md-4,
product-title a {
color: #000 !important;
}
/** Ustawienie pozycji menu jedna pod drugą */
div.header-top>div.container div.js-top-menu>ul.top-menu>li.category>div.popover.sub-menu>ul.top-menu>li.category {
float: none !important;
text-align: left;
}
/** usunięcie bloków na zdjęcia kategorii */
div.subcategory-image {
display: none;
}
/** kolor fonta w input szukajce */
.header-top .search-widgets form input {
color: #000 !important;
}
@media only screen and (min-width: 768px) {
/** Zmiana menu głównego na rozwijane pionowo */
.dropdown-item {
element.style {
color: #000;
text-decoration: none;
background-color: #fff;
}
}
.popover {
padding: 0 !important;
display: block;
position: static;
}
#header .menu>ul>li {
position: relative !important;
display: block !important;
float: left !important;
}
.top-menu .popover ul {
display: inline-table;
position: absolute;
top: 100%;
/* Ustawia menu poniĹźej elementu relatywnego */
left: -4px;
/* Ustawia menu na lewo od elementu relatywnego */
max-width: 100%;
/* Ustawia maksymalnÄ
szerokoĹÄ menu na 100% */
width: auto;
height: auto;
/* Ustawia wysokoĹÄ menu na automatycznÄ
*/
overflow: hidden;
/* Ukrywa nadmiar treĹci */
border-radius: 2em;
box-shadow: 0 2px 10px rgba(52, 155, 12, 0.699);
text-align: center;
/* Ustawia wyrĂłwnanie tekstu do Ĺrodka */
background-color: #fff;
/* Ustawia tĹo menu na biaĹy */
padding: 10px;
/* Dodaje odstÄp wewnÄtrzny, aby tekst byĹ wewnÄ
trz bloku */
box-sizing: border-box;
/* UwzglÄdnia padding w szerokoĹci elementu */
}
.top-menu .popover ul::after {
content: "";
clear: both;
display: table;
}
/** Wyświetlanie bloku opisu produktu dla 768px */
div.row.product-container {
position: relative;
}
div.row.product-container div.tabs {
position: relative;
width: 100dvw;
left: -50dvw;
max-width: 1140px;
}
/** ukrycie napisów guzkiów w menu dla 768px */
div.header-top div.row>div.right-nav div.header span.hidden-sm-down {
display: none !important;
}
}
/** wyświetlanie bloku opisu produktu dla 992px */
@media only screen and (min-width: 992px) {
div.header-top div.row>div.right-nav div.header span.hidden-sm-down {
display: block !important;
}
div.header-top div.row>div.right-nav {
display: flex;
flex-wrap: nowrap;
justify-content: space-around;
align-items: center;
}
div.header-top div.row>div.right-nav div.user-info{
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: flex-start;
}
div.header-top div.row>div.right-nav div.user-info a {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
min-width: 131px;
}
div.header-top div.row>div.right-nav div.user-info > a.account span.hidden-sm-down {
text-overflow: ellipsis;
}
div.header-top div.row>div.right-nav div.header {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: flex-start;
}
div.header-top div.row>div.right-nav div.header a{
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
}
}
/** wyświetlanie bloku opisu produktu dla 1100px */
@media only screen and (min-width: 1100px) {
div.row.product-container div.tabs {
position: relative;
width: 100dvw;
left: calc(0dvw - 520px - 1.875rem);
max-width: 1140px;
margin: 0 auto;
}
}