PluginProbe
StockPack – Stock photos and AI images from Unsplash, Adobe Stock, Freepik and more / 2.1
StockPack – Stock photos and AI images from Unsplash, Adobe Stock, Freepik and more v2.1
3.7.0 3.6.0 3.6.1 3.5.2 trunk 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.6.0 2.6.1 3.0.0 3.0.1 All 71 releases
stockpack / assets / sass / filters.scss

filters.scss in StockPack – Stock photos and AI images from Unsplash, Adobe Stock, Freepik and more 2.1, at assets/sass/filters.scss

184 lines 3.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .stockpack-browser {
2 &.attachments-browser {
3 .media-toolbar {
4 overflow: visible;
5 }
6 }
7 }
8
9 .stockpack-close-filter {
10 position: absolute;
11 top: 10px;
12 right: 10px;
13 height: 20px;
14 width: 20px;
15 overflow: hidden;
16 &:after {
17 font-family: "dashicons";
18 content: "\f158";
19 display: inline-block;
20 -webkit-font-smoothing: antialiased;
21 font-size: 20px;
22 vertical-align: middle;
23 }
24 &:hover {
25 cursor: pointer;
26 &:after {
27 color: #0073aa;
28 }
29 }
30 }
31
32 #stockpack-advanced-area {
33 display: inline-block;
34 position: relative;
35 @include rmm(640, 690) {
36 display: block;
37 }
38 @include rmm(200, 360) {
39 display: block;
40 }
41 #stockpack-advanced-filters {
42 position: absolute;
43 width: 400px;
44 padding: 20px;
45 top: 30px;
46 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
47 background: #fcfcfc;
48 display: none;
49 overflow-y: scroll;
50 max-height: calc(100vh - 300px);
51 @include r(900) {
52 top: 50px;
53 }
54 @include rmm(640, 690) {
55 top: 50px;
56 }
57 @include r(640) {
58 left: -142px;
59 }
60 @include r(480) {
61 width: 300px;
62 left: -35%;
63 }
64 @include r(370) {
65 width: 250px;
66 left: -18%;
67 }
68 @include rmm(200, 360) {
69 top: 50px;
70 }
71 &.visible {
72 display: block;
73 }
74 }
75 }
76
77 .stockpack-filters-trigger {
78 padding-right: 10px;
79 cursor: pointer;
80
81 @include r(900) {
82 text-align: right;
83 padding-top: 16px;
84 font-size: 14px;
85 }
86 @include rmm(640, 690) {
87 margin-top: 30px;
88 text-align: right;
89 }
90 @include rmm(200, 360) {
91 margin-top: 30px;
92 text-align: right;
93 }
94 }
95
96 // todo implement popup for filters
97 // remove toolbar overflow hidden
98 // adjust mobile
99
100 .stockpack-filters-sub-container {
101 .advanced-filters {
102 width: 40%;
103 float: left;
104 padding-bottom: 15px;
105 margin-right: 10%;
106 min-width: 150px;
107 span.group-label {
108 display: block;
109 font-weight: bold;
110 padding-bottom: 10px;
111 }
112 span.checkbox-component {
113 display: inline-block;
114 padding-right: 10px;
115 padding-bottom: 10px;
116 label {
117 top: -3px;
118 position: relative;
119 }
120 }
121 span.radio-component {
122 display: block;
123 padding-bottom: 10px;
124 label {
125 top: -3px;
126 position: relative;
127 }
128 }
129 }
130 }
131
132 .stockpack-filters-actions {
133 clear: both;
134 text-align: right;
135 }
136
137 #stockpack-category-filter {
138 margin-bottom: 26px;
139 }
140
141 #stockpack-color-filter {
142 width: 100%;
143 }
144
145 .stockpack-browser {
146 .media-toolbar-primary {
147 //max-width: 100%;
148 //width: 360px;
149 @include rmm(900, 1000) {
150 width: 285px;
151 }
152 @include r(750) {
153 width: 300px;
154 max-width: 70%;
155 }
156 @include rmm(640, 690) {
157 width: 250px;
158 }
159 @include rmm(200, 360) {
160 width: 250px;
161 }
162 .search {
163 @include r(900) {
164 width: 235px;
165 }
166 @include r(750) {
167 width: 175px;
168 }
169 @include rmm(640, 690) {
170 margin-top: -50px;
171 }
172 @include rmm(200, 360) {
173 //margin-top: -50px;
174 }
175
176 }
177 }
178 }
179
180 .media-router > a {
181 @include r(325) {
182 font-size: 13px;
183 }
184 }