blob: f202fa4345c8c29db5aceebb1bdc06d6aad74131 [file] [log] [blame]
Faris Ansarifd345f82017-10-05 11:17:30 +05301@import "../../../../frappe/frappe/public/less/variables.less";
2
Prateeksha Singhb8e9c9b2018-01-25 09:18:32 +05303body[data-route^="Hub/"] {
Prateeksha Singhb60a52b2018-04-03 10:44:13 +05304 .hub-icon {
5 width: 40px;
Prateeksha Singhb8e9c9b2018-01-25 09:18:32 +05306 }
7
Prateeksha Singhb60a52b2018-04-03 10:44:13 +05308 .hub-page-title {
9 margin-left: 10px;
Faris Ansarifd345f82017-10-05 11:17:30 +053010 }
11
12 .img-wrapper {
Prateeksha Singhb60a52b2018-04-03 10:44:13 +053013 border: 1px solid #d1d8dd;
Faris Ansarifd345f82017-10-05 11:17:30 +053014 border-radius: 3px;
15 padding: 12px;
16 overflow: hidden;
17 text-align: center;
18 white-space: nowrap;
19
Faris Ansarifd345f82017-10-05 11:17:30 +053020 .helper {
21 height: 100%;
22 display: inline-block;
23 vertical-align: middle;
24 }
Prateeksha Singhb60a52b2018-04-03 10:44:13 +053025 }
Faris Ansarifd345f82017-10-05 11:17:30 +053026
Prateeksha Singhb60a52b2018-04-03 10:44:13 +053027 .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 Ansarifd345f82017-10-05 11:17:30 +053054 }
55 }
56
Prateeksha Singhb60a52b2018-04-03 10:44:13 +053057 .star-icon.fa-star {
58 color: @indicator-orange;
Faris Ansarifd345f82017-10-05 11:17:30 +053059 }
60
Prateeksha Singhb60a52b2018-04-03 10:44:13 +053061 .octicon-heart.liked {
62 color: @indicator-red;
Faris Ansarifd345f82017-10-05 11:17:30 +053063 }
64
Prateeksha Singhb60a52b2018-04-03 10:44:13 +053065 .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}