_admin.scss 23 KB

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