StarscreamDeceptions commited on
Commit
2372094
ยท
verified ยท
1 Parent(s): 000c8eb

Update src/display/css_html_js.py

Browse files
Files changed (1) hide show
  1. src/display/css_html_js.py +19 -3
src/display/css_html_js.py CHANGED
@@ -94,9 +94,25 @@ custom_css = """
94
  #box-filter > .form{
95
  border: 0
96
  }
97
- .select-columns {
98
- background-color: #d0d0d0; /* SelectColumns ็š„่ƒŒๆ™ฏ้ขœ่‰ฒ */
99
- color: #555; /* SelectColumns ็š„ๆ–‡ๆœฌ้ขœ่‰ฒ */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  }
101
  """
102
 
 
94
  #box-filter > .form{
95
  border: 0
96
  }
97
+ /* ่‡ชๅฎšไน‰ๅ‹พ้€‰ๆŒ‰้’ฎ็š„้ขœ่‰ฒ */
98
+ .gr_checkbox input:checked + label {
99
+ background-color: #4CAF50; /* ้€‰ไธญๆ—ถ็š„่ƒŒๆ™ฏ้ขœ่‰ฒ */
100
+ color: white; /* ้€‰ไธญๆ—ถ็š„ๆ–‡ๅญ—้ขœ่‰ฒ */
101
+ }
102
+
103
+ .gr_checkbox label {
104
+ padding: 10px; /* ๅขžๅŠ ๅ†…่พน่ท */
105
+ border: 2px solid #4CAF50; /* ่พนๆก†้ขœ่‰ฒ */
106
+ border-radius: 5px; /* ๅœ†่ง’ */
107
+ cursor: pointer; /* ้ผ ๆ ‡ๆ‚ฌๅœๆ—ถๆ˜พ็คบๆ‰‹ๅž‹ๅ…‰ๆ ‡ */
108
+ }
109
+
110
+ .gr_checkbox input[type="checkbox"]:checked + label::before {
111
+ background-color: #4CAF50; /* ๅ‹พ้€‰ๆก†ๅ†…็š„้ขœ่‰ฒ */
112
+ }
113
+
114
+ .gr_checkbox input[type="checkbox"] {
115
+ display: none; /* ้š่—้ป˜่ฎคๅ‹พ้€‰ๆก† */
116
  }
117
  """
118