Main.scss 10.0 KB

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