| 1 |
/****************** |
| 2 |
.state-switcher START |
| 3 |
*******************/ |
| 4 |
.state-switcher { |
| 5 |
padding: 15px 0 30px; |
| 6 |
display: block; |
| 7 |
} |
| 8 |
|
| 9 |
.state-switcher__label { |
| 10 |
margin-right: 30px; |
| 11 |
color: #23282d; |
| 12 |
margin-top: 15px; |
| 13 |
display: inline-block; |
| 14 |
} |
| 15 |
|
| 16 |
.state-switcher input[type=radio] { |
| 17 |
border: 2px solid #b3b3b3; |
| 18 |
} |
| 19 |
|
| 20 |
.state-switcher input[type=radio]:checked:before { |
| 21 |
background-color: #34a853; |
| 22 |
width: 8px; |
| 23 |
height: 8px; |
| 24 |
margin: 2px; |
| 25 |
} |
| 26 |
|
| 27 |
.state-switcher input[type=radio]:focus { |
| 28 |
border-color: #34a853; |
| 29 |
-webkit-box-shadow: 0 0 2px rgba(52, 168, 83, .8); |
| 30 |
box-shadow: 0 0 2px rgba(52, 168, 83, .8); |
| 31 |
} |
| 32 |
|
| 33 |
.state-switcher input[type=radio], |
| 34 |
.state-switcher input[type=checkbox] { |
| 35 |
width: 16px !important; |
| 36 |
height: 16px !important; |
| 37 |
} |
| 38 |
|
| 39 |
/****************** |
| 40 |
.state-switcher END |
| 41 |
*******************/ |
| 42 |
|
| 43 |
/****************** |
| 44 |
.task-container START |
| 45 |
*******************/ |
| 46 |
.task-container { |
| 47 |
display: block; |
| 48 |
} |
| 49 |
|
| 50 |
.task-container--ajax-block { |
| 51 |
position: relative; |
| 52 |
} |
| 53 |
|
| 54 |
.task-container--ajax-block:before { |
| 55 |
content: ''; |
| 56 |
position: absolute; |
| 57 |
left: 0; |
| 58 |
right: 0; |
| 59 |
bottom: 0; |
| 60 |
top: 0; |
| 61 |
background: rgba(255, 255, 255, 0.5); |
| 62 |
z-index: 1; |
| 63 |
width: 100%; |
| 64 |
height: 100%; |
| 65 |
} |
| 66 |
|
| 67 |
.task-container--ajax-block .spinner { |
| 68 |
visibility: visible; |
| 69 |
position: absolute; |
| 70 |
left: 50%; |
| 71 |
z-index: 10000; |
| 72 |
top: 15px; |
| 73 |
} |
| 74 |
|
| 75 |
.task-container__task { |
| 76 |
padding: 27px 40px; |
| 77 |
height: auto !important; |
| 78 |
background-color: white; |
| 79 |
border-radius: 6px; |
| 80 |
box-shadow: 0px 0px 15px 1px rgba(71, 71, 68, 0.05); |
| 81 |
transition: .1s; |
| 82 |
} |
| 83 |
|
| 84 |
.task-container__task:hover { |
| 85 |
box-shadow: 0px 0px 15px 1px rgba(71, 71, 68, 0.15); |
| 86 |
} |
| 87 |
|
| 88 |
.task-container__task-content-row { |
| 89 |
display: table; |
| 90 |
width: 100%; |
| 91 |
} |
| 92 |
|
| 93 |
.task-container__task-aside, |
| 94 |
.task-container__task-body { |
| 95 |
display: table-cell; |
| 96 |
vertical-align: middle; |
| 97 |
} |
| 98 |
|
| 99 |
.task-container__task-aside { |
| 100 |
|
| 101 |
} |
| 102 |
|
| 103 |
.task-container__task-body { |
| 104 |
padding-right: 40px; |
| 105 |
padding-left: 40px; |
| 106 |
width: 100%; |
| 107 |
} |
| 108 |
|
| 109 |
.task-container__task-footer { |
| 110 |
} |
| 111 |
|
| 112 |
.task-container__task-footer-row { |
| 113 |
} |
| 114 |
|
| 115 |
.task-container__task-footer-row:not(:last-child) { |
| 116 |
margin-bottom: 8px; |
| 117 |
} |
| 118 |
|
| 119 |
.task-container__task-description { |
| 120 |
margin-bottom: 20px; |
| 121 |
} |
| 122 |
|
| 123 |
.task-container__task:not(:last-child) { |
| 124 |
margin-bottom: 20px; |
| 125 |
} |
| 126 |
|
| 127 |
.task-container__task-title { |
| 128 |
font-weight: 600; |
| 129 |
font-size: 18px; |
| 130 |
margin-bottom: 12px; |
| 131 |
} |
| 132 |
|
| 133 |
.task-container__task-action { |
| 134 |
/*float: left;*/ |
| 135 |
/*margin-right: 10px;*/ |
| 136 |
} |
| 137 |
|
| 138 |
.task-container__task--state-checked { |
| 139 |
/*background-color: #d9f3df;*/ |
| 140 |
} |
| 141 |
|
| 142 |
/* TASK LOCKED */ |
| 143 |
.task-container__task--locked { |
| 144 |
/*outline: 1px solid red;*/ |
| 145 |
} |
| 146 |
|
| 147 |
/* Hide elements that has (state|type)-hidden class when task container has same (state|type) */ |
| 148 |
.task-container__task--state-skipped .task-container__task-action--state-skipped-hidden, |
| 149 |
.task-container__task--locked .task-container__task-action--locked-hidden { |
| 150 |
display: none; |
| 151 |
} |
| 152 |
|
| 153 |
.task-container__task-link { |
| 154 |
margin-right: 10px; |
| 155 |
} |
| 156 |
|
| 157 |
.task-container__task-action-label { |
| 158 |
cursor: pointer; |
| 159 |
} |
| 160 |
|
| 161 |
/* add transparent color for locked task and premium task*/ |
| 162 |
.task-container__task--state-skipped, |
| 163 |
.task-container__task--type-premium, |
| 164 |
.task-container__task--locked { |
| 165 |
background: rgba(255, 255, 255, 0.7);; |
| 166 |
} |
| 167 |
|
| 168 |
.task-container__task--type-premium .task-container__task-title, |
| 169 |
.task-container__task--type-premium .task-container__task-description, |
| 170 |
.task-container__task--type-premium .task-container__task-action-label, |
| 171 |
.task-container__task--locked .task-container__task-title, |
| 172 |
.task-container__task--locked .task-container__task-description, |
| 173 |
.task-container__task--locked .task-container__task-action-label, |
| 174 |
.task-container__task--state-skipped .task-container__task-title, |
| 175 |
.task-container__task--state-skipped .task-container__task-description, |
| 176 |
.task-container__task--state-skipped .task-container__task-action-label { |
| 177 |
opacity: 0.7; |
| 178 |
} |
| 179 |
|
| 180 |
/* hide checkboxes */ |
| 181 |
.task-container__task-action-checkbox { |
| 182 |
display: none !important; |
| 183 |
} |
| 184 |
|
| 185 |
/* hide 'Skip' checkbox label if task checked */ |
| 186 |
.task-container__task--state-checked .task-container__task-action--skipped { |
| 187 |
display: none; |
| 188 |
} |
| 189 |
|
| 190 |
/* hide 'Check' checkbox label if task skipped */ |
| 191 |
.task-container__task--state-skipped .task-container__task-action--checked { |
| 192 |
/*display: none;*/ |
| 193 |
} |
| 194 |
|
| 195 |
/* Hide check view */ |
| 196 |
.task-container__task-action-checkbox:not(:checked) + .task-container__task-check-view .task-container__task-check-view--uncheck { |
| 197 |
display: none; |
| 198 |
} |
| 199 |
|
| 200 |
/*!* Hide uncheck view *!*/ |
| 201 |
.task-container__task-action-checkbox:checked + .task-container__task-check-view .task-container__task-check-view--check { |
| 202 |
display: none; |
| 203 |
} |
| 204 |
|
| 205 |
/* .task-container END */ |
| 206 |
.task-container__task-action-checkbox-icon { |
| 207 |
height: 50px; |
| 208 |
width: 50px; |
| 209 |
border: 2px solid #e6e6e6; |
| 210 |
transition: .3s; |
| 211 |
display: block; |
| 212 |
border-radius: 50%; |
| 213 |
position: relative; |
| 214 |
color: #e6e6e6; |
| 215 |
} |
| 216 |
|
| 217 |
.task-container__task-action-checkbox:checked + .task-container__task-action-checkbox-icon { |
| 218 |
background: #34a853; |
| 219 |
border-color: #34a853; |
| 220 |
} |
| 221 |
|
| 222 |
.task-container__task-action-checkbox-icon svg { |
| 223 |
fill: currentColor; |
| 224 |
width: 19px; |
| 225 |
height: 13px; |
| 226 |
position: absolute; |
| 227 |
left: 50%; |
| 228 |
top: 50%; |
| 229 |
transform: translate(-50%, -50%); |
| 230 |
} |
| 231 |
|
| 232 |
.task-container__show-all { |
| 233 |
text-align: center; |
| 234 |
padding-top: 100px; |
| 235 |
} |
| 236 |
|
| 237 |
.task-container__description { |
| 238 |
font-size: 24px; |
| 239 |
color: #adadad; |
| 240 |
margin-bottom: 22px; |
| 241 |
} |
| 242 |
|
| 243 |
.task-container__show-all-button { |
| 244 |
font-size: 18px !important; |
| 245 |
padding: 0px 32px !important; |
| 246 |
height: 42px !important; |
| 247 |
} |
| 248 |
|
| 249 |
/* RESET CURSOR if task type-auto || task type-premium || state locked */ |
| 250 |
.task-container__task--type-auto .task-container__task-action-label-check, |
| 251 |
.task-container__task--type-premium .task-container__task-action-label-check, |
| 252 |
.task-container__task--state-skipped .task-container__task-action-label-check, |
| 253 |
.task-container__task--locked.task-container__task--state-todo .task-container__task-action-label-check |
| 254 |
{ |
| 255 |
cursor: default; |
| 256 |
pointer-events: none; |
| 257 |
} |
| 258 |
|
| 259 |
.task-container__task:not(.task-container__task--locked):not(.task-container__task--type-auto):not(.task-container__task--state-skipped):not(.task-container__task--type-premium):not(.task-container__task--locked) .task-container__task-action-label-check:hover .task-container__task-action-checkbox:not(:checked) + .task-container__task-action-checkbox-icon { |
| 260 |
box-shadow: 0 0 0 3px #33a652; |
| 261 |
border-color: #fff; |
| 262 |
color: #33a652; |
| 263 |
} |
| 264 |
|
| 265 |
/* Hide all tasks */ |
| 266 |
[data-task-state] { |
| 267 |
display: none; |
| 268 |
} |
| 269 |
|
| 270 |
/*Show only tasks with selected state */ |
| 271 |
[data-container-state="all"] [data-task-state], |
| 272 |
[data-container-state="todo"] [data-task-state="todo"], |
| 273 |
[data-container-state="checked"] [data-task-state="checked"], |
| 274 |
[data-container-state="skipped"] [data-task-state="skipped"] { |
| 275 |
display: block !important; |
| 276 |
} |
| 277 |
|
| 278 |
@media (max-width: 783px) { |
| 279 |
.task-container__task { |
| 280 |
padding: 20px 25px; |
| 281 |
} |
| 282 |
|
| 283 |
.task-container__task-body { |
| 284 |
padding-right: 20px; |
| 285 |
padding-left: 20px; |
| 286 |
} |
| 287 |
|
| 288 |
.task-container__task-action-checkbox-icon { |
| 289 |
width: 40px; |
| 290 |
height: 40px; |
| 291 |
} |
| 292 |
} |
| 293 |
|
| 294 |
@media (max-width: 480px) { |
| 295 |
.task-container__task-body { |
| 296 |
padding: 0; |
| 297 |
} |
| 298 |
|
| 299 |
.task-container__task-aside, .task-container__task-body { |
| 300 |
display: block; |
| 301 |
} |
| 302 |
|
| 303 |
.task-container__task-aside:first-child { |
| 304 |
margin-bottom: 15px; |
| 305 |
} |
| 306 |
|
| 307 |
.task-container__task-aside:last-child { |
| 308 |
margin-top: 15px; |
| 309 |
} |
| 310 |
} |
| 311 |
|
| 312 |
/****************** |
| 313 |
.task-container END |
| 314 |
*******************/ |
| 315 |
|
| 316 |
/******************* |
| 317 |
btn-notice START |
| 318 |
*******************/ |
| 319 |
.btn-notice { |
| 320 |
font-size: 0; |
| 321 |
display: inline-block; |
| 322 |
border-radius: 3px; |
| 323 |
color: #fff; |
| 324 |
padding: 6px 15px; |
| 325 |
text-decoration: none; |
| 326 |
} |
| 327 |
|
| 328 |
.btn-notice:hover { |
| 329 |
color: #fff; |
| 330 |
} |
| 331 |
|
| 332 |
.btn-notice--unresolved { |
| 333 |
background: #ed1c24; |
| 334 |
box-shadow: 0px 2px 8px 1px rgba(238, 28, 35, 0.35); |
| 335 |
|
| 336 |
} |
| 337 |
|
| 338 |
.btn-notice--unresolved:hover { |
| 339 |
background: #ed3c46; |
| 340 |
} |
| 341 |
|
| 342 |
.btn-notice--premium { |
| 343 |
background: #eba149; |
| 344 |
box-shadow: 0px 0px 7px 3px rgba(235, 161, 73, 0.35); |
| 345 |
} |
| 346 |
|
| 347 |
.btn-notice--premium:hover { |
| 348 |
background: #eba149; |
| 349 |
} |
| 350 |
|
| 351 |
.btn-notice__icon { |
| 352 |
margin-right: 7px; |
| 353 |
display: inline-block; |
| 354 |
vertical-align: middle; |
| 355 |
width: 15px; |
| 356 |
height: 15px; |
| 357 |
} |
| 358 |
|
| 359 |
.btn-notice__icon svg { |
| 360 |
color: inherit; |
| 361 |
fill: currentColor; |
| 362 |
} |
| 363 |
|
| 364 |
.btn-notice__text-el { |
| 365 |
display: inline-block; |
| 366 |
vertical-align: middle; |
| 367 |
font-size: 12px; |
| 368 |
} |
| 369 |
|
| 370 |
@media (max-width: 783px) { |
| 371 |
} |
| 372 |
|
| 373 |
/******************* |
| 374 |
btn-notice END |
| 375 |
*******************/ |
| 376 |
|
| 377 |
/******************** |
| 378 |
btn-skip START |
| 379 |
********************/ |
| 380 |
.btn-skip { |
| 381 |
color: #999999; |
| 382 |
font-size: 16px; |
| 383 |
border-bottom: 1px solid #999999; |
| 384 |
} |
| 385 |
|
| 386 |
.btn-unskip { |
| 387 |
color: #117cb0; |
| 388 |
font-size: 16px; |
| 389 |
border-bottom: 1px solid #0073aa; |
| 390 |
} |
| 391 |
|
| 392 |
/******************** |
| 393 |
btn-skip END |
| 394 |
********************/ |