Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /*** |
| 2 | New Timeline |
||
| 3 | ***/ |
||
| 4 | |||
| 5 | @import '../../global/_variables'; // global variables. |
||
| 6 | @import '../../global/components/_mixins'; // global mixings. |
||
| 7 | |||
| 8 | .timeline { |
||
| 9 | margin: 0; |
||
| 10 | padding: 0; |
||
| 11 | position: relative; |
||
| 12 | margin-bottom: 30px; |
||
| 13 | } |
||
| 14 | |||
| 15 | .timeline:before { |
||
| 16 | content: ''; |
||
| 17 | position: absolute; |
||
| 18 | display: block; |
||
| 19 | width: 4px; |
||
| 20 | background: #f5f6fa; |
||
| 21 | top: 0px; |
||
| 22 | bottom: 0px; |
||
| 23 | margin-left: 38px; |
||
| 24 | } |
||
| 25 | |||
| 26 | .timeline-item { |
||
| 27 | margin: 0; |
||
| 28 | padding: 0; |
||
| 29 | } |
||
| 30 | |||
| 31 | .timeline-badge { |
||
| 32 | float: left; |
||
| 33 | position: relative; |
||
| 34 | padding-right: 30px; |
||
| 35 | height:80px; |
||
| 36 | width:80px; |
||
| 37 | } |
||
| 38 | |||
| 39 | .timeline-badge-userpic { |
||
| 40 | width: 80px; |
||
| 41 | border: 4px #f5f6fa solid; |
||
| 42 | -webkit-border-radius: 50% !important; |
||
| 43 | -moz-border-radius: 50% !important; |
||
| 44 | border-radius: 50% !important; |
||
| 45 | } |
||
| 46 | |||
| 47 | .timeline-badge-userpic img { |
||
| 48 | -webkit-border-radius: 50% !important; |
||
| 49 | -moz-border-radius: 50% !important; |
||
| 50 | border-radius: 50% !important; |
||
| 51 | vertical-align: middle !important; |
||
| 52 | } |
||
| 53 | |||
| 54 | .timeline-icon { |
||
| 55 | width: 80px; |
||
| 56 | height: 80px; |
||
| 57 | background-color: #f5f6fa; |
||
| 58 | -webkit-border-radius: 50% !important; |
||
| 59 | -moz-border-radius: 50% !important; |
||
| 60 | border-radius: 50% !important; |
||
| 61 | padding-top: 30px; |
||
| 62 | padding-left: 22px; |
||
| 63 | } |
||
| 64 | |||
| 65 | .timeline-icon i { |
||
| 66 | font-size: 34px; |
||
| 67 | } |
||
| 68 | |||
| 69 | .timeline-body { |
||
| 70 | position: relative; |
||
| 71 | padding: 20px; |
||
| 72 | margin-top: 20px; |
||
| 73 | margin-left: 110px; |
||
| 74 | background-color: #f5f6fa; |
||
| 75 | |||
| 76 | @include clearfix(); |
||
| 77 | |||
| 78 | @include border-radius($general-border-radius); |
||
| 79 | } |
||
| 80 | |||
| 81 | .timeline-body-arrow { |
||
| 82 | position: absolute; |
||
| 83 | top: 30px; |
||
| 84 | left: -14px; |
||
| 85 | width: 0; |
||
| 86 | height: 0; |
||
| 87 | border-style: solid; |
||
| 88 | border-width: 14px 14px 14px 0; |
||
| 89 | border-color: transparent #f5f6fa transparent transparent; |
||
| 90 | } |
||
| 91 | |||
| 92 | .timeline-body-head { |
||
| 93 | margin-bottom: 10px; |
||
| 94 | } |
||
| 95 | |||
| 96 | .timeline-body-head-caption { |
||
| 97 | float: left; |
||
| 98 | } |
||
| 99 | |||
| 100 | .timeline-body-title { |
||
| 101 | font-size: 16px; |
||
| 102 | font-weight: 600; |
||
| 103 | } |
||
| 104 | |||
| 105 | .timeline-body-alerttitle { |
||
| 106 | font-size: 16px; |
||
| 107 | font-weight: 600; |
||
| 108 | } |
||
| 109 | |||
| 110 | .timeline-body-time { |
||
| 111 | font-size: 14px; |
||
| 112 | margin-left: 10px; |
||
| 113 | } |
||
| 114 | |||
| 115 | .timeline-body-head-actions { |
||
| 116 | float: right; |
||
| 117 | } |
||
| 118 | |||
| 119 | .timeline-body-head-actions .btn-group { |
||
| 120 | margin-top: -2px; |
||
| 121 | } |
||
| 122 | |||
| 123 | .timeline-body-content { |
||
| 124 | font-size: 14px; |
||
| 125 | margin-top: 35px; |
||
| 126 | } |
||
| 127 | |||
| 128 | .timeline-body-img { |
||
| 129 | width: 100px; |
||
| 130 | height: 100px; |
||
| 131 | margin: 5px 20px 0 0px; |
||
| 132 | } |
||
| 133 | |||
| 134 | .page-container-bg-solid .timeline:before { |
||
| 135 | background: #fff; |
||
| 136 | } |
||
| 137 | |||
| 138 | .page-container-bg-solid .timeline-badge-userpic { |
||
| 139 | border-color: #fff; |
||
| 140 | } |
||
| 141 | |||
| 142 | .page-container-bg-solid .timeline-icon { |
||
| 143 | background-color: #fff; |
||
| 144 | } |
||
| 145 | |||
| 146 | .page-container-bg-solid .timeline-body { |
||
| 147 | background-color: #fff; |
||
| 148 | } |
||
| 149 | |||
| 150 | .page-container-bg-solid .timeline-body-arrow { |
||
| 151 | border-color: transparent #fff transparent transparent; |
||
| 152 | } |
||
| 153 | |||
| 154 | @media (max-width: 768px) { |
||
| 155 | |||
| 156 | .timeline-body-head-caption { |
||
| 157 | width:100%; |
||
| 158 | } |
||
| 159 | |||
| 160 | .timeline-body-head-actions { |
||
| 161 | float: left; |
||
| 162 | width:100%; |
||
| 163 | margin-top: 20px; |
||
| 164 | margin-bottom: 20px; |
||
| 165 | } |
||
| 166 | |||
| 167 | } |
||
| 168 | |||
| 169 | |||
| 170 | @media (max-width: 480px) { |
||
| 171 | |||
| 172 | .timeline:before { |
||
| 173 | margin-left: 28px; |
||
| 174 | } |
||
| 175 | |||
| 176 | .timeline-badge { |
||
| 177 | padding-right: 40px; |
||
| 178 | width: 60px; |
||
| 179 | height: 60px; |
||
| 180 | } |
||
| 181 | |||
| 182 | |||
| 183 | .timeline-badge-userpic { |
||
| 184 | width: 60px; |
||
| 185 | } |
||
| 186 | |||
| 187 | .timeline-icon { |
||
| 188 | width: 60px; |
||
| 189 | height: 60px; |
||
| 190 | padding-top: 23px; |
||
| 191 | padding-left: 18px; |
||
| 192 | } |
||
| 193 | |||
| 194 | .timeline-icon i { |
||
| 195 | font-size: 25px; |
||
| 196 | } |
||
| 197 | |||
| 198 | .timeline-body { |
||
| 199 | margin-left: 80px; |
||
| 200 | } |
||
| 201 | |||
| 202 | .timeline-body-arrow { |
||
| 203 | top: 17px; |
||
| 204 | } |
||
| 205 | |||
| 206 | } |
||
| 207 | |||
| 208 | |||
| 209 | |||
| 210 | |||
| 211 | |||
| 212 | |||
| 213 | |||
| 214 | |||
| 215 | |||
| 216 | |||
| 217 | |||
| 218 | |||
| 219 | |||
| 220 | |||
| 221 | |||
| 222 | |||
| 223 | |||
| 224 |