frame.less 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  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. font-weight: bold;
  141. }
  142. .layout-header .nav a.active,
  143. .layout-header .nav a:hover{
  144. background:@bjtit-color;
  145. color: @font-color2;
  146. }
  147. .layout-main{
  148. z-index: 2;
  149. padding-top: 55px;
  150. position: fixed;
  151. width: 100%;
  152. height: 100%;
  153. left: 0;
  154. top:0;
  155. bottom: 0;
  156. right: 0;
  157. }
  158. .layout-right{
  159. position: fixed;
  160. left: 220px;
  161. right: 0;
  162. top: 57px;
  163. bottom: 0px;
  164. background: @bj-color;
  165. }
  166. .layout-right iframe{
  167. width: 100%;
  168. height: 100%;
  169. border: 0;
  170. background: @bj-color;
  171. }
  172. .layout-left{
  173. width: 220px;
  174. position: absolute;
  175. z-index: 2;
  176. height: 100%;
  177. left: 0;
  178. top:57px;
  179. border-right: 1px solid @border-color2;
  180. }
  181. .layout-left .navlist i.basicdata:before{
  182. content: "\e600";
  183. position: relative;
  184. z-index: 2;
  185. }
  186. .layout-left .navlist i.financialmanage:before{
  187. content: "\e602";
  188. position: relative;
  189. z-index: 2;
  190. }
  191. .layout-left .navlist i.accountset:before{
  192. content: "\e603";
  193. position: relative;
  194. z-index: 2;
  195. }
  196. .layout-left .navlist{
  197. height: 45px;
  198. line-height: 45px;
  199. width: 100%;
  200. overflow: hidden;
  201. border-bottom: 1px solid @border-cut-color;
  202. }
  203. .layout-left .navlist>a{
  204. display: block;
  205. width: 100%;
  206. }
  207. .layout-left .navlist>a>span{
  208. float: left;
  209. padding-left:10px;
  210. }
  211. .layout-left .navlist i.left{
  212. color: @font-color3;
  213. border-right: 1px solid @border-cut-color;
  214. line-height: 45px;
  215. width: 44px;
  216. float: left;
  217. font-size:18px;
  218. text-align: center;
  219. position: relative;
  220. overflow: hidden;
  221. }
  222. .layout-left .navlist i.left>b{
  223. position: absolute;
  224. left: -42px;
  225. width: 100%;
  226. top: 0;
  227. bottom: 0;
  228. z-index: 0;
  229. transition: left .25s;
  230. }
  231. .layout-left .navlist a.active,
  232. .layout-left .navlist a:hover{
  233. background: @bjtit-color;
  234. }
  235. .layout-left .navlist a.active i.left>b,
  236. .layout-left .navlist a:hover i.left>b{
  237. left: 0!important;
  238. }
  239. .layout-left .navlist a.active i.left,
  240. .layout-left .navlist a:hover i.left{
  241. color: #fff;
  242. }
  243. .bg-success {
  244. background-color: #8ec165;
  245. color: #ebf4e4;
  246. }
  247. .bg-info {
  248. background-color: #4cc0c1;
  249. color: #d1efef;
  250. }
  251. .bg-danger {
  252. background-color: #fb6b5b;
  253. color: #fff;
  254. }
  255. .bg-warning {
  256. background-color: #ffc333;
  257. color: #fff8e5;
  258. }
  259. .layout-main.close .layout-left{
  260. width: 60px;
  261. }
  262. .layout-main.close .layout-right{
  263. left:60px;
  264. }
  265. .layout-main.close .layout-left .navlist a i.left>b{
  266. left: 0!important;
  267. width: 59px;
  268. height: 60px;
  269. }
  270. .layout-main.close .layout-left .navlist{
  271. height:60px;
  272. line-height: 60px;
  273. }
  274. .layout-main.close .layout-left .navlist a i.left {
  275. color: #fff;
  276. line-height:60px;
  277. width:59px;
  278. font-size: 25px;
  279. }