flat.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. /*
  2. Theme Name: Flat
  3. Author: Robert Zollner (@Lupul)
  4. Website: www.hestiacp.com
  5. */
  6. @import url("../media_queries");
  7. :root {
  8. /* Alerts */
  9. --alert-box-shadow: none;
  10. --alert-text-shadow: none;
  11. }
  12. /* Top bar
  13. ========================================================================== */
  14. .top-bar {
  15. box-shadow: none;
  16. background: #5070a6;
  17. }
  18. .top-bar-usage-inner {
  19. text-shadow: none;
  20. }
  21. .top-bar-notifications-panel {
  22. @media (--viewport-small) {
  23. box-shadow: none;
  24. border-color: #ccc;
  25. }
  26. }
  27. .top-bar-menu-link {
  28. text-shadow: none;
  29. &:hover,
  30. &:active {
  31. background: #fff;
  32. box-shadow: none;
  33. }
  34. &.active {
  35. background: #fff;
  36. }
  37. }
  38. /* Toolbar
  39. ========================================================================== */
  40. .toolbar-sorting-menu {
  41. box-shadow: none;
  42. border-color: #ccc;
  43. background-color: #fff;
  44. }
  45. /* Units table
  46. ========================================================================== */
  47. .units-table-row {
  48. @media (--viewport-large) {
  49. &:hover {
  50. box-shadow: none;
  51. }
  52. }
  53. }
  54. .units-table-cell {
  55. & a {
  56. color: #5f7eb3;
  57. &:hover {
  58. color: #5f7eb3;
  59. }
  60. }
  61. }
  62. .units-table-badge {
  63. @media (--viewport-large) {
  64. box-shadow: none;
  65. }
  66. }
  67. /* Statistics
  68. ========================================================================== */
  69. .stats-item {
  70. @media (--viewport-large) {
  71. &:hover {
  72. box-shadow: none;
  73. }
  74. }
  75. }
  76. /* Spinner
  77. ========================================================================== */
  78. .spinner-overlay {
  79. & .fas {
  80. box-shadow: 0 2px 11px 0 rgb(0 0 0 / 50%);
  81. }
  82. }
  83. /* Collapse component
  84. ========================================================================== */
  85. .collapse-header {
  86. background: #fafafa;
  87. box-shadow: none;
  88. }
  89. /* Forms
  90. ========================================================================== */
  91. .form-control,
  92. .form-select {
  93. box-shadow: none;
  94. }
  95. /* Buttons
  96. ========================================================================== */
  97. .button {
  98. box-shadow: none;
  99. background: linear-gradient(to bottom, rgb(235 243 249 / 100%) 0%, rgb(223 235 245 / 100%) 100%);
  100. &:hover {
  101. color: #6986b7;
  102. box-shadow: none;
  103. background: linear-gradient(
  104. to bottom,
  105. rgb(241 248 253 / 100%) 0%,
  106. rgb(227 240 251 / 100%) 100%
  107. );
  108. }
  109. &:active {
  110. box-shadow: none;
  111. background: linear-gradient(
  112. to bottom,
  113. rgb(210 232 250 / 100%) 0%,
  114. rgb(194 224 248 / 100%) 100%
  115. );
  116. }
  117. }
  118. .button-secondary {
  119. box-shadow: none;
  120. background: linear-gradient(to bottom, rgb(250 250 250 / 100%) 0%, rgb(241 241 241 / 100%) 100%);
  121. }
  122. .button-danger {
  123. &:hover {
  124. background: #fcd3cf;
  125. color: #f4301a;
  126. border-color: #f27e71;
  127. }
  128. &:active {
  129. background: #a91200;
  130. color: #fff;
  131. border-color: #f4301a;
  132. }
  133. }
  134. /* Modals
  135. ========================================================================== */
  136. .modal {
  137. box-shadow: 0 2px 11px 0 rgb(0 0 0 / 50%);
  138. }
  139. /* Login
  140. ========================================================================== */
  141. .body-login,
  142. .body-reset {
  143. background: #5f7eb3;
  144. }
  145. .login {
  146. @media (--viewport-small) {
  147. background-color: rgb(255 255 255 / 80%);
  148. box-shadow: 0 2px 10px rgb(0 0 0 / 30%), inset 0 0 2px rgb(255 255 255 / 100%);
  149. }
  150. }