Main.scss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  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. .x-main-menu{
  201. background: #f8fbff;
  202. border: 2px solid #34baf6;
  203. }
  204. .x-main-menu .x-menu-item-text-default{
  205. font-family: PingFangSC-Regular;
  206. //font-size: 14px;
  207. color: #34BAF6;
  208. letter-spacing: 0;
  209. text-align: center;
  210. }
  211. .x-main-menu::before{
  212. content: ' ';
  213. display: block;
  214. border-style: solid;
  215. background-color: white;
  216. transform: rotate(45deg);
  217. box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(15, 136, 232, 0.6);
  218. box-shadow: aliceblue;
  219. border-width: 2px;
  220. border-color: #34BAF6;
  221. /* border-color: #cccccc #6e838e #9c9d9e #bdc3c5; */
  222. position: fixed;
  223. width: 14px;
  224. height: 14px;
  225. /* left: 100%; */
  226. top: 25px;
  227. -moz-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  228. /* -webkit-clip-path: polygon(100% 0px, 0 50%, 100% 100%); */
  229. -o-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  230. -ms-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  231. -khtml-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  232. clip-path: polygon(0% 0,100% 0%,0 100%);
  233. margin-top: 17px;
  234. margin-left: 7px;
  235. z-index: 99;
  236. }
  237. .x-main-menu2::before{
  238. content: ' ';
  239. display: block;
  240. border-style: solid;
  241. box-shadow: 0px 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(15, 136, 232, 0.6);
  242. box-shadow: aliceblue;
  243. border-width: 17px;
  244. border-color: #cccccc;
  245. /* border-color: #cccccc #6e838e #9c9d9e #bdc3c5; */
  246. position: fixed;
  247. /* left: 100%; */
  248. top: 26px;
  249. -moz-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  250. -webkit-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  251. -o-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  252. -ms-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  253. -khtml-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  254. clip-path: polygon(0 100%, 50% 0, 100% 100%);
  255. margin-top: 25px;
  256. margin-left: 47px;
  257. }