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