_admin.scss 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322
  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. &.dropdown-toggle {
  658. margin-left: -4px;
  659. }
  660. }
  661. }
  662. }
  663. .danger, .success {
  664. position: relative;
  665. &.button-bar {
  666. margin: 2rem 0 -1rem;
  667. height: 70px;
  668. padding: 1rem;
  669. float: none;
  670. .button {
  671. @extend %vertical-align;
  672. }
  673. }
  674. }
  675. }
  676. .content-padding {
  677. #admin-dashboard {
  678. .dashboard-item-flex {
  679. &:nth-of-type(2n) .dashboard-item {
  680. margin-right: 0;
  681. margin-left: $content-padding / 2;
  682. }
  683. &:nth-of-type(2n+1) .dashboard-item {
  684. margin-left: 0;
  685. margin-right: $content-padding / 2;
  686. }
  687. }
  688. .dashboard-item {
  689. margin-bottom: $content-padding;
  690. }
  691. }
  692. }
  693. #admin-dashboard {
  694. @include display(flex);
  695. @include flex-flow(row wrap);
  696. .dashboard-item-flex {
  697. @include display(flex);
  698. @include flex-flow(column nowrap);
  699. width: 50%;
  700. @include breakpoint(mobile-only) {
  701. width: 100%;
  702. .dashboard-item {
  703. margin-right: 0px !important;
  704. margin-left: 0px !important;
  705. margin-bottom: 10px !important;
  706. }
  707. }
  708. }
  709. .dashboard-item {
  710. > div:not(.widget-content) {
  711. padding: 1rem $padding-default;
  712. }
  713. h1 .right {
  714. float: right;
  715. }
  716. &.admin-block {
  717. padding: 1rem 0;
  718. ul {
  719. margin: 0 0 1rem 0;
  720. padding: 0;
  721. list-style: none;
  722. }
  723. li {
  724. margin: 0;
  725. padding: 0.425rem $padding-default 0.2rem $padding-default;
  726. &:last-child {
  727. border-bottom: 0;
  728. }
  729. }
  730. }
  731. }
  732. .chart-loader {
  733. position: relative;
  734. .fa {
  735. display: block;
  736. position: absolute;
  737. width: 100%;
  738. text-align: center;
  739. font-size: 4rem;
  740. margin-top: -2rem;
  741. @extend %vertical-align;
  742. }
  743. text-align: center;
  744. }
  745. .widget-content {
  746. position: relative;
  747. min-height: 335px;
  748. padding: 0;
  749. }
  750. .widget-loader {
  751. position: absolute;
  752. text-align: center;
  753. top: 50%;
  754. left: 50%;
  755. width: 100%;
  756. transform: translate(-50%, -50%);
  757. .fa {
  758. font-size: 4rem;
  759. }
  760. }
  761. #updates {
  762. p {
  763. text-align: center;
  764. margin: 0;
  765. }
  766. .updates-chart {
  767. width: 50%;
  768. float: left;
  769. }
  770. .flush-bottom {
  771. &.button-bar {
  772. height: 70px;
  773. flex-direction: row-reverse;
  774. }
  775. }
  776. .chart-wrapper {
  777. position: relative;
  778. }
  779. .backups-chart {
  780. position: relative;
  781. width: 50%;
  782. float: left;
  783. }
  784. .ct-chart {
  785. min-height: 157px;
  786. }
  787. .numeric {
  788. display: block;
  789. position: absolute;
  790. width: 100%;
  791. text-align: center;
  792. font-size: 1.5rem;
  793. line-height: 1;
  794. @extend %vertical-align;
  795. em {
  796. display: block;
  797. font-style: normal;
  798. font-size: 1rem;
  799. }
  800. }
  801. .admin-update-charts {
  802. @include clearfix;
  803. min-height: 191px;
  804. }
  805. .button-bar > .button:not(.dropdown-toggle) {
  806. margin-left: 4px;
  807. height: 37px;
  808. }
  809. }
  810. #popularity {
  811. .ct-chart {
  812. min-height: 171px;
  813. }
  814. .button-bar {
  815. height: 100px;
  816. padding: 0 1rem;
  817. display: flex;
  818. }
  819. }
  820. .dashboard-item {
  821. .admin-statistics-chart {
  822. position: relative;
  823. }
  824. p {
  825. text-align: center;
  826. margin: 0;
  827. }
  828. .stat {
  829. width: 33%;
  830. text-align: center;
  831. display: flex;
  832. flex-direction: column;
  833. justify-content: center;
  834. b {
  835. display: block;
  836. font-size: 2.5rem;
  837. line-height: 1;
  838. font-weight: 300;
  839. }
  840. i {
  841. display: block;
  842. font-style: normal;
  843. }
  844. }
  845. }
  846. #news-feed {
  847. .date {
  848. float: right;
  849. z-index: 1;
  850. }
  851. li {
  852. a {
  853. display: block;
  854. white-space: nowrap;
  855. overflow: hidden;
  856. -ms-text-overflow: ellipsis;
  857. text-overflow: ellipsis;
  858. z-index: 0;
  859. &:before {
  860. font-family: FontAwesome;
  861. margin-right: 10px;
  862. content: "\f1ea";
  863. }
  864. }
  865. }
  866. }
  867. }
  868. .no-flick {
  869. -webkit-transform: translate3d(0, 0, 0);
  870. }
  871. .card-row {
  872. @include justify-content(space-between);
  873. }
  874. .card-item {
  875. @extend .no-flick;
  876. overflow: hidden;
  877. padding: 1rem;
  878. margin: 0;
  879. position: relative;
  880. width: 31%;
  881. max-width: 21rem;
  882. @include breakpoint(tablet-range) {
  883. width: 48%;
  884. }
  885. @include breakpoint(mobile-only) {
  886. width: 100%;
  887. }
  888. margin-bottom: 2rem;
  889. h4 {
  890. font-size: 1.2rem;
  891. line-height: 1.2;
  892. }
  893. }
  894. .user-details {
  895. text-align: left;
  896. img {
  897. border-radius: 100%;
  898. }
  899. h2 {
  900. margin: 0;
  901. font-size: 2.1rem !important;
  902. margin: 1rem 0 0 !important;
  903. line-height: 1.5;
  904. span {
  905. font-size: 1.2rem;
  906. }
  907. }
  908. h5 {
  909. font-size: 1.1rem;
  910. margin: 0;
  911. linep-height: 1.2;
  912. }
  913. .gravatar {
  914. font-size: 0.9rem;
  915. padding: 0;
  916. }
  917. @include breakpoint(mobile-only) {
  918. text-align: center;
  919. }
  920. }
  921. #footer {
  922. text-align: center;
  923. padding: 3rem 0 1rem;
  924. p {
  925. margin: 0;
  926. }
  927. }
  928. // Chart overrides
  929. .ct-chart {
  930. .ct-series {
  931. .ct-bar {
  932. stroke-width: 20px;
  933. }
  934. }
  935. }
  936. #popularity .ct-chart {
  937. margin: 0 -10px -10px;
  938. .ct-chart-bar {
  939. padding: 4px 6px 1px 10px;
  940. }
  941. }
  942. #latest {
  943. .page-title, .page-route {
  944. overflow: auto;
  945. }
  946. }
  947. #overlay {
  948. position: fixed;
  949. width: 25%;
  950. height: 100%;
  951. z-index: 999999;
  952. left: 75%;
  953. top: 0;
  954. display: none;
  955. @include breakpoint(mobile-only) {
  956. display: none!important;
  957. }
  958. }
  959. // Fix tabs spacing in plugin / theme options
  960. .gpm-item-info + #blueprints .block-tabs {
  961. padding-top: 16px;
  962. }
  963. .plugins-notifications-container,
  964. .themes-notifications-container {
  965. margin-bottom: 2rem;
  966. }
  967. .package-dependencies-container {
  968. li {
  969. height: 35px;
  970. .button {
  971. height: 30px;
  972. float: right;
  973. margin-right: 10px;
  974. line-height: 20px;
  975. }
  976. }
  977. }
  978. .pointer-events-disabled {
  979. pointer-events: none;
  980. }
  981. // Reinstall packages
  982. .updates-checked {
  983. .button-reinstall-package {
  984. display: inline-block!important;
  985. }
  986. &.has-updates {
  987. .button-reinstall-package {
  988. display: none!important;
  989. }
  990. }
  991. }
  992. // Preview
  993. .preview-wrapper {
  994. .content-padding {
  995. position: absolute;
  996. top: 0;
  997. bottom: 0;
  998. right: 0;
  999. left: 0;
  1000. }
  1001. }
  1002. // Config Side Tabs
  1003. @include breakpoint(mobile-only) {
  1004. #admin-main .config-wrapper-system .form-tabs.side-tabs {
  1005. > .tabs-nav {
  1006. display: none;
  1007. width: 0;
  1008. }
  1009. > .tabs-content {
  1010. width: 100%;
  1011. .tab__content {
  1012. display: block;
  1013. }
  1014. }
  1015. }
  1016. }
  1017. // Log Viewer
  1018. .logs-output {
  1019. form {
  1020. .form-data {
  1021. display: flex;
  1022. margin: 0 -0.5rem;
  1023. @include breakpoint(small-mobile-range) {
  1024. display: block;
  1025. }
  1026. }
  1027. .forms-select-wrapper {
  1028. display: block;
  1029. flex: 1;
  1030. margin: 0.5rem 0.5rem;
  1031. }
  1032. }
  1033. h1 {
  1034. margin-top: 2rem !important;
  1035. }
  1036. h3 {
  1037. padding: 0.5rem 1.5rem;
  1038. font-size: 1.1rem;
  1039. @include breakpoint(mobile-only) {
  1040. padding: 0.5rem 1rem;
  1041. }
  1042. }
  1043. table.noflex {
  1044. td {
  1045. vertical-align: top;
  1046. }
  1047. td.date, td.level {
  1048. white-space: nowrap;
  1049. }
  1050. td.date {
  1051. opacity: 0.7;
  1052. }
  1053. th.level, td.level {
  1054. padding: 0.375rem 30px;
  1055. }
  1056. td.level {
  1057. font-weight: bold;
  1058. span.badge {
  1059. font-size: 0.7rem;
  1060. }
  1061. }
  1062. td.message {
  1063. width: 100%;
  1064. word-break: break-all;
  1065. }
  1066. .trace {
  1067. ol {
  1068. margin: 10px 0;
  1069. padding: 0;
  1070. font-size: 0.7rem;
  1071. code {
  1072. font-size: 0.7rem;
  1073. display: block;
  1074. white-space: pre-wrap
  1075. }
  1076. }
  1077. }
  1078. }
  1079. }