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 | 505f6f1 | 2018-07-26 08:06:21 +0530 | [diff] [blame] | 34 | .subpage-title.flex { |
| 35 | align-items: flex-start; |
| 36 | justify-content: space-between; |
| 37 | } |
| 38 | |
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 39 | .hub-card { |
| 40 | border: 1px solid @border-color; |
| 41 | margin-bottom: 25px; |
| 42 | border-radius: 4px; |
| 43 | overflow: hidden; |
| 44 | cursor: pointer; |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 45 | |
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 46 | &:hover .overlay { |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 47 | display: block; |
| 48 | } |
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 49 | |
| 50 | &.active { |
| 51 | .hub-card-header { |
| 52 | background-color: #f4ffe5; |
| 53 | } |
| 54 | |
| 55 | .octicon-check { |
| 56 | display: inline; |
| 57 | } |
| 58 | } |
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 59 | } |
| 60 | |
| 61 | .hub-card-header { |
| 62 | padding: 12px 15px; |
| 63 | height: 60px; |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 64 | border-bottom: 1px solid @border-color; |
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 65 | |
| 66 | display: flex; |
| 67 | justify-content: space-between; |
| 68 | |
| 69 | .octicon-check { |
| 70 | display: none; |
| 71 | font-size: 20px; |
| 72 | } |
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 73 | } |
| 74 | |
| 75 | .hub-card-body { |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 76 | position: relative; |
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 77 | height: 200px; |
| 78 | } |
| 79 | |
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 80 | .overlay { |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 81 | display: none; |
| 82 | position: absolute; |
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 83 | } |
| 84 | |
| 85 | .hub-card-overlay { |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 86 | top: 0; |
| 87 | width: 100%; |
| 88 | height: 100%; |
| 89 | background-color: rgba(0, 0, 0, 0.1); |
| 90 | } |
| 91 | |
Prateeksha Singh | cf2d2a5 | 2018-07-25 20:02:12 +0530 | [diff] [blame] | 92 | .button-overlay { |
| 93 | top: 155px; |
| 94 | left: 15px; |
| 95 | } |
| 96 | |
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 97 | .hub-card-image { |
| 98 | min-width: 100%; |
| 99 | width: 100%; |
| 100 | } |
| 101 | |
| 102 | .hub-search-container { |
| 103 | margin-bottom: 20px; |
| 104 | |
| 105 | input { |
Faris Ansari | f585197 | 2018-07-23 11:55:07 +0530 | [diff] [blame] | 106 | height: 32px; |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | .hub-sidebar { |
| 111 | padding-top: 25px; |
| 112 | padding-right: 15px; |
| 113 | } |
| 114 | |
| 115 | .hub-sidebar-group { |
| 116 | margin-bottom: 10px; |
| 117 | } |
| 118 | |
| 119 | .hub-sidebar-item { |
| 120 | padding: 5px 8px; |
| 121 | margin-bottom: 3px; |
| 122 | border-radius: 4px; |
| 123 | border: 1px solid transparent; |
| 124 | |
| 125 | cursor: pointer; |
| 126 | |
| 127 | &.active, &:hover:not(.is-title) { |
| 128 | border-color: @border-color; |
| 129 | } |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 130 | } |
| 131 | |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 132 | .hub-item-image { |
| 133 | border: 1px solid @border-color; |
| 134 | border-radius: 4px; |
| 135 | overflow: hidden; |
| 136 | height: 200px; |
| 137 | width: 200px; |
| 138 | display: flex; |
| 139 | align-items: center; |
| 140 | } |
| 141 | |
| 142 | .hub-item-seller img { |
| 143 | width: 50px; |
| 144 | height: 50px; |
| 145 | border-radius: 4px; |
| 146 | border: 1px solid @border-color; |
| 147 | } |
Prateeksha Singh | bc8caef | 2018-07-25 10:58:56 +0530 | [diff] [blame] | 148 | |
| 149 | .register-title { |
| 150 | font-size: @text-regular; |
| 151 | } |
| 152 | |
| 153 | .register-form { |
| 154 | border: 1px solid @border-color; |
| 155 | border-radius: 4px; |
| 156 | padding: 15px 25px; |
| 157 | } |
| 158 | |
| 159 | .form-container { |
| 160 | .frappe-control { |
| 161 | max-width: 100% !important; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | .form-message { |
| 166 | padding-top: 0; |
| 167 | padding-bottom: 0; |
| 168 | border-bottom: none; |
| 169 | } |
Faris Ansari | ea2d1b0 | 2018-07-23 18:44:46 +0530 | [diff] [blame] | 170 | } |
| 171 | |
| 172 | body[data-route^="Hub/"] { |
| 173 | .hub-icon { |
| 174 | width: 40px; |
| 175 | height: 40px; |
| 176 | } |
| 177 | |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 178 | .img-wrapper { |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 179 | border: 1px solid #d1d8dd; |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 180 | border-radius: 3px; |
| 181 | padding: 12px; |
| 182 | overflow: hidden; |
| 183 | text-align: center; |
| 184 | white-space: nowrap; |
| 185 | |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 186 | .helper { |
| 187 | height: 100%; |
| 188 | display: inline-block; |
| 189 | vertical-align: middle; |
| 190 | } |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 191 | } |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 192 | |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 193 | .tree { |
| 194 | margin: 10px 0px; |
| 195 | padding: 0px; |
| 196 | height: 100%; |
| 197 | position: relative; |
| 198 | } |
| 199 | |
| 200 | .tree.with-skeleton.opened::before { |
| 201 | left: 9px; |
| 202 | top: 14px; |
| 203 | height: calc(~"100% - 32px"); |
| 204 | } |
| 205 | |
| 206 | .list-header-icon { |
| 207 | width: 72px; |
| 208 | border-radius: 4px; |
| 209 | flex-shrink: 0; |
| 210 | margin: 10px; |
| 211 | padding: 1px; |
| 212 | border: 1px solid @border-color; |
| 213 | height: 72px; |
| 214 | display: flex; |
| 215 | align-items: center; |
| 216 | justify-content: center; |
| 217 | |
| 218 | img { |
| 219 | border-radius: 4px; |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 220 | } |
| 221 | } |
| 222 | |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 223 | .star-icon.fa-star { |
| 224 | color: @indicator-orange; |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 225 | } |
| 226 | |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 227 | .octicon-heart.liked { |
| 228 | color: @indicator-red; |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 229 | } |
| 230 | |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 231 | .margin-vertical-10 { |
| 232 | margin: 10px 0px; |
| 233 | } |
| 234 | |
| 235 | .margin-vertical-15 { |
| 236 | margin: 15px 0px; |
| 237 | } |
| 238 | |
| 239 | .frappe-list .result { |
| 240 | min-height: 100px; |
| 241 | } |
Prateeksha Singh | 420c790 | 2018-04-05 14:44:16 +0530 | [diff] [blame] | 242 | |
| 243 | .frappe-control[data-fieldtype="Attach Image"] { |
| 244 | width: 140px; |
| 245 | height: 180px; |
| 246 | margin-top: 20px; |
| 247 | } |
| 248 | |
| 249 | .frappe-control[data-fieldtype="Attach Image"] .form-group { |
| 250 | display: none; |
| 251 | } |
| 252 | |
| 253 | .frappe-control[data-fieldtype="Attach Image"] .clearfix { |
| 254 | display: none; |
| 255 | } |
| 256 | |
| 257 | .missing-image { |
| 258 | display: block; |
| 259 | position: relative; |
| 260 | border-radius: 4px; |
| 261 | border: 1px solid #d1d8dd; |
| 262 | border-radius: 6px; |
| 263 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); |
| 264 | } |
| 265 | .missing-image .octicon { |
| 266 | position: relative; |
| 267 | top: 50%; |
| 268 | transform: translate(0px, -50%); |
| 269 | -webkit-transform: translate(0px, -50%); |
| 270 | } |
| 271 | .attach-image-display { |
| 272 | display: block; |
| 273 | position: relative; |
| 274 | border-radius: 4px; |
| 275 | } |
| 276 | .img-container { |
| 277 | height: 100%; |
| 278 | width: 100%; |
| 279 | padding: 2px; |
| 280 | display: flex; |
| 281 | align-items: center; |
| 282 | justify-content: center; |
| 283 | position: relative; |
| 284 | border: 1px solid #d1d8dd; |
| 285 | border-radius: 6px; |
| 286 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); |
| 287 | } |
| 288 | .img-overlay { |
| 289 | display: flex; |
| 290 | align-items: center; |
| 291 | justify-content: center; |
| 292 | position: absolute; |
| 293 | width: 100%; |
| 294 | height: 100%; |
| 295 | color: #777777; |
| 296 | background-color: rgba(255, 255, 255, 0.7); |
| 297 | opacity: 0; |
| 298 | } |
| 299 | .img-overlay:hover { |
| 300 | opacity: 1; |
| 301 | cursor: pointer; |
| 302 | } |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 303 | } |
| 304 | |
| 305 | .image-view-container { |
| 306 | .image-view-body { |
| 307 | &:hover .like-button { |
| 308 | opacity: 0.7; |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | .like-button { |
| 313 | bottom: 10px !important; |
| 314 | left: 10px !important; |
| 315 | width: 36px; |
| 316 | height: 36px; |
| 317 | opacity: 0; |
| 318 | font-size: 16px; |
| 319 | color: @text-color; |
| 320 | position: absolute; |
| 321 | |
| 322 | // show zoom button on mobile devices |
| 323 | @media (max-width: @screen-xs) { |
| 324 | opacity: 0.5 |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | .image-view-body:hover .like-button { |
| 329 | opacity: 0.7; |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | .rating-area .star-icon { |
| 334 | cursor: pointer; |
| 335 | font-size: 15px; |
| 336 | } |