source: pro-violet-viettel/www/deploy/20150304/assets/css/less/page.timeline.less @ 896

Last change on this file since 896 was 780, checked in by dungnv, 10 years ago
File size: 3.7 KB
Line 
1.timeline-container {
2 position:relative;
3 padding-top:4px;
4 margin-bottom:32px;
5
6 &:last-child {
7        margin-bottom:0;
8 }
9
10 &:before {
11        /* the vertical line running through icons */
12        content:"";
13        display:block;
14        position:absolute;
15        left:28px;
16        top:0;
17        bottom:0;
18        border:1px solid #E2E3E7;
19        background-color:#E7EAEF;
20        width:4px;
21        border-width:0 1px;
22 }
23 &:first-child:before {
24        border-top-width:1px;
25 }
26 &:last-child:before {
27        border-bottom-width:1px;
28 }
29}
30
31
32.timeline-item {
33  position:relative;
34  margin-bottom:8px;
35
36 .widget-box {
37        background-color:#F2F6F9;
38        color:#595C66;
39 }
40
41 .transparent.widget-box {
42        border-left:3px solid #DAE1E5;
43 }
44 .transparent {
45        .widget-header {
46                background-color:#ECF1F4;
47                border-bottom:none;
48
49                > :first-child {
50                        margin-left:8px;
51                }
52        }
53 }
54
55
56 &:nth-child(even) .widget-box {
57        background-color:#F3F3F3;
58        color:#616161;
59
60        &.transparent {
61                border-left-color:#DBDBDB !important;
62                .widget-header {
63                        background-color:#EEE !important;
64                }
65        }
66 }
67
68}
69
70
71
72
73.timeline-item {
74        .widget-box     {
75                margin:0;
76                position:relative;
77                max-width:none;
78                border-bottom:none;
79                margin-left:60px;
80        }
81        .widget-main {
82                margin:0;
83                position:relative;
84                max-width:none;
85                border-bottom:none;
86        }
87        .widget-body {
88                background-color:transparent;
89        }
90
91        .widget-toolbox {
92                padding:4px 8px 0 !important;
93                background-color:transparent !important;
94                border:0 solid #CCC !important;
95                border-top:none !important;
96                margin:0 0px !important;
97        }
98}
99
100
101
102
103
104
105
106.timeline-info {
107        float:left;
108        width:60px;
109        text-align:center;
110        position:relative;
111       
112        img {
113                border-radius:100%;
114                max-width:42px;
115        }
116        .label , .badge {
117                font-size:12px;
118        }
119}
120
121
122
123.timeline-container:not(.timeline-style2) .timeline-indicator {
124        opacity:1;
125    border-radius: 100%;
126    display: inline-block;
127    font-size: 16px;
128    height: 36px;
129    line-height: 30px;   
130    width: 36px;
131        text-align: center;
132        text-shadow: none !important;
133        padding:0;
134        cursor:default;
135
136        border:3px solid #FFF !important;
137
138}
139
140
141.timeline-label {
142        display:block;
143        clear:both;
144        margin:0 0 18px;
145        margin-left:34px;
146}
147
148.timeline-item img {
149        border:1px solid #AAA;
150        padding:2px;
151        background-color:#FFF;
152}
153
154
155
156
157
158
159
160
161
162.timeline-style2 {
163
164 &:before {
165        display:none;
166 }
167
168 .timeline-item {
169
170        padding-bottom:22px;
171        margin-bottom:0;
172        &:last-child {
173                padding-bottom:0;
174        }
175
176       
177   &:before {
178                content:"";
179                display:block;
180                position:absolute;
181                left:90px; top:5px;     bottom:-5px;
182
183                border-width:0;
184
185                background-color:#DDD;
186                width:2px;
187                max-width:2px;
188   }
189 
190   &:last-child:before {
191                display:none;
192   }
193   &:first-child:before {
194                display:block;
195   }
196
197 }
198
199}
200
201
202
203
204
205
206.timeline-style2 {
207        .timeline-item .transparent .widget-header {
208                background-color:transparent !important;
209        }
210        .timeline-item .transparent.widget-box {
211                background-color:transparent !important;
212                border-left:none !important;
213        }
214
215        .timeline-info {
216                width:100px;
217        }
218
219        .timeline-indicator {
220                font-size: 0;
221                height: 12px;
222                line-height: 12px;
223                width: 12px;
224               
225                border-width: 1px !important;
226                background-color: #FFFFFF !important;
227               
228                position:absolute;
229                left:85px; top:3px;
230               
231                opacity:1;
232                border-radius: 100%;
233                display: inline-block;
234                padding:0;
235        }
236
237        .timeline-date {
238                display:inline-block;
239                width:72px;
240                text-align:right;
241                margin-right:25px;
242                color:#777;
243        }
244
245        .timeline-item .widget-box {
246                margin-left:112px;
247        }
248
249        .timeline-label {
250                width:75px;
251                text-align:center;
252                margin-left:0; margin-bottom:10px;
253                text-align:right;
254                color:#666;
255                font-size:14px;
256        }
257
258}
259
260
261
262
263
264.timeline-time {
265        text-align:center;
266        position:static;
267}
268
Note: See TracBrowser for help on using the repository browser.