1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

Finish admin permissions page and clean up everything

This commit is contained in:
Toby Zerner
2015-07-31 20:16:47 +09:30
parent 5706c71c86
commit fde7afd3e2
33 changed files with 766 additions and 291 deletions

View File

@@ -9,7 +9,7 @@
display: none;
min-width: 160px;
padding: 8px 0;
margin: 7px 0 0;
margin: 7px 0;
background: @body-bg;
border-radius: @border-radius;
.box-shadow(0 2px 6px @shadow-color);
@@ -42,8 +42,10 @@
&.hasIcon {
padding-left: 40px;
}
&:hover, &:focus {
&:hover {
background: @control-bg;
}
&:focus {
outline: none;
}
@@ -52,6 +54,11 @@
margin-left: -25px;
margin-top: 2px;
}
&.disabled {
opacity: 0.5;
background: none;
}
}
&.active {
> a, > button {
@@ -60,6 +67,10 @@
}
}
}
.Dropdown-menu--top {
top: auto;
bottom: 100%;
}
.Dropdown-menu--right {
left: auto;
right: 0;