Skip to content

Commit 2ae815a

Browse files
author
MatthieuLP
committed
added css for file type widget
1 parent 68b3879 commit 2ae815a

1 file changed

Lines changed: 56 additions & 13 deletions

File tree

css/hf_base.css

Lines changed: 56 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,11 @@ li.path-ext-svg a img {
891891
cursor: pointer;
892892
}
893893

894+
.filter-manager .mcs-icon::before {
895+
margin: 0 5px 0 -2px;
896+
transform: rotate(90deg);
897+
}
898+
894899
.filter-manager-popin .mcs-popin-title {
895900
width: 100%;
896901
font-size: 19px;
@@ -1064,19 +1069,7 @@ li.path-ext-svg a img {
10641069
margin-left: 20px;
10651070
}
10661071

1067-
.filter-word .search-words {
1068-
max-width: 200px;
1069-
overflow: hidden;
1070-
text-overflow: ellipsis;
1071-
white-space: nowrap;
1072-
}
1073-
.filter-album .search-words {
1074-
max-width: 200px;
1075-
overflow: hidden;
1076-
text-overflow: ellipsis;
1077-
white-space: nowrap;
1078-
}
1079-
.filter-tag .search-words {
1072+
.filter .search-words {
10801073
max-width: 200px;
10811074
overflow: hidden;
10821075
text-overflow: ellipsis;
@@ -1099,6 +1092,56 @@ li.path-ext-svg a img {
10991092
font-weight: 600;
11001093
margin-top: 15px;
11011094
}
1095+
.filter-filetypes-form {
1096+
width: 200px;
1097+
}
1098+
.filetypes-option-container {
1099+
display: flex;
1100+
flex-direction: column;
1101+
margin: 5px 0 20px 0;
1102+
}
1103+
.filetypes-option:nth-child(odd) {
1104+
background: #f3f3f3;
1105+
}
1106+
1107+
.filetypes-option input {
1108+
display: none;
1109+
}
1110+
.filetypes-option label {
1111+
display: flex;
1112+
flex-direction: row;
1113+
align-items: baseline;
1114+
position: relative;
1115+
padding: 5px;
1116+
}
1117+
.filetypes-option label .checked-icon{
1118+
display: none;
1119+
position: absolute;
1120+
left: 0;
1121+
top: 4px;
1122+
margin: 5px;
1123+
color: #ff7700;
1124+
}
1125+
1126+
.filetypes-option label .ext-name {
1127+
margin-left: 30px;
1128+
text-transform: uppercase;
1129+
}
1130+
.filetypes-option label .ext-badge {
1131+
margin-left: auto;
1132+
background: #ff7700;
1133+
border-radius: 10px;
1134+
padding: 0 5px;
1135+
color: white;
1136+
font-weight: 600;
1137+
}
1138+
1139+
.filetypes-option input:checked + label .checked-icon{
1140+
display: flex;
1141+
}
1142+
.filetypes-option input:checked + label {
1143+
background: #fff5e8;
1144+
}
11021145

11031146
.filter-album-form {
11041147
width: 400px;

0 commit comments

Comments
 (0)