File tree Expand file tree Collapse file tree 1 file changed +20
-8
lines changed
WebUI/Templates/OGoScheduler Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change 44 position : relative;
55 vertical-align : middle;
66}
7+ button .dropdown {
8+ background : # fff ;
9+ border : 1px solid # 767676 ;
10+ border-radius : 2px ;
11+ padding : 1px 4px ;
12+ font : inherit;
13+ cursor : pointer;
14+ }
715.apt-type-dropdown-menu {
816 display : none;
917 position : absolute;
1018 top : 100% ;
1119 left : 0 ;
12- background : # fff ;
13- border : 1px solid # ccc ;
14- box-shadow : 2px 2px 4px rgba (0 , 0 , 0 , 0.1 );
20+ background : # f6f6f6 ;
21+ border : 1px solid # b0b0b0 ;
22+ border-radius : 4px ;
23+ box-shadow : 0 2px 6px rgba (0 , 0 , 0 , 0.15 );
1524 z-index : 100 ;
16- min-width : 150 px ;
25+ min-width : 120 px ;
1726 max-height : 300px ;
1827 overflow-y : auto;
28+ padding : 4px 0 ;
29+ font-size : 13px ;
1930}
2031.apt-type-dropdown-menu label {
2132 display : block;
22- padding : 4 px 8px ;
33+ padding : 2 px 8px ;
2334 white-space : nowrap;
2435 cursor : pointer;
2536}
2637.apt-type-dropdown-menu label : hover {
27- background : # f0f0f0 ;
38+ background : # 0069d9 ;
39+ color : # fff ;
2840}
2941</ style >
3042< script >
3143function toggleAptTypeDropdown ( btn ) {
3244 var menu = btn . nextElementSibling ;
33- var isOpen = menu . style . display !== 'none ';
45+ var isOpen = menu . style . display === 'block ';
3446 // Close any open dropdowns first
3547 document . querySelectorAll ( '.apt-type-dropdown-menu' ) . forEach ( function ( m ) {
3648 m . style . display = 'none' ;
6880 > < #IsMonthModeCond> < #MonthPopUp/> </ #IsMonthModeCond
6981 > < #ShowAptTypesCond
7082 > < div class ="apt-type-dropdown "
71- > < button type ="button " class ="button_narrow "
83+ > < button type ="button " class ="dropdown "
7284 onclick ="toggleAptTypeDropdown(this) "
7385 > < #AptTypeDropdownLabel/> ▾</ button
7486 > < div class ="apt-type-dropdown-menu "
You can’t perform that action at this time.
0 commit comments