1
0
mirror of https://github.com/flarum/core.git synced 2025-08-17 22:01:44 +02:00

chore: remove unneeded CSS vendor prefixes

This commit is contained in:
David Wheatley
2021-12-24 13:47:18 +01:00
parent dc661bf144
commit ec0c233d15
7 changed files with 46 additions and 53 deletions

View File

@@ -24,7 +24,9 @@
}
> li {
> a, > button, > span {
> a,
> button,
> span {
padding: 8px 15px;
display: block;
width: 100%;
@@ -59,13 +61,15 @@
background: none !important;
}
}
> a, > button {
> a,
> button {
&:hover {
background: var(--control-bg);
}
}
&.active {
> a, > button {
> a,
> button {
background: var(--control-bg);
}
}
@@ -100,7 +104,6 @@
height: 1px;
}
.dropdown-backdrop {
position: fixed;
left: 0;
@@ -110,7 +113,6 @@
z-index: calc(~"var(--zindex-dropdown) - 10");
}
.Dropdown--split {
.Dropdown-toggle .Button-icon {
display: none;
@@ -131,7 +133,8 @@
@media @tablet-up {
.Dropdown-menu li:first-child {
&, + li.Dropdown-separator {
&,
+ li.Dropdown-separator {
display: none;
}
}
@@ -156,7 +159,6 @@
}
}
@media @phone {
.Dropdown.open {
z-index: var(--zindex-modal);
@@ -177,12 +179,12 @@
box-shadow: 0 2px 6px var(--shadow-color);
visibility: hidden;
overflow: auto;
-webkit-overflow-scrolling: touch;
transform: translate(0, 70vh);
transition: transform 0.3s, visibility 0s 0.3s;
> li {
> a, > button {
> a,
> button {
background: var(--body-bg);
font-size: 16px;
padding: 15px 20px;
@@ -200,16 +202,17 @@
}
}
> .active {
> a, > button {
&, &:hover {
> a,
> button {
&,
&:hover {
background: var(--primary-color) !important;
color: #fff !important;
}
}
}
.open& {
-webkit-transform: none;
transform: none;
transform: none;
visibility: visible;
transition-delay: 0s;
}