rosa-build/vendor/assets/stylesheets/timeline.scss

123 lines
3.2 KiB
SCSS
Raw Permalink Normal View History

/* ============================================================
* https://github.com/almasaeed2010/AdminLTE
* AdminLTE v1.1
* ============================================================
* The MIT License (MIT)
* Copyright (c) 2013 almasaeed2010
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/*
Component: timeline
--------------------
*/
.timeline {
2015-02-06 15:49:06 +00:00
margin: 0 0 10px 0;
padding: 0;
list-style: none;
}
.timeline:before {
content: '';
position: absolute;
top: 0px;
bottom: 0;
width: 5px;
background: #ddd;
left: 45px;
border: 1px solid #eee;
margin: 0;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.timeline > li {
position: relative;
2015-02-06 15:49:06 +00:00
margin-right: 5px;
margin-top: 5px;
}
.timeline > li:before,
.timeline > li:after {
display: table;
content: " ";
}
.timeline > li:after {
clear: both;
}
.timeline > li > .timeline-item {
2015-02-06 15:49:06 +00:00
margin-top: 5px;
border: 0px solid #b2b2b2;
background: #fff;
color: #555;
margin-left: 60px;
2015-02-06 15:49:06 +00:00
margin-right: 8px;
padding: 5px;
position: relative;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}
.timeline > li > .timeline-item .time {
color: #999;
float: right;
margin: 2px 0 2px 0;
}
.timeline > li > .timeline-item > .timeline-header {
margin: 0;
color: #555;
//border-bottom: 1px solid #dcdcdc;
padding: 2px;
font-size: 16px;
line-height: 1.1;
}
.timeline > li > .timeline-item > .timeline-header > a {
font-weight: 600;
}
.timeline > li > .timeline-item > .timeline-header > a > img {
2015-02-06 15:49:06 +00:00
margin: 0 5px;
}
.timeline > li > .timeline-item > .timeline-body,
.timeline > li > .timeline-item > .timeline-footer {
2015-02-06 15:49:06 +00:00
padding: 0 8px;
}
.timeline > li.time-label > span {
font-weight: 600;
padding: 5px;
display: inline-block;
background-color: #AA53AA;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
color: #f9f9f9;
}
.timeline > li > .fa,
.timeline > li > .glyphicon,
.timeline > li > .ion {
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
width: 30px;
height: 30px;
font-size: 15px;
line-height: 30px;
position: absolute;
color: #fff; //#666;
//background: #00c0ef; //#eee;
text-align: center;
left: 18px;
top: 0;
}