_admin.scss 23 KB

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