]>
Commit | Line | Data |
---|---|---|
1 | @use '_variables' as *; | |
2 | @use '_mixins' as *; | |
3 | ||
4 | .root { | |
5 | margin-bottom: 45px; | |
6 | font-size: 15px; | |
7 | } | |
8 | ||
9 | .first-row { | |
10 | display: flex; | |
11 | justify-content: space-between; | |
12 | } | |
13 | ||
14 | .active-filters { | |
15 | display: flex; | |
16 | flex-wrap: wrap; | |
17 | } | |
18 | ||
19 | .filters { | |
20 | display: flex; | |
21 | flex-wrap: wrap; | |
22 | margin-top: 25px; | |
23 | ||
24 | border-bottom: 1px solid $separator-border-color; | |
25 | ||
26 | input[type=radio] + label { | |
27 | font-weight: $font-regular; | |
28 | } | |
29 | ||
30 | .form-group > label:first-child { | |
31 | display: block; | |
32 | ||
33 | &.with-description { | |
34 | margin-bottom: 0; | |
35 | } | |
36 | ||
37 | &:not(.with-description) { | |
38 | margin-bottom: 10px; | |
39 | } | |
40 | } | |
41 | ||
42 | .form-group { | |
43 | @include margin-right(30px); | |
44 | } | |
45 | } | |
46 | ||
47 | .pastille { | |
48 | @include margin-right(15px); | |
49 | ||
50 | border-radius: 24px; | |
51 | padding: 4px 15px; | |
52 | font-size: 16px; | |
53 | margin-bottom: 15px; | |
54 | cursor: pointer; | |
55 | } | |
56 | ||
57 | .filters-toggle { | |
58 | border: 2px solid pvar(--mainForegroundColor); | |
59 | ||
60 | my-global-icon { | |
61 | @include margin-left(5px); | |
62 | } | |
63 | ||
64 | &.active my-global-icon { | |
65 | position: relative; | |
66 | top: -1px; | |
67 | } | |
68 | ||
69 | &:not(.active) { | |
70 | my-global-icon ::ng-deep svg { | |
71 | transform: rotate(180deg); | |
72 | } | |
73 | } | |
74 | } | |
75 | ||
76 | // Than have an icon | |
77 | .filters-toggle, | |
78 | .active-filter.can-remove { | |
79 | padding: 4px 11px 4px 15px; | |
80 | } | |
81 | ||
82 | .active-filter { | |
83 | background-color: pvar(--channelBackgroundColor); | |
84 | display: flex; | |
85 | align-items: center; | |
86 | ||
87 | &:not(.can-remove) { | |
88 | cursor: default; | |
89 | } | |
90 | ||
91 | &.can-remove:hover { | |
92 | opacity: 0.9; | |
93 | } | |
94 | ||
95 | my-global-icon { | |
96 | @include margin-left(10px); | |
97 | ||
98 | width: 16px; | |
99 | color: pvar(--greyForegroundColor); | |
100 | } | |
101 | } | |
102 | ||
103 | .sort { | |
104 | min-width: 200px; | |
105 | max-width: 300px; | |
106 | height: min-content; | |
107 | ||
108 | ::ng-deep { | |
109 | .ng-select-container { | |
110 | height: 33px !important; | |
111 | } | |
112 | ||
113 | .ng-value strong { | |
114 | @include margin-left(5px); | |
115 | } | |
116 | } | |
117 | } | |
118 | ||
119 | my-select-languages, | |
120 | my-select-categories { | |
121 | width: 300px; | |
122 | display: inline-block; | |
123 | } | |
124 | ||
125 | .label-description { | |
126 | font-size: 12px; | |
127 | font-style: italic; | |
128 | margin-bottom: 10px; | |
129 | ||
130 | a { | |
131 | color: pvar(--mainColor); | |
132 | } | |
133 | } | |
134 | ||
135 | @media screen and (max-width: $small-view) { | |
136 | .first-row { | |
137 | flex-direction: column; | |
138 | } | |
139 | } |