feat navigation: style checkboxes in navigation

feat preferences: Show Hidden Files and Show Directories First options working
This commit is contained in:
Mahdi Dibaiee
2015-09-04 05:35:14 +04:30
parent 0ae06a77ae
commit 100dc03813
15 changed files with 745 additions and 263 deletions

View File

@ -52,6 +52,39 @@ nav {
padding-bottom: 0;
border-bottom: none;
}
label {
clear: left;
&::after {
content: '';
display: block;
float: right;
margin-right: 13px;
border-radius: 50%;
width: 10px;
height: 10px;
background: transparent;
border: 1px solid @overlay;
}
}
input {
clear: right;
float: right;
display: none;
}
input:checked + label::after {
background: @blue;
}
}
i {

View File

@ -13,3 +13,28 @@ input {
.light-medium;
}
input[type="checkbox"] {
width: 0;
height: 0;
}
input[type="checkbox"]::before {
content: '';
display: block;
border: 1px solid @gray;
background: transparent;
border-radius: 50%;
width: 10px;
height: 10px;
box-sizing: border-box;
&:checked {
background: @blue;
}
}