blob: d8ac9dd9c9d23280b2b382d8d0422d82dd96c559 [file] [log] [blame]
Faris Ansarifd345f82017-10-05 11:17:30 +05301@import "../../../../frappe/frappe/public/less/variables.less";
2
Faris Ansariea2d1b02018-07-23 18:44:46 +05303body[data-route^="marketplace/"] {
4 .layout-side-section {
5 padding-top: 25px;
6 padding-right: 25px;
Prateeksha Singhb8e9c9b2018-01-25 09:18:32 +05307 }
8
Prateeksha Singh318cca82018-08-07 12:41:21 +05309 [data-route] {
10 cursor: pointer;
11 }
12
Faris Ansarif5851972018-07-23 11:55:07 +053013 .layout-main-section {
14 border: none;
Faris Ansarif5851972018-07-23 11:55:07 +053015 font-size: @text-medium;
Faris Ansariea2d1b02018-07-23 18:44:46 +053016 padding-top: 25px;
Faris Ansarif5851972018-07-23 11:55:07 +053017
18 @media (max-width: @screen-xs) {
19 padding-left: 20px;
20 padding-right: 20px;
21 }
22 }
23
Prateeksha Singhbc8caef2018-07-25 10:58:56 +053024 input, textarea {
25 font-size: @text-medium;
26 }
27
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053028 .btn-primary {
29 background-color: #89da28;
30 border-color: #61ca23;
31 }
32
33 .btn-primary:hover {
34 background-color: #61ca23;
35 border-color: #59b81c;
36 }
37
Prateeksha Singhefbd2ee2018-07-30 09:17:14 +053038 .progress-bar {
39 background-color: #89da28;
40 }
41
Prateeksha Singh505f6f12018-07-26 08:06:21 +053042 .subpage-title.flex {
43 align-items: flex-start;
44 justify-content: space-between;
45 }
46
Prateeksha Singhefbd2ee2018-07-30 09:17:14 +053047 .subpage-message {
48 p {
49 padding: 10px 15px;
50 margin-top: 0px;
51 margin-bottom: 15px;
52 background-color: #f9fbf7;
53 justify-content: space-between;
54 }
55
56 .octicon-x {
57 cursor: pointer;
58 }
59 }
60
Faris Ansarif5851972018-07-23 11:55:07 +053061 .hub-card {
Faris Ansarif5851972018-07-23 11:55:07 +053062 margin-bottom: 25px;
Prateeksha Singhefbd2ee2018-07-30 09:17:14 +053063 position: relative;
64 border: 1px solid @border-color;
Faris Ansarif5851972018-07-23 11:55:07 +053065 border-radius: 4px;
66 overflow: hidden;
Faris Ansariea2d1b02018-07-23 18:44:46 +053067
Faris Ansari296848c2018-07-28 16:14:22 +053068 &:hover .hub-card-overlay {
Faris Ansariea2d1b02018-07-23 18:44:46 +053069 display: block;
70 }
Faris Ansari296848c2018-07-28 16:14:22 +053071 }
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053072
Faris Ansari296848c2018-07-28 16:14:22 +053073 .hub-card.is-local {
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053074 &.active {
75 .hub-card-header {
76 background-color: #f4ffe5;
77 }
78
79 .octicon-check {
80 display: inline;
81 }
82 }
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053083
84 .octicon-check {
85 display: none;
Faris Ansari296848c2018-07-28 16:14:22 +053086 position: absolute;
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053087 font-size: 20px;
Faris Ansari296848c2018-07-28 16:14:22 +053088 right: 15px;
89 top: 50%;
90 transform: translateY(-50%);
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053091 }
Faris Ansarif5851972018-07-23 11:55:07 +053092 }
93
Faris Ansari296848c2018-07-28 16:14:22 +053094 .hub-card-header {
95 position: relative;
96 padding: 12px 15px;
97 height: 60px;
98 border-bottom: 1px solid @border-color;
99 }
100
Faris Ansarif5851972018-07-23 11:55:07 +0530101 .hub-card-body {
Faris Ansariea2d1b02018-07-23 18:44:46 +0530102 position: relative;
Faris Ansarif5851972018-07-23 11:55:07 +0530103 height: 200px;
104 }
105
Faris Ansari296848c2018-07-28 16:14:22 +0530106 .hub-card-overlay {
Faris Ansariea2d1b02018-07-23 18:44:46 +0530107 display: none;
108 position: absolute;
109 top: 0;
110 width: 100%;
111 height: 100%;
Faris Ansaric0a22a62018-08-01 13:35:19 +0530112 background-color: rgba(0, 0, 0, 0.05);
Faris Ansariea2d1b02018-07-23 18:44:46 +0530113 }
114
Faris Ansari296848c2018-07-28 16:14:22 +0530115 .hub-card-overlay-body {
116 position: relative;
117 height: 100%;
118 }
119
120 .hub-card-overlay-button {
121 position: absolute;
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +0530122 }
123
Faris Ansarif5851972018-07-23 11:55:07 +0530124 .hub-card-image {
125 min-width: 100%;
126 width: 100%;
127 }
128
129 .hub-search-container {
130 margin-bottom: 20px;
131
132 input {
Faris Ansarif5851972018-07-23 11:55:07 +0530133 height: 32px;
134 }
135 }
136
137 .hub-sidebar {
138 padding-top: 25px;
139 padding-right: 15px;
140 }
141
142 .hub-sidebar-group {
143 margin-bottom: 10px;
144 }
145
146 .hub-sidebar-item {
147 padding: 5px 8px;
148 margin-bottom: 3px;
149 border-radius: 4px;
150 border: 1px solid transparent;
151
Faris Ansarif5851972018-07-23 11:55:07 +0530152 &.active, &:hover:not(.is-title) {
153 border-color: @border-color;
154 }
Faris Ansarifd345f82017-10-05 11:17:30 +0530155 }
156
Faris Ansariea2d1b02018-07-23 18:44:46 +0530157 .hub-item-image {
158 border: 1px solid @border-color;
159 border-radius: 4px;
160 overflow: hidden;
161 height: 200px;
162 width: 200px;
163 display: flex;
164 align-items: center;
165 }
166
Prateeksha Singhf6f429f2018-07-28 12:25:14 +0530167 .hub-item-skeleton-image {
168 border-radius: 4px;
169 background-color: @light-bg;
170 overflow: hidden;
171 height: 200px;
172 width: 200px;
173 }
174
175 .hub-skeleton {
176 background-color: @light-bg;
177 color: @light-bg;
178 max-width: 500px;
179 }
180
Faris Ansariea2d1b02018-07-23 18:44:46 +0530181 .hub-item-seller img {
182 width: 50px;
183 height: 50px;
184 border-radius: 4px;
185 border: 1px solid @border-color;
186 }
Prateeksha Singhbc8caef2018-07-25 10:58:56 +0530187
188 .register-title {
189 font-size: @text-regular;
190 }
191
192 .register-form {
193 border: 1px solid @border-color;
194 border-radius: 4px;
195 padding: 15px 25px;
196 }
197
Prateeksha Singhd450c0a2018-07-26 17:24:33 +0530198 .empty-state {
Faris Ansari24d5f172018-07-26 19:22:58 +0530199 height: 500px;
Prateeksha Singhd450c0a2018-07-26 17:24:33 +0530200 }
201
Prateeksha Singhbc8caef2018-07-25 10:58:56 +0530202 .form-container {
203 .frappe-control {
204 max-width: 100% !important;
205 }
206 }
207
208 .form-message {
209 padding-top: 0;
210 padding-bottom: 0;
211 border-bottom: none;
212 }
Faris Ansariabcc8ab2018-07-28 13:57:16 +0530213
Prateeksha Singh658d1bb2018-08-06 19:13:10 +0530214 .hub-card-container {
Prateeksha Singh318cca82018-08-07 12:41:21 +0530215 .hub-card-container-header {
216 margin-top: 32px;
217 justify-content: space-between;
218 align-items: baseline;
219
220 h4 {
221 font-weight: 500;
222 }
Prateeksha Singh658d1bb2018-08-06 19:13:10 +0530223 }
224 }
225
Faris Ansariabcc8ab2018-07-28 13:57:16 +0530226 .hub-item-container {
227 overflow: hidden;
228 }
229
230 .hub-item-review-container {
231 margin-top: calc(30vh);
232 }
Faris Ansaric0a22a62018-08-01 13:35:19 +0530233
234 .hub-item-dropdown {
235 margin-top: 20px;
236 }
Faris Ansari2a81b4a2018-08-01 19:19:53 +0530237
238 /* messages page */
239
240 .message-list-item {
241 display: flex;
242 align-items: center;
243 padding: 8px 12px;
Faris Ansari2a81b4a2018-08-01 19:19:53 +0530244
245 &:not(.active) {
246 filter: grayscale(1);
247 color: @text-muted;
248 }
249
250 &:hover {
251 background-color: @light-bg;
252 }
253
254 .list-item-left {
255 width: 30px;
256 border-radius: 4px;
257 overflow: hidden;
258 margin-right: 15px;
259 }
260
261 .list-item-body {
262 font-weight: bold;
263 padding-bottom: 1px;
264 }
265 }
266
267 .message-list {
268 overflow: scroll;
269 }
270
271 .message-area {
272 border-radius: 4px;
273 justify-content: space-between;
274 height: calc(100vh - 220px);
275 }
Faris Ansariea2d1b02018-07-23 18:44:46 +0530276}