| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- .admin-page {
- //security XSS prevent
- .admin-user-menu {
- .dropdown-menu {
- left: auto;
- right: 0;
- width: 300px;
- }
- }
- .admin-group-menu {
- .dropdown-menu {
- left: auto;
- right: 0;
- }
- }
- .admin-customize {
- .ss-container img {
- padding: .5em;
- background-color: #ddd;
- }
- .table-user-list {
- .label-admin {
- margin-left: 1em;
- }
- }
- }
- .admin-security {
- .passport-logo {
- margin-top: -.5em;
- padding: 3px;
- height: 32px;
- background-color: black;
- }
- .auth-mechanism-configurations {
- min-height: 300px;
- }
- }
- .admin-notification {
- .clickable-row {
- .unclickable {
- text-align: center;
- vertical-align: middle;
- width: 50px;
- label.switch {
- margin: 0;
- }
- }
- :not(.unclickable) {
- cursor: pointer;
- }
- }
- /* slider checkbox */
- /*
- * Form Slider
- */
- .switch {
- position: relative;
- display: inline-block;
- width: 30px;
- height: 17px;
- }
- /* Hide default HTML checkbox */
- .switch input {
- display: none;
- }
- /* The slider */
- .slider {
- position: absolute;
- cursor: pointer;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- -webkit-transition: .4s;
- transition: .4s;
- }
- .slider:before {
- position: absolute;
- content: "";
- height: 13px;
- width: 13px;
- left: 2px;
- bottom: 2px;
- -webkit-transition: .4s;
- transition: .4s;
- }
- input:checked+.slider:before {
- -webkit-transform: translateX(13px);
- -ms-transform: translateX(13px);
- transform: translateX(13px);
- }
- /* Rounded sliders */
- .slider.round {
- border-radius: 34px;
- }
- .slider.round:before {
- border-radius: 50%;
- }
- }
- // Toggle Twitter Bootstrap button class when active
- // https://jsfiddle.net/ms040m01/3/
- @mixin active-color($color, $bg-color, $border-color) {
- color: $color;
- background-color: darken($bg-color, 10%);
- border-color: $border-color;
- &:hover {
- background-color: darken($bg-color, 15%);
- }
- }
- .btn-group.btn-toggle {
- .btn {
- min-width: 60px;
- }
- .btn.active[data-active-class="default"] {
- @include active-color($btn-default-color, $btn-default-bg, $btn-default-border);
- }
- .btn.active[data-active-class="primary"] {
- @include active-color($btn-primary-color, $btn-primary-bg, $btn-primary-border);
- }
- }
- // theme selector
- #themeOptions {
- // layout
- a {
- margin-right: 10px;
- margin-bottom: 10px;
- padding: 3px;
- svg {
- display: block;
- }
- }
- // style
- a {
- border: 1px solid #ccc;
- background-color: #f5f5f5;
- &.active {
- border-color: $brand-success;
- background-color: $brand-success;
- }
- }
- }
- }
|