_admin.scss 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323
  1. $topbar-height: 4.2rem;
  2. $update-height: 3rem;
  3. $sidebar-width-large: 240px;
  4. $sidebar-width-small: $topbar-height;
  5. $sidebar-padding: 2rem;
  6. $content-padding: 1.5rem;
  7. // Special cases
  8. .sidebar-closed:not(.sidebar-quickopen) {
  9. #admin-sidebar {
  10. float: left;
  11. visibility: visible;
  12. opacity: 1;
  13. width: $sidebar-width-small;
  14. #admin-logo {
  15. h3 {
  16. font-size: 0;
  17. &:first-letter {
  18. font-size: 2.5rem;
  19. }
  20. }
  21. }
  22. .custom-logo {
  23. margin-right: 0;
  24. padding-right: 15px;
  25. img {
  26. padding: 0 5px;
  27. }
  28. }
  29. #grav-logo-small {
  30. display: inline-block;
  31. }
  32. #grav-logo-large {
  33. display: none;
  34. }
  35. .front-end {
  36. display: none;
  37. }
  38. #admin-user-details {
  39. padding: 15px 0 15px 10px;
  40. text-align: left;
  41. }
  42. .admin-user-names {
  43. display: none;
  44. }
  45. #admin-menu {
  46. em {
  47. display: none;
  48. }
  49. li {
  50. .badges {
  51. .updates {
  52. border-radius: 100%;
  53. position: absolute;
  54. top: 4px;
  55. right: 10px;
  56. font-size: 9px;
  57. line-height: 12px;
  58. padding: 1px 3px;
  59. min-width: 15px;
  60. }
  61. .count {
  62. display: none;
  63. }
  64. }
  65. }
  66. }
  67. #open-handle {
  68. @include breakpoint(large-desktop-plus) {
  69. .fa-angle-right:before {
  70. content: "\f105";
  71. }
  72. }
  73. }
  74. }
  75. #admin-main {
  76. margin-left: $sidebar-width-small;
  77. }
  78. }
  79. .sidebar-open {
  80. #admin-sidebar {
  81. z-index: 10001;
  82. float: left;
  83. visibility: visible;
  84. opacity: 1;
  85. width: $sidebar-width-large;
  86. h3 {
  87. font-size: 1.2rem;
  88. &:first-letter {
  89. font-size: 1.2rem;
  90. }
  91. }
  92. #grav-logo-small {
  93. display: none;
  94. }
  95. #grav-logo-large {
  96. display: inline-block;
  97. }
  98. #admin-user-details {
  99. padding: 15px 10px;
  100. text-align: left;
  101. }
  102. .admin-user-names {
  103. display: block;
  104. }
  105. .front-end {
  106. display: inline-block;
  107. }
  108. #admin-menu {
  109. em {
  110. display: inline;
  111. }
  112. li {
  113. .badges {
  114. .updates {
  115. border-bottom-right-radius: 0;
  116. border-top-right-radius: 0;
  117. position: relative;
  118. top: auto;
  119. right: auto;
  120. @extend .badge;
  121. }
  122. .count {
  123. display: inline-block;
  124. }
  125. }
  126. }
  127. }
  128. #open-handle {
  129. @include breakpoint(mini-nav-range) {
  130. .fa-angle-right:before {
  131. content: "\f104";
  132. }
  133. }
  134. }
  135. }
  136. }
  137. #admin-sidebar {
  138. position: absolute;
  139. left: 0;
  140. top: 0;
  141. bottom: 0;
  142. width: 100%;
  143. max-height: 100vh;
  144. opacity: 0;
  145. z-index: 3;
  146. //transition: opacity 0.2s 0s, visibility 0s 0.2s;
  147. #open-handle {
  148. display: block;
  149. position: absolute;
  150. cursor: pointer;
  151. right:0;
  152. top: 0;
  153. width: 15px;
  154. height: $topbar-height;
  155. text-align: center;
  156. line-height: $topbar-height;
  157. font-size: 12px;
  158. border-top-right-radius: 3px;
  159. border-bottom-right-radius: 3px;
  160. @include breakpoint(large-desktop-plus) {
  161. .fa-angle-right:before {
  162. content: "\f104";
  163. }
  164. }
  165. }
  166. &.sidebar-is-visible {
  167. opacity: 1;
  168. visibility: visible;
  169. //transition: opacity 0.2s 0s, visibility 0s 0s
  170. }
  171. @include breakpoint(mobile-only) {
  172. z-index: 5;
  173. }
  174. @include breakpoint(tablet-plus) {
  175. float: left;
  176. visibility: visible;
  177. opacity: 1;
  178. width: $sidebar-width-small;
  179. }
  180. @include breakpoint(large-desktop-plus) {
  181. float: left;
  182. visibility: visible;
  183. opacity: 1;
  184. width: $sidebar-width-large;
  185. }
  186. }
  187. #admin-logo {
  188. height: $topbar-height;
  189. display: flex;
  190. align-items: center;
  191. justify-content: center;
  192. &.nav-hover {
  193. .admin-logo {
  194. margin-right: 0;
  195. }
  196. }
  197. .admin-logo {
  198. margin-right: -10px;
  199. @include breakpoint(tablet-plus) {
  200. margin-right: 0;
  201. &.custom-logo {
  202. padding-right: 15px;
  203. img {
  204. padding: 0 5px;
  205. }
  206. }
  207. }
  208. display: flex;
  209. align-items: center;
  210. a:not(.front-end) {
  211. display: inherit;
  212. }
  213. &.custom-logo {
  214. img {
  215. max-height: 30px;
  216. }
  217. }
  218. }
  219. .front-end {
  220. margin-left: 15px;
  221. opacity: 0.6;
  222. @include breakpoint(mobile-only) {
  223. display: none;
  224. }
  225. @include breakpoint(tablet-plus) {
  226. display: none;
  227. }
  228. @include breakpoint(large-desktop-plus) {
  229. display: inline-block;
  230. }
  231. }
  232. #grav-logo-small {
  233. height: 30px;
  234. display: none;
  235. @include breakpoint(tablet-plus) {
  236. display: inline-block;
  237. }
  238. @include breakpoint(large-desktop-plus) {
  239. display: none;
  240. }
  241. }
  242. #grav-logo-large {
  243. height: 30px;
  244. @include breakpoint(tablet-plus) {
  245. display: none;
  246. }
  247. @include breakpoint(large-desktop-plus) {
  248. display: inline-block;
  249. }
  250. }
  251. h3 {
  252. font-size: 1.5rem;
  253. margin: 0;
  254. @include breakpoint(tablet-plus) {
  255. font-size: 0;
  256. &:first-letter {
  257. font-size: 2.5rem;
  258. }
  259. }
  260. @include breakpoint(large-desktop-plus) {
  261. font-size: 1.5rem;
  262. &:first-letter {
  263. font-size: 1.5rem;
  264. }
  265. }
  266. i {
  267. font-size: 1rem;
  268. vertical-align: middle;
  269. margin-top: -1px;
  270. }
  271. }
  272. }
  273. .block-userinfo {
  274. img {
  275. width: 200px;
  276. height: 200px;
  277. object-fit: cover;
  278. }
  279. & ~ .block-file {
  280. margin-top: -5rem !important;
  281. }
  282. }
  283. #offline-status {
  284. padding: .2rem 1rem;
  285. text-align: center;
  286. display: none;
  287. .fa-plane {
  288. @include transform(rotate(45deg));
  289. }
  290. }
  291. #admin-user-details {
  292. img {
  293. width: 47px;
  294. height: 47px;
  295. object-fit: cover;
  296. }
  297. }
  298. #admin-user-details, .admin-user-details {
  299. padding: 15px 10px;
  300. min-height: 80px;
  301. overflow: hidden;
  302. text-align: left;
  303. @include breakpoint(mini-nav-range) {
  304. padding: 1rem 10px;
  305. text-align: center;
  306. }
  307. img {
  308. @include transition(all 0.5s ease);
  309. border-radius: 100%;
  310. float: left;
  311. }
  312. .admin-user-names {
  313. margin-left: 60px;
  314. margin-top: 5px;
  315. display: block;
  316. @include breakpoint(mini-nav-range) {
  317. display: none;
  318. }
  319. h4, h5 {
  320. margin: 0;
  321. font-size: 1rem;
  322. line-height: 1.3;
  323. }
  324. .badge {
  325. font-size: 0.8rem;
  326. }
  327. h5 {
  328. opacity: 0.7;
  329. font-size: 0.9rem;
  330. }
  331. }
  332. }
  333. #admin-nav-quick-tray {
  334. margin: 0;
  335. list-style: none;
  336. padding-left: 26px;
  337. padding-right: 10px;
  338. li {
  339. cursor: pointer;
  340. width: 24px;
  341. margin: 3px 0 5px;
  342. }
  343. i {
  344. transition: all .2s ease-in-out;
  345. &:hover {
  346. transform: scale(1.2);
  347. }
  348. }
  349. }
  350. .content-padding {
  351. #messages.default-box-shadow {
  352. margin-bottom: $content-padding;
  353. @include breakpoint(mobile-only) {
  354. margin-bottom: 0.5rem;
  355. }
  356. }
  357. }
  358. .admin-menu-wrapper {
  359. height: calc(100vh - 180px);
  360. overflow: hidden;
  361. @include breakpoint(mini-nav-range) {
  362. height: calc(100vh - 136px);
  363. }
  364. }
  365. #admin-menu {
  366. display: block;
  367. margin: 0;
  368. padding: 0;
  369. list-style: none;
  370. em {
  371. font-style: normal;
  372. @include breakpoint(mini-nav-range) {
  373. display: none;
  374. }
  375. }
  376. li {
  377. .badges {
  378. float: right;
  379. margin-right: 1rem;
  380. .badge {
  381. display: inline-block;
  382. margin-right: -5px;
  383. }
  384. .updates {
  385. display: none;
  386. }
  387. .count {
  388. @include breakpoint(mini-nav-range) {
  389. display: none;
  390. }
  391. }
  392. &.with-updates {
  393. .count {
  394. border-bottom-left-radius: 0;
  395. border-top-left-radius: 0;
  396. }
  397. .updates {
  398. border-bottom-right-radius: 0;
  399. border-top-right-radius: 0;
  400. display: inline-block;
  401. @include breakpoint(mini-nav-range) {
  402. border-radius: 100%;
  403. position: absolute;
  404. top: 4px;
  405. right: 10px;
  406. font-size: 9px;
  407. line-height: 12px;
  408. padding: 1px 3px;
  409. min-width: 15px;
  410. }
  411. }
  412. }
  413. }
  414. a {
  415. @include transition(all 0.2s ease);
  416. display: block;
  417. padding-left: 25px;
  418. padding-top: 0.7rem;
  419. padding-bottom: 0.7rem;
  420. position: relative;
  421. .fa {
  422. @include transition(all 0.2s ease);
  423. margin-right: 8px;
  424. }
  425. }
  426. &.selected {
  427. a {
  428. padding-left: 16px;
  429. }
  430. }
  431. }
  432. }
  433. body.sidebar-quickopen #admin-main {
  434. @include breakpoint(large-desktop-plus) {
  435. margin-left: $sidebar-width-small;
  436. }
  437. }
  438. #admin-main {
  439. @include breakpoint(tablet-plus) {
  440. margin-left: $sidebar-width-small;
  441. }
  442. @include breakpoint(large-desktop-plus) {
  443. margin-left: $sidebar-width-large;
  444. }
  445. .form-label label {
  446. .hint:after, [data-hint]:after {
  447. max-width: 300px;
  448. min-width: 150px;
  449. display: inline-table;
  450. white-space: initial;
  451. line-height: 1.2;
  452. }
  453. }
  454. h1 {
  455. margin: 0;
  456. font-size: 1.3rem;
  457. text-align: left;
  458. letter-spacing: -1px;
  459. line-height: 1.5;
  460. }
  461. .padding {
  462. padding: $padding-default;
  463. }
  464. .lines-button {
  465. display: none;
  466. margin-left: $padding-default / 4;
  467. &:focus {
  468. outline:none;
  469. }
  470. @include breakpoint(mobile-only) {
  471. display: inline-block;
  472. }
  473. }
  474. .button {
  475. white-space: nowrap;
  476. }
  477. .titlebar {
  478. position: relative;
  479. height: $topbar-height;
  480. padding: 0 $padding-default;
  481. z-index: 4;
  482. box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.1);
  483. @include breakpoint(mobile-only) {
  484. padding: 0 ($padding-default / 4) 0 ($padding-default + 2.5);
  485. }
  486. h1 {
  487. @extend %vertical-align;
  488. display: block;
  489. white-space: nowrap;
  490. overflow: hidden;
  491. -ms-text-overflow: ellipsis;
  492. text-overflow: ellipsis;
  493. @include breakpoint(mobile-only) {
  494. font-size: 18px;
  495. i {
  496. display: none;
  497. }
  498. }
  499. }
  500. .button-bar {
  501. @extend %vertical-align;
  502. padding: 0;
  503. white-space: nowrap;
  504. z-index: 4;
  505. }
  506. .preview {
  507. font-size: 90%;
  508. }
  509. .button {
  510. padding: 0.5rem 0.4rem;
  511. vertical-align: top;
  512. margin-right: -2px;
  513. @include breakpoint(mobile-only) {
  514. font-size: 0;
  515. padding: 0.5rem 0.5rem;
  516. min-height: 36px;
  517. i {
  518. font-size: 20px;
  519. margin-right: 0;
  520. }
  521. }
  522. @media only all and (max-width: 20.875em) {
  523. padding: 0.5rem 0.2rem;
  524. }
  525. }
  526. @include breakpoint(mobile-only) {
  527. .dropdown-menu .button {
  528. font-size: 0.9rem;
  529. }
  530. }
  531. }
  532. .admin-block .alert {
  533. margin-top: -2rem;
  534. margin-bottom: 2rem;
  535. }
  536. .alert {
  537. &:before {
  538. font-family: FontAwesome;
  539. margin-right: 5px;
  540. }
  541. &.info:before {
  542. content: "\f0a1";
  543. }
  544. &.warning:before {
  545. content: "\f071";
  546. }
  547. &.note:before {
  548. content: "\f24a";
  549. }
  550. &.grav:before {
  551. font-family: rockettheme-apps;
  552. content: "\62";
  553. vertical-align: bottom;
  554. }
  555. &.grav {
  556. #grav-update-button {
  557. margin-top: -3px;
  558. float: right;
  559. }
  560. }
  561. }
  562. .grav-update {
  563. @include clearfix;
  564. padding: 0 $padding-default;
  565. margin-top: -2rem;
  566. margin-bottom: 1rem;
  567. display: none;
  568. @include breakpoint(mobile-only) {
  569. padding: 0 1rem;
  570. }
  571. .button {
  572. float: right;
  573. margin-top: 0.6rem;
  574. margin-left: 1rem;
  575. line-height: 1.5;
  576. }
  577. p {
  578. line-height: $update-height;
  579. margin: 0;
  580. display: block;
  581. white-space: nowrap;
  582. overflow: hidden;
  583. -ms-text-overflow: ellipsis;
  584. text-overflow: ellipsis;
  585. }
  586. span[class="hint--left"]::after {
  587. line-height: 1.5;
  588. }
  589. i {
  590. padding-right: 0.5rem;
  591. }
  592. }
  593. .grav-update.grav + .content-wrapper {
  594. height: calc(100vh - #{$topbar-height} - #{$update-height});
  595. }
  596. .content-wrapper {
  597. position: relative;
  598. overflow-y: hidden;
  599. height: calc(100vh - #{$topbar-height});
  600. //z-index: 0;
  601. .gm-scrollbar.-vertical {
  602. right: 5px;
  603. top: 5px;
  604. width: 8px;
  605. border-radius: 4px;
  606. }
  607. }
  608. .content-padding {
  609. padding: $content-padding;
  610. @include breakpoint(mobile-only) {
  611. padding: 0;
  612. }
  613. }
  614. .admin-block {
  615. padding: 1rem 0;
  616. &:empty {
  617. padding: 0;
  618. }
  619. h1 {
  620. padding: 0 $padding-default 0.5rem;
  621. margin: 0 0 1rem;
  622. @include breakpoint(mobile-only) {
  623. padding: 0 1rem 0.5rem;
  624. }
  625. &.no_underline {
  626. border-bottom: 0;
  627. }
  628. }
  629. .button-bar {
  630. margin: 0 $padding-default;
  631. @include breakpoint(mobile-only) {
  632. margin: -1rem 0 1rem 0;
  633. padding: 0 1rem;
  634. text-align: center;
  635. .button {
  636. width: 100%;
  637. }
  638. }
  639. }
  640. }
  641. .flush-bottom {
  642. &.button-bar {
  643. margin: 1rem (-$padding-default) -1rem;
  644. padding: 1rem;
  645. float: none;
  646. display: flex;
  647. @include breakpoint(mobile-only) {
  648. &.stats-bar {
  649. font-size: 90%;
  650. b {
  651. font-size: 1.5rem;
  652. }
  653. }
  654. }
  655. .button {
  656. margin: 0;
  657. height: 37px;
  658. &.dropdown-toggle {
  659. margin-left: -4px;
  660. }
  661. }
  662. }
  663. }
  664. .danger, .success {
  665. position: relative;
  666. &.button-bar {
  667. margin: 2rem 0 -1rem;
  668. height: 70px;
  669. padding: 1rem;
  670. float: none;
  671. .button {
  672. @extend %vertical-align;
  673. }
  674. }
  675. }
  676. }
  677. .content-padding {
  678. #admin-dashboard {
  679. .dashboard-item-flex {
  680. &:nth-of-type(2n) .dashboard-item {
  681. margin-right: 0;
  682. margin-left: $content-padding / 2;
  683. }
  684. &:nth-of-type(2n+1) .dashboard-item {
  685. margin-left: 0;
  686. margin-right: $content-padding / 2;
  687. }
  688. }
  689. .dashboard-item {
  690. margin-bottom: $content-padding;
  691. }
  692. }
  693. }
  694. #admin-dashboard {
  695. @include display(flex);
  696. @include flex-flow(row wrap);
  697. .dashboard-item-flex {
  698. @include display(flex);
  699. @include flex-flow(column nowrap);
  700. width: 50%;
  701. @include breakpoint(mobile-only) {
  702. width: 100%;
  703. .dashboard-item {
  704. margin-right: 0px !important;
  705. margin-left: 0px !important;
  706. margin-bottom: 10px !important;
  707. }
  708. }
  709. }
  710. .dashboard-item {
  711. > div:not(.widget-content) {
  712. padding: 1rem $padding-default;
  713. }
  714. h1 .right {
  715. float: right;
  716. }
  717. &.admin-block {
  718. padding: 1rem 0;
  719. ul {
  720. margin: 0 0 1rem 0;
  721. padding: 0;
  722. list-style: none;
  723. }
  724. li {
  725. margin: 0;
  726. padding: 0.425rem $padding-default 0.2rem $padding-default;
  727. &:last-child {
  728. border-bottom: 0;
  729. }
  730. }
  731. }
  732. }
  733. .chart-loader {
  734. position: relative;
  735. .fa {
  736. display: block;
  737. position: absolute;
  738. width: 100%;
  739. text-align: center;
  740. font-size: 4rem;
  741. margin-top: -2rem;
  742. @extend %vertical-align;
  743. }
  744. text-align: center;
  745. }
  746. .widget-content {
  747. position: relative;
  748. min-height: 335px;
  749. padding: 0;
  750. }
  751. .widget-loader {
  752. position: absolute;
  753. text-align: center;
  754. top: 50%;
  755. left: 50%;
  756. width: 100%;
  757. transform: translate(-50%, -50%);
  758. .fa {
  759. font-size: 4rem;
  760. }
  761. }
  762. #updates {
  763. p {
  764. text-align: center;
  765. margin: 0;
  766. }
  767. .updates-chart {
  768. width: 50%;
  769. float: left;
  770. }
  771. .flush-bottom {
  772. &.button-bar {
  773. height: 70px;
  774. flex-direction: row-reverse;
  775. }
  776. }
  777. .chart-wrapper {
  778. position: relative;
  779. }
  780. .backups-chart {
  781. position: relative;
  782. width: 50%;
  783. float: left;
  784. }
  785. .ct-chart {
  786. min-height: 157px;
  787. }
  788. .numeric {
  789. display: block;
  790. position: absolute;
  791. width: 100%;
  792. text-align: center;
  793. font-size: 1.5rem;
  794. line-height: 1;
  795. @extend %vertical-align;
  796. em {
  797. display: block;
  798. font-style: normal;
  799. font-size: 1rem;
  800. }
  801. }
  802. .admin-update-charts {
  803. @include clearfix;
  804. min-height: 191px;
  805. }
  806. .button-bar > .button:not(.dropdown-toggle) {
  807. margin-left: 4px;
  808. height: 37px;
  809. }
  810. }
  811. #popularity {
  812. .ct-chart {
  813. min-height: 171px;
  814. }
  815. .button-bar {
  816. height: 100px;
  817. padding: 0 1rem;
  818. display: flex;
  819. }
  820. }
  821. .dashboard-item {
  822. .admin-statistics-chart {
  823. position: relative;
  824. }
  825. p {
  826. text-align: center;
  827. margin: 0;
  828. }
  829. .stat {
  830. width: 33%;
  831. text-align: center;
  832. display: flex;
  833. flex-direction: column;
  834. justify-content: center;
  835. b {
  836. display: block;
  837. font-size: 2.5rem;
  838. line-height: 1;
  839. font-weight: 300;
  840. }
  841. i {
  842. display: block;
  843. font-style: normal;
  844. }
  845. }
  846. }
  847. #news-feed {
  848. .date {
  849. float: right;
  850. z-index: 1;
  851. }
  852. li {
  853. a {
  854. display: block;
  855. white-space: nowrap;
  856. overflow: hidden;
  857. -ms-text-overflow: ellipsis;
  858. text-overflow: ellipsis;
  859. z-index: 0;
  860. &:before {
  861. font-family: FontAwesome;
  862. margin-right: 10px;
  863. content: "\f1ea";
  864. }
  865. }
  866. }
  867. }
  868. }
  869. .no-flick {
  870. -webkit-transform: translate3d(0, 0, 0);
  871. }
  872. .card-row {
  873. @include justify-content(space-between);
  874. }
  875. .card-item {
  876. @extend .no-flick;
  877. overflow: hidden;
  878. padding: 1rem;
  879. margin: 0;
  880. position: relative;
  881. width: 31%;
  882. max-width: 21rem;
  883. @include breakpoint(tablet-range) {
  884. width: 48%;
  885. }
  886. @include breakpoint(mobile-only) {
  887. width: 100%;
  888. }
  889. margin-bottom: 2rem;
  890. h4 {
  891. font-size: 1.2rem;
  892. line-height: 1.2;
  893. }
  894. }
  895. .user-details {
  896. text-align: left;
  897. img {
  898. border-radius: 100%;
  899. }
  900. h2 {
  901. margin: 0;
  902. font-size: 2.1rem !important;
  903. margin: 1rem 0 0 !important;
  904. line-height: 1.5;
  905. span {
  906. font-size: 1.2rem;
  907. }
  908. }
  909. h5 {
  910. font-size: 1.1rem;
  911. margin: 0;
  912. linep-height: 1.2;
  913. }
  914. .gravatar {
  915. font-size: 0.9rem;
  916. padding: 0;
  917. }
  918. @include breakpoint(mobile-only) {
  919. text-align: center;
  920. }
  921. }
  922. #footer {
  923. text-align: center;
  924. padding: 3rem 0 1rem;
  925. p {
  926. margin: 0;
  927. }
  928. }
  929. // Chart overrides
  930. .ct-chart {
  931. .ct-series {
  932. .ct-bar {
  933. stroke-width: 20px;
  934. }
  935. }
  936. }
  937. #popularity .ct-chart {
  938. margin: 0 -10px -10px;
  939. .ct-chart-bar {
  940. padding: 4px 6px 1px 10px;
  941. }
  942. }
  943. #latest {
  944. .page-title, .page-route {
  945. overflow: auto;
  946. }
  947. }
  948. #overlay {
  949. position: fixed;
  950. width: 25%;
  951. height: 100%;
  952. z-index: 999999;
  953. left: 75%;
  954. top: 0;
  955. display: none;
  956. @include breakpoint(mobile-only) {
  957. display: none!important;
  958. }
  959. }
  960. // Fix tabs spacing in plugin / theme options
  961. .gpm-item-info + #blueprints .block-tabs {
  962. padding-top: 16px;
  963. }
  964. .plugins-notifications-container,
  965. .themes-notifications-container {
  966. margin-bottom: 2rem;
  967. }
  968. .package-dependencies-container {
  969. li {
  970. height: 35px;
  971. .button {
  972. height: 30px;
  973. float: right;
  974. margin-right: 10px;
  975. line-height: 20px;
  976. }
  977. }
  978. }
  979. .pointer-events-disabled {
  980. pointer-events: none;
  981. }
  982. // Reinstall packages
  983. .updates-checked {
  984. .button-reinstall-package {
  985. display: inline-block!important;
  986. }
  987. &.has-updates {
  988. .button-reinstall-package {
  989. display: none!important;
  990. }
  991. }
  992. }
  993. // Preview
  994. .preview-wrapper {
  995. .content-padding {
  996. position: absolute;
  997. top: 0;
  998. bottom: 0;
  999. right: 0;
  1000. left: 0;
  1001. }
  1002. }
  1003. // Config Side Tabs
  1004. @include breakpoint(mobile-only) {
  1005. #admin-main .config-wrapper-system .form-tabs.side-tabs {
  1006. > .tabs-nav {
  1007. display: none;
  1008. width: 0;
  1009. }
  1010. > .tabs-content {
  1011. width: 100%;
  1012. .tab__content {
  1013. display: block;
  1014. }
  1015. }
  1016. }
  1017. }
  1018. // Log Viewer
  1019. .logs-output {
  1020. form {
  1021. .form-data {
  1022. display: flex;
  1023. margin: 0 -0.5rem;
  1024. @include breakpoint(small-mobile-range) {
  1025. display: block;
  1026. }
  1027. }
  1028. .forms-select-wrapper {
  1029. display: block;
  1030. flex: 1;
  1031. margin: 0.5rem 0.5rem;
  1032. }
  1033. }
  1034. h1 {
  1035. margin-top: 2rem !important;
  1036. }
  1037. h3 {
  1038. padding: 0.5rem 1.5rem;
  1039. font-size: 1.1rem;
  1040. @include breakpoint(mobile-only) {
  1041. padding: 0.5rem 1rem;
  1042. }
  1043. }
  1044. table.noflex {
  1045. td {
  1046. vertical-align: top;
  1047. }
  1048. td.date, td.level {
  1049. white-space: nowrap;
  1050. }
  1051. td.date {
  1052. opacity: 0.7;
  1053. }
  1054. th.level, td.level {
  1055. padding: 0.375rem 30px;
  1056. }
  1057. td.level {
  1058. font-weight: bold;
  1059. span.badge {
  1060. font-size: 0.7rem;
  1061. }
  1062. }
  1063. td.message {
  1064. width: 100%;
  1065. word-break: break-all;
  1066. }
  1067. .trace {
  1068. ol {
  1069. margin: 10px 0;
  1070. padding: 0;
  1071. font-size: 0.7rem;
  1072. code {
  1073. font-size: 0.7rem;
  1074. display: block;
  1075. white-space: pre-wrap
  1076. }
  1077. }
  1078. }
  1079. }
  1080. }