flat.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. b,
  13. strong {
  14. font-weight: 600;
  15. }
  16. /* Top bar
  17. ========================================================================== */
  18. .top-bar {
  19. box-shadow: none;
  20. background: #5070a6;
  21. }
  22. .top-bar-usage-inner {
  23. text-shadow: none;
  24. }
  25. .top-bar-notifications-list {
  26. box-shadow: none;
  27. border: 1px solid #ccc;
  28. }
  29. .top-bar-menu-link {
  30. text-shadow: none;
  31. &:hover,
  32. &:active {
  33. background: #fff;
  34. box-shadow: none;
  35. }
  36. &.active {
  37. background: #fff;
  38. }
  39. }
  40. /* Toolbar
  41. ========================================================================== */
  42. .toolbar-sorting-menu {
  43. box-shadow: none;
  44. border-color: #ccc;
  45. background-color: #fff;
  46. }
  47. .units-header {
  48. box-shadow: none;
  49. background: #fafafa;
  50. }
  51. .l-unit:hover {
  52. box-shadow: none;
  53. }
  54. .l-unit__stat-col--left {
  55. & a,
  56. & a:visited {
  57. color: #5f7eb3;
  58. }
  59. & a:hover {
  60. color: #5f7eb3;
  61. }
  62. }
  63. .l-unit:hover,
  64. .units .l-unit:hover {
  65. box-shadow: none;
  66. }
  67. /* Units table
  68. ========================================================================== */
  69. .units-table-row {
  70. @media (--viewport-large) {
  71. &:hover {
  72. box-shadow: none;
  73. }
  74. }
  75. }
  76. .units-table-cell {
  77. & a {
  78. color: #5f7eb3;
  79. &:hover {
  80. color: #5f7eb3;
  81. }
  82. }
  83. }
  84. /* Statistics
  85. ========================================================================== */
  86. .stats-item {
  87. @media (--viewport-large) {
  88. &:hover {
  89. box-shadow: none;
  90. }
  91. }
  92. }
  93. /* Spinner
  94. ========================================================================== */
  95. .spinner-overlay {
  96. & .fas {
  97. box-shadow: 0 2px 11px 0 rgb(0 0 0 / 50%);
  98. }
  99. }
  100. /* Badge component
  101. ========================================================================== */
  102. .badge {
  103. box-shadow: none;
  104. }
  105. /* Collapse component
  106. ========================================================================== */
  107. .collapse-header {
  108. background: #fafafa;
  109. box-shadow: none;
  110. }
  111. /* Forms
  112. ========================================================================== */
  113. .form-control,
  114. .form-select {
  115. box-shadow: none;
  116. }
  117. /* Buttons
  118. ========================================================================== */
  119. .button {
  120. box-shadow: none;
  121. background: linear-gradient(to bottom, rgb(235 243 249 / 100%) 0%, rgb(223 235 245 / 100%) 100%);
  122. &:hover {
  123. color: #6986b7;
  124. box-shadow: none;
  125. background: linear-gradient(
  126. to bottom,
  127. rgb(241 248 253 / 100%) 0%,
  128. rgb(227 240 251 / 100%) 100%
  129. );
  130. }
  131. &:active {
  132. box-shadow: none;
  133. background: linear-gradient(
  134. to bottom,
  135. rgb(210 232 250 / 100%) 0%,
  136. rgb(194 224 248 / 100%) 100%
  137. );
  138. }
  139. }
  140. .button-secondary {
  141. box-shadow: none;
  142. background: linear-gradient(to bottom, rgb(250 250 250 / 100%) 0%, rgb(241 241 241 / 100%) 100%);
  143. }
  144. .button-danger {
  145. &:hover {
  146. background: #fcd3cf;
  147. color: #f4301a;
  148. border-color: #f27e71;
  149. }
  150. &:active {
  151. background: #a91200;
  152. color: #fff;
  153. border-color: #f4301a;
  154. }
  155. }
  156. /* Modals
  157. ========================================================================== */
  158. .modal {
  159. box-shadow: 0 2px 11px 0 rgb(0 0 0 / 50%);
  160. }
  161. /* Login
  162. ========================================================================== */
  163. .body-login,
  164. .body-reset {
  165. background: #5f7eb3;
  166. }
  167. .login {
  168. @media (--viewport-small) {
  169. background-color: rgb(255 255 255 / 80%);
  170. box-shadow: 0 2px 10px rgb(0 0 0 / 30%), inset 0 0 2px rgb(255 255 255 / 100%);
  171. }
  172. }