Skip to content

Commit c5b8e9a

Browse files
committed
some css fixes
1 parent e6f0df9 commit c5b8e9a

File tree

2 files changed

+69
-69
lines changed

2 files changed

+69
-69
lines changed

view/frontend/templates/react-footer-css.phtml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ $product = $this->registry->registry('current_product');
88

99
<style>
1010
.product-info-main .product-add-form {
11-
clear: both;
12-
padding-top: 0;
11+
clear: both;
12+
padding-top: 0;
1313
}
1414
/* Show only the first-level submenu on hover */
1515
.navigation .level0:hover > .submenu {

view/frontend/templates/react-header-css.phtml

+67-67
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,59 @@
11
<!-- CSS Header Start -->
22
<style>
33
@media (min-width: 768px) {
4-
.nav-toggle {
5-
display: none !important;
6-
}
7-
.block-search input {
8-
margin: 0 !important;
9-
padding-right: 35px !important;
10-
position: static !important;
11-
}
12-
.header.panel>.header.links {
13-
display: block;
14-
margin: 0 !important;
15-
padding: 0 !important;
16-
list-style: none none !important;
17-
float: right !important;
18-
margin-left: auto !important;
19-
}
20-
form.minisearch .control {
21-
border-top: 0 !important;
22-
}
23-
.page-header {
4+
.nav-toggle {
5+
display: none !important;
6+
}
7+
.block-search input {
8+
margin: 0 !important;
9+
padding-right: 35px !important;
10+
position: static !important;
11+
}
12+
.header.panel>.header.links {
13+
display: block;
14+
margin: 0 !important;
15+
padding: 0 !important;
16+
list-style: none none !important;
17+
float: right !important;
18+
margin-left: auto !important;
19+
}
20+
form.minisearch .control {
21+
border-top: 0 !important;
22+
}
23+
.page-header {
2424
border: 0 !important;
2525
margin-bottom: 0 !important;
26-
}
26+
}
2727

28-
.header.content {
28+
.header.content {
2929
padding: 30px 20px 0 !important;
3030
}
3131

32-
.block-search .action.search:before {
33-
-webkit-font-smoothing: antialiased;
34-
-moz-osx-font-smoothing: grayscale;
35-
font-size: 16px;
36-
line-height: 32px;
37-
color: #757575;
38-
content: '\e615';
39-
font-family: 'luma-icons';
40-
margin: 0;
41-
vertical-align: top;
42-
display: inline-block;
43-
font-weight: normal;
44-
overflow: hidden;
45-
speak: none;
46-
text-align: center;
47-
}
48-
.block-search .action.search {
49-
display: block !important;
50-
}
51-
.minicart-wrapper,.block.block-search{
52-
margin-top:10px;
53-
}
54-
.logo {
55-
margin: -8px auto 25px 0 !important;
56-
}
32+
.block-search .action.search:before {
33+
-webkit-font-smoothing: antialiased;
34+
-moz-osx-font-smoothing: grayscale;
35+
font-size: 16px;
36+
line-height: 32px;
37+
color: #757575;
38+
content: '\e615';
39+
font-family: 'luma-icons';
40+
margin: 0;
41+
vertical-align: top;
42+
display: inline-block;
43+
font-weight: normal;
44+
overflow: hidden;
45+
speak: none;
46+
text-align: center;
47+
}
48+
.block-search .action.search {
49+
display: block !important;
50+
}
51+
.minicart-wrapper,.block.block-search{
52+
margin-top:10px;
53+
}
54+
.logo {
55+
margin: -8px auto 25px 0 !important;
56+
}
5757
}
5858
</style>
5959
<style>
@@ -70,7 +70,7 @@ form.minisearch .control {
7070
?>
7171

7272
body,html {
73-
height: 100%
73+
height: 100%
7474
}
7575

7676
.message.global.demo .content{
@@ -100,30 +100,30 @@ body,html {
100100
}
101101
/* Desck */
102102
@media only screen and (min-width: 768px) {
103-
form.minisearch .control {
104-
display: block;
105-
}
106-
.product.info.detailed{
103+
form.minisearch .control {
104+
display: block;
105+
}
106+
.product.info.detailed{
107107
clear: both;
108-
}
108+
}
109109
}
110110
/* Mobile */
111111
@media only screen and (max-width: 768px) {
112-
form.minisearch .control {
113-
display: none;
114-
}
115-
.swatch-attribute.size .swatch-option {
112+
form.minisearch .control {
113+
display: none;
114+
}
115+
.swatch-attribute.size .swatch-option {
116116
color: black !important;
117-
}
118-
.product-info-main {
119-
margin-top: 25px;
120-
}
121-
.message.global.demo {
122-
color: black !important;
123-
}
124-
input#search {
125-
position: unset !important;
126-
}
117+
}
118+
.product-info-main {
119+
margin-top: 25px;
120+
}
121+
.message.global.demo {
122+
color: black !important;
123+
}
124+
input#search {
125+
position: unset !important;
126+
}
127127
}
128128

129129
block.related .product-item-details {

0 commit comments

Comments
 (0)