mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
Finish admin permissions page and clean up everything
This commit is contained in:
@@ -15,6 +15,13 @@
|
||||
color: @alert-error-color;
|
||||
}
|
||||
}
|
||||
.Alert--success {
|
||||
background: @alert-success-bg;
|
||||
|
||||
&, a, a:hover, button, button:hover {
|
||||
color: @alert-success-color;
|
||||
}
|
||||
}
|
||||
.Alert-controls {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
@@ -39,6 +46,7 @@
|
||||
|
||||
> .Button {
|
||||
margin: -10px;
|
||||
vertical-align: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
.Badge {
|
||||
.Badge--size(23px);
|
||||
.Badge--size(24px);
|
||||
border: 1px solid @body-bg;
|
||||
background: @muted-color;
|
||||
color: #fff;
|
||||
@@ -20,7 +20,7 @@
|
||||
line-height: @size - 3px;
|
||||
|
||||
&, .Badge-icon {
|
||||
font-size: 0.56 * @size;
|
||||
font-size: 0.58 * @size;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -157,12 +157,14 @@
|
||||
background: transparent !important;
|
||||
padding: 0;
|
||||
color: inherit !important;
|
||||
line-height: inherit;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
&:active,
|
||||
&.active {
|
||||
&.active,
|
||||
.open > &.Dropdown-toggle {
|
||||
.box-shadow(none);
|
||||
}
|
||||
}
|
||||
@@ -204,6 +206,7 @@
|
||||
.Button-icon {
|
||||
font-size: 16px;
|
||||
vertical-align: -1px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
.SessionDropdown .Dropdown-toggle {
|
||||
@@ -214,6 +217,9 @@
|
||||
.Avatar--size(24px);
|
||||
}
|
||||
}
|
||||
.Button-icon {
|
||||
margin-right: 3px;
|
||||
}
|
||||
.Button-icon,
|
||||
.Button-caret {
|
||||
font-size: 14px;
|
||||
|
@@ -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;
|
||||
|
@@ -13,3 +13,11 @@
|
||||
.Form-group {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.Form-group label {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
color: @text-color;
|
||||
display: block;
|
||||
}
|
||||
|
@@ -101,11 +101,13 @@
|
||||
color: @text-color;
|
||||
}
|
||||
|
||||
.helpText {
|
||||
font-size: 14px;
|
||||
line-height: 1.5em;
|
||||
margin-bottom: 25px;
|
||||
text-align: left;
|
||||
.Form--centered {
|
||||
.helpText {
|
||||
font-size: 14px;
|
||||
line-height: 1.5em;
|
||||
margin-bottom: 25px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
> :last-child {
|
||||
|
@@ -88,6 +88,7 @@ legend {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
color: @text-color;
|
||||
}
|
||||
input[type="search"] {
|
||||
-webkit-appearance: none;
|
||||
|
@@ -68,6 +68,9 @@
|
||||
@alert-error-bg: #d83e3e;
|
||||
@alert-error-color: #fff;
|
||||
|
||||
@alert-success-bg: #B4F1AF;
|
||||
@alert-success-color: #33722D;
|
||||
|
||||
.define-header(@config-colored-header);
|
||||
.define-header(false) {
|
||||
@header-bg: @body-bg;
|
||||
|
Reference in New Issue
Block a user