blob: c7277f28d9d5feea6cdda025df946b37c363dd6c [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
Faris Ansarif5851972018-07-23 11:55:07 +05309 .layout-main-section {
10 border: none;
Faris Ansarif5851972018-07-23 11:55:07 +053011 font-size: @text-medium;
Faris Ansariea2d1b02018-07-23 18:44:46 +053012 padding-top: 25px;
Faris Ansarif5851972018-07-23 11:55:07 +053013
14 @media (max-width: @screen-xs) {
15 padding-left: 20px;
16 padding-right: 20px;
17 }
18 }
19
Prateeksha Singhbc8caef2018-07-25 10:58:56 +053020 input, textarea {
21 font-size: @text-medium;
22 }
23
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053024 .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 Singhefbd2ee2018-07-30 09:17:14 +053034 .progress-bar {
35 background-color: #89da28;
36 }
37
Prateeksha Singh505f6f12018-07-26 08:06:21 +053038 .subpage-title.flex {
39 align-items: flex-start;
40 justify-content: space-between;
41 }
42
Prateeksha Singhefbd2ee2018-07-30 09:17:14 +053043 .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 Ansarif5851972018-07-23 11:55:07 +053057 .hub-card {
Faris Ansarif5851972018-07-23 11:55:07 +053058 margin-bottom: 25px;
Prateeksha Singhefbd2ee2018-07-30 09:17:14 +053059 position: relative;
60 border: 1px solid @border-color;
Faris Ansarif5851972018-07-23 11:55:07 +053061 border-radius: 4px;
62 overflow: hidden;
63 cursor: pointer;
Faris Ansariea2d1b02018-07-23 18:44:46 +053064
Faris Ansari296848c2018-07-28 16:14:22 +053065 &:hover .hub-card-overlay {
Faris Ansariea2d1b02018-07-23 18:44:46 +053066 display: block;
67 }
Faris Ansari296848c2018-07-28 16:14:22 +053068 }
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053069
Faris Ansari296848c2018-07-28 16:14:22 +053070 .hub-card.is-local {
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053071 &.active {
72 .hub-card-header {
73 background-color: #f4ffe5;
74 }
75
76 .octicon-check {
77 display: inline;
78 }
79 }
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053080
81 .octicon-check {
82 display: none;
Faris Ansari296848c2018-07-28 16:14:22 +053083 position: absolute;
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053084 font-size: 20px;
Faris Ansari296848c2018-07-28 16:14:22 +053085 right: 15px;
86 top: 50%;
87 transform: translateY(-50%);
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +053088 }
Faris Ansarif5851972018-07-23 11:55:07 +053089 }
90
Faris Ansari296848c2018-07-28 16:14:22 +053091 .hub-card-header {
92 position: relative;
93 padding: 12px 15px;
94 height: 60px;
95 border-bottom: 1px solid @border-color;
96 }
97
Faris Ansarif5851972018-07-23 11:55:07 +053098 .hub-card-body {
Faris Ansariea2d1b02018-07-23 18:44:46 +053099 position: relative;
Faris Ansarif5851972018-07-23 11:55:07 +0530100 height: 200px;
101 }
102
Faris Ansari296848c2018-07-28 16:14:22 +0530103 .hub-card-overlay {
Faris Ansariea2d1b02018-07-23 18:44:46 +0530104 display: none;
105 position: absolute;
106 top: 0;
107 width: 100%;
108 height: 100%;
Faris Ansaric0a22a62018-08-01 13:35:19 +0530109 background-color: rgba(0, 0, 0, 0.05);
Faris Ansariea2d1b02018-07-23 18:44:46 +0530110 }
111
Faris Ansari296848c2018-07-28 16:14:22 +0530112 .hub-card-overlay-body {
113 position: relative;
114 height: 100%;
115 }
116
117 .hub-card-overlay-button {
118 position: absolute;
Prateeksha Singhcf2d2a52018-07-25 20:02:12 +0530119 }
120
Faris Ansarif5851972018-07-23 11:55:07 +0530121 .hub-card-image {
122 min-width: 100%;
123 width: 100%;
124 }
125
126 .hub-search-container {
127 margin-bottom: 20px;
128
129 input {
Faris Ansarif5851972018-07-23 11:55:07 +0530130 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 Ansarifd345f82017-10-05 11:17:30 +0530154 }
155
Faris Ansariea2d1b02018-07-23 18:44:46 +0530156 .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 Singhf6f429f2018-07-28 12:25:14 +0530166 .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 Ansariea2d1b02018-07-23 18:44:46 +0530180 .hub-item-seller img {
181 width: 50px;
182 height: 50px;
183 border-radius: 4px;
184 border: 1px solid @border-color;
185 }
Prateeksha Singhbc8caef2018-07-25 10:58:56 +0530186
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 Singhd450c0a2018-07-26 17:24:33 +0530197 .empty-state {
Faris Ansari24d5f172018-07-26 19:22:58 +0530198 height: 500px;
Prateeksha Singhd450c0a2018-07-26 17:24:33 +0530199 }
200
Prateeksha Singhbc8caef2018-07-25 10:58:56 +0530201 .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 Ansariabcc8ab2018-07-28 13:57:16 +0530212
213 .hub-item-container {
214 overflow: hidden;
215 }
216
217 .hub-item-review-container {
218 margin-top: calc(30vh);
219 }
Faris Ansaric0a22a62018-08-01 13:35:19 +0530220
221 .hub-item-dropdown {
222 margin-top: 20px;
223 }
Faris Ansariea2d1b02018-07-23 18:44:46 +0530224}