| ... |
... |
@@ -1,3 +1,9 @@ |
|
1 |
+/* |
|
2 |
+.teasing .collaborate {background-image: url('/bin/skin/Collaboratory/UX/HbpSkin/collaborate.jpg');} |
|
3 |
+.teasing .reproductible {background-image: url('/bin/skin/Collaboratory/UX/HbpSkin/reproducible.jpg');} |
|
4 |
+.teasing .science {background-image: url('/bin/skin/Collaboratory/UX/HbpSkin/science.jpg');} |
|
5 |
+.teasing .anywhere {background-image: url('/bin/skin/Collaboratory/UX/HbpSkin/anywhere.jpg');} |
|
6 |
+*/ |
| 1 |
1 |
#mainContentArea{ |
| 2 |
2 |
padding:0; |
| 3 |
3 |
padding-top:1.25rem |
| ... |
... |
@@ -18,17 +18,108 @@ |
| 18 |
18 |
padding-left:0; |
| 19 |
19 |
padding-right:0; |
| 20 |
20 |
min-height:300px; |
| 21 |
|
- |
| 22 |
|
- /* |
|
27 |
+/* |
|
28 |
+ p.alert-info{ |
|
29 |
+ padding:2rem |
|
30 |
+ } |
|
31 |
+ .teasing{ |
|
32 |
+ margin-bottom:50px |
|
33 |
+ } |
|
34 |
+ .teasing .card{ |
|
35 |
+ text-align:center; |
|
36 |
+ position:relative; |
|
37 |
+ height:100%; |
|
38 |
+ background-size:cover; |
|
39 |
+ background-repeat:no-repeat; |
|
40 |
+ background-position:50% 50%; |
|
41 |
+ padding-bottom:20px; |
|
42 |
+ margin-bottom:20px |
|
43 |
+ } |
|
44 |
+ .teasing .card::before{ |
|
45 |
+ position:absolute; |
|
46 |
+ top:0; |
|
47 |
+ right:0; |
|
48 |
+ bottom:0; |
|
49 |
+ left:0; |
|
50 |
+ display:block; |
|
51 |
+ background-image:linear-gradient(to top,rgba(0,0,0,.9),transparent 85%); |
|
52 |
+ content:'' |
|
53 |
+ } |
|
54 |
+ .teasing .card-header{ |
|
55 |
+ position:relative; |
|
56 |
+ height:150px |
|
57 |
+ } |
|
58 |
+ .teasing .coming-soon{ |
|
59 |
+ position:absolute; |
|
60 |
+ z-index:10; |
|
61 |
+ left:0; |
|
62 |
+ right:0; |
|
63 |
+ padding:.5rem; |
|
64 |
+ border-radius:.25rem; |
|
65 |
+ font-weight:700; |
|
66 |
+ top:50% |
|
67 |
+ } |
|
68 |
+ .teasing .coming-soon span{ |
|
69 |
+ font-size:1.25rem; |
|
70 |
+ line-height:2; |
|
71 |
+ padding:.5rem; |
|
72 |
+ border-radius:.25rem; |
|
73 |
+ font-weight:700; |
|
74 |
+ margin-top:-17px; |
|
75 |
+ background:rgba(255,255,255,.8); |
|
76 |
+ } |
|
77 |
+ .teasing .card-content { |
|
78 |
+ position:relative; |
|
79 |
+ overflow:hidden; |
|
80 |
+ margin-top:0; |
|
81 |
+ padding-top:0; |
|
82 |
+ padding-bottom:0; |
|
83 |
+ padding-left:.5rem; |
|
84 |
+ padding-right:.5rem; |
|
85 |
+ color: @color-white; |
|
86 |
+ font-size:1rem; |
|
87 |
+ .card-title { |
|
88 |
+ color:@color-white; |
|
89 |
+ } |
|
90 |
+ } |
|
91 |
+ .teasing .card-title{ |
|
92 |
+ margin-top:1.5rem; |
|
93 |
+ margin-right:0; |
|
94 |
+ margin-bottom:1rem; |
|
95 |
+ margin-left:0; |
|
96 |
+ font-weight:700 |
|
97 |
+ } |
|
98 |
+ .clb-actions { |
|
99 |
+ background-color:#f0f3f1; |
|
100 |
+ padding-top:5rem; |
|
101 |
+ padding-left:0; |
|
102 |
+ padding-right:0; |
|
103 |
+ padding-bottom:0 |
|
104 |
+ } |
|
105 |
+ .clb-actions .clb-box{ |
|
106 |
+ margin-bottom:5rem; |
|
107 |
+ font-size:1.125rem; |
|
108 |
+ display: block |
|
109 |
+ } |
|
110 |
+ .clb-actions>.row{ |
|
111 |
+ margin-left:0; |
|
112 |
+ margin-right:0 |
|
113 |
+ } |
|
114 |
+ .clb-actions .clb-box:hover{ |
|
115 |
+ text-decoration:none |
|
116 |
+ } |
|
117 |
+ .clb-content>.row{ |
|
118 |
+ margin-bottom:5rem |
|
119 |
+ } |
|
120 |
+*/ |
| 23 |
23 |
.clb-search-bar{ |
| 24 |
24 |
display:flex; |
| 25 |
25 |
align-items:stretch; |
| 26 |
26 |
position:relative |
| 27 |
27 |
} |
| 28 |
|
- */ |
| 29 |
|
- .clb-search-bar .form-input { |
| 30 |
|
- margin:2px 10px 2px 0; |
| 31 |
|
- position: relative; |
|
126 |
+ .clb-search-bar>div{ |
|
127 |
+ flex:1; |
|
128 |
+ margin:2px 10px 2px 0 |
| 32 |
32 |
} |
| 33 |
33 |
.clb-search-bar input[type=text]{ |
| 34 |
34 |
width:100%; |