비전공자 개발일기

Task Dashboard 본문

HTML _CSS

Task Dashboard

HiroDaegu 2022. 10. 20. 11:54
728x90
SMALL

 

<!DOCTYPE html>
<html lang="ko">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>TASK DASHBOARD</title>
    <link rel="stylesheet" href="style.css">   
</head>

<body>
    <div class="task-manager">
        <div class="left-bar">
          <div class="upper-part">
            <div class="actions">
              <div class="circle"></div>
              <div class="circle-2"></div>
            </div>
          </div>
          <div class="left-content">
            <ul class="action-list">
              <li class="item">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor"
                  stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="feather feather-inbox"
                  viewBox="0 0 24 24">
                  <path d="M22 12h-6l-2 3h-4l-2-3H2" />
                  <path
                    d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z" />
                </svg>
                <span>Inbox</span>
              </li>
              <li class="item">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                  stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                  class="feather feather-star">
                  <polygon
                    points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" />
                  </svg>
                <span> Today</span>
              </li>
              <li class="item">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor"
                  stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="feather feather-calendar"
                  viewBox="0 0 24 24">
                  <rect width="18" height="18" x="3" y="4" rx="2" ry="2" />
                  <path d="M16 2v4M8 2v4m-5 4h18" />
                </svg>
                <span>Upcoming</span>
              </li>
              <li class="item">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                  stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                  class="feather feather-hash">
                  <line x1="4" y1="9" x2="20" y2="9" />
                  <line x1="4" y1="15" x2="20" y2="15" />
                  <line x1="10" y1="3" x2="8" y2="21" />
                  <line x1="16" y1="3" x2="14" y2="21" /></svg>
                <span>Important</span>
              </li>
              <li class="item">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                  stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                  class="feather feather-users">
                  <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" />
                  <circle cx="9" cy="7" r="4" />
                  <path d="M23 21v-2a4 4 0 0 0-3-3.87" />
                  <path d="M16 3.13a4 4 0 0 1 0 7.75" /></svg>
                <span>Meetings</span>
              </li>
              <li class="item">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor"
                  stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="feather feather-trash"
                  viewBox="0 0 24 24">
                  <path d="M3 6h18m-2 0v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />
                </svg>
                <span>Trash</span>
              </li>
            </ul>
            <ul class="category-list">
              <li class="item">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                  stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                  class="feather feather-users">
                  <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" />
                  <circle cx="9" cy="7" r="4" />
                  <path d="M23 21v-2a4 4 0 0 0-3-3.87" />
                  <path d="M16 3.13a4 4 0 0 1 0 7.75" /></svg>
                <span>Family</span>
              </li>
              <li class="item">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor"
                  stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="feather feather-sun"
                  viewBox="0 0 24 24">
                  <circle cx="12" cy="12" r="5" />
                  <path
                    d="M12 1v2m0 18v2M4.22 4.22l1.42 1.42m12.72 12.72l1.42 1.42M1 12h2m18 0h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42" />
                </svg>
                <span>Vacation</span>
              </li>
              <li class="item">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                  stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                  class="feather feather-trending-up">
                  <polyline points="23 6 13.5 15.5 8.5 10.5 1 18" />
                  <polyline points="17 6 23 6 23 12" /></svg>
                <span>Festival</span>
              </li>
              <li class="item">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                  stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                  class="feather feather-zap">
                  <polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2" /></svg>
                <span>Concerts</span>
              </li>
            </ul>
          </div>
        </div>
        <div class="page-content">
          <div class="header">Today Tasks</div>
          <div class="content-categories">
            <div class="label-wrapper">
              <input class="nav-item" name="nav" type="radio" id="opt-1">
              <label class="category" for="opt-1">All</label>
            </div>
            <div class="label-wrapper">
              <input class="nav-item" name="nav" type="radio" id="opt-2" checked>
              <label class="category" for="opt-2">Important</label>
            </div>
            <div class="label-wrapper">
              <input class="nav-item" name="nav" type="radio" id="opt-3">
              <label class="category" for="opt-3">Notes</label>
            </div>
            <div class="label-wrapper">
              <input class="nav-item" name="nav" type="radio" id="opt-4">
              <label class="category" for="opt-4">Links</label>
            </div>
          </div>
          <div class="tasks-wrapper">
            <div class="task">
              <input class="task-item" name="task" type="checkbox" id="item-1" checked>
              <label for="item-1">
                <span class="label-text">Dashboard Design Implementation</span>
              </label>
              <span class="tag approved">Approved</span>
            </div>
            <div class="task">
              <input class="task-item" name="task" type="checkbox" id="item-2" checked>
              <label for="item-2">
                <span class="label-text">Create a userflow</span>
              </label>
              <span class="tag progress">In Progress</span>
            </div>
            <div class="task">
              <input class="task-item" name="task" type="checkbox" id="item-3">
              <label for="item-3">
                <span class="label-text">Application Implementation</span>
              </label>
              <span class="tag review">In Review</span>
            </div>
            <div class="task">
              <input class="task-item" name="task" type="checkbox" id="item-4">
              <label for="item-4">
                <span class="label-text">Create a Dashboard Design</span>
              </label>
              <span class="tag progress">In Progress</span>
            </div>
            <div class="task">
              <input class="task-item" name="task" type="checkbox" id="item-5">
              <label for="item-5">
                <span class="label-text">Create a Web Application Design</span>
              </label>
              <span class="tag approved">Approved</span>
            </div>
            <div class="task">
              <input class="task-item" name="task" type="checkbox" id="item-6">
              <label for="item-6">
                <span class="label-text">Interactive Design</span>
              </label>
              <span class="tag review">In Review</span>
            </div>
            <div class="header upcoming">Upcoming Tasks</div>
            <div class="task">
              <input class="task-item" name="task" type="checkbox" id="item-7">
              <label for="item-7">
                <span class="label-text">Dashboard Design Implementation</span>
              </label>
              <span class="tag waiting">Waiting</span>
            </div>
            <div class="task">
              <input class="task-item" name="task" type="checkbox" id="item-8">
              <label for="item-8">
                <span class="label-text">Create a userflow</span>
              </label>
              <span class="tag waiting">Waiting</span>
            </div>
            <div class="task">
              <input class="task-item" name="task" type="checkbox" id="item-9">
              <label for="item-9">
                <span class="label-text">Application Implementation</span>
              </label>
              <span class="tag waiting">Waiting</span>
            </div>
            <div class="task">
              <input class="task-item" name="task" type="checkbox" id="item-10">
              <label for="item-10">
                <span class="label-text">Create a Dashboard Design</span>
              </label>
              <span class="tag waiting">Waiting</span>
            </div>
          </div>
        </div>
        <div class="right-bar">
          <div class="top-part">
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
              stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
              class="feather feather-users">
              <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" />
              <circle cx="9" cy="7" r="4" />
              <path d="M23 21v-2a4 4 0 0 0-3-3.87" />
              <path d="M16 3.13a4 4 0 0 1 0 7.75" /></svg>
            <div class="count">6</div>
          </div>
          <div class="header">Schedule</div>
          <div class="right-content">
            <div class="task-box yellow">
              <div class="description-task">
                <div class="time">08:00 - 09:00 AM</div>
                <div class="task-name">Product Review</div>
              </div>
              <div class="more-button"></div>
              <div class="members">
                <img
                  src="https://images.unsplash.com/photo-1491349174775-aaafddd81942?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=934&q=80"
                  alt="member">
                <img
                  src="https://images.unsplash.com/photo-1476657680631-c07285ff2581?ixlib=rb-1.2.1&auto=format&fit=crop&w=2210&q=80"
                  alt="member-2">
                <img
                  src="https://images.unsplash.com/photo-1496345875659-11f7dd282d1d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2250&q=80"
                  alt="member-3">
                <img
                  src="https://images.unsplash.com/photo-1455504490126-80ed4d83b3b9?ixlib=rb-1.2.1&auto=format&fit=crop&w=2250&q=80"
                  alt="member-4">
              </div>
            </div>
            <div class="task-box blue">
              <div class="description-task">
                <div class="time">10:00 - 11:00 AM</div>
                <div class="task-name">Design Meeting</div>
              </div>
              <div class="more-button"></div>
              <div class="members">
                <img
                  src="https://images.unsplash.com/photo-1484688493527-670f98f9b195?ixlib=rb-1.2.1&auto=format&fit=crop&w=2230&q=80"
                  alt="member">
                <img
                  src="https://images.unsplash.com/photo-1469334031218-e382a71b716b?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2250&q=80"
                  alt="member-2">
                <img
                  src="https://images.unsplash.com/photo-1455504490126-80ed4d83b3b9?ixlib=rb-1.2.1&auto=format&fit=crop&w=2250&q=80"
                  alt="member-3">
              </div>
            </div>
            <div class="task-box red">
              <div class="description-task">
                <div class="time">01:00 - 02:00 PM</div>
                <div class="task-name">Team Meeting</div>
              </div>
              <div class="more-button"></div>
              <div class="members">
                <img
                  src="https://images.unsplash.com/photo-1491349174775-aaafddd81942?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=934&q=80"
                  alt="member">
                <img
                  src="https://images.unsplash.com/photo-1475552113915-6fcb52652ba2?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1934&q=80"
                  alt="member-2">
                <img
                  src="https://images.unsplash.com/photo-1493752603190-08d8b5d1781d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1600&q=80"
                  alt="member-3">
                <img
                  src="https://images.unsplash.com/photo-1484688493527-670f98f9b195?ixlib=rb-1.2.1&auto=format&fit=crop&w=2230&q=80"
                  alt="member-4">
              </div>
            </div>
            <div class="task-box green">
              <div class="description-task">
                <div class="time">03:00 - 04:00 PM</div>
                <div class="task-name">Release Event</div>
              </div>
              <div class="more-button"></div>
              <div class="members">
                <img
                  src="https://images.unsplash.com/photo-1523419409543-a5e549c1faa8?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=943&q=80"
                  alt="member">
                <img
                  src="https://images.unsplash.com/photo-1519742866993-66d3cfef4bbd?ixlib=rb-1.2.1&auto=format&fit=crop&w=881&q=80"
                  alt="member-2">
                <img
                  src="https://images.unsplash.com/photo-1521122872341-065792fb2fa0?ixlib=rb-1.2.1&auto=format&fit=crop&w=2208&q=80"
                  alt="member-3">
                <img
                  src="https://images.unsplash.com/photo-1486302913014-862923f5fd48?ixlib=rb-1.2.1&auto=format&fit=crop&w=3400&q=80"
                  alt="member-4">
                <img
                  src="https://images.unsplash.com/photo-1484187216010-59798e9cc726?ixlib=rb-1.2.1&auto=format&fit=crop&w=955&q=80"
                  alt="member-5">
              </div>
            </div>
            <div class="task-box blue">
              <div class="description-task">
                <div class="time">08:00 - 09:00 PM</div>
                <div class="task-name">Release Event</div>
              </div>
              <div class="more-button"></div>
              <div class="members">
                <img
                  src="https://images.unsplash.com/photo-1523419409543-a5e549c1faa8?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=943&q=80"
                  alt="member">
                <img
                  src="https://images.unsplash.com/photo-1519742866993-66d3cfef4bbd?ixlib=rb-1.2.1&auto=format&fit=crop&w=881&q=80"
                  alt="member-2">
                <img
                  src="https://images.unsplash.com/photo-1521122872341-065792fb2fa0?ixlib=rb-1.2.1&auto=format&fit=crop&w=2208&q=80"
                  alt="member-3">
                <img
                  src="https://images.unsplash.com/photo-1486302913014-862923f5fd48?ixlib=rb-1.2.1&auto=format&fit=crop&w=3400&q=80"
                  alt="member-4">
                <img
                  src="https://images.unsplash.com/photo-1484187216010-59798e9cc726?ixlib=rb-1.2.1&auto=format&fit=crop&w=955&q=80"
                  alt="member-5">
              </div>
            </div>
            <div class="task-box yellow">
              <div class="description-task">
                <div class="time">11:00 - 12:00 PM</div>
                <div class="task-name">Practise</div>
              </div>
              <div class="more-button"></div>
              <div class="members">
                <img
                  src="https://images.unsplash.com/photo-1491349174775-aaafddd81942?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=934&q=80"
                  alt="member">
                <img
                  src="https://images.unsplash.com/photo-1476657680631-c07285ff2581?ixlib=rb-1.2.1&auto=format&fit=crop&w=2210&q=80"
                  alt="member-2">
                <img
                  src="https://images.unsplash.com/photo-1496345875659-11f7dd282d1d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2250&q=80"
                  alt="member-3">
                <img
                  src="https://images.unsplash.com/photo-1455504490126-80ed4d83b3b9?ixlib=rb-1.2.1&auto=format&fit=crop&w=2250&q=80"
                  alt="member-4">
              </div>
            </div>
          </div>
        </div>
      </div>
</body>

</html>
* {
     box-sizing: border-box;
     outline: none;
   }
   
   :root {
     --bg-color: #f5f8ff;;
     --main-color: #353536;
     --secondary-color: #8e92a4;
     --main-text-color: #5d606b;
     --secondary-dark-color: #9496a5;
     --tag-color-one: #e0fbf6;
     --tag-color-text-one: #58c2a9;
     --tag-color-two: #ece7fe;
     --tag-color-text-two: #8972f3;
     --tag-color-three: #fde7ea;
     --tag-color-text-three: #e77f89;
     --tag-color-four: #f7f8fc;
     --tag-color-text-four: #a0a6b5;
     --checkbox-color: #009e90;
     --button-color: #49beb7;
     --box-color: #fff1d6;
     --box-color-2: #d3e6ff;
     --box-color-3: #ffd9d9;
     --box-color-4: #daffe5;
     --task-color: #777982;
   }
   
   %flex {
     display: flex;
     align-items: center;
   }
   
   body {
     margin: 0;
     @extend %flex;
     justify-content: center;
     flex-direction: column;
     overflow: auto;
     width: 100%;
     height: 100vh;
     padding: 20px;
     font-family: 'DM Sans', sans-serif;;
     font-size: 12px;
     background-image: linear-gradient(21deg, rgba(64, 83, 206, 0.3697003234675773) 68%, rgba(255, 206, 196, 0.5) 163%),linear-gradient(163deg, rgba(49, 146, 170, 0.07944489965716128) 86%, rgba(239, 112, 138, 0.5) 40%),linear-gradient(30deg, rgba(76, 79, 173, 0.6173675716587805) 22%, rgba(237, 106, 134, 0.5) 169%),linear-gradient(48deg, rgba(31, 85, 147, 0.7323890641868473) 64%, rgba(247, 126, 132, 0.5) 43%); background-blend-mode: overlay,multiply,color,normal;
   }
   
   ul {
     list-style-type: none;
     padding: 0;
   }
   
   button { 
     border: none; 
     background: none;
     cursor: pointer;
   }
   
   .task-manager {
     display: flex;
     justify-content: space-between;
     width: 100%;
     max-width: 1200px;
     height: 90vh;
     max-height: 900px;
     background: #fff;
     border-radius: 4px;
     box-shadow:
     0 0.3px 2.2px rgba(0, 0, 0, 0.011),
     0 0.7px 5.3px rgba(0, 0, 0, 0.016),
     0 1.3px 10px rgba(0, 0, 0, 0.02),
     0 2.2px 17.9px rgba(0, 0, 0, 0.024),
     0 4.2px 33.4px rgba(0, 0, 0, 0.029),
     0 10px 80px rgba(0, 0, 0, 0.04);
     overflow: hidden;
   }
   
   .left-bar {
     background-color: var(--bg-color);
     width: 230px;
     border-right: 1px solid #e3e7f7;
     position: relative;
   }
   
   .left-content { padding: 40px; }
   
   .item {
     @extend %flex;
     color: var(--main-color);
     margin-bottom: 14px;
     font-weight: 500;
     
     svg {
       width: 14px;
       height: 14px;
       color: currentcolor;
       margin-right: 10px;
     }
   }
   
   .category-list{
     margin-top: 50px;
     
     .item{ color: var(--secondary-color); }
   } 
   
   .actions {
     padding: 12px;
     display: flex;
     justify-content: space-between;
   }
   
   .circle {
     border-radius: 50%;
     width: 10px;
     height: 10px;
     background-color: #fe4d46;
     box-shadow: 14px 0 0 0 #fbc023, 28px 0 0 0 #7dd21f;
   }
   
   .circle-2 {
     border-radius: 50%;
     width: 4px;
     height: 4px;
     background-color: #d5d7e3;
     box-shadow: -6px 0 0 0 #d5d7e3, 6px 0 0 0 #d5d7e3;
   }
   
   .right-bar {
     width: 320px;
     border-left: 1px solid #e3e7f7;
     display: flex;
     flex-direction: column;
     
     .header { 
       font-size: 20px; 
       color: var(--main-text-color);
       margin-left: 30px;
     }
   }
   
   .top-part {
     padding: 30px;
     @extend %flex; 
     align-self: flex-end;
     
     svg {
       width: 14px;
       height: 14px;
       color: var(--main-color);
       margin-right: 14px;
     }
     
     .count {
       font-size: 12px;
       border-radius: 50%;
       width: 24px;
       height: 24px;
       background-color: #623ce8;
       color: #fff;
       @extend %flex;
       justify-content: center;
     }
   }
   
   .right-content {
     padding: 10px 40px;
     overflow-y: auto;
     flex: 1;
   }
   
   .task-box {
     position: relative;
     border-radius: 12px;
     width: 100%;
     margin: 20px 0;
     padding: 16px;
     cursor: pointer;
     box-shadow: 2px 2px 4px 0px rgba(235,235,235,1);
     
     &:hover {
       transform: scale(1.02);
     }
   }
   
   .time { margin-bottom: 6px; opacity: 0.4; font-size: 10px; }
   
   .task-name { 
     font-size: 14px; 
     font-weight: 500;
     opacity: 0.6;
   }
   
   .yellow { 
     background-color: var(--box-color);
   }
   
   .blue { background-color: var(--box-color-2); }
   
   .red { background-color: var(--box-color-3); }
   
   .green { background-color: var(--box-color-4); }
   
   .more-button {
     position: absolute;
     width: 3px;
     height: 3px;
     border-radius: 50%;
     background-color: #8e92a4;
     box-shadow: 0 -4px 0 0 #8e92a4, 0 4px 0 0 #8e92a4;
     opacity: 0.4;
     right: 20px;
     top: 30px;
     cursor: pointer;
   }
   
   .members {
     display: flex;
     margin-top: 14px;
     
     img {
       border-radius: 50%;
       width: 30px;
       height: 30px;
       margin-right: 4px;
       object-fit: cover;
     }
   }
   
   .page-content {
     display: flex;
     flex-direction: column;
     flex: 1;
     padding: 40px 20px 0 20px;
     
     .header { 
       font-size: 26px; 
       color: var(--main-color); 
       margin-top: 30px;
     }
   }
   
   .content-categories {
     display: flex;
     justify-content: space-evenly;
     width: 100%;
     border-bottom: 1px solid #ddd;
     padding: 20px 0;
   }
   
   .nav-item { display: none; }
   
   .category { 
     font-weight: 500; 
     color: var(--secondary-color); 
     border-bottom: 1px solid #ddd;
     transition: .4s ease-in;
     padding: 20px 30px;
     cursor: pointer;
   }
   
   #opt-1:checked + label ,
   #opt-2:checked +  label ,
   #opt-3:checked +  label ,
   #opt-4:checked +  label {
     color: var(--checkbox-color);
     border-bottom: 2px solid var(--checkbox-color);
   }
   
   .task-item { display: none; }
   
   .tasks-wrapper {
     padding: 30px 0;
     flex: 1;
     overflow-y: auto;
     height: 100%;
     padding-right: 8px;
   }
   
   .task {
     display: flex;
     justify-content: space-between;
     position: relative;
     margin-bottom: 16px;
     padding-left: 30px;
     color: var(--task-color);
     font-size: 13px;
     font-weight: 500;
     
     &:hover {
       transform: translatex(2px);
     }
     
     label {
       cursor: pointer;
     }
   }
   
    label .label-text { position: relative; }
   
    label .label-text:before {
     content:'';
     position: absolute;
     width: 14px;
     height: 14px;
     border: 1px solid #ddd;
     border-radius: 2px;
     left: -24px;
     transition: .2s ease;
   }
   
   .task-item:checked + label .label-text:before {
     background-color: var(--checkbox-color);
     border: none;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
     background-size: 10px;
     background-position: center;
     border: 1px solid var(--checkbox-color);
   }
   
   .tag {
     font-size: 10px;
     padding: 4px 8px;
     border-radius: 20px;
     
     &.approved {
       background-color: var(--tag-color-one);
       color: var(--tag-color-text-one);
     }
     
     &.progress {
       background-color: var(--tag-color-two);
       color: var(--tag-color-text-two);
     }
     
     &.review {
       background-color: var(--tag-color-three);
       color: var(--tag-color-text-three);
     }
     
     &.waiting {
       background-color: var(--tag-color-four);
       color: var(--tag-color-text-four);
     }
   }
   
   .upcoming { 
     border-bottom: 1px solid #ddd; 
     padding-bottom: 30px;
     margin-bottom: 30px;
   }
   
   @media screen and (max-width: 900px) {
     .left-bar {
       display: none;
     }
   }
   
   @media screen and (max-width: 700px) {
     .task-manager {
       flex-direction: column;
       overflow-y: auto;
     }
     
     .right-bar, .page-content {
       width: 100%;
       display: block;
     }
     
     .tasks-wrapper { height: auto; }
   }
   
   @media screen and (max-width: 520px) {
     .page-content { padding: 40px 10px 0 10px; }
     
     .right-content { padding: 10px 16px; }
     
     .category { padding: 20px; }
   }
728x90
LIST

'HTML _CSS' 카테고리의 다른 글

Candle Animation  (0) 2022.10.22
Box Card Hover Effects  (0) 2022.10.21
Animated BG  (0) 2022.10.18
Circular Progress Bar  (0) 2022.10.17
Multi-step Growing BTN  (0) 2022.10.14