瀏覽代碼

Tab focus checkbox

version-14
Faris Ansari 7 年之前
父節點
當前提交
576e927313
共有 2 個檔案被更改,包括 20 行新增2 行删除
  1. +9
    -1
      frappe/public/css/desk.css
  2. +11
    -1
      frappe/public/less/desk.less

+ 9
- 1
frappe/public/css/desk.css 查看文件

@@ -1012,7 +1012,6 @@ li.user-progress .progress-bar {
text-align: right;
}
input[type="checkbox"] {
visibility: hidden;
position: relative;
}
input[type="checkbox"]:before {
@@ -1031,12 +1030,21 @@ input[type="checkbox"]:before {
-webkit-transition: 150ms color;
-o-transition: 150ms color;
transition: 150ms color;
background-color: white;
padding: 1px;
margin: -1px;
}
input[type="checkbox"]:focus:before {
color: #8D99A6;
}
input[type="checkbox"]:checked:before {
content: '\f14a';
font-size: 13px;
color: #3b99fc;
}
input[type="checkbox"]:focus {
outline: none;
}
.multiselect-empty-state {
min-height: 300px;
display: flex;


+ 11
- 1
frappe/public/less/desk.less 查看文件

@@ -944,7 +944,6 @@ li.user-progress {

// custom font awesome checkbox
input[type="checkbox"] {
visibility: hidden;
position: relative;

&:before {
@@ -961,6 +960,13 @@ input[type="checkbox"] {
font-size: 14px;
color: @text-extra-muted;
.transition(150ms color);
background-color: white;
padding: 1px;
margin: -1px;
}

&:focus:before {
color: @text-muted;
}

&:checked:before {
@@ -968,6 +974,10 @@ input[type="checkbox"] {
font-size: 13px;
color: @checkbox-color;
}

&:focus {
outline: none;
}
}

// Will not be required after commonifying lists with empty state


Loading…
取消
儲存