Skip to content

Commit 5965f5c

Browse files
committed
Fix explore-filter in studios
1 parent 0bc7de1 commit 5965f5c

File tree

1 file changed

+110
-0
lines changed

1 file changed

+110
-0
lines changed

features/explore-filter/style.css

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
.ste-filter-button {
2+
margin: 5px 0;
3+
padding: 1px 15px;
4+
white-space: nowrap;
5+
display: flex;
6+
border: 1px solid #d9d9d9;
7+
border-radius: 5px;
8+
}
9+
.ste-filter-button p:not(.ste-reset) {
10+
margin: auto;
11+
margin-left: 5px;
12+
cursor: pointer;
13+
}
14+
.ste-reset {
15+
margin: auto;
16+
cursor: pointer;
17+
}
18+
.ste-filter-button img {
19+
width: 1.2rem;
20+
}
21+
22+
.ste-filter-bar {
23+
display: flex;
24+
margin: 0 auto;
25+
border-bottom: 1px solid #d9d9d9;
26+
padding: 8px 0;
27+
max-width: 58.75rem;
28+
justify-content: space-between;
29+
}
30+
.ste-filter-bar img {
31+
width: 1.5rem;
32+
transform: scale(.6);
33+
margin-left: -.35rem;
34+
}
35+
.ste-filter-bar .sort-mode {
36+
margin: auto 0;
37+
height: 32px;
38+
}
39+
.ste-filter-bar .control-label {
40+
display: none;
41+
}
42+
43+
.ste-filter-settings {
44+
display: flex;
45+
}
46+
.ste-filter-bar .ste-filter-button {
47+
margin: 5px;
48+
}
49+
50+
.ste-filter-button.active {
51+
border-color: #855cd6;
52+
background-color: #855cd6;
53+
}
54+
.ste-filter-button.active p {
55+
color: white;
56+
}
57+
.ste-filter-button.active img {
58+
filter: brightness(0) invert(1);
59+
}
60+
61+
.ste-project-filter-details {
62+
margin: 5px 0;
63+
border-radius: 5px;
64+
background-color: #79797929;
65+
}
66+
.ste-project-filter-details summary {
67+
display: list-item;
68+
padding: 6px;
69+
background-color: #ffce7f;
70+
border-radius: 5px;
71+
cursor: pointer;
72+
}
73+
.ste-project-filter-details button {
74+
background-color: white;
75+
margin-top: 5px !important;
76+
}
77+
.ste-project-filter-details div {
78+
margin-left: 20px;
79+
padding-bottom: 5px;
80+
81+
}
82+
.ste-project-filter-details input {
83+
background-color: white;
84+
margin-bottom: 0;
85+
}
86+
87+
.ste-filter-text {
88+
display: inline-block;
89+
margin: .9em .2em 0;
90+
padding: .45em .7em;
91+
border: 2px solid #d68b5c;
92+
border-radius: 10px;
93+
background-color: #fff;
94+
color: #d68b5c;
95+
cursor: pointer;
96+
transition: all 0.2s 0s ease;
97+
}
98+
.ste-filter-text:hover {
99+
border: 2px solid #d13636;
100+
color: #d13636;
101+
background-color: #ffe1e1;
102+
}
103+
104+
#app.ste-filter-mode-blur .ste-filter-hide {
105+
filter: opacity(.3) blur(.15rem);
106+
}
107+
108+
#app.ste-filter-mode-hide .ste-filter-hide {
109+
display: none;
110+
}

0 commit comments

Comments
 (0)