1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438 |
- $topbar-height: 4.2rem;
- $update-height: 3rem;
- $sidebar-width-large: 240px;
- $sidebar-width-small: $topbar-height;
- $sidebar-padding: 2rem;
- $content-padding: 1.5rem;
- // Special cases
- .sidebar-closed:not(.sidebar-quickopen) {
- #admin-sidebar {
- float: left;
- visibility: visible;
- opacity: 1;
- width: $sidebar-width-small;
- #admin-logo {
- h3 {
- font-size: 0;
- &:first-letter {
- font-size: 2.5rem;
- }
- }
- }
- .custom-logo {
- margin-right: 0;
- padding-right: 15px;
- img {
- padding: 0 5px;
- }
- }
- #grav-logo-small {
- display: inline-block;
- }
- #grav-logo-large {
- display: none;
- }
- .front-end {
- display: none;
- }
- #admin-user-details {
- padding: 15px 0 15px 10px;
- text-align: left;
- }
- .admin-user-names {
- display: none;
- }
- #admin-menu {
- em {
- display: none;
- }
- li {
- .badges {
- .updates {
- border-radius: 100%;
- position: absolute;
- top: 4px;
- right: 10px;
- font-size: 9px;
- line-height: 12px;
- padding: 1px 3px;
- min-width: 15px;
- }
- .count {
- display: none;
- }
- }
- }
- }
- #open-handle {
- @include breakpoint(large-desktop-plus) {
- .fa-angle-right:before {
- content: "\f105";
- }
- }
- }
- }
- #admin-main {
- margin-left: $sidebar-width-small;
- }
- }
- .sidebar-open {
- #admin-sidebar {
- z-index: 10001;
- float: left;
- visibility: visible;
- opacity: 1;
- width: $sidebar-width-large;
- h3 {
- font-size: 1.2rem;
- &:first-letter {
- font-size: 1.2rem;
- }
- }
- #grav-logo-small {
- display: none;
- }
- #grav-logo-large {
- display: inline-block;
- }
- #admin-user-details {
- padding: 15px 10px;
- text-align: left;
- }
- .admin-user-names {
- display: block;
- }
- .front-end {
- display: inline-block;
- }
- #admin-menu {
- em {
- display: inline;
- }
- li {
- .badges {
- .updates {
- border-bottom-right-radius: 0;
- border-top-right-radius: 0;
- position: relative;
- top: auto;
- right: auto;
- @extend .badge;
- }
- .count {
- display: inline-block;
- }
- }
- }
- }
- #open-handle {
- @include breakpoint(mini-nav-range) {
- .fa-angle-right:before {
- content: "\f104";
- }
- }
- }
- }
- }
- #admin-sidebar {
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- width: 100%;
- max-height: 100vh;
- opacity: 0;
- //transition: opacity 0.2s 0s, visibility 0s 0.2s;
- #open-handle {
- display: block;
- position: absolute;
- cursor: pointer;
- right:0;
- top: 0;
- width: 15px;
- height: $topbar-height;
- text-align: center;
- line-height: $topbar-height;
- font-size: 12px;
- border-top-right-radius: 3px;
- border-bottom-right-radius: 3px;
- @include breakpoint(large-desktop-plus) {
- .fa-angle-right:before {
- content: "\f104";
- }
- }
- }
- &.sidebar-is-visible {
- opacity: 1;
- visibility: visible;
- //transition: opacity 0.2s 0s, visibility 0s 0s
- }
- @include breakpoint(mobile-only) {
- z-index: 5;
- }
- @include breakpoint(tablet-plus) {
- float: left;
- visibility: visible;
- opacity: 1;
- width: $sidebar-width-small;
- }
- @include breakpoint(large-desktop-plus) {
- float: left;
- visibility: visible;
- opacity: 1;
- width: $sidebar-width-large;
- }
- }
- #admin-logo {
- height: $topbar-height;
- display: flex;
- align-items: center;
- justify-content: center;
- &.nav-hover {
- .admin-logo {
- margin-right: 0;
- }
- }
- .admin-logo {
- margin-right: -10px;
- @include breakpoint(tablet-plus) {
- margin-right: 0;
- &.custom-logo {
- padding-right: 15px;
- img {
- padding: 0 5px;
- }
- }
- }
- display: flex;
- align-items: center;
- a:not(.front-end) {
- display: inherit;
- }
- &.custom-logo {
- img {
- max-height: 30px;
- }
- }
- }
- .front-end {
- margin-left: 15px;
- opacity: 0.6;
- @include breakpoint(mobile-only) {
- display: none;
- }
- @include breakpoint(tablet-plus) {
- display: none;
- }
- @include breakpoint(large-desktop-plus) {
- display: inline-block;
- }
- }
- #grav-logo-small {
- height: 30px;
- display: none;
- @include breakpoint(tablet-plus) {
- display: inline-block;
- }
- @include breakpoint(large-desktop-plus) {
- display: none;
- }
- }
- #grav-logo-large {
- height: 30px;
- @include breakpoint(tablet-plus) {
- display: none;
- }
- @include breakpoint(large-desktop-plus) {
- display: inline-block;
- }
- }
- h3 {
- font-size: 1.5rem;
- margin: 0;
- @include breakpoint(tablet-plus) {
- font-size: 0;
- &:first-letter {
- font-size: 2.5rem;
- }
- }
- @include breakpoint(large-desktop-plus) {
- font-size: 1.5rem;
- &:first-letter {
- font-size: 1.5rem;
- }
- }
- i {
- font-size: 1rem;
- vertical-align: middle;
- margin-top: -1px;
- }
- }
- }
- .block-userinfo {
- img {
- width: 200px;
- height: 200px;
- object-fit: cover;
- }
- & + .block-file {
- margin-top: -5rem !important;
- }
- }
- #offline-status {
- padding: .2rem 1rem;
- text-align: center;
- display: none;
- .fa-plane {
- @include transform(rotate(45deg));
- }
- }
- #admin-user-details {
- img {
- width: 47px;
- height: 47px;
- object-fit: cover;
- }
- }
- #admin-user-details, .admin-user-details {
- padding: 15px 10px;
- min-height: 80px;
- overflow: hidden;
- text-align: left;
- @include breakpoint(mini-nav-range) {
- padding: 1rem 10px;
- text-align: center;
- }
- img {
- @include transition(all 0.5s ease);
- border-radius: 100%;
- float: left;
- }
- .admin-user-names {
- margin-left: 60px;
- margin-top: 5px;
- display: block;
- @include breakpoint(mini-nav-range) {
- display: none;
- }
- h4, h5 {
- margin: 0;
- font-size: 1rem;
- line-height: 1.3;
- }
- .badge {
- font-size: 0.8rem;
- }
- h5 {
- opacity: 0.7;
- font-size: 0.9rem;
- }
- }
- }
- #admin-nav-quick-tray {
- margin: 0;
- list-style: none;
- padding-left: 26px;
- padding-right: 10px;
- li {
- cursor: pointer;
- width: 24px;
- margin: 3px 0 5px;
- }
- i {
- transition: all .2s ease-in-out;
- &:hover {
- transform: scale(1.2);
- }
- }
- }
- .content-padding {
- #messages.default-box-shadow {
- margin-bottom: $content-padding;
- @include breakpoint(mobile-only) {
- margin-bottom: 0.5rem;
- }
- }
- }
- .admin-menu-wrapper {
- height: calc(100vh - 180px);
- //overflow: hidden;
- @include breakpoint(mini-nav-range) {
- height: calc(100vh - 136px);
- }
- }
- #admin-menu {
- display: block;
- margin: 0;
- padding: 0;
- list-style: none;
- em {
- font-style: normal;
- @include breakpoint(mini-nav-range) {
- display: none;
- }
- }
- li {
- .badges {
- float: right;
- margin-right: 1rem;
- .badge {
- display: inline-block;
- margin-right: -5px;
- }
- .updates {
- display: none;
- }
- .count {
- @include breakpoint(mini-nav-range) {
- display: none;
- }
- }
- &.with-updates {
- .count {
- border-bottom-left-radius: 0;
- border-top-left-radius: 0;
- }
- .updates {
- border-bottom-right-radius: 0;
- border-top-right-radius: 0;
- display: inline-block;
- @include breakpoint(mini-nav-range) {
- border-radius: 100%;
- position: absolute;
- top: 4px;
- right: 10px;
- font-size: 9px;
- line-height: 12px;
- padding: 1px 3px;
- min-width: 15px;
- }
- }
- }
- }
- a {
- @include transition(all 0.2s ease);
- display: block;
- padding-left: 25px;
- padding-top: 0.7rem;
- padding-bottom: 0.7rem;
- position: relative;
- .fa {
- @include transition(all 0.2s ease);
- margin-right: 8px;
- }
- }
- &.selected {
- a {
- padding-left: 16px;
- }
- }
- }
- }
- body.sidebar-quickopen #admin-main {
- @include breakpoint(large-desktop-plus) {
- margin-left: $sidebar-width-small;
- }
- }
- #admin-main {
- @include breakpoint(tablet-plus) {
- margin-left: $sidebar-width-small;
- }
- @include breakpoint(large-desktop-plus) {
- margin-left: $sidebar-width-large;
- }
- .form-label label {
- .hint:after, [data-hint]:after {
- max-width: 300px;
- min-width: 150px;
- display: inline-table;
- white-space: initial;
- line-height: 1.2;
- }
- }
- h1 {
- margin: 0;
- font-size: 1.3rem;
- text-align: left;
- letter-spacing: -1px;
- line-height: 1.5;
- }
- .padding {
- padding: $padding-default;
- }
- .lines-button {
- display: none;
- margin-left: $padding-default / 4;
- &:focus {
- outline:none;
- }
- @include breakpoint(mobile-only) {
- display: inline-block;
- }
- }
- .button {
- white-space: nowrap;
- }
- .titlebar {
- position: relative;
- height: $topbar-height;
- padding: 0 $padding-default;
- z-index: 4;
- box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.1);
- @include breakpoint(mobile-only) {
- padding: 0 ($padding-default / 4) 0 ($padding-default + 2.5);
- }
- h1 {
- @extend %vertical-align;
- display: block;
- white-space: nowrap;
- overflow: hidden;
- -ms-text-overflow: ellipsis;
- text-overflow: ellipsis;
- @include breakpoint(mobile-only) {
- font-size: 18px;
- i {
- display: none;
- }
- }
- }
- .button-bar {
- @extend %vertical-align;
- padding: 0;
- white-space: nowrap;
- z-index: 4;
- }
- .preview {
- font-size: 90%;
- }
- .button {
- padding: 0.5rem 0.4rem;
- vertical-align: top;
- margin-right: -2px;
- @include breakpoint(mobile-only) {
- font-size: 0;
- padding: 0.5rem 0.5rem;
- min-height: 36px;
- i {
- font-size: 20px;
- margin-right: 0;
- }
- }
- @media only all and (max-width: 20.875em) {
- padding: 0.5rem 0.2rem;
- }
- }
- span.button {
- cursor: default;
- pointer-events: none;
- }
- @include breakpoint(mobile-only) {
- .dropdown-menu .button {
- font-size: 0.9rem;
- }
- }
- }
- .admin-block .alert {
- margin-top: -2rem;
- margin-bottom: 2rem;
- }
- .alert {
- &:before {
- font-family: FontAwesome;
- margin-right: 5px;
- }
- &.info:before {
- content: "\f0a1";
- }
- &.warning:before {
- content: "\f071";
- }
- &.note:before {
- content: "\f24a";
- }
- &.grav:before {
- font-family: FontAwesome, sans-serif;
- content: "\f2d6";
- vertical-align: bottom;
- }
- &.grav {
- #grav-update-button {
- margin-top: -3px;
- float: right;
- }
- }
- }
- .grav-update {
- @include clearfix;
- padding: 0 $padding-default;
- margin-top: -2rem;
- margin-bottom: 1rem;
- display: none;
- @include breakpoint(mobile-only) {
- padding: 0 1rem;
- }
- .button {
- float: right;
- margin-top: 0.6rem;
- margin-left: 1rem;
- line-height: 1.5;
- }
- p {
- line-height: $update-height;
- margin: 0;
- display: block;
- white-space: nowrap;
- overflow: hidden;
- -ms-text-overflow: ellipsis;
- text-overflow: ellipsis;
- }
- span[class="hint--left"]::after {
- line-height: 1.5;
- }
- i {
- padding-right: 0.5rem;
- }
- }
- .grav-update.grav + .content-wrapper {
- height: calc(100vh - #{$topbar-height} - #{$update-height});
- }
- .content-wrapper {
- position: relative;
- //overflow-y: hidden;
- height: calc(100vh - #{$topbar-height});
- //z-index: 0;
- }
- .content-padding {
- padding: $content-padding;
- @include breakpoint(mobile-only) {
- padding: 0;
- }
- }
- .admin-block {
- padding: 1rem 0;
- &:empty {
- padding: 0;
- }
- h1 {
- padding: 0 $padding-default 0.5rem;
- margin: 0 0 1rem;
- @include breakpoint(mobile-only) {
- padding: 0 1rem 0.5rem;
- }
- &.no_underline {
- border-bottom: 0;
- }
- }
- .button-bar {
- margin: 0 $padding-default;
- @include breakpoint(mobile-only) {
- margin: -1rem 0 1rem 0;
- padding: 0 1rem;
- text-align: center;
- .button {
- width: 100%;
- }
- }
- }
- }
- .flush-bottom {
- &.button-bar {
- margin: 1rem (-$padding-default) -1rem;
- padding: 1rem;
- float: none;
- display: flex;
- @include breakpoint(mobile-only) {
- &.stats-bar {
- font-size: 90%;
- b {
- font-size: 1.5rem;
- }
- }
- }
- .button {
- margin: 0;
- height: 37px;
- &.dropdown-toggle {
- margin-left: -4px;
- }
- }
- }
- }
- .danger, .success {
- position: relative;
- &.button-bar {
- margin: 2rem 0 -1rem;
- height: 70px;
- padding: 1rem;
- float: none;
- .button {
- @extend %vertical-align;
- }
- }
- }
- }
- .content-padding {
- #admin-dashboard {
- .dashboard-item-flex {
- &:nth-of-type(2n) .dashboard-item {
- margin-right: 0;
- margin-left: $content-padding / 2;
- }
- &:nth-of-type(2n+1) .dashboard-item {
- margin-left: 0;
- margin-right: $content-padding / 2;
- }
- }
- .dashboard-item {
- margin-bottom: $content-padding;
- }
- }
- }
- #admin-dashboard {
- @include display(flex);
- @include flex-flow(row wrap);
- .dashboard-item-flex {
- @include display(flex);
- @include flex-flow(column nowrap);
- width: 50%;
- @include breakpoint(mobile-only) {
- width: 100%;
- .dashboard-item {
- margin-right: 0px !important;
- margin-left: 0px !important;
- margin-bottom: 10px !important;
- }
- }
- }
- .dashboard-item {
- > div:not(.widget-content) {
- padding: 1rem $padding-default;
- }
- h1 .right {
- float: right;
- }
- &.admin-block {
- padding: 1rem 0;
- ul {
- margin: 0 0 1rem 0;
- padding: 0;
- list-style: none;
- }
- li {
- margin: 0;
- padding: 0.425rem $padding-default 0.2rem $padding-default;
- &:last-child {
- border-bottom: 0;
- }
- }
- }
- }
- .chart-loader {
- position: relative;
- .fa {
- display: block;
- position: absolute;
- width: 100%;
- text-align: center;
- font-size: 4rem;
- margin-top: -2rem;
- @extend %vertical-align;
- }
- text-align: center;
- }
- .widget-content {
- position: relative;
- min-height: 335px;
- padding: 0;
- }
- .widget-loader {
- position: absolute;
- text-align: center;
- top: 50%;
- left: 50%;
- width: 100%;
- transform: translate(-50%, -50%);
- .fa {
- font-size: 4rem;
- }
- }
- #updates {
- p {
- text-align: center;
- margin: 0;
- }
- .updates-chart {
- width: 50%;
- float: left;
- }
- .flush-bottom {
- &.button-bar {
- height: 70px;
- flex-direction: row-reverse;
- }
- }
- .chart-wrapper {
- position: relative;
- }
- .backups-chart {
- position: relative;
- width: 50%;
- float: left;
- }
- .ct-chart {
- min-height: 157px;
- }
- .numeric {
- display: block;
- position: absolute;
- width: 100%;
- text-align: center;
- font-size: 1.5rem;
- line-height: 1;
- @extend %vertical-align;
- em {
- display: block;
- font-style: normal;
- font-size: 1rem;
- }
- }
- .admin-update-charts {
- @include clearfix;
- min-height: 191px;
- }
- .button-bar > .button:not(.dropdown-toggle) {
- margin-left: 4px;
- height: 37px;
- }
- }
- #popularity {
- .ct-chart {
- min-height: 171px;
- }
- .button-bar {
- height: 100px;
- padding: 0 1rem;
- display: flex;
- }
- }
- .dashboard-item {
- .admin-statistics-chart {
- position: relative;
- }
- p {
- text-align: center;
- margin: 0;
- }
- .stat {
- width: 33%;
- text-align: center;
- display: flex;
- flex-direction: column;
- justify-content: center;
- b {
- display: block;
- font-size: 2.5rem;
- line-height: 1;
- font-weight: 300;
- }
- i {
- display: block;
- font-style: normal;
- }
- }
- }
- #news-feed {
- .date {
- float: right;
- z-index: 1;
- }
- li {
- a {
- display: block;
- white-space: nowrap;
- overflow: hidden;
- -ms-text-overflow: ellipsis;
- text-overflow: ellipsis;
- z-index: 0;
- &:before {
- font-family: FontAwesome;
- margin-right: 10px;
- content: "\f1ea";
- }
- }
- }
- }
- }
- .no-flick {
- -webkit-transform: translate3d(0, 0, 0);
- }
- .card-row {
- @include justify-content(space-between);
- }
- .card-item {
- @extend .no-flick;
- overflow: hidden;
- padding: 1rem;
- margin: 0;
- position: relative;
- width: 31%;
- max-width: 21rem;
- @include breakpoint(tablet-range) {
- width: 48%;
- }
- @include breakpoint(mobile-only) {
- width: 100%;
- }
- margin-bottom: 2rem;
- h4 {
- font-size: 1.2rem;
- line-height: 1.2;
- }
- }
- .user-details {
- text-align: left;
- img {
- border-radius: 100%;
- }
- h2 {
- margin: 0;
- font-size: 2.1rem !important;
- margin: 1rem 0 0 !important;
- line-height: 1.5;
- span {
- font-size: 1.2rem;
- }
- }
- h5 {
- font-size: 1.1rem;
- margin: 0;
- linep-height: 1.2;
- }
- .avatar {
- font-size: 0.9rem;
- padding: 0;
- }
- @include breakpoint(mobile-only) {
- text-align: center;
- }
- }
- #footer {
- text-align: center;
- padding: 3rem 0 1rem;
- p {
- margin: 0;
- }
- }
- // Chart overrides
- .ct-chart {
- .ct-series {
- .ct-bar {
- stroke-width: 20px;
- }
- }
- }
- #popularity .ct-chart {
- margin: 0 -10px -10px;
- .ct-chart-bar {
- padding: 4px 6px 1px 10px;
- }
- }
- #latest {
- .page-title, .page-route {
- overflow: auto;
- }
- }
- #overlay {
- position: fixed;
- width: 25%;
- height: 100%;
- z-index: 999999;
- left: 75%;
- top: 0;
- display: none;
- @include breakpoint(mobile-only) {
- display: none!important;
- }
- }
- // Fix tabs spacing in plugin / theme options
- .gpm-item-info + #blueprints .block-tabs {
- padding-top: 16px;
- }
- .plugins-notifications-container,
- .themes-notifications-container {
- margin-bottom: 2rem;
- }
- .package-dependencies-container {
- li {
- height: 35px;
- .button {
- height: 30px;
- float: right;
- margin-right: 10px;
- line-height: 20px;
- }
- }
- }
- .pointer-events-disabled {
- pointer-events: none;
- }
- // Reinstall packages
- .updates-checked {
- .button-reinstall-package {
- display: inline-block!important;
- }
- &.has-updates {
- .button-reinstall-package {
- display: none!important;
- }
- }
- }
- // Preview
- .preview-wrapper {
- .content-padding {
- position: absolute;
- top: 0;
- bottom: 0;
- right: 0;
- left: 0;
- }
- }
- // Gumroad
- .gumroad {
- .cart-button {
- display: none !important;
- }
- }
- // Config Side Tabs
- @include breakpoint(mobile-only) {
- #admin-main .config-wrapper-system .form-tabs.side-tabs {
- > .tabs-nav {
- display: none;
- width: 0;
- }
- > .tabs-content {
- width: 100%;
- .tab__content {
- display: block;
- }
- }
- }
- }
- // Log Viewer
- .logs-output {
- form {
- .form-data {
- display: flex;
- margin: 0 -0.5rem;
- @include breakpoint(small-mobile-range) {
- display: block;
- }
- }
- .forms-select-wrapper {
- display: block;
- flex: 1;
- margin: 0.5rem 0.5rem;
- }
- }
- h1 {
- margin-top: 2rem !important;
- }
- h3 {
- padding: 0.5rem 1.5rem;
- font-size: 1.1rem;
- @include breakpoint(mobile-only) {
- padding: 0.5rem 1rem;
- }
- }
- table.noflex {
- td {
- vertical-align: top;
- }
- td.date, td.level {
- white-space: nowrap;
- }
- td.date {
- opacity: 0.7;
- }
- th.level, td.level {
- padding: 0.375rem 30px;
- }
- td.level {
- font-weight: bold;
- span.badge {
- font-size: 0.7rem;
- }
- }
- td.message {
- width: 100%;
- word-break: break-all;
- }
- .trace {
- ol {
- margin: 10px 0;
- padding: 0;
- font-size: 0.7rem;
- code {
- font-size: 0.7rem;
- display: block;
- white-space: pre-wrap
- }
- }
- }
- }
- }
- // New 1.7 Permissions
- .permissions-container {
- max-width: 800px;
- .badge .icon-super {
- display: block;
- height: 20px;
- width: 14px;
- line-height: 1.5;
- &:before {
- content: url('../images/icons/crown.svg');
- }
- }
- .switch-toggle {
- input+label:before {
- font-family: FontAwesome;
- margin-right: 5px;
- }
- input.label0+label:before{
- content: "\f05e";
- }
- input.label1+label:before {
- content: "\f00c";
- }
- }
- fieldset {
- margin: 0 0 1rem 0;
- padding: 1rem;
- border-radius: $border-radius;
- legend {
- padding: 0 0.5rem;
- margin-left: -0.5rem;
- font-size: 120%;
- }
- fieldset {
- margin: 0;
- border: 0;
- padding: 0.5rem 0 0 2rem;
- legend {
- padding: 0;
- margin: 0;
- }
- }
- }
- }
- .permission-container {
- display: flex;
- .permission-name {
- flex-grow: 1;
- position: relative;
- overflow: hidden;
- margin-right: 8px;
- padding-top: 9px;
- span:not(.badge) {
- position: relative;
- padding-right: 5px;
- }
- span.badge {
- position: relative;
- float: right;
- font-size: 100%;
- border-radius: 20px;
- margin-right: -2px;
- }
- &:before {
- content: "........................................................................................................................................";
- height: 1px;
- position: absolute;
- right: 100%;
- left: 0;
- }
- }
- }
- // Reports
- .reports-content {
- .report-output {
- table, tbody, thead {
- display: table;
- width: 100%;
- }
- table {
- thead {
- tr {
- th {
- display: table-cell;
- }
- }
- }
- tbody {
- tr {
- td {
- display: table-cell;
- }
- }
- }
- }
- }
- }
|