Remove obsolete menu-text styles
Since commit dcec003d0 we're only using the menu-text class in the admin
layouts. So instead of defining styles for menu-text and then
overwriting them in the admin section, we can define them just in the
admin section.
Since we don't have <img> tags in the menu-text element in the admin
section, we can remove their styles. And we can also remove the styles
we were overriding twice (like `line-height`).
This commit is contained in:
@@ -116,6 +116,7 @@ $table-header: #ecf1f6;
|
||||
}
|
||||
|
||||
.menu .menu-text {
|
||||
padding: 0;
|
||||
|
||||
h1 {
|
||||
margin-top: $line-height / 2;
|
||||
@@ -133,12 +134,12 @@ $table-header: #ecf1f6;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #000 !important;
|
||||
line-height: $line-height !important;
|
||||
|
||||
@include breakpoint(medium) {
|
||||
line-height: $line-height !important;
|
||||
}
|
||||
color: #000;
|
||||
display: inline-block;
|
||||
font-family: "Lato" !important;
|
||||
font-size: rem-calc(24);
|
||||
font-weight: lighter;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -550,33 +550,6 @@ body > header,
|
||||
padding-right: rem-calc(15);
|
||||
}
|
||||
|
||||
.menu .menu-text {
|
||||
padding: 0;
|
||||
|
||||
a {
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
font-family: "Lato" !important;
|
||||
font-size: rem-calc(24);
|
||||
font-weight: lighter;
|
||||
line-height: $line-height * 2;
|
||||
padding: 0;
|
||||
|
||||
@include breakpoint(medium) {
|
||||
line-height: rem-calc(80);
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
|
||||
@include breakpoint(medium) {
|
||||
margin-right: $line-height / 2;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu > li {
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user