Main.scss 10 KB

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