File tree Expand file tree Collapse file tree 1 file changed +34
-4
lines changed Expand file tree Collapse file tree 1 file changed +34
-4
lines changed Original file line number Diff line number Diff line change 18
18
}
19
19
20
20
.right {
21
- // flex-grow: 1;
21
+ flex-grow : 1 ;
22
22
width : 220px ;
23
23
}
24
24
47
47
.sub_title {
48
48
background-color : rgb (235 ,235 ,235 );
49
49
text-align : center ;
50
- padding : 6 px ;
50
+ padding : 5 px ;
51
51
font-weight : bold ;
52
52
// border: 1px solid red;
53
53
display : flex ;
70
70
}
71
71
72
72
.sub_list {
73
+ height : 460px ;
74
+ overflow-y : scroll ;
75
+ }
73
76
77
+ .sub_list ::-webkit-scrollbar {
78
+ display : none
74
79
}
75
80
76
81
.sub_item {
81
86
background-color : rgb (255 , 255 , 255 );
82
87
}
83
88
89
+ .sub_item :hover {
90
+ background-color : #add8e6 ;
91
+ }
92
+
93
+ // Add the arrow
94
+ .sub_item ::after {
95
+ display : inline-block ;
96
+ padding-right : 0% ;
97
+ position : absolute ;
98
+ top : 20% ;
99
+ right : 5% ;
100
+ content : " " ;
101
+ height : 7px ;
102
+ width : 7px ;
103
+ border : solid #bbb ;
104
+ border-width : 2px 2px 0 0 ;
105
+ }
106
+
107
+ // Rotate the arrow
108
+ .sub_item ::after {
109
+ -webkit-transform : rotate (135deg );
110
+ transform : rotate (135deg );
111
+ }
112
+
84
113
.highlight_item {
85
114
background-color : rgb (2 , 173 , 2 );
86
115
}
87
116
88
117
.sub_item_menu {
89
118
top : 22px ;
90
119
left : 0 ;
120
+ text-align : center ;
91
121
position : absolute ;
92
122
background-color : rgb (246 , 248 , 246 );
93
123
z-index : 100 ;
94
- width : 220 px ;
124
+ width : 99 % ;
95
125
overflow-y : scroll ;
96
126
max-height : 180px ;
97
127
border-style : solid ;
104
134
}
105
135
106
136
.sub_item_menu_item :hover {
107
- background-color : #eee ;
137
+ background-color : #bbb ;
108
138
}
You can’t perform that action at this time.
0 commit comments