mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Permission list styling improvements (#8100)
This commit is contained in:
parent
006790bb26
commit
236e335a0a
@ -971,7 +971,9 @@ li.class-ErrorPage > a a .jstree-pageicon { background-position: 0 -112px; }
|
||||
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content .cms-search-form .resetformaction { margin-right: 0px; }
|
||||
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content #Form_ImportForm { overflow: hidden; }
|
||||
|
||||
.SecurityAdmin .permissioncheckboxset .optionset li, .SecurityAdmin .permissioncheckboxsetfield_readonly .optionset li { float: none; width: auto; }
|
||||
.permissioncheckboxset h5, .permissioncheckboxsetfield_readonly h5 { margin: 0; }
|
||||
.permissioncheckboxset .optionset, .permissioncheckboxsetfield_readonly .optionset { overflow: auto; }
|
||||
.permissioncheckboxset .optionset li, .permissioncheckboxsetfield_readonly .optionset li { float: none; width: auto; clear: both; }
|
||||
|
||||
/* For user permissions the readonly checkboxes are set as display none and are replaced with a <span> that has a
|
||||
green tick icon as a background this is created using compass generated classes and hardcoded in the php */
|
||||
|
@ -1,12 +1,15 @@
|
||||
.SecurityAdmin {
|
||||
// Same rules in .member-profile-form
|
||||
.permissioncheckboxset, .permissioncheckboxsetfield_readonly {
|
||||
.optionset {
|
||||
li {
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
.permissioncheckboxset, .permissioncheckboxsetfield_readonly {
|
||||
h5 {
|
||||
margin: 0;
|
||||
}
|
||||
.optionset {
|
||||
overflow: auto;
|
||||
|
||||
li {
|
||||
float: none;
|
||||
width: auto;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user