blob: 66199a47bcf7c7c8db8d795a6120407672b70058 [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/"] {
4 .freeze .image-view-container {
5 .list-row-col {
6 background-color: @light-bg;
7 color: @light-bg;
8 }
9
10 .placeholder-text {
11 color: @light-bg;
12 }
13 }
14
15 .freeze {
16 display: none;
17 }
18
19 .image-view-container {
20 justify-content: space-around;
21 }
22}
23
24.img-wrapper {
25 border: 1px solid #d1d8dd;
26 border-radius: 3px;
27 padding: 12px;
28 overflow: hidden;
29 text-align: center;
30 white-space: nowrap;
31
32 .helper {
33 height: 100%;
34 display: inline-block;
35 vertical-align: middle;
36 }
37}
38
Faris Ansarifd345f82017-10-05 11:17:30 +053039/* hub */
40div[data-page-route="hub"] {
41 .page-head {
42 height: 80px;
43
44 .title-text {
45 cursor: pointer;
46 }
47 }
48
49 .page-content {
50 margin-top: 80px;
51 }
52
53 .page-title h1 {
54 margin-bottom: 0px;
55 }
56
57 .account-details {
58 margin-top: 20px;
59 }
60
61 [data-original-title="Search"] {
62 float: right;
63 width: 220px;
64 }
65
66 .hub-main-section {
67 padding: 30px;
68 }
69
70 .listing-body {
71 margin: 0;
72 }
73
74 .main-list-section {
75 padding: 0;
76 // border-right: 1px solid #d1d8dd;
77 }
78
79 .side-list-section {
80 padding: 0;
81 }
82
83 .item-list-header h3 {
84 font-weight: normal;
85 }
86
87 .hub-item-page {
88
89 h2 {
90 margin-top: 10px;
91 }
92
93 .item-header {
94 display: flex;
95 }
96
97 .item-page-image {
98 flex: 1;
99 }
100
101 .title-content {
102 flex: 3;
103
104 .description {
105 margin: 30px 0px;
106 }
107
108 .actions {
109 margin-top: 30px;
110
111 .rfq-btn.disabled {
112 background-color: #b1bdca;
113 color: #fff;
114 border-color: #b1bdca;
115 }
116 }
117 }
118
119 .company-items {
120 margin-top: 40px;
121 }
122 }
123
124 .company-header {
125 display: flex;
126 }
127
128 .item-list {
129 display: flex;
130 flex-wrap: wrap;
131 justify-content: space-between;
132 }
133
134 .hub-item-wrapper {
135 margin-bottom: 20px;
136 }
137
138 .img-wrapper {
139 border: 1px solid @border-color;
140 border-radius: 3px;
141 padding: 12px;
142 overflow: hidden;
143 text-align: center;
144 white-space: nowrap;
145
146 img {
147 max-width: 100%;
148 max-height: 100%;
149 display: inline-block;
150 vertical-align: middle;
151 }
152
153 .helper {
154 height: 100%;
155 display: inline-block;
156 vertical-align: middle;
157 }
158
159 .standard-image {
160 font-size: 72px;
161 border: none;
162 background-color: @light-bg;
163 }
164 }
165
166 .hub-item-title {
167 width: 100%;
168 }
169
170 .breadcrumb {
171 padding-left: 0;
172 padding-top: 0;
173 margin-bottom: 10px;
174 }
175
176}