frame.less 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. /*// 主题色*/
  2. @theme-color1:#5775b5;
  3. /*字体主色调*/
  4. @font-color1:#435561;
  5. @font-color2:#5775b5;
  6. @font-color3:#999999;
  7. /*线条主色调*/
  8. @border-color1:#e5e4e9;
  9. @border-color2:#cfcfcf;
  10. @border-cut-color:#eceff4;
  11. /*按钮主色调*/
  12. @btn-color1:#e47470;
  13. @btn-color2:#0099cc;
  14. /*底纹色*/
  15. @bj-color:#f7f7f7;
  16. @bjtit-color:#f5f6fa;
  17. /*个人中心布局*/
  18. .layout-header{
  19. position: fixed;
  20. z-index: 9;
  21. top: 0;
  22. left: 0;
  23. width: 100%;
  24. height: 55px;
  25. background: #fff;
  26. border-bottom: 2px solid @border-color2;
  27. min-width: 900px;
  28. }
  29. .layout-header .logo{
  30. display: inline-block;
  31. width: 220px;
  32. height: 100%;
  33. position: relative;
  34. vertical-align: middle;
  35. line-height: 100%;
  36. border-right: 1px solid @border-cut-color;
  37. }
  38. .layout-header .c-left-nav{
  39. position: absolute;
  40. z-index: 3;
  41. right: 0;
  42. display: block;
  43. width: 30px;
  44. height: 55px;
  45. line-height: 55px;
  46. text-align: center;
  47. vertical-align: bottom;
  48. cursor: pointer;
  49. }
  50. .layout-header .c-left-nav:hover{
  51. background: @bjtit-color;
  52. }
  53. .layout-header .logo a{
  54. padding-top: 10px;
  55. padding-left: 8px;
  56. display: inline-block;
  57. }
  58. .layout-header .logo i{
  59. border-radius: 2px;
  60. color: @font-color2;
  61. font-size: 14px;
  62. }
  63. .layout-header .logo i:before{
  64. content: "\e60d";
  65. }
  66. .layout-header .nav,
  67. .layout-header .logo,
  68. .layout-header .navright{
  69. height: 100%;
  70. }
  71. .layout-header .navright .navrightlist{
  72. float: right;
  73. line-height:55px;
  74. padding: 0 18px;
  75. height: 100%;
  76. border-left: 1px solid @border-cut-color;
  77. cursor: pointer;
  78. position: relative;
  79. padding-right: 40px;
  80. }
  81. .layout-header .navright .navrightlist .hidenav{
  82. position: absolute;
  83. top: 55px;
  84. right: 0;
  85. background:#fff;
  86. border: 1px solid @border-cut-color;
  87. width: 140px;
  88. height: 0;
  89. overflow: hidden;
  90. opacity: 0;
  91. transition: all 0.2s;
  92. -moz-transition: all 0.2s;
  93. -webkit-transition: all 0.2s;
  94. -o-transition: all 0.2s;
  95. }
  96. .layout-header .navright .navrightlist.active .hidenav{
  97. height: auto;
  98. opacity: 1;
  99. transition: all 0.2s;
  100. -moz-transition: all 0.2s;
  101. -webkit-transition: all 0.2s;
  102. -o-transition: all 0.2s;
  103. }
  104. .layout-header .navright .navrightlist.active i{
  105. transform: rotate(-180deg);
  106. -ms-transform: rotate(-180deg); /* IE 9 */
  107. -webkit-transform: rotate(-180deg); /* Safari and Chrome */
  108. -o-transform: rotate(-180deg); /* Opera */
  109. -moz-transform: rotate(-180deg);
  110. }
  111. .layout-header .navright .navrightlist .hidenav a{
  112. display: block;
  113. padding: 0 20px;
  114. line-height: 40px;
  115. text-align: left;
  116. }
  117. .layout-header .navright .navrightlist .hidenava:hover,
  118. .layout-header .navright .navrightlist .hidenav a:hover{
  119. background: @bjtit-color;
  120. }
  121. .layout-header .navright .navrightlist i{
  122. position: absolute;
  123. top: 0;
  124. right: 18px;
  125. font-size: 13px;
  126. padding-left: 5px;
  127. }
  128. .layout-header .navright .navrightlist:hover{
  129. background: @bjtit-color;
  130. }
  131. .layout-header .nav a{
  132. display: inline-block;
  133. float: left;
  134. line-height:55px;
  135. padding: 0 18px;
  136. height: 100%;
  137. border-right: 1px solid @border-cut-color;
  138. }
  139. .layout-header .nav a.active,
  140. .layout-header .nav a:hover{
  141. background:@bjtit-color;
  142. color: @font-color2;
  143. }
  144. .layout-main{
  145. z-index: 2;
  146. padding-top: 55px;
  147. position: fixed;
  148. width: 100%;
  149. height: 100%;
  150. left: 0;
  151. top:0;
  152. bottom: 0;
  153. right: 0;
  154. }
  155. .layout-right{
  156. position: fixed;
  157. left: 220px;
  158. right: 0;
  159. top: 57px;
  160. bottom: 0px;
  161. background: @bj-color;
  162. }
  163. .layout-right iframe{
  164. width: 100%;
  165. height: 100%;
  166. border: 0;
  167. background: @bj-color;
  168. }
  169. .layout-left{
  170. width: 220px;
  171. position: absolute;
  172. z-index: 2;
  173. height: 100%;
  174. left: 0;
  175. top:57px;
  176. border-right: 1px solid @border-color2;
  177. }
  178. .layout-left .navlist i.basicdata:before{
  179. content: "\e600";
  180. position: relative;
  181. z-index: 2;
  182. }
  183. .layout-left .navlist i.financialmanage:before{
  184. content: "\e602";
  185. position: relative;
  186. z-index: 2;
  187. }
  188. .layout-left .navlist i.accountset:before{
  189. content: "\e603";
  190. position: relative;
  191. z-index: 2;
  192. }
  193. .layout-left .navlist{
  194. height: 45px;
  195. line-height: 45px;
  196. width: 100%;
  197. overflow: hidden;
  198. border-bottom: 1px solid @border-cut-color;
  199. }
  200. .layout-left .navlist>a{
  201. display: block;
  202. width: 100%;
  203. }
  204. .layout-left .navlist>a>span{
  205. float: left;
  206. padding-left:10px;
  207. }
  208. .layout-left .navlist i.left{
  209. color: @font-color3;
  210. border-right: 1px solid @border-cut-color;
  211. line-height: 45px;
  212. width: 44px;
  213. float: left;
  214. font-size:18px;
  215. text-align: center;
  216. position: relative;
  217. overflow: hidden;
  218. }
  219. .layout-left .navlist i.left>b{
  220. position: absolute;
  221. left: -42px;
  222. width: 100%;
  223. top: 0;
  224. bottom: 0;
  225. z-index: 0;
  226. transition: left .25s;
  227. }
  228. .layout-left .navlist a.active,
  229. .layout-left .navlist a:hover{
  230. background: @bjtit-color;
  231. }
  232. .layout-left .navlist a.active i.left>b,
  233. .layout-left .navlist a:hover i.left>b{
  234. left: 0!important;
  235. }
  236. .layout-left .navlist a.active i.left,
  237. .layout-left .navlist a:hover i.left{
  238. color: #fff;
  239. }
  240. .bg-success {
  241. background-color: #8ec165;
  242. color: #ebf4e4;
  243. }
  244. .bg-info {
  245. background-color: #4cc0c1;
  246. color: #d1efef;
  247. }
  248. .bg-danger {
  249. background-color: #fb6b5b;
  250. color: #fff;
  251. }
  252. .bg-warning {
  253. background-color: #ffc333;
  254. color: #fff8e5;
  255. }
  256. .layout-main.close .layout-left{
  257. width: 60px;
  258. }
  259. .layout-main.close .layout-right{
  260. left:60px;
  261. }
  262. .layout-main.close .layout-left .navlist a i.left>b{
  263. left: 0!important;
  264. width: 59px;
  265. height: 60px;
  266. }
  267. .layout-main.close .layout-left .navlist{
  268. height:60px;
  269. line-height: 60px;
  270. }
  271. .layout-main.close .layout-left .navlist a i.left {
  272. color: #fff;
  273. line-height:60px;
  274. width:59px;
  275. font-size: 25px;
  276. }