Application.scss 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  1. html,
  2. body {
  3. height: 100%;
  4. margin: 0;
  5. }
  6. body.launching {
  7. @include background-size(cover);
  8. background-color: $auth-background-color;
  9. background-image: $auth-background-image;
  10. background-position: center;
  11. &::before {
  12. @include animation(rotate-animation 1s linear infinite);
  13. @include transform-origin(50% 50%);
  14. @include background-size(cover);
  15. background-image: url(get-resource-path('images/loading.png'));
  16. background-position: center;
  17. content: '';
  18. position: absolute;
  19. margin-top: -15px;
  20. margin-left: -15px;
  21. top: 50%;
  22. left: 50%;
  23. width: 41px;
  24. height: 41px;
  25. }
  26. }
  27. @mixin btn-border($background-color) {
  28. background-color: $background-color;
  29. border-color: $background-color !important;
  30. .x-btn-inner-default-toolbar-small {
  31. color: $lightest-color;
  32. }
  33. &:hover {
  34. background-color: transparent;
  35. .x-btn-inner-default-toolbar-small,
  36. .x-btn-inner-default-small {
  37. color: $background-color;
  38. }
  39. .x-btn-icon-el-default-small,
  40. .x-btn-icon-el-default-toolbar-small {
  41. color: $background-color;
  42. }
  43. }
  44. }
  45. .x-menu-header {
  46. z-index: 0 !important;
  47. }
  48. .x-css-shadow {
  49. box-shadow: none !important;
  50. }
  51. .shadow {
  52. @include box-shadow(rgba(0, 0, 0, 0.2) 0 1px 2px);
  53. }
  54. .x-fa {
  55. display: inline-block;
  56. }
  57. .alignRight {
  58. float: right;
  59. }
  60. .boldFont {
  61. font-weight: bold;
  62. }
  63. // default font-family
  64. .x-body,
  65. .x-btn-inner,
  66. .x-panel-body-default,
  67. .x-toolbar-text-default,
  68. .x-form-item-label-default,
  69. .x-form-text-default,
  70. .x-column-header,
  71. .x-grid-item,
  72. .x-grid-row-summary .x-grid-cell, .x-grid-row-summary .x-grid-rowwrap, .x-grid-row-summary .x-grid-cell-rowbody,
  73. .x-boundlist-item {
  74. // font-family: 'pingFangSC-Regular';
  75. }
  76. .x-form-item-label-default {
  77. // font-family: PingFangSC-Medium;
  78. font-size: 14px;
  79. color: #505363;
  80. text-align: right;
  81. line-height: 20px;
  82. }
  83. // toolbar button
  84. .x-btn-default-toolbar-small {
  85. color: #fff;
  86. background-color: #F8FCFF;
  87. border-color: #35BAF6;
  88. border-radius: 2px;
  89. min-width: 86px;
  90. transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  91. .x-btn-inner-default-toolbar-small {
  92. color: #34BAF6 ;
  93. }
  94. }
  95. .x-form-item-default.x-form-readonly {
  96. opacity: 1;
  97. .x-form-item-label-default {
  98. color: #8C97B2;
  99. }
  100. .x-form-text-default {
  101. background: #EEF1F7;
  102. }
  103. .x-form-trigger {
  104. background: #EEF1F7;
  105. }
  106. }
  107. .x-btn.x-btn-menu-active.x-btn-default-toolbar-small,
  108. .x-btn.x-btn-pressed.x-btn-default-toolbar-small,
  109. .x-btn-over.x-btn-default-toolbar-small {
  110. border-color: #1592ca;
  111. background: #34BAF6;
  112. opacity: 0.72;
  113. }
  114. .x-btn-over{
  115. .x-btn-wrap{
  116. .x-btn-button{
  117. .x-btn-inner{
  118. color:#fff;
  119. }
  120. }
  121. }
  122. }
  123. .x-btn-pressed{
  124. .x-btn-wrap{
  125. .x-btn-button{
  126. .x-btn-inner{
  127. color:#fff !important;
  128. }
  129. }
  130. }
  131. }
  132. .x-keyboard-mode .x-btn-focus.x-btn-default-toolbar-small {
  133. background: inherit;
  134. opacity: 1;
  135. box-shadow: none;
  136. border:1px solid #34BAF6;
  137. }
  138. .x-segmented-button-item .x-keyboard-mode .x-btn-focus.x-btn-default-toolbar-small {
  139. background: #34BAF6 !important;
  140. border:1px solid #34BAF6 !important;
  141. opacity: 1;
  142. box-shadow: none;
  143. }
  144. .x-keyboard-mode .x-btn-focus.x-btn-over.x-btn-default-toolbar-small {
  145. background: #34BAF6;
  146. box-shadow: none;
  147. }
  148. .x-btn-wrap-default-toolbar-small.x-btn-arrow-right:after {
  149. color: #79d3dc;
  150. }
  151. .x-btn.x-btn-disabled.x-btn-default-toolbar-small {
  152. border-color: #E6E6E6;
  153. background: #E6E6E6;
  154. .x-btn-inner-default-toolbar-small {
  155. color: #606060;
  156. }
  157. }
  158. .x-btn-default-small,
  159. .x-btn-default-toolbar-small{
  160. min-width: 86px !important;
  161. border-radius: 2px !important;
  162. }
  163. .x-formpanel-btn-orange {
  164. border-color: #f67f00;
  165. background: linear-gradient(to bottom,#da7101 0,#f67f00 100%) !important;
  166. .x-btn-inner-default-toolbar-small{
  167. color:#fff !important;
  168. }
  169. }
  170. .x-formpanel-btn-blue {
  171. background: #34BAF6;
  172. border-color: #34BAF6;
  173. .x-btn-inner-default-toolbar-small{
  174. color:#fff !important;
  175. }
  176. }
  177. .x-formpanel-btn-white {
  178. border: 1px solid #c1c1c1 !important;
  179. //border-radius: 2px;
  180. //box-shadow: 0 1px 1px rgba(0,0,0,.15);
  181. /*background: #fff;
  182. background: -moz-linear-gradient(top,#fff,#f4f4f4);
  183. background: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f4f4f4));
  184. background: -o-linear-gradient(top,#fff,#f4f4f4);
  185. background: -ms-linear-gradient(top,#fff 0,#f4f4f4 100%);
  186. background: linear-gradient(top,#fff,#f4f4f4); */
  187. // border-color: #fff;
  188. // background: linear-gradient(to bottom,#fff,#f4f4f4 100%) !important;
  189. .x-btn-inner-default-toolbar-small{
  190. color: #555;
  191. }
  192. }
  193. .x-grid-body {
  194. border-width: 1px;
  195. border-color: #ABDAFF;
  196. }
  197. .x-column-header {
  198. background: #E5F7FF;
  199. border-right: 1px solid #ABDAFF;
  200. }
  201. .x-column-header-text-inner {
  202. font-size: 14px;
  203. color: #505363;
  204. letter-spacing: 0;
  205. text-align: center;
  206. line-height: 20px;
  207. // font-family: PingFangSC-Medium;
  208. font-weight: normal;
  209. }
  210. .x-panel-default-outer-border-trbl {
  211. border-color: #ABDAFF !important;
  212. }
  213. .x-form-trigger-wrap-default {
  214. border-color: #CACFE1;
  215. border-radius: 2px;
  216. }
  217. .x-form-trigger-default {
  218. color: #5E5E5E;
  219. }
  220. .x-grid-header-ct {
  221. border-top-color: #ABDAFF;
  222. border-top-width: 1px;
  223. }
  224. .x-panel-default-outer-border-rl {
  225. border-right-color: #ABDAFF !important;
  226. border-right-width: 1px !important;
  227. border-left-color: #ABDAFF !important;
  228. border-left-width: 1px !important;
  229. }
  230. .x-grid-item-alt {
  231. background-color: #F1F9FF;
  232. }
  233. .x-grid-locked .x-grid-inner-locked {
  234. border-width: 0 1px 0 0;
  235. }
  236. .x-grid-scrollbar-clipper-locked, .x-grid-scrollbar-locked {
  237. border-right-color: #ABDAFF;
  238. }
  239. .x-grid-inner-locked {
  240. border-right-color: #ABDAFF;
  241. }
  242. .x-grid-with-row-lines .x-grid-item:first-child {
  243. border-color: #ffffff;
  244. }
  245. .x-grid-with-row-lines .x-grid-item {
  246. border-color: #ABDAFF;
  247. }
  248. .x-grid-item-over {
  249. background-color: #bde5f7;
  250. }
  251. .x-grid-cell-special {
  252. border-color: #ABDAFF;
  253. }
  254. .x-grid-item-selected {
  255. background-color: #ffefbb;
  256. }
  257. /*滚动条样式*/
  258. div::-webkit-scrollbar {
  259. width: 10px;
  260. height: 10px;
  261. }
  262. div::-webkit-scrollbar-thumb {
  263. background: #C2EAFC;
  264. border-radius: 8px;
  265. &:hover {
  266. background: #74c3e6;
  267. }
  268. }
  269. div::-webkit-scrollbar-track {
  270. background: #fff;
  271. border: 1px solid #e5e5e5;
  272. border-radius: 8px;
  273. }
  274. /**date-picker*/
  275. .x-datepicker-month .x-btn-inner {
  276. font-size: 12px;
  277. }
  278. .x-datepicker {
  279. width: 212px;
  280. }
  281. .x-datepicker-column-header {
  282. width: 30px;
  283. }
  284. .x-datepicker-column-header-inner {
  285. line-height: 25px;
  286. padding: 0 9px 0 0;
  287. }
  288. .x-datepicker-cell {
  289. text-align: right;
  290. border: 1px solid #fff;
  291. }
  292. .x-datepicker-date {
  293. padding: 0 7px 0 0;
  294. cursor: pointer;
  295. line-height: 23px;
  296. }
  297. .x-datepicker-footer, .x-monthpicker-buttons {
  298. padding: 3px 0;
  299. text-align: center;
  300. }
  301. .x-monthpicker {
  302. width: 212px;
  303. border-width: 1px;
  304. }
  305. .x-monthpicker-months {
  306. width: 105px;
  307. }
  308. .x-monthpicker-item-inner {
  309. margin: 0 5px 0 5px;
  310. line-height: 22px;
  311. }
  312. .x-monthpicker-months .x-monthpicker-item {
  313. width: 52px;
  314. }
  315. .x-monthpicker-years {
  316. width: 105px;
  317. }
  318. .x-monthpicker-years .x-monthpicker-item {
  319. width: 52px;
  320. }
  321. .x-monthpicker-yearnav {
  322. height: 34px;
  323. }
  324. .x-monthpicker-yearnav-button-ct {
  325. width: 52px;
  326. }
  327. .x-monthpicker-yearnav-button {
  328. height: 12px;
  329. width: 12px;
  330. cursor: pointer;
  331. margin-top: 11px;
  332. }
  333. .x-datepicker-footer .x-btn-default-toolbar-small{
  334. padding: 2px 2px 2px 2px;
  335. min-width: 56px;
  336. }
  337. .x-monthpicker-buttons .x-btn-default-toolbar-small{
  338. padding: 2px 2px 2px 2px;
  339. min-width: 56px;
  340. }
  341. /** charts **/
  342. .x-tip-default {
  343. background-color: #485465;
  344. border-color: #485465;
  345. }
  346. /** datepicker icon **/
  347. .x-form-field-date .x-form-date-trigger {
  348. background: #F1F9FF;
  349. border-left: 1px solid #D2D6E5;
  350. &:before {
  351. content: "\e80f";
  352. font-family: font-saas;
  353. color: #5AC6F8;
  354. }
  355. }
  356. /** toast **/
  357. .x-toast-success{
  358. border-color: #adeaa4 !important;
  359. border-radius: 4px !important;
  360. .x-window-body{
  361. background: #f3ffef !important;
  362. border-color: #f3ffef !important;
  363. }
  364. .x-autocontainer-innerCt{
  365. word-wrap: break-word;
  366. color: #3ec12a;
  367. padding: 4px 30px 4px 46px !important;
  368. }
  369. .x-autocontainer-innerCt::before{
  370. margin-left: -19px;
  371. margin-top: 1px;
  372. content: ' ';
  373. width: 16px;
  374. position: absolute;
  375. display: block;
  376. height: 16px;
  377. background: url(../../../../resources/images/default/toast_over.png) 0 0 no-repeat;
  378. background-size: 16px 16px;
  379. background-position: center;
  380. }
  381. }
  382. .x-toast-error{
  383. border-color: #f39d70 !important;
  384. border-radius: 4px !important;
  385. .x-window-body{
  386. background: #fdefcd !important;
  387. border-color: #fdefcd !important;
  388. }
  389. .x-autocontainer-innerCt{
  390. word-wrap: break-word;
  391. color: #ea800e;
  392. padding: 4px 30px 4px 46px !important;
  393. }
  394. .x-autocontainer-innerCt::before{
  395. margin-left: -19px;
  396. margin-top: 1px;
  397. content: ' ';
  398. width: 16px;
  399. position: absolute;
  400. display: block;
  401. height: 16px;
  402. background: url(../../../../resources/images/default/toast_close.png) 0 0 no-repeat;
  403. background-size: 16px 16px;
  404. background-position: center;
  405. }
  406. }