1+ @charset "UTF-8" ;
2+ /*重写AdmineLTE 的部分效果*/
13body {
2- font-family : "Microsoft YaHei" ;
3- margin : 0 ;
4- padding : 0 ;
4+ font-family : 'Microsoft YaHei UI' , 'Microsoft YaHei' , Microsoft YaHei, Arial, sans-serif
55}
66
7- . main {
8- height : 100 % ;
7+ h1 , h2 , h3 , h4 , h5 , h6 , . h1 , . h2 , . h3 , . h4 , . h5 , . h6 {
8+ font-family : 'Microsoft YaHei UI' , 'Microsoft YaHei' , Microsoft YaHei , Arial , sans-serif
99}
1010
11- div {
11+ .main-header .navbar {
12+ -webkit-transition : margin-left .3s ease-in-out;
13+ -o-transition : margin-left .3s ease-in-out;
14+ transition : margin-left .3s ease-in-out;
15+ margin-bottom : 0 ;
16+ margin-left : 0 ;
1217 border : none;
13- padding : 0 ;
18+ min-height : 50px ;
19+ border-radius : 0
20+ }
21+
22+ @media (max-width : 767px ) {
23+ .main-sidebar , .left-side {
24+ padding-top : 50px
25+ }
26+ }
27+
28+ @media (max-width : 768px ) {
29+ .sidebar-mini .sidebar-collapse .main-header .navbar {
30+ margin-left : 0 !important ;
31+ }
32+ }
33+
34+ @media (min-width : 768px ) {
35+ .sidebar-mini .sidebar-collapse .sidebar-menu > li : hover > a > .pull-right-container {
36+ position : relative !important ;
37+ float : right;
38+ width : auto !important ;
39+ left : 180px !important ;
40+ top : -22px !important ;
41+ z-index : 900
42+ }
43+
44+ .sidebar-mini .sidebar-collapse .main-header .navbar {
45+ margin-left : 0
46+ }
47+ }
48+
49+ .navbar-nav > .nav-dropdown-menu > .dropdown-menu {
50+ width : 150px ;
51+ box-shadow : 0 1px 1px rgba (0 , 0 , 0 , 0.1 );
52+ padding : 0 0 0 0 ;
1453 margin : 0 ;
54+ top : 100%
55+ }
56+
57+ .main-header .sidebar-toggle {
58+ float : left;
59+ background-color : transparent;
60+ background-image : none;
61+ padding : 15px 17px ;
62+ font-family : fontAwesome
1563}
1664
17- .header {
18- height : 52px ;
19- width : 100% ;
20- position : fixed;
21- top : 0 ;
22- background-color : # 0083CB ;
23- z-index : 100 ;
24- }
25-
26- .content {
27- position : absolute;
28- top : 52px ;
29- bottom : 0 ;
30- width : 100% ;
31- z-index : 99 ;
32- overflow-y : scroll;
33- overflow-x : hidden;
34- }
65+ /*重写AdmineLTE 的部分效果*/
0 commit comments