Main.scss 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  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(get-resource-path('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(get-resource-path('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-grid-checkcolumn-btn {
  166. margin-top: -1px;
  167. width: 34px;
  168. height: 21px;
  169. background: url(get-resource-path('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(get-resource-path('images/grid/check.png')) 0 0 no-repeat;
  176. }
  177. body > .x-mask {
  178. background-image: none;
  179. background-color: rgba(0, 0, 0, 0.3);
  180. }
  181. .icon-usoftchina{
  182. margin-top: 0px;
  183. background: url(get-resource-path('images/nav/usoftchina.png')) 0 0 no-repeat;
  184. }
  185. .nav-menu{
  186. color: #48C1F8 !important;
  187. }
  188. .user-icon{
  189. margin-top: 0px;
  190. background: url(get-resource-path('images/default/user-icon.png')) 0 0 no-repeat;
  191. background-size: 32px 32px;
  192. background-position: center;
  193. }
  194. .sa-nav-menu {
  195. background: #f8fbff;
  196. border: 1px solid #34baf6;
  197. margin-top: 10px;
  198. }
  199. .sa-nav-button {
  200. color: #34BAF6;
  201. padding: 0;
  202. box-shadow: none !important;
  203. border: none;
  204. background-color: transparent !important;
  205. .x-btn-icon-el {
  206. color: #34BAF6;
  207. }
  208. }
  209. .sa-nav-menu.x-menu-item-text-default,
  210. .sa-nav-menu .sa-navicon {
  211. //font-family: PingFangSC-Regular;
  212. //font-size: 14px;
  213. color: #34BAF6;
  214. letter-spacing: 0;
  215. text-align: center;
  216. }
  217. .x-menu.sa-nav-menu .x-menu-bodyWrap {
  218. margin-left: -0.5px;
  219. }
  220. /* .x-main-menu .x-fa.sa-navicon{
  221. color: #34BAF6;
  222. } */
  223. .sa-nav-menu .x-menu-item.x-menu-item-default-focus .x-menu-item-text-default ,
  224. .sa-nav-menu .x-menu-item.x-menu-item-active .x-menu-item-text-default,
  225. .sa-nav-menu .x-menu-item.x-menu-item-default-focus .sa-navicon ,
  226. .sa-nav-menu .x-menu-item.x-menu-item-active .sa-navicon{
  227. color: white;
  228. }
  229. .x-main-menu::before{
  230. content: ' ';
  231. display: block;
  232. border-style: solid;
  233. background-color: #f8fbff;
  234. transform: rotate(45deg);
  235. border-color: #34baf6;
  236. position: fixed;
  237. width: 15px;
  238. height: 15px;
  239. clip-path: polygon(0% 0, 100% 0%, 0 100%);
  240. -moz-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  241. -webkit-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  242. -o-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  243. -ms-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  244. -khtml-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  245. border-width: 1px 0px 0px 1px !important;
  246. margin-top: -7.5px;
  247. margin-left: 16px;
  248. }
  249. .x-main-menu2::before{
  250. /* content: ' ';
  251. display: block;
  252. border-style: solid;
  253. box-shadow: 0px 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(15, 136, 232, 0.6);
  254. box-shadow: aliceblue;
  255. border-width: 17px;
  256. border-color: #cccccc;
  257. position: fixed;
  258. top: 26px;
  259. -moz-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  260. -webkit-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  261. -o-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  262. -ms-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  263. -khtml-clip-path: polygon(100% 0px, 0 50%, 100% 100%);
  264. clip-path: polygon(0 100%, 50% 0, 100% 100%);
  265. margin-top: 25px;
  266. margin-left: 47px; */
  267. content: ' ';
  268. display: block;
  269. border-style: solid;
  270. background-color: #f8fbff;
  271. transform: rotate(45deg);
  272. border-color: #34baf6;
  273. position: fixed;
  274. width: 15px;
  275. height: 15px;
  276. clip-path: polygon(0% 0, 100% 0%, 0 100%);
  277. -moz-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  278. -webkit-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  279. -o-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  280. -ms-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  281. -khtml-clip-path: polygon(0% 0, 100% 0%, 0 100%);
  282. border-width: 1px 0px 0px 1px !important;
  283. margin-top: -7.5px;
  284. margin-left: 55px;
  285. }
  286. .x-boundlist-item {
  287. text-overflow: ellipsis;
  288. overflow: hidden;
  289. white-space: nowrap;
  290. }
  291. .x-main-master,
  292. .x-main-master.x-btn-menu-active,
  293. .x-main-master.x-btn-pressed {
  294. .x-btn-wrap{
  295. &:after {
  296. color: #34BAF6,
  297. }
  298. .x-btn-button{
  299. .x-btn-inner{
  300. font-size: 16px;
  301. padding: 0;
  302. color:#34BAF6 !important;
  303. }
  304. }
  305. }
  306. }
  307. #main-navigation-toggle-btn {
  308. .x-btn-icon-el-header-small {
  309. font-size: 12px;
  310. color: #34BAF6;
  311. }
  312. }
  313. .x-header-redpoint:after{
  314. z-index: 100;
  315. content: ' ';
  316. display: block;
  317. width: 8px;
  318. height: 8px;
  319. background-color: red;
  320. border: 1px solid red;
  321. border-radius: 12px;
  322. position: absolute;
  323. left: 76px;
  324. top: -7px;
  325. }
  326. .x-menu-redpoint:after{
  327. z-index: 100;
  328. content: ' ';
  329. display: block;
  330. width: 5px;
  331. height: 5px;
  332. background-color: red;
  333. border: 1px solid red;
  334. border-radius: 12px;
  335. position: absolute;
  336. left: 88px;
  337. top: 72px;
  338. }
  339. .sa-nav-realname {
  340. cursor: default;
  341. color: $color-gray;
  342. }