@charset "utf-8"; .flex { display: flex; justify-content: space-between; align-items: center; } .flex-start { display: flex; justify-content: space-between; align-items: flex-start; } .flex-align { display: flex; justify-content: flex-start; align-items: center; } .content-box { width: 100%; padding: 15px; background-color: #fff; height: 100%; } .content-head { width: 100%; border-bottom: 1px solid #eee; padding: 15px 0; } .content-subtitle { color: #aaa; margin-bottom: 15px; } .content-body { padding: 30px 0; } .content-simple{ font-size: 1.4rem; font-weight: 700; margin-bottom: 15px; line-height: 160%; } .item-box li { background-color: #fff; padding: 30px; border: 1px solid #ddd; } /* btn */ .btn-wrap { display: flex; justify-content: end; padding: 10px 0; } .dark-gray-btn { background-color: #525e64; color: #fff; padding: 5px 10px; border-radius: 3px; margin-left: 5px; } .gray-btn { background-color: #ddd; color: #333; padding: 5px 10px; border-radius: 3px; margin-left: 5px; } .white-btn { border: 1px solid #525e64; color: #525e64; padding: 5px 10px; border-radius: 3px; background-color: #fff; margin-left: 5px; } .blue-btn { background-color: #4b77be; padding: 5px 10px; border-radius: 3px; color: #fff; margin-left: 5px; } .red-btn { background-color: #E7505A; padding: 5px 10px; border-radius: 3px; color: #fff; margin-left: 5px; } /* 토글 */ .toggle_box { display: flex; justify-content: center; align-items: center; } .custom_input { display: none; } .custom_input+label.toggle_btn_label { position: relative; width: 100px; height: 30px; } .custom_input+label.toggle_btn_label>span { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: all .4s; } .custom_input+label.toggle_btn_label>span:before { display: flex; position: absolute; height: 30px; width: fit-content; padding: 0 15px; left: 0; bottom: 0; background-color: #5cb85c; color: #fff; content: "ON"; align-items: center; font-weight: bold; color: rgb(29, 29, 29); -webkit-transition: all .4s; transition: all .4s; } .custom_input:checked+label.toggle_btn_label>span { background-color: black; } .custom_input:checked+label.toggle_btn_label>span:before { -webkit-transform: translateX(calc(10rem - 100%)); -ms-transform: translateX(calc(10rem - 100%)); transform: translateX(calc(10rem - 100%)); right: 0; bottom: 0; content: "OFF"; background-color: #f8f8f8; } .custom_input:disabled+label.toggle_btn_label { display: none; } .toggle_box>span { font-size: 1.2rem; margin-right: 10px; } /* input */ .input-half { width: 45%; height: 35px; padding: 12px; border-radius: 4px; border: 1.5px solid lightgrey; outline: none; transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1); box-shadow: 0px 0px 20px -18px; } .input-full { width: 100%; height: 35px; padding: 12px; border-radius: 4px; border: 1.5px solid lightgrey; outline: none; transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1); box-shadow: 0px 0px 20px -18px; } .input-full:hover, .input-half:hover { border: 2px solid lightgrey; box-shadow: 0px 0px 20px -17px; } .input-full:active, .input-half:active { transform: scale(0.95); } .input-full:focus, .input-half:focus { border: 2px solid grey; } /* icon */ .icon span { border-radius: 50px; border: 1px solid #333; padding: 4px 7px; margin-left: 5px; } .icon-red span { border: 1px solid red; } .icon-red span i { color: red; } input[type="checkbox"], input[type="radio"]{ margin-right: 5px; } .check-box{ display: flex; align-items: center; margin-right: 10px; }