Main.scss 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. $circle-border-radius: dynamic(50%);
  2. $base-border-color: dynamic(#ddd);
  3. $lightest-color: dynamic(#fff);
  4. $font-weight: dynamic(400);
  5. $font-weight-bold: dynamic(500);
  6. $accordion-header-background-color: dynamic($lightest-color);
  7. $accordion-header-color: dynamic(#333);
  8. $treelist-nav-ui: (
  9. padding: 0 10px,
  10. background-color: $panel-navigation-background-color,
  11. toolstrip-background-color: #32404e,
  12. tool-float-indicator-color: $panel-header-background-color,
  13. tool-float-indicator-width: 5px,
  14. tool-indicator-selected-color: $panel-header-background-color,
  15. tool-indicator-selected-width: 5px,
  16. tool-selected-background-color: mix(white, $panel-navigation-background-color, 10%),
  17. item-expanded-background-color: #2c3845,
  18. item-line-height: $panel-navigation-item-line-height,
  19. row-over-background-color: mix(white, $panel-navigation-background-color, 5%),
  20. row-selected-background-color: mix(white, $panel-navigation-background-color, 10%),
  21. item-icon-color: $panel-navigation-item-text-color,
  22. item-expander-color: #fff,
  23. item-text-color: #ADB3B8,
  24. item-icon-over-color: #fff,
  25. item-expander-over-color: #fff,
  26. item-text-over-color: mix(white, $panel-navigation-item-text-color, 50%),
  27. item-text-font-size: 14px,
  28. item-icon-font-size: 18px,
  29. //item-icon-width: 44px,
  30. item-expander-font-size: 16px,
  31. item-expander-width: 24px,
  32. row-indicator-width: 5px,
  33. row-indicator-selected-color: $panel-header-background-color,
  34. row-indicator-selected-over-color: lighten($panel-header-background-color, 7%),
  35. row-indicator-over-color: transparent
  36. );
  37. .x-treelist-item-text{
  38. padding-left: 10px;
  39. }
  40. .main-right-tabpanel {
  41. .x-panel-bodyWrap {
  42. #main-tab-panel-body {
  43. background: #EEF4F9;
  44. }
  45. }
  46. }
  47. .main-logo-wrap {
  48. background-color: $base-color;
  49. height: 70px;
  50. font-size: 16px;
  51. font-weight: $font-weight-bold;
  52. color: $lightest-color;
  53. margin-left: 17px;
  54. .main-logo {
  55. background: #34BAF6;
  56. img {
  57. width: 54px;
  58. height: 54px;
  59. top: 5px;
  60. left: 16px;
  61. position: relative;
  62. }
  63. .logo-text {
  64. // font-family: 'pingFangSC-Regular';
  65. font-size: 18px;
  66. color: #FFFFFF;
  67. text-align: left;
  68. top: 23px;
  69. position: absolute;
  70. right: 28px;
  71. }
  72. }
  73. }
  74. /*.x-tab-bar-default-top > .x-tab-bar-body-default {
  75. padding: 0px 4px 0 0px;
  76. }
  77. .x-tab-bar-default-top .x-box-scroller-tab-bar-default {
  78. margin-top: -2px;
  79. }
  80. .x-tab-default-top{
  81. padding: 12px 12px 12px 12px;
  82. }*/
  83. .x-keyboard-mode .x-tab-focus.x-tab-default {
  84. outline: 0px;
  85. }
  86. .main-headerbar {
  87. padding: 0 30px 0 0;
  88. position: fixed;
  89. width: 100%;
  90. z-index: 10;
  91. border: none;
  92. .header-right-profile-image {
  93. background: url(../../../../resources/images/default/user-profile-default.png) 0 0 no-repeat;
  94. background-position: center;
  95. }
  96. }
  97. .x-btn.header-right-profile-image.x-btn-menu-active.x-btn-header-small,
  98. .x-btn.header-right-profile-image.x-btn-pressed.x-btn-header-small {
  99. background: url(../../../../resources/images/default/user-profile-default.png) 0 0 no-repeat !important;
  100. background-position: center;
  101. }
  102. .top-english-button {
  103. .x-btn-icon-el {
  104. width: 21px;
  105. height: 14px;
  106. }
  107. }
  108. .collapsed {
  109. .x-tree-elbow-img {
  110. display: none;
  111. }
  112. .x-tree-node-text {
  113. display: none;
  114. }
  115. }
  116. .x-grid-cell{
  117. position: relative;
  118. }
  119. .x-treelist-item-tool {
  120. height: $panel-navigation-item-line-height;
  121. &.hot-icon:after,
  122. &.new-icon:after {
  123. background: $panel-header-background-color;
  124. content: '';
  125. }
  126. }
  127. //Add border around html editor field
  128. .x-html-editor-input {
  129. border: 1px solid #ccc;
  130. }
  131. .x-query-menu {
  132. width:68px !important;
  133. }
  134. .x-query-menu .x-menu-item-text-default.x-menu-item-indent-no-separator {
  135. margin-left: 11px !important;
  136. }
  137. .x-tbar-display {
  138. margin-top: 2.5px !important;
  139. }
  140. .x-tbar-display .x-form-display-field-default {
  141. font: 400 16px/17px 'Microsoft YaHei';
  142. }
  143. .x-gudie-information{
  144. width: 64px;
  145. height: 64px;
  146. background: url(../../../../resources/images/guide/information.png) 0 0 no-repeat;
  147. }
  148. .x-gudie-end{
  149. width: 64px;
  150. height: 64px;
  151. background: url(../../../../resources/images/guide/end.png) 0 0 no-repeat;
  152. }
  153. .x-guide-background{
  154. background-size: 100% 100% !important;
  155. background: url(../../../../resources/images/guide/background.png) no-repeat;
  156. }
  157. .x-grid-checkcolumn-btn {
  158. margin-top: -1px;
  159. width: 34px;
  160. height: 21px;
  161. background: url(../../../../resources/images/grid/uncheck.png) 0 0 no-repeat;
  162. }
  163. .x-grid-checkcolumn-checked-btn {
  164. margin-top: 0px;
  165. width: 34px;
  166. height: 21px;
  167. background: url(../../../../resources/images/grid/check.png) 0 0 no-repeat;
  168. }
  169. body > .x-mask {
  170. background-image: none;
  171. background-color: rgba(142, 141, 141, 0.75);
  172. }
  173. .icon-usoftchina{
  174. margin-top: 0px;
  175. background: url(../../../../resources/images/nav/usoftchina.png) 0 0 no-repeat;
  176. }
  177. .nav-menu{
  178. color: #48C1F8 !important;
  179. }
  180. .icon-feedback{
  181. margin-top: 0px;
  182. background: url(../../../../resources/images/nav/feedback.png) 0 0 no-repeat;
  183. background-size: 16px 16px;
  184. background-position: center;
  185. }
  186. .user-icon{
  187. margin-top: 0px;
  188. background: url(../../../../resources/images/default/user-icon.png) 0 0 no-repeat;
  189. background-size: 32px 32px;
  190. background-position: center;
  191. }
  192. .x-guide-mask{
  193. -webkit-filter: grayscale(100%);
  194. -moz-filter: grayscale(100%);
  195. -ms-filter: grayscale(100%);
  196. -o-filter: grayscale(100%);
  197. filter: grayscale(100%);
  198. filter: gray;
  199. }
  200. .sa-nav-menu{
  201. background: #f8fbff;
  202. border: 1px solid #34baf6;
  203. margin-top: 10px;
  204. }
  205. .sa-nav-button{
  206. box-shadow: none !important;
  207. }
  208. .sa-nav-menu.x-menu-item-text-default,
  209. .sa-nav-menu .sa-navicon {
  210. //font-family: PingFangSC-Regular;
  211. //font-size: 14px;
  212. color: #34BAF6;
  213. letter-spacing: 0;
  214. text-align: center;
  215. }
  216. .x-menu.sa-nav-menu .x-menu-bodyWrap{
  217. margin-left: -0.5px;
  218. }
  219. /* .x-main-menu .x-fa.sa-navicon{
  220. color: #34BAF6;
  221. } */
  222. .sa-nav-menu .x-menu-item.x-menu-item-default-focus .x-menu-item-text-default ,
  223. .sa-nav-menu .x-menu-item.x-menu-item-active .x-menu-item-text-default,
  224. .sa-nav-menu .x-menu-item.x-menu-item-default-focus .sa-navicon ,
  225. .sa-nav-menu .x-menu-item.x-menu-item-active .sa-navicon{
  226. color: white;
  227. }
  228. .x-main-menu::before{
  229. content: ' ';
  230. display: block;
  231. border-style: solid;
  232. background-color: #f8fbff;
  233. transform: rotate(45deg);
  234. border-color: #34baf6;
  235. position: fixed;
  236. width: 15px;
  237. height: 15px;
  238. clip-path: polygon(0% 0, 100% 0%, 0 100%);
  239. -moz-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  240. -webkit-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  241. -o-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  242. -ms-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  243. -khtml-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  244. border-width: 1px 0px 0px 1px !important;
  245. margin-top: -7.5px;
  246. margin-left: 16px;
  247. }
  248. .x-main-menu2::before{
  249. /* content: ' ';
  250. display: block;
  251. border-style: solid;
  252. box-shadow: 0px 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(15, 136, 232, 0.6);
  253. box-shadow: aliceblue;
  254. border-width: 17px;
  255. border-color: #cccccc;
  256. position: fixed;
  257. top: 26px;
  258. -moz-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  259. -webkit-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  260. -o-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  261. -ms-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  262. -khtml-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  263. clip-path: polygon(0 100%, 50% 0, 100% 100%);
  264. margin-top: 25px;
  265. margin-left: 47px; */
  266. content: ' ';
  267. display: block;
  268. border-style: solid;
  269. background-color: #f8fbff;
  270. transform: rotate(45deg);
  271. border-color: #34baf6;
  272. position: fixed;
  273. width: 15px;
  274. height: 15px;
  275. clip-path: polygon(0% 0, 100% 0%, 0 100%);
  276. -moz-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  277. -webkit-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  278. -o-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  279. -ms-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  280. -khtml-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  281. border-width: 1px 0px 0px 1px !important;
  282. margin-top: -7.5px;
  283. margin-left: 55px;
  284. }
  285. .x-boundlist-item {
  286. text-overflow: ellipsis;
  287. overflow: hidden;
  288. white-space: nowrap;
  289. }
  290. .x-toast-success{
  291. border-color: #adeaa4 !important;
  292. border-radius: 4px !important;
  293. .x-window-body{
  294. background: #f3ffef !important;
  295. border-color: #f3ffef !important;
  296. }
  297. .x-autocontainer-innerCt{
  298. color: #3ec12a;
  299. padding: 4px 30px 4px 46px !important;
  300. }
  301. .x-autocontainer-innerCt::before{
  302. margin-left: -19px;
  303. margin-top: 1px;
  304. content: ' ';
  305. width: 16px;
  306. position: absolute;
  307. display: block;
  308. height: 16px;
  309. background: url(../../../../resources/images/default/toast_over.png) 0 0 no-repeat;
  310. background-size: 16px 16px;
  311. background-position: center;
  312. }
  313. }
  314. .x-toast-error{
  315. border-color: #f39d70 !important;
  316. border-radius: 4px !important;
  317. .x-window-body{
  318. background: #fdefcd !important;
  319. border-color: #fdefcd !important;
  320. }
  321. .x-autocontainer-innerCt{
  322. color: #ea800e;
  323. padding: 4px 30px 4px 46px !important;
  324. }
  325. .x-autocontainer-innerCt::before{
  326. margin-left: -19px;
  327. margin-top: 1px;
  328. content: ' ';
  329. width: 16px;
  330. position: absolute;
  331. display: block;
  332. height: 16px;
  333. background: url(../../../../resources/images/default/toast_close.png) 0 0 no-repeat;
  334. background-size: 16px 16px;
  335. background-position: center;
  336. }
  337. }