globals.scss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. $prefix: "ty" !default;
  2. $hawkband-color: #001529;
  3. $primary-color: #002e5d !default;
  4. $white-color: #fff !default;
  5. $gray-100: #f6f9fc !default;
  6. $gray-200: #e9ecef !default;
  7. $gray-300: #dee2e6 !default;
  8. $gray-400: #ced4da !default;
  9. $gray-500: #adb5bd !default;
  10. $gray-600: #8898aa !default;
  11. $gray-700: #525f7f !default;
  12. $gray-800: #32325d !default;
  13. $gray-900: #212529 !default;
  14. $black-color: #000 !default;
  15. $red-color: #dc3545 !default;
  16. $orange-color: #fd7e14 !default;
  17. $yellow-color: #fadb14 !default;
  18. $green-color: #52c41a !default;
  19. $teal-color: #20c997 !default;
  20. $cyan-color: #17a2b8 !default;
  21. $blue-color: #0d6efd !default;
  22. $indigo-color: #6610f2 !default;
  23. $purple-color: #6f42c1 !default;
  24. $magenta-color: #eb2f96 !default;
  25. // @import "~tiny-ui/dist/styles/index.min.css";
  26. @import "~tiny-ui/components/style/index.scss";
  27. .gradient-animation {
  28. background: linear-gradient(270deg, #0d6efd, #6f42c1);
  29. background-size: 400% 400%;
  30. -webkit-animation: gradient 30s ease infinite;
  31. -moz-animation: gradient 30s ease infinite;
  32. animation: gradient 30s ease infinite;
  33. }
  34. @-webkit-keyframes gradient {
  35. 0% {
  36. background-position: 0% 50%;
  37. }
  38. 50% {
  39. background-position: 100% 50%;
  40. }
  41. 100% {
  42. background-position: 0% 50%;
  43. }
  44. }
  45. @-moz-keyframes gradient {
  46. 0% {
  47. background-position: 0% 50%;
  48. }
  49. 50% {
  50. background-position: 100% 50%;
  51. }
  52. 100% {
  53. background-position: 0% 50%;
  54. }
  55. }
  56. @keyframes gradient {
  57. 0% {
  58. background-position: 0% 50%;
  59. }
  60. 50% {
  61. background-position: 100% 50%;
  62. }
  63. 100% {
  64. background-position: 0% 50%;
  65. }
  66. }
  67. body {
  68. background: $hawkband-color;
  69. color: $white-color;
  70. .ty-layout-header {
  71. height: auto;
  72. &:after {
  73. content: " ";
  74. display: block;
  75. height: 3px;
  76. width: 100%;
  77. background: linear-gradient(270deg, #0d6efd, #6f42c1);
  78. background-size: 400% 400%;
  79. -webkit-animation: gradient 18s ease infinite;
  80. -moz-animation: gradient 18s ease infinite;
  81. animation: gradient 18s ease infinite;
  82. }
  83. }
  84. .ty-layout-content {
  85. background-color: $hawkband-color !important;
  86. .ty-row {
  87. background-color: transparent !important;
  88. color: $white-color;
  89. }
  90. }
  91. .ty-layout-footer {
  92. background: linear-gradient(270deg, #0d6efd, #6f42c1);
  93. background-size: 400% 400%;
  94. -webkit-animation: gradient 30s ease infinite;
  95. -moz-animation: gradient 30s ease infinite;
  96. animation: gradient 30s ease infinite;
  97. }
  98. .ty-menu_dark {
  99. .ty-menu-item {
  100. color: $white-color;
  101. a {
  102. color: $white-color;
  103. }
  104. }
  105. }
  106. .ty-steps-item.ty-steps-item_label-vertical {
  107. .ty-steps-item__content {
  108. width: 100%;
  109. }
  110. }
  111. .ty-steps {
  112. .ty-steps-item__title,
  113. .ty-steps-item__desc {
  114. color: $white-color;
  115. }
  116. .ty-steps-item_wait {
  117. .ty-steps-item__icon {
  118. color: rgba(0, 0, 0, 0.75);
  119. }
  120. .ty-steps-item__title,
  121. .ty-steps-item__desc {
  122. color: rgba(255, 255, 255, 0.45);
  123. }
  124. }
  125. .ty-steps-item_process {
  126. .ty-steps-item__icon {
  127. background-color: $blue-color !important;
  128. color: $white-color !important;
  129. }
  130. }
  131. }
  132. .ty-collapse_borderless {
  133. background-color: $hawkband-color;
  134. color: $white-color;
  135. .ty-collapse-item {
  136. border-bottom: 1px solid $blue-color;
  137. color: inherit;
  138. .ty-collapse-item__header {
  139. &:hover {
  140. background-color: $blue-color;
  141. }
  142. color: inherit;
  143. }
  144. .ty-collapse-item__content {
  145. border-top: 1px solid $blue-color;
  146. background-color: inherit;
  147. color: inherit;
  148. }
  149. }
  150. }
  151. .ty-btn_default {
  152. color: $white-color;
  153. background-color: $blue-color;
  154. border-color: rgba(255, 255, 255, 0.9);
  155. &:hover {
  156. color: $white-color;
  157. border-color: rgba(255, 255, 255, 0.75);
  158. background-color: rgba(13, 110, 253, 0.75);
  159. }
  160. &:active {
  161. color: $white-color;
  162. border-color: rgba(255, 255, 255, 0.5);
  163. background-color: rgba(13, 110, 253, 0.5);
  164. }
  165. &:focus {
  166. color: $white-color;
  167. border-color: rgba(255, 255, 255, 0.75);
  168. background-color: $purple-color;
  169. }
  170. }
  171. .ty-overlay {
  172. .ty-modal {
  173. .ty-modal__body {
  174. color: #000;
  175. .ty-transfer {
  176. .ty-transfer-panel {
  177. width: 210px;
  178. }
  179. }
  180. }
  181. }
  182. }
  183. .commandbar {
  184. display: block;
  185. position: sticky;
  186. top: calc(3.5rem + 2px);
  187. padding: 0.5rem 0 0.5rem 0;
  188. margin-bottom: 1rem;
  189. background-image: linear-gradient(
  190. to bottom,
  191. rgba(0, 21, 41, 1),
  192. rgba(0, 21, 41, 0)
  193. );
  194. text-align: center;
  195. }
  196. .notification {
  197. margin: 0 0 1rem 0;
  198. }
  199. @media only screen and (max-width: 551px) {
  200. .ty-notification-container {
  201. font-size: 0.7rem;
  202. width: 250px;
  203. .ty-notification {
  204. font-size: inherit;
  205. .ty-notification__title {
  206. font-size: 1rem;
  207. }
  208. .ty-tag {
  209. font-size: inherit;
  210. }
  211. }
  212. }
  213. .notification {
  214. display: none;
  215. }
  216. }
  217. }