|
| 1 | + |
| 2 | +.timeline, |
| 3 | +.timeline-horizontal { |
| 4 | + list-style: none; |
| 5 | + padding: 20px; |
| 6 | + position: relative; |
| 7 | +} |
| 8 | +.timeline:before { |
| 9 | + top: 40px; |
| 10 | + bottom: 0; |
| 11 | + position: absolute; |
| 12 | + content: " "; |
| 13 | + width: 3px; |
| 14 | + background-color: #eeeeee; |
| 15 | + left: 50%; |
| 16 | + margin-left: -1.5px; |
| 17 | +} |
| 18 | +.timeline .timeline-item { |
| 19 | + margin-bottom: 20px; |
| 20 | + position: relative; |
| 21 | +} |
| 22 | +.timeline .timeline-item:before, |
| 23 | +.timeline .timeline-item:after { |
| 24 | + content: ""; |
| 25 | + display: table; |
| 26 | +} |
| 27 | +.timeline .timeline-item:after { |
| 28 | + clear: both; |
| 29 | +} |
| 30 | +.timeline .timeline-item .timeline-badge { |
| 31 | + color: #fff; |
| 32 | + width: 54px; |
| 33 | + height: 54px; |
| 34 | + line-height: 52px; |
| 35 | + font-size: 22px; |
| 36 | + text-align: center; |
| 37 | + position: absolute; |
| 38 | + top: 18px; |
| 39 | + left: 50%; |
| 40 | + margin-left: -10px; |
| 41 | + background-color: #7c7c7c; |
| 42 | + border: 3px solid #ffffff; |
| 43 | + z-index: 100; |
| 44 | + border-top-right-radius: 50%; |
| 45 | + border-top-left-radius: 50%; |
| 46 | + border-bottom-right-radius: 50%; |
| 47 | + border-bottom-left-radius: 50%; |
| 48 | +} |
| 49 | +.timeline .timeline-item .timeline-badge i, |
| 50 | +.timeline .timeline-item .timeline-badge .fa, |
| 51 | +.timeline .timeline-item .timeline-badge .glyphicon { |
| 52 | + top: 2px; |
| 53 | + left: 0px; |
| 54 | +} |
| 55 | +.timeline .timeline-item .timeline-badge.primary { |
| 56 | + background-color: #1f9eba; |
| 57 | +} |
| 58 | +.timeline .timeline-item .timeline-badge.info { |
| 59 | + background-color: #5bc0de; |
| 60 | +} |
| 61 | +.timeline .timeline-item .timeline-badge.success { |
| 62 | + background-color: #59ba1f; |
| 63 | +} |
| 64 | +.timeline .timeline-item .timeline-badge.warning { |
| 65 | + background-color: #d1bd10; |
| 66 | +} |
| 67 | +.timeline .timeline-item .timeline-badge.danger { |
| 68 | + background-color: #ba1f1f; |
| 69 | +} |
| 70 | +.timeline .timeline-item .timeline-panel { |
| 71 | + position: relative; |
| 72 | + width: 46%; |
| 73 | + float: left; |
| 74 | + right: 16px; |
| 75 | + border: 1px solid #c0c0c0; |
| 76 | + background: #ffffff; |
| 77 | + border-radius: 2px; |
| 78 | + padding: 20px; |
| 79 | + -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175); |
| 80 | + box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175); |
| 81 | +} |
| 82 | +.timeline .timeline-item .timeline-panel:before { |
| 83 | + position: absolute; |
| 84 | + top: 26px; |
| 85 | + right: -16px; |
| 86 | + display: inline-block; |
| 87 | + border-top: 16px solid transparent; |
| 88 | + border-left: 16px solid #c0c0c0; |
| 89 | + border-right: 0 solid #c0c0c0; |
| 90 | + border-bottom: 16px solid transparent; |
| 91 | + content: " "; |
| 92 | +} |
| 93 | +.timeline .timeline-item .timeline-panel .timeline-title { |
| 94 | + margin-top: 0; |
| 95 | + color: inherit; |
| 96 | +} |
| 97 | +.timeline .timeline-item .timeline-panel .timeline-body > p, |
| 98 | +.timeline .timeline-item .timeline-panel .timeline-body > ul { |
| 99 | + margin-bottom: 0; |
| 100 | +} |
| 101 | +.timeline .timeline-item .timeline-panel .timeline-body > p + p { |
| 102 | + margin-top: 5px; |
| 103 | +} |
| 104 | +.timeline .timeline-item:last-child:nth-child(even) { |
| 105 | + float: right; |
| 106 | +} |
| 107 | +.timeline .timeline-item:nth-child(even) .timeline-panel { |
| 108 | + float: right; |
| 109 | + left: 16px; |
| 110 | +} |
| 111 | +.timeline .timeline-item:nth-child(even) .timeline-panel:before { |
| 112 | + border-left-width: 0; |
| 113 | + border-right-width: 14px; |
| 114 | + /*left: -14px;*/ |
| 115 | + right: auto; |
| 116 | +} |
| 117 | +.timeline-horizontal { |
| 118 | + overflow-x: auto; |
| 119 | + list-style: none; |
| 120 | + position: relative; |
| 121 | + padding: 20px 0px 20px 0px; |
| 122 | + margin: auto; |
| 123 | + display: inline-block; |
| 124 | +} |
| 125 | +.timeline-horizontal:before { |
| 126 | + height: 3px; |
| 127 | + top: auto; |
| 128 | + bottom: 26px; |
| 129 | + left: 56px; |
| 130 | + right: 0; |
| 131 | + min-width: 750px; |
| 132 | + width: 85%; |
| 133 | + margin-bottom: 20px; |
| 134 | +} |
| 135 | +.timeline-horizontal .timeline-item { |
| 136 | + display: table-cell; |
| 137 | + height: 240px; |
| 138 | + width: 20%; |
| 139 | + min-width: 320px; |
| 140 | + float: none !important; |
| 141 | + padding-left: 15px; |
| 142 | + padding-right: 15px; |
| 143 | + margin: 0 auto; |
| 144 | + vertical-align: bottom; |
| 145 | +} |
| 146 | +.timeline-horizontal .timeline-item .timeline-panel { |
| 147 | + top: auto; |
| 148 | + bottom: 64px; |
| 149 | + display: inline-block; |
| 150 | + float: none !important; |
| 151 | + left: 0 !important; |
| 152 | + right: 0 !important; |
| 153 | + width: 100%; |
| 154 | + margin-bottom: 20px; |
| 155 | +} |
| 156 | +.timeline-horizontal .timeline-item .timeline-panel:before { |
| 157 | + top: auto; |
| 158 | + bottom: -16px; |
| 159 | + /*left: 28px !important;*/ |
| 160 | + right: auto; |
| 161 | + border-right: 16px solid transparent !important; |
| 162 | + border-top: 16px solid #c0c0c0 !important; |
| 163 | + border-bottom: 0 solid #c0c0c0 !important; |
| 164 | + border-left: 16px solid transparent !important; |
| 165 | +} |
| 166 | +.timeline-horizontal .timeline-item:before, |
| 167 | +.timeline-horizontal .timeline-item:after { |
| 168 | + display: none; |
| 169 | +} |
| 170 | +.timeline-horizontal .timeline-item .timeline-badge { |
| 171 | + top: auto; |
| 172 | + bottom: 0px; |
| 173 | + /*left: 43px;*/ |
| 174 | +} |
0 commit comments