File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed
Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change 7272}
7373
7474.maptalks-layer-switcher ul {
75- padding-left : 1em ;
7675 list-style : none;
7776}
77+ .maptalks-layer-switcher .panel > ul {
78+ padding-left : 1em ;
79+ }
80+ .maptalks-layer-switcher .group > ul {
81+ padding-left : 10px ;
82+ }
7883.maptalks-layer-switcher .group + .group {
7984 padding-top : 1em ;
8085}
8186.maptalks-layer-switcher label {
8287 text-overflow : ellipsis;
8388 overflow : hidden;
84- width : 90% ;
8589 display : inline-block;
8690 font-size : 14px ;
8791 white-space : nowrap;
92+ color : # bbb ;
93+ }
94+ .maptalks-layer-switcher .group > label {
95+ font-weight : bold;
96+ color : # ddd ;
97+ width : 100% ;
98+ }
99+ .maptalks-layer-switcher .layer label {
100+ padding-top : 5px ;
101+ width : 92% ;
88102}
89103.maptalks-layer-switcher input {
90104 margin : 0 5px ;
116130 min-width : 120px ;
117131 max-width : 400px ;
118132 max-height : 600px ;
119- color : # fff ;
120133}
121134.maptalks-layer-switcher li {
122- overflow : hidden;
123- margin-right : 1em ;
124135 white-space : nowrap;
125136}
137+ .maptalks-layer-switcher li .group {
138+ margin-right : 1em ;
139+ }
126140.maptalks-layer-switcher .shown .panel {
127141 display : block;
128142}
You can’t perform that action at this time.
0 commit comments