Skip to content

Commit 7fd38e7

Browse files
author
MatthieuLP
committed
Added css for new posted date filter
1 parent cf76603 commit 7fd38e7

1 file changed

Lines changed: 34 additions & 8 deletions

File tree

css/hf_base.css

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,10 @@ li.path-ext-svg a img {
855855

856856
/* Multi criteria search */
857857

858+
.filter .filter-icon {
859+
color: #474747;
860+
}
861+
858862
.filter-manager-popin {
859863
position: fixed;
860864
z-index: 100;
@@ -1054,7 +1058,8 @@ li.path-ext-svg a img {
10541058
margin: 0;
10551059
}
10561060

1057-
.filter-filetypes-form .filter-actions {
1061+
.filter-filetypes-form .filter-actions,
1062+
.filter-date_post-form .filter-actions {
10581063
gap: 5px;
10591064
}
10601065

@@ -1117,29 +1122,42 @@ li.path-ext-svg a img {
11171122
font-weight: 600;
11181123
margin-top: 15px;
11191124
}
1120-
.filter-filetypes-form {
1125+
.filter-filetypes-form,
1126+
.filter-date_post-form {
11211127
width: 200px;
11221128
}
1123-
.filetypes-option-container {
1129+
.filetypes-option-container,
1130+
.date_post-option-container {
11241131
display: flex;
11251132
flex-direction: column;
11261133
margin: 20px 0 20px 0;
11271134
}
1128-
.filetypes-option:nth-child(odd) {
1135+
.date_post-option-container {
1136+
margin: 10px 0 10px 0;
1137+
}
1138+
.filetypes-option:nth-child(odd),
1139+
.date_post-option:nth-child(odd) label {
11291140
background: #f3f3f3;
11301141
}
11311142

1132-
.filetypes-option input {
1143+
.filetypes-option input,
1144+
.date_post-option input {
11331145
display: none;
11341146
}
1135-
.filetypes-option label {
1147+
.filetypes-option label,
1148+
.date_post-option label {
11361149
display: flex;
11371150
flex-direction: row;
11381151
align-items: baseline;
11391152
position: relative;
11401153
padding: 5px;
11411154
}
1142-
.filetypes-option label .checked-icon{
1155+
.date_post-option label {
1156+
width: 230px;
1157+
transform: translateX(-20px);
1158+
}
1159+
.filetypes-option label .checked-icon,
1160+
.date_post-option label .checked-icon{
11431161
display: none;
11441162
position: absolute;
11451163
left: 0;
@@ -1152,6 +1170,10 @@ li.path-ext-svg a img {
11521170
margin-left: 30px;
11531171
text-transform: uppercase;
11541172
}
1173+
.date_post-option label .date-period{
1174+
margin-left: 30px;
1175+
}
1176+
11551177
.filetypes-option label .ext-badge {
11561178
margin-left: auto;
11571179
background: #ff7700;
@@ -1161,12 +1183,16 @@ li.path-ext-svg a img {
11611183
font-weight: 600;
11621184
}
11631185

1164-
.filetypes-option input:checked + label .checked-icon{
1186+
.filetypes-option input:checked + label .checked-icon,
1187+
.date_post-option input:checked + label .checked-icon{
11651188
display: flex;
11661189
}
11671190
.filetypes-option input:checked + label {
11681191
background: #fff5e8;
11691192
}
1193+
.date_post-option input:checked + label {
1194+
background: rgba(244, 171, 79, 0.17);
1195+
}
11701196

11711197
.filter-album-form {
11721198
width: 400px;

0 commit comments

Comments
 (0)