Application.scss 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473
  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. border-radius: 2px !important;
  161. }
  162. .x-formpanel-btn-orange {
  163. border-color: #f67f00;
  164. background: linear-gradient(to bottom,#da7101 0,#f67f00 100%) !important;
  165. .x-btn-inner-default-toolbar-small{
  166. color:#fff !important;
  167. }
  168. }
  169. .x-formpanel-btn-blue {
  170. background: #34BAF6;
  171. border-color: #34BAF6;
  172. .x-btn-inner-default-toolbar-small{
  173. color:#fff !important;
  174. }
  175. }
  176. .x-formpanel-btn-white {
  177. border: 1px solid #c1c1c1 !important;
  178. //border-radius: 2px;
  179. //box-shadow: 0 1px 1px rgba(0,0,0,.15);
  180. /*background: #fff;
  181. background: -moz-linear-gradient(top,#fff,#f4f4f4);
  182. background: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f4f4f4));
  183. background: -o-linear-gradient(top,#fff,#f4f4f4);
  184. background: -ms-linear-gradient(top,#fff 0,#f4f4f4 100%);
  185. background: linear-gradient(top,#fff,#f4f4f4); */
  186. // border-color: #fff;
  187. // background: linear-gradient(to bottom,#fff,#f4f4f4 100%) !important;
  188. .x-btn-inner-default-toolbar-small{
  189. color: #555;
  190. }
  191. }
  192. .x-grid-body {
  193. border-width: 1px;
  194. border-color: #ABDAFF;
  195. }
  196. .x-column-header {
  197. background: #E5F7FF;
  198. border-right: 1px solid #ABDAFF;
  199. // &:last-child {
  200. // border: none;
  201. // }
  202. }
  203. .x-column-header-text-inner {
  204. font-size: 14px;
  205. color: #505363;
  206. letter-spacing: 0;
  207. text-align: center;
  208. line-height: 20px;
  209. // font-family: PingFangSC-Medium;
  210. font-weight: normal;
  211. }
  212. .x-panel-default-outer-border-trbl {
  213. border-color: #ABDAFF !important;
  214. }
  215. .x-form-trigger-wrap-default {
  216. border-color: #CACFE1;
  217. border-radius: 2px;
  218. }
  219. .x-form-trigger-default {
  220. color: #5E5E5E;
  221. }
  222. .x-grid-header-ct {
  223. border-top-color: #ABDAFF !important;
  224. border-right-color: #ABDAFF !important;
  225. border-left-color: #ABDAFF !important;
  226. border-top-width: 1px;
  227. border-right-width: 1px;
  228. border-left-width: 1px;
  229. }
  230. .x-panel-default-outer-border-rl,
  231. .x-panel-default-outer-border-rbl {
  232. border-color: #ABDAFF !important;
  233. }
  234. .x-grid-item-alt {
  235. background-color: #F1F9FF;
  236. }
  237. .x-grid-locked .x-grid-inner-locked {
  238. border-width: 0 1px 0 0;
  239. }
  240. .x-grid-scrollbar-clipper-locked, .x-grid-scrollbar-locked {
  241. border-right-color: #ABDAFF;
  242. }
  243. .x-grid-inner-locked {
  244. border-right-color: #ABDAFF;
  245. }
  246. .x-grid-with-row-lines .x-grid-item:first-child {
  247. border-color: #ffffff;
  248. }
  249. .x-grid-with-row-lines .x-grid-item {
  250. border-color: #ABDAFF;
  251. }
  252. .x-grid-item-over {
  253. background-color: #bde5f7;
  254. }
  255. .x-grid-cell-special {
  256. border-color: #ABDAFF;
  257. }
  258. .x-grid-item-selected {
  259. background-color: #ffefbb;
  260. }
  261. /*滚动条样式*/
  262. div::-webkit-scrollbar {
  263. width: 10px;
  264. height: 10px;
  265. }
  266. div::-webkit-scrollbar-thumb {
  267. background: #C2EAFC;
  268. border-radius: 8px;
  269. &:hover {
  270. background: #74c3e6;
  271. }
  272. }
  273. div::-webkit-scrollbar-track {
  274. background: #fff;
  275. border: 1px solid #e5e5e5;
  276. border-radius: 8px;
  277. }
  278. /**date-picker*/
  279. .x-datepicker-month .x-btn-inner {
  280. font-size: 12px;
  281. }
  282. .x-datepicker {
  283. width: 212px;
  284. }
  285. .x-datepicker-column-header {
  286. width: 30px;
  287. }
  288. .x-datepicker-column-header-inner {
  289. line-height: 25px;
  290. padding: 0 9px 0 0;
  291. }
  292. .x-datepicker-cell {
  293. text-align: right;
  294. border: 1px solid #fff;
  295. }
  296. .x-datepicker-date {
  297. padding: 0 7px 0 0;
  298. cursor: pointer;
  299. line-height: 23px;
  300. }
  301. .x-datepicker-footer, .x-monthpicker-buttons {
  302. padding: 3px 0;
  303. text-align: center;
  304. }
  305. .x-monthpicker {
  306. width: 212px;
  307. border-width: 1px;
  308. }
  309. .x-monthpicker-months {
  310. width: 105px;
  311. }
  312. .x-monthpicker-item-inner {
  313. margin: 0 5px 0 5px;
  314. line-height: 22px;
  315. }
  316. .x-monthpicker-months .x-monthpicker-item {
  317. width: 52px;
  318. }
  319. .x-monthpicker-years {
  320. width: 105px;
  321. }
  322. .x-monthpicker-years .x-monthpicker-item {
  323. width: 52px;
  324. }
  325. .x-monthpicker-yearnav {
  326. height: 34px;
  327. }
  328. .x-monthpicker-yearnav-button-ct {
  329. width: 52px;
  330. }
  331. .x-monthpicker-yearnav-button {
  332. height: 12px;
  333. width: 12px;
  334. cursor: pointer;
  335. margin-top: 11px;
  336. }
  337. .x-datepicker-footer .x-btn-default-toolbar-small{
  338. padding: 2px 2px 2px 2px;
  339. min-width: 56px;
  340. }
  341. .x-monthpicker-buttons .x-btn-default-toolbar-small{
  342. padding: 2px 2px 2px 2px;
  343. min-width: 56px;
  344. }
  345. /** charts **/
  346. .x-tip-default {
  347. background-color: #485465;
  348. border-color: #485465;
  349. }
  350. /** datepicker icon **/
  351. .x-form-field-date .x-form-date-trigger {
  352. background: #F1F9FF;
  353. border-left: 1px solid #D2D6E5;
  354. &:before {
  355. content: "\e80f";
  356. font-family: font-saas;
  357. color: #5AC6F8;
  358. }
  359. }
  360. /** toast **/
  361. .x-toast-success{
  362. border-color: #adeaa4 !important;
  363. border-radius: 4px !important;
  364. .x-window-body{
  365. background: #f3ffef !important;
  366. border-color: #f3ffef !important;
  367. }
  368. .x-autocontainer-innerCt{
  369. word-wrap: break-word;
  370. color: #3ec12a;
  371. padding: 4px 30px 4px 46px !important;
  372. }
  373. .x-autocontainer-innerCt::before{
  374. margin-left: -19px;
  375. margin-top: 1px;
  376. content: ' ';
  377. width: 16px;
  378. position: absolute;
  379. display: block;
  380. height: 16px;
  381. background: url(../../../../resources/images/default/toast_over.png) 0 0 no-repeat;
  382. background-size: 16px 16px;
  383. background-position: center;
  384. }
  385. }
  386. .x-toast-error{
  387. border-color: #f39d70 !important;
  388. border-radius: 4px !important;
  389. .x-window-body{
  390. background: #fdefcd !important;
  391. border-color: #fdefcd !important;
  392. }
  393. .x-autocontainer-innerCt{
  394. word-wrap: break-word;
  395. color: #ea800e;
  396. padding: 4px 30px 4px 46px !important;
  397. }
  398. .x-autocontainer-innerCt::before{
  399. margin-left: -19px;
  400. margin-top: 1px;
  401. content: ' ';
  402. width: 16px;
  403. position: absolute;
  404. display: block;
  405. height: 16px;
  406. background: url(../../../../resources/images/default/toast_close.png) 0 0 no-repeat;
  407. background-size: 16px 16px;
  408. background-position: center;
  409. }
  410. }
  411. /** tab **/
  412. .x-tab-default.x-tab-active .x-tab-close-btn {
  413. color: #34BAF6;
  414. }