Main.scss 9.8 KB

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