PluginProbe
StockPack – Stock photos and AI images from Unsplash, Adobe Stock, Freepik and more / 3.7.1
StockPack – Stock photos and AI images from Unsplash, Adobe Stock, Freepik and more v3.7.1
3.7.2 3.7.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 All 73 releases
stockpack / assets / sass / toolbar.scss

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

176 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .stockpack-sidebar .stockpack-attribution.in-sidebar {
2 display: block;
3 width: auto;
4
5 .attribution {
6 position: static;
7 width: auto;
8 max-width: none;
9 margin: 16px 0 12px;
10 }
11 }
12
13 .media-toolbar {
14 .stockpack-attribution {
15 display: inline-block;
16 &.hidden{
17 display: none;
18 }
19 .attribution{
20 margin-left: 0;
21 margin-top: 23px;
22 @include r(1080) {
23 width: 280px;
24 position: fixed;
25 bottom:40px;
26 max-width: 70%;
27 }
28 @include r(785) {
29 bottom:20px;
30 }
31
32 @include r(640) {
33 bottom:-11px;
34 }
35 @include r(520) {
36 bottom:54px;
37 }
38 }
39 .author-info{
40 display: block;
41 }
42 }
43 }
44
45 .media-toolbar-primary.stockpack-generating {
46 .search,
47 label[for="stockpack-search-input"]="stockpack-search-input""] {
48 display: none !important;
49 }
50
51 .spinner {
52 display: none !important;
53 }
54 }
55
56 .stockpack-generate {
57 display: none;
58 align-items: center;
59 gap: 4px;
60 margin: 0 4px;
61 max-width: 100%;
62 min-width: 0;
63
64 .stockpack-generate-prompt {
65 min-width: 160px;
66 flex: 1 1 220px;
67 margin: 0;
68 }
69
70 .stockpack-generate-model {
71 margin: 0;
72 }
73
74 .stockpack-generate-button {
75 flex: 0 0 auto;
76 }
77
78 .stockpack-generate-cost {
79 flex: 0 0 auto;
80 font-size: 12px;
81 color: #646970;
82 white-space: nowrap;
83 cursor: help;
84 }
85
86 .stockpack-generate-clear {
87 flex: 0 0 auto;
88 display: none;
89 font-size: 12px;
90 cursor: pointer;
91 white-space: nowrap;
92 }
93
94 .stockpack-generate-status {
95 display: none;
96 flex: 0 0 auto;
97 align-items: center;
98 gap: 6px;
99 font-size: 12px;
100 color: #1d2327;
101 white-space: nowrap;
102 }
103
104 .stockpack-generate-cost.is-unavailable {
105 flex: 1 1 220px;
106 white-space: normal;
107 line-height: 1.3;
108 }
109
110 .stockpack-generate-balance {
111 flex: 0 0 auto;
112 display: none;
113 font-size: 12px;
114 color: #1d2327;
115 white-space: nowrap;
116 }
117
118 .stockpack-generate-pulse {
119 width: 8px;
120 height: 8px;
121 border-radius: 999px;
122 background: #2271b1;
123 animation: stockpack-pulse 1.1s ease-in-out infinite;
124 }
125
126 .stockpack-generate-refine-label {
127 flex: 0 0 auto;
128 display: none;
129 align-items: center;
130 gap: 4px;
131 font-size: 12px;
132 white-space: nowrap;
133
134 input {
135 margin: 0;
136 }
137 }
138
139 &.is-generating {
140 .stockpack-generate-status {
141 display: inline-flex;
142 }
143
144 .stockpack-generate-cost,
145 .stockpack-generate-balance,
146 .stockpack-generate-clear,
147 .stockpack-generate-refine-label {
148 display: none !important;
149 }
150 }
151 }
152
153 @keyframes stockpack-pulse {
154 0%, 100% { opacity: 1; transform: scale(1); }
155 50% { opacity: 0.35; transform: scale(0.6); }
156 }
157
158 @media (prefers-reduced-motion: reduce) {
159 .stockpack-generate .stockpack-generate-pulse {
160 animation: none;
161 }
162 }
163
164 .media-frame .stockpack-generate select,
165 .wp-admin .media-frame .stockpack-generate select,
166 .media-frame .stockpack-generate .stockpack-generate-button,
167 .wp-admin .media-frame .stockpack-generate .stockpack-generate-button,
168 .media-frame .stockpack-generate .stockpack-generate-prompt {
169 height: 32px;
170 min-height: 32px;
171 line-height: 30px;
172 box-sizing: border-box;
173 font-size: 14px;
174 margin: 0;
175 }
176