Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 1 | @import "../../../../frappe/frappe/public/less/variables.less"; |
| 2 | |
Prateeksha Singh | b8e9c9b | 2018-01-25 09:18:32 +0530 | [diff] [blame] | 3 | body[data-route^="Hub/"] { |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 4 | .hub-icon { |
| 5 | width: 40px; |
Prateeksha Singh | b8e9c9b | 2018-01-25 09:18:32 +0530 | [diff] [blame] | 6 | } |
| 7 | |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 8 | .hub-page-title { |
| 9 | margin-left: 10px; |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 10 | } |
| 11 | |
| 12 | .img-wrapper { |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 13 | border: 1px solid #d1d8dd; |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 14 | border-radius: 3px; |
| 15 | padding: 12px; |
| 16 | overflow: hidden; |
| 17 | text-align: center; |
| 18 | white-space: nowrap; |
| 19 | |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 20 | .helper { |
| 21 | height: 100%; |
| 22 | display: inline-block; |
| 23 | vertical-align: middle; |
| 24 | } |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 25 | } |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 26 | |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 27 | .tree { |
| 28 | margin: 10px 0px; |
| 29 | padding: 0px; |
| 30 | height: 100%; |
| 31 | position: relative; |
| 32 | } |
| 33 | |
| 34 | .tree.with-skeleton.opened::before { |
| 35 | left: 9px; |
| 36 | top: 14px; |
| 37 | height: calc(~"100% - 32px"); |
| 38 | } |
| 39 | |
| 40 | .list-header-icon { |
| 41 | width: 72px; |
| 42 | border-radius: 4px; |
| 43 | flex-shrink: 0; |
| 44 | margin: 10px; |
| 45 | padding: 1px; |
| 46 | border: 1px solid @border-color; |
| 47 | height: 72px; |
| 48 | display: flex; |
| 49 | align-items: center; |
| 50 | justify-content: center; |
| 51 | |
| 52 | img { |
| 53 | border-radius: 4px; |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 54 | } |
| 55 | } |
| 56 | |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 57 | .star-icon.fa-star { |
| 58 | color: @indicator-orange; |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 59 | } |
| 60 | |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 61 | .octicon-heart.liked { |
| 62 | color: @indicator-red; |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 63 | } |
| 64 | |
Prateeksha Singh | b60a52b | 2018-04-03 10:44:13 +0530 | [diff] [blame] | 65 | .margin-vertical-10 { |
| 66 | margin: 10px 0px; |
| 67 | } |
| 68 | |
| 69 | .margin-vertical-15 { |
| 70 | margin: 15px 0px; |
| 71 | } |
| 72 | |
| 73 | .frappe-list .result { |
| 74 | min-height: 100px; |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | .image-view-container { |
| 79 | .image-view-body { |
| 80 | &:hover .like-button { |
| 81 | opacity: 0.7; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | .like-button { |
| 86 | bottom: 10px !important; |
| 87 | left: 10px !important; |
| 88 | width: 36px; |
| 89 | height: 36px; |
| 90 | opacity: 0; |
| 91 | font-size: 16px; |
| 92 | color: @text-color; |
| 93 | position: absolute; |
| 94 | |
| 95 | // show zoom button on mobile devices |
| 96 | @media (max-width: @screen-xs) { |
| 97 | opacity: 0.5 |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | .image-view-body:hover .like-button { |
| 102 | opacity: 0.7; |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | .rating-area .star-icon { |
| 107 | cursor: pointer; |
| 108 | font-size: 15px; |
| 109 | } |