2015-07-29 19:30:27 +08:00
|
|
|
.PermissionsPage-groups {
|
|
|
|
background: @control-bg;
|
2015-08-02 15:57:18 +08:00
|
|
|
padding: 20px 0;
|
2015-07-29 19:30:27 +08:00
|
|
|
}
|
|
|
|
.Group {
|
|
|
|
width: 90px;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
color: @text-color;
|
|
|
|
font-weight: bold;
|
2015-07-31 18:46:47 +08:00
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
2015-07-29 19:30:27 +08:00
|
|
|
}
|
|
|
|
.Group-name {
|
|
|
|
display: block;
|
|
|
|
margin-top: 5px;
|
2015-07-31 18:46:47 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2015-07-29 19:30:27 +08:00
|
|
|
}
|
|
|
|
.Group--add {
|
|
|
|
color: @muted-color;
|
|
|
|
width: auto;
|
|
|
|
margin-left: 10px;
|
|
|
|
font-weight: normal;
|
2015-07-31 18:46:47 +08:00
|
|
|
|
|
|
|
.Group-icon {
|
2015-08-02 15:57:18 +08:00
|
|
|
font-size: 14px;
|
|
|
|
margin-top: 5px;
|
2015-07-31 18:46:47 +08:00
|
|
|
}
|
2015-07-29 19:30:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.PermissionsPage-permissions {
|
2015-08-02 15:57:18 +08:00
|
|
|
padding: 20px 0 200px;
|
2015-07-31 18:46:47 +08:00
|
|
|
overflow: auto;
|
2015-07-29 19:30:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.PermissionGrid {
|
2015-07-31 18:46:47 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
|
2015-07-29 19:30:27 +08:00
|
|
|
td, th {
|
|
|
|
padding: 10px 0;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
color: @muted-color;
|
|
|
|
}
|
|
|
|
thead th {
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 12px;
|
|
|
|
color: @muted-color;
|
2015-07-31 18:46:47 +08:00
|
|
|
min-width: 140px;
|
|
|
|
|
|
|
|
&:not(:hover) .PermissionGrid-removeScope {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-07-29 19:30:27 +08:00
|
|
|
}
|
|
|
|
tbody {
|
|
|
|
th {
|
|
|
|
padding-right: 50px;
|
2015-09-22 16:22:16 +08:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-right: 5px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2015-07-29 19:30:27 +08:00
|
|
|
}
|
|
|
|
tr:last-child {
|
|
|
|
td, th {
|
|
|
|
padding-bottom: 15px !important;
|
|
|
|
}
|
|
|
|
}
|
2015-09-22 16:22:16 +08:00
|
|
|
.Dropdown {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.Dropdown-toggle {
|
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
text-align: left;
|
|
|
|
float: none;
|
|
|
|
}
|
2015-07-29 19:30:27 +08:00
|
|
|
}
|
|
|
|
.Button {
|
|
|
|
text-decoration: none;
|
2015-07-31 18:46:47 +08:00
|
|
|
|
|
|
|
.Badge {
|
|
|
|
margin: -3px 0;
|
|
|
|
vertical-align: 0;
|
2015-07-29 19:30:27 +08:00
|
|
|
}
|
|
|
|
}
|
2015-07-31 18:46:47 +08:00
|
|
|
td:not(:hover) .Select-caret,
|
|
|
|
td:not(:hover) .Dropdown:not(.open) .Button-caret {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.open .Dropdown-toggle {
|
|
|
|
.box-shadow(none);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.PermissionGrid-removeScope {
|
|
|
|
margin: -1px 0;
|
|
|
|
}
|
|
|
|
.PermissionDropdown {
|
2015-09-22 16:22:16 +08:00
|
|
|
.Dropdown-toggle {
|
|
|
|
padding: 5px 0;
|
|
|
|
margin: -5px 0;
|
|
|
|
}
|
2015-07-31 18:46:47 +08:00
|
|
|
.Badge {
|
|
|
|
margin: -3px 3px -3px 0;
|
|
|
|
vertical-align: 1px;
|
2015-09-22 16:22:16 +08:00
|
|
|
.box-shadow(none);
|
2015-07-29 19:30:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.PermissionGrid-section {
|
|
|
|
td, th {
|
|
|
|
padding-top: 15px;
|
|
|
|
border-top: 1px solid @control-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.PermissionGrid-child {
|
|
|
|
td, th {
|
|
|
|
padding: 5px 0;
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|