Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 1 | @import "../../../../frappe/frappe/public/less/variables.less"; |
2 | |||||
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 3 | body[data-route^="marketplace/"] { |
4 | .layout-side-section { | ||||
5 | padding-top: 25px; | ||||
6 | padding-right: 25px; | ||||
Prateeksha Singh | b8e9c9b | 2018-01-25 09:18:32 +0530 | [diff] [blame] | 7 | } |
8 | |||||
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 9 | .layout-main-section { |
10 | border: none; | ||||
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 11 | font-size: @text-medium; |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 12 | padding-top: 25px; |
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 13 | |
14 | @media (max-width: @screen-xs) { | ||||
15 | padding-left: 20px; | ||||
16 | padding-right: 20px; | ||||
17 | } | ||||
18 | } | ||||
19 | |||||
Prateeksha Singh | bc8caef | 2018-07-25 10:58:56 +0530 | [diff] [blame] | 20 | input, textarea { |
21 | font-size: @text-medium; | ||||
22 | } | ||||
23 | |||||
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 24 | .btn-primary { |
25 | background-color: #89da28; | ||||
26 | border-color: #61ca23; | ||||
27 | } | ||||
28 | |||||
29 | .btn-primary:hover { | ||||
30 | background-color: #61ca23; | ||||
31 | border-color: #59b81c; | ||||
32 | } | ||||
33 | |||||
Prateeksha Singh | efbd2ee | 2018-07-30 09:17:14 +0530 | [diff] [blame] | 34 | .progress-bar { |
35 | background-color: #89da28; | ||||
36 | } | ||||
37 | |||||
Prateeksha Singh | 505f6f1 | 2018-07-26 08:06:21 +0530 | [diff] [blame] | 38 | .subpage-title.flex { |
39 | align-items: flex-start; | ||||
40 | justify-content: space-between; | ||||
41 | } | ||||
42 | |||||
Prateeksha Singh | efbd2ee | 2018-07-30 09:17:14 +0530 | [diff] [blame] | 43 | .subpage-message { |
44 | p { | ||||
45 | padding: 10px 15px; | ||||
46 | margin-top: 0px; | ||||
47 | margin-bottom: 15px; | ||||
48 | background-color: #f9fbf7; | ||||
49 | justify-content: space-between; | ||||
50 | } | ||||
51 | |||||
52 | .octicon-x { | ||||
53 | cursor: pointer; | ||||
54 | } | ||||
55 | } | ||||
56 | |||||
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 57 | .hub-card { |
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 58 | margin-bottom: 25px; |
Prateeksha Singh | efbd2ee | 2018-07-30 09:17:14 +0530 | [diff] [blame] | 59 | position: relative; |
60 | border: 1px solid @border-color; | ||||
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 61 | border-radius: 4px; |
62 | overflow: hidden; | ||||
63 | cursor: pointer; | ||||
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 64 | |
Faris Ansari | 296848c | 2018-07-28 16:14:22 +0530 | [diff] [blame] | 65 | &:hover .hub-card-overlay { |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 66 | display: block; |
67 | } | ||||
Faris Ansari | 296848c | 2018-07-28 16:14:22 +0530 | [diff] [blame] | 68 | } |
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 69 | |
Faris Ansari | 296848c | 2018-07-28 16:14:22 +0530 | [diff] [blame] | 70 | .hub-card.is-local { |
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 71 | &.active { |
72 | .hub-card-header { | ||||
73 | background-color: #f4ffe5; | ||||
74 | } | ||||
75 | |||||
76 | .octicon-check { | ||||
77 | display: inline; | ||||
78 | } | ||||
79 | } | ||||
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 80 | |
81 | .octicon-check { | ||||
82 | display: none; | ||||
Faris Ansari | 296848c | 2018-07-28 16:14:22 +0530 | [diff] [blame] | 83 | position: absolute; |
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 84 | font-size: 20px; |
Faris Ansari | 296848c | 2018-07-28 16:14:22 +0530 | [diff] [blame] | 85 | right: 15px; |
86 | top: 50%; | ||||
87 | transform: translateY(-50%); | ||||
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 88 | } |
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 89 | } |
90 | |||||
Faris Ansari | 296848c | 2018-07-28 16:14:22 +0530 | [diff] [blame] | 91 | .hub-card-header { |
92 | position: relative; | ||||
93 | padding: 12px 15px; | ||||
94 | height: 60px; | ||||
95 | border-bottom: 1px solid @border-color; | ||||
96 | } | ||||
97 | |||||
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 98 | .hub-card-body { |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 99 | position: relative; |
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 100 | height: 200px; |
101 | } | ||||
102 | |||||
Faris Ansari | 296848c | 2018-07-28 16:14:22 +0530 | [diff] [blame] | 103 | .hub-card-overlay { |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 104 | display: none; |
105 | position: absolute; | ||||
106 | top: 0; | ||||
107 | width: 100%; | ||||
108 | height: 100%; | ||||
Faris Ansari | c0a22a6 | 2018-08-01 13:35:19 +0530 | [diff] [blame] | 109 | background-color: rgba(0, 0, 0, 0.05); |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 110 | } |
111 | |||||
Faris Ansari | 296848c | 2018-07-28 16:14:22 +0530 | [diff] [blame] | 112 | .hub-card-overlay-body { |
113 | position: relative; | ||||
114 | height: 100%; | ||||
115 | } | ||||
116 | |||||
117 | .hub-card-overlay-button { | ||||
118 | position: absolute; | ||||
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 119 | } |
120 | |||||
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 121 | .hub-card-image { |
122 | min-width: 100%; | ||||
123 | width: 100%; | ||||
124 | } | ||||
125 | |||||
126 | .hub-search-container { | ||||
127 | margin-bottom: 20px; | ||||
128 | |||||
129 | input { | ||||
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 130 | height: 32px; |
131 | } | ||||
132 | } | ||||
133 | |||||
134 | .hub-sidebar { | ||||
135 | padding-top: 25px; | ||||
136 | padding-right: 15px; | ||||
137 | } | ||||
138 | |||||
139 | .hub-sidebar-group { | ||||
140 | margin-bottom: 10px; | ||||
141 | } | ||||
142 | |||||
143 | .hub-sidebar-item { | ||||
144 | padding: 5px 8px; | ||||
145 | margin-bottom: 3px; | ||||
146 | border-radius: 4px; | ||||
147 | border: 1px solid transparent; | ||||
148 | |||||
149 | cursor: pointer; | ||||
150 | |||||
151 | &.active, &:hover:not(.is-title) { | ||||
152 | border-color: @border-color; | ||||
153 | } | ||||
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 154 | } |
155 | |||||
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 156 | .hub-item-image { |
157 | border: 1px solid @border-color; | ||||
158 | border-radius: 4px; | ||||
159 | overflow: hidden; | ||||
160 | height: 200px; | ||||
161 | width: 200px; | ||||
162 | display: flex; | ||||
163 | align-items: center; | ||||
164 | } | ||||
165 | |||||
Prateeksha Singh | f6f429f | 2018-07-28 12:25:14 +0530 | [diff] [blame] | 166 | .hub-item-skeleton-image { |
167 | border-radius: 4px; | ||||
168 | background-color: @light-bg; | ||||
169 | overflow: hidden; | ||||
170 | height: 200px; | ||||
171 | width: 200px; | ||||
172 | } | ||||
173 | |||||
174 | .hub-skeleton { | ||||
175 | background-color: @light-bg; | ||||
176 | color: @light-bg; | ||||
177 | max-width: 500px; | ||||
178 | } | ||||
179 | |||||
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 180 | .hub-item-seller img { |
181 | width: 50px; | ||||
182 | height: 50px; | ||||
183 | border-radius: 4px; | ||||
184 | border: 1px solid @border-color; | ||||
185 | } | ||||
Prateeksha Singh | bc8caef | 2018-07-25 10:58:56 +0530 | [diff] [blame] | 186 | |
187 | .register-title { | ||||
188 | font-size: @text-regular; | ||||
189 | } | ||||
190 | |||||
191 | .register-form { | ||||
192 | border: 1px solid @border-color; | ||||
193 | border-radius: 4px; | ||||
194 | padding: 15px 25px; | ||||
195 | } | ||||
196 | |||||
Prateeksha Singh | d450c0a | 2018-07-26 17:24:33 +0530 | [diff] [blame] | 197 | .empty-state { |
Faris Ansari | 24d5f17 | 2018-07-26 19:22:58 +0530 | [diff] [blame] | 198 | height: 500px; |
Prateeksha Singh | d450c0a | 2018-07-26 17:24:33 +0530 | [diff] [blame] | 199 | } |
200 | |||||
Prateeksha Singh | bc8caef | 2018-07-25 10:58:56 +0530 | [diff] [blame] | 201 | .form-container { |
202 | .frappe-control { | ||||
203 | max-width: 100% !important; | ||||
204 | } | ||||
205 | } | ||||
206 | |||||
207 | .form-message { | ||||
208 | padding-top: 0; | ||||
209 | padding-bottom: 0; | ||||
210 | border-bottom: none; | ||||
211 | } | ||||
Faris Ansari | abcc8ab | 2018-07-28 13:57:16 +0530 | [diff] [blame] | 212 | |
213 | .hub-item-container { | ||||
214 | overflow: hidden; | ||||
215 | } | ||||
216 | |||||
217 | .hub-item-review-container { | ||||
218 | margin-top: calc(30vh); | ||||
219 | } | ||||
Faris Ansari | c0a22a6 | 2018-08-01 13:35:19 +0530 | [diff] [blame] | 220 | |
221 | .hub-item-dropdown { | ||||
222 | margin-top: 20px; | ||||
223 | } | ||||
Faris Ansari | 2a81b4a | 2018-08-01 19:19:53 +0530 | [diff] [blame] | 224 | |
225 | /* messages page */ | ||||
226 | |||||
227 | .message-list-item { | ||||
228 | display: flex; | ||||
229 | align-items: center; | ||||
230 | padding: 8px 12px; | ||||
231 | cursor: pointer; | ||||
232 | |||||
233 | &:not(.active) { | ||||
234 | filter: grayscale(1); | ||||
235 | color: @text-muted; | ||||
236 | } | ||||
237 | |||||
238 | &:hover { | ||||
239 | background-color: @light-bg; | ||||
240 | } | ||||
241 | |||||
242 | .list-item-left { | ||||
243 | width: 30px; | ||||
244 | border-radius: 4px; | ||||
245 | overflow: hidden; | ||||
246 | margin-right: 15px; | ||||
247 | } | ||||
248 | |||||
249 | .list-item-body { | ||||
250 | font-weight: bold; | ||||
251 | padding-bottom: 1px; | ||||
252 | } | ||||
253 | } | ||||
254 | |||||
255 | .message-list { | ||||
256 | overflow: scroll; | ||||
257 | } | ||||
258 | |||||
259 | .message-area { | ||||
260 | border-radius: 4px; | ||||
261 | justify-content: space-between; | ||||
262 | height: calc(100vh - 220px); | ||||
263 | } | ||||
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 264 | } |