[313] | 1 | .dialogs { |
---|
| 2 | padding:9px 9px 0; |
---|
| 3 | position:relative; |
---|
| 4 | } |
---|
| 5 | .itemdiv { |
---|
| 6 | padding-right:3px; |
---|
| 7 | min-height:66px; |
---|
| 8 | position:relative; |
---|
| 9 | |
---|
| 10 | > .user { |
---|
| 11 | display:inline-block; |
---|
| 12 | width:42px; |
---|
| 13 | position:absolute; |
---|
| 14 | left:0; |
---|
| 15 | |
---|
| 16 | > img { |
---|
| 17 | border-radius:100%; |
---|
| 18 | border:2px solid #5293C4; |
---|
| 19 | max-width:40px; |
---|
| 20 | position:relative; |
---|
| 21 | } |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | > .body { |
---|
| 26 | width:auto; |
---|
| 27 | margin-left:50px; |
---|
| 28 | margin-right:12px; |
---|
| 29 | |
---|
| 30 | position:relative; |
---|
| 31 | |
---|
| 32 | > .time { |
---|
| 33 | display:block; |
---|
| 34 | font-size:11px; |
---|
| 35 | font-weight:bold; |
---|
| 36 | color:#666; |
---|
| 37 | |
---|
| 38 | position:absolute; |
---|
| 39 | right:9px; top:0; |
---|
| 40 | |
---|
| 41 | [class*="icon-"] { |
---|
| 42 | font-size:14px; |
---|
| 43 | font-weight:normal; |
---|
| 44 | } |
---|
| 45 | }// .body > .time |
---|
| 46 | |
---|
| 47 | > .name { |
---|
| 48 | display:block; |
---|
| 49 | color:#999; |
---|
| 50 | > b { color:#777777; } |
---|
| 51 | }// .body > .name |
---|
| 52 | |
---|
| 53 | > .text { |
---|
| 54 | display:block; |
---|
| 55 | position:relative; |
---|
| 56 | margin-top:2px; |
---|
| 57 | |
---|
| 58 | padding-bottom:19px; |
---|
| 59 | padding-left:7px; |
---|
| 60 | |
---|
| 61 | font-size:13px; |
---|
| 62 | |
---|
| 63 | &:after { |
---|
| 64 | display:block; content:""; |
---|
| 65 | height:1px; font-size:0; overflow:hidden; |
---|
| 66 | position:absolute; |
---|
| 67 | left:16px; right:-12px; margin-top:9px; |
---|
| 68 | |
---|
| 69 | border-top:1px solid #E4ECF3; |
---|
| 70 | } |
---|
| 71 | |
---|
| 72 | > [class*="icon-quote-"]:first-child { |
---|
| 73 | color:#DCE3ED; |
---|
| 74 | margin-right:4px; |
---|
| 75 | } |
---|
| 76 | }// .body > .text |
---|
| 77 | } |
---|
| 78 | &:last-child > .body > .text { |
---|
| 79 | border-bottom:none; |
---|
| 80 | &:after { |
---|
| 81 | display:none; |
---|
| 82 | } |
---|
| 83 | } |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | &.dialogdiv { |
---|
| 88 | padding-bottom:14px; |
---|
| 89 | &:before { |
---|
| 90 | position:absolute; |
---|
| 91 | display:block; content:""; |
---|
| 92 | |
---|
| 93 | top:0; bottom:0; left:19px; |
---|
| 94 | width:3px; max-width:3px; |
---|
| 95 | |
---|
| 96 | background-color:#E1E6ED; |
---|
| 97 | border:1px solid #D7DBDD; |
---|
| 98 | border-width:0 1px; |
---|
| 99 | } |
---|
| 100 | &:last-child:before { |
---|
| 101 | display:none; |
---|
| 102 | } |
---|
| 103 | |
---|
| 104 | |
---|
| 105 | > .user > img { |
---|
| 106 | border-color:#C9D6E5; |
---|
| 107 | } |
---|
| 108 | > .body { |
---|
| 109 | border:1px solid #DDE4ED; |
---|
| 110 | padding:5px 8px 8px; |
---|
| 111 | border-left-width:2px; |
---|
| 112 | margin-right:1px; |
---|
| 113 | |
---|
| 114 | &:before{ |
---|
| 115 | content:""; display:block; |
---|
| 116 | position:absolute; left:-7px; top:11px; |
---|
| 117 | width:8px; height:8px; |
---|
| 118 | border:2px solid #DDE4ED; |
---|
| 119 | border-width:2px 0 0 2px; |
---|
| 120 | background-color:#FFF; |
---|
| 121 | |
---|
| 122 | .box-sizing(content-box); |
---|
| 123 | |
---|
| 124 | .rotate(-45deg); |
---|
| 125 | } |
---|
| 126 | |
---|
| 127 | > .time { |
---|
| 128 | position:static; |
---|
| 129 | float:right; |
---|
| 130 | } |
---|
| 131 | > .text { |
---|
| 132 | padding-left:0; |
---|
| 133 | padding-bottom:0px; |
---|
| 134 | &:after {display:none;} |
---|
| 135 | } |
---|
| 136 | } |
---|
| 137 | |
---|
| 138 | .tooltip-inner { |
---|
| 139 | word-break:break-all; |
---|
| 140 | } |
---|
| 141 | }//end of .itemdiv.dialogdiv |
---|
| 142 | |
---|
| 143 | |
---|
| 144 | |
---|
| 145 | &.memberdiv { |
---|
| 146 | width:175px; |
---|
| 147 | padding:2px; |
---|
| 148 | margin:3px 0; |
---|
| 149 | float:left; |
---|
| 150 | border-bottom:1px solid #E8E8E8; |
---|
| 151 | |
---|
| 152 | > .user > img { |
---|
| 153 | border-color:#DCE3ED; |
---|
| 154 | } |
---|
| 155 | |
---|
| 156 | > .body { |
---|
| 157 | > .time { |
---|
| 158 | position:static; |
---|
| 159 | } |
---|
| 160 | > .name { |
---|
| 161 | line-height:18px; height:18px; |
---|
| 162 | margin-bottom:0; |
---|
| 163 | > a { |
---|
| 164 | display:inline-block; |
---|
| 165 | max-width:100px; max-height:18px; |
---|
| 166 | overflow:hidden; |
---|
| 167 | text-overflow:ellipsis; |
---|
| 168 | word-break:break-all; |
---|
| 169 | } |
---|
| 170 | } |
---|
| 171 | } |
---|
| 172 | }//.itemdiv.memberdiv |
---|
| 173 | |
---|
| 174 | |
---|
| 175 | |
---|
| 176 | .tools { |
---|
| 177 | //width:20px; |
---|
| 178 | position:absolute; |
---|
| 179 | right:5px; bottom:10px; |
---|
| 180 | display:none; |
---|
| 181 | .btn { |
---|
| 182 | border-radius:36px; |
---|
| 183 | margin:1px 0; |
---|
| 184 | } |
---|
| 185 | } |
---|
| 186 | .body .tools { |
---|
| 187 | bottom:4px; |
---|
| 188 | } |
---|
| 189 | &.commentdiv .tools { |
---|
| 190 | right:9px; |
---|
| 191 | } |
---|
| 192 | &:hover .tools{ |
---|
| 193 | display:inline-block; |
---|
| 194 | } |
---|
| 195 | |
---|
| 196 | } |
---|
| 197 | |
---|
| 198 | |
---|
| 199 | |
---|
| 200 | |
---|
| 201 | |
---|
| 202 | /* task list */ |
---|
| 203 | .item-list { |
---|
| 204 | margin:0; |
---|
| 205 | padding:0; |
---|
| 206 | list-style:none; |
---|
| 207 | |
---|
| 208 | > li { |
---|
| 209 | padding:9px; |
---|
| 210 | background-color:#FFF; |
---|
| 211 | margin-top:-1px; |
---|
| 212 | position:relative; |
---|
| 213 | |
---|
| 214 | &.selected { |
---|
| 215 | color:#8090A0; |
---|
| 216 | background-color:#F4F9FC; |
---|
| 217 | label , .lbl { |
---|
| 218 | text-decoration:line-through; |
---|
| 219 | color:#8090A0; |
---|
| 220 | } |
---|
| 221 | } |
---|
| 222 | > .checkbox { |
---|
| 223 | display:inline-block; |
---|
| 224 | } |
---|
| 225 | > label.inline { |
---|
| 226 | display:inline-block; |
---|
| 227 | } |
---|
| 228 | label { |
---|
| 229 | font-size:13px; |
---|
| 230 | } |
---|
| 231 | .percentage { |
---|
| 232 | font-size:11px; font-weight:bold; |
---|
| 233 | color:#777; |
---|
| 234 | } |
---|
| 235 | |
---|
| 236 | &.ui-sortable-helper { |
---|
| 237 | cursor:move; |
---|
| 238 | } |
---|
| 239 | } |
---|
| 240 | |
---|
| 241 | } |
---|
| 242 | |
---|
| 243 | |
---|
| 244 | |
---|
| 245 | li[class*="item-"] { |
---|
| 246 | border:1px solid #DDD; |
---|
| 247 | border-left-width:3px; |
---|
| 248 | } |
---|
| 249 | |
---|
| 250 | .item-list-color(@color) { |
---|
| 251 | @item-class:~`"item-@{color}"`; |
---|
| 252 | @item-color:~`"item-list-@{color}-border"`; |
---|
| 253 | @item-cl:@@item-color; |
---|
| 254 | |
---|
| 255 | li.@{item-class} { |
---|
| 256 | border-left-color:@item-cl; |
---|
| 257 | } |
---|
| 258 | } |
---|
| 259 | .item-list-color(~'orange'); |
---|
| 260 | .item-list-color(~'orange2'); |
---|
| 261 | .item-list-color(~'red'); |
---|
| 262 | .item-list-color(~'red2'); |
---|
| 263 | .item-list-color(~'green'); |
---|
| 264 | .item-list-color(~'green2'); |
---|
| 265 | .item-list-color(~'blue'); |
---|
| 266 | .item-list-color(~'blue2'); |
---|
| 267 | .item-list-color(~'blue3'); |
---|
| 268 | .item-list-color(~'pink'); |
---|
| 269 | .item-list-color(~'purple'); |
---|
| 270 | .item-list-color(~'black'); |
---|
| 271 | .item-list-color(~'grey'); |
---|
| 272 | .item-list-color(~'brown'); |
---|
| 273 | .item-list-color(~'default'); |
---|
| 274 | |
---|
| 275 | |
---|
| 276 | |
---|
| 277 | |
---|
| 278 | |
---|
| 279 | |
---|
| 280 | /* when dragging */ |
---|
| 281 | .ui-sortable-placeholder , .ui-sortable-helper { |
---|
| 282 | & , & > a { |
---|
| 283 | cursor:move !important; |
---|
| 284 | } |
---|
| 285 | } |
---|
| 286 | |
---|
| 287 | |
---|
| 288 | |
---|
| 289 | |
---|
| 290 | @media only screen and (max-width: @screen-xs) { |
---|
| 291 | .itemdiv.memberdiv { |
---|
| 292 | float:none; |
---|
| 293 | width:auto; |
---|
| 294 | } |
---|
| 295 | } |
---|