Main.scss 9.7 KB

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