@charset "UTF-8"; .main-section { margin-top: 76px; } /* ダッシュボード */ #dashboard .item-wrap { display: grid; grid-template-columns: repeat(3,1fr); } #dashboard .item-wrap img { width: 40px; margin-bottom: 6px; } #dashboard .item-wrap .item { position: relative; text-align: center; margin: 5px; background: aliceblue; border-radius: 3px; } #dashboard .item-wrap .item .count { position: absolute; top: 5px; right: 10px; min-width: 22px; background: var(--red); color: var(--white); padding: 2px 6px; border-radius: 11px; } @media screen and (min-width: 768px) { #dashboard .item-wrap { display: flex; flex-wrap: wrap; } #dashboard .item-wrap .item { width: 150px; } } @media screen and (max-width: 413px) { #dashboard .item-wrap { grid-template-columns: repeat(2,1fr); } } /* ダッシュボード設定 */ .setting-table-wrap table { width: 100%; } .setting-table-wrap th { padding: 0.8rem; } .setting-table-wrap td { width: 80px; padding: 0.8rem; } /* 共通 */ .toggle { position: relative; width: 52px; height: 30px; border-radius: 50px; overflow: hidden; cursor: pointer; } .toggle input[type=checkbox] { display: none; } .toggle:before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; background: #e9e9eb; -webkit-transition: 0.2s ease-out; transition: 0.2s ease-out; } .toggle:after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; display: block; border-radius: 50px; background: #fff; box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.3); -webkit-transition: 0.2s ease-out; transition: 0.2s ease-out; } .toggle.checked:before { background: #35c759; } .toggle.checked:after { left: 25px; box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.5); } /* リスト */ .task-list .item { position: relative; } .task-list .item a{ padding-right: 40px!important; } .task-list .sub-title-wrap { display: flex; flex-direction: row; align-items: center; } .task-list .title, .task-list .sub-title{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; } .task-list .fas.fa-chevron-right { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); color: #E9E9E9; } .sub-title-wrap .data { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .task-list .item .tag{ width: fit-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* メッセージ一覧 */ .task-list .unread { background: var(--lightblue); border: 2px solid var(--blue)!important; } .task-list .unread .title, .task-list .unread .sub-title { font-weight: bold!important; } .task-list .unread .fas.fa-chevron-right { color: var(--white); } /* メッセージ詳細 */ .messege-detail th { width: 70px; } .messege-detail td { word-break: break-all; } #messageDetail #message { white-space: pre-line; } /* ピックアップ */ #pickup .main-section { margin-top: 60px; } #pickup .not-found { height: calc(100vh - 230px); display: flex; justify-content: center; align-items: center; flex-direction: column; } #pickup .not-found img{ width: 100px; } .not-found { height: calc(100vh - 230px); display: flex; justify-content: center; align-items: center; flex-direction: column; } .not-found img { width: 100px; } /* 切り替えタブ */ /* tab */ .tab-menu { position: relative; width: 100%; display: flex; margin-bottom: 0; overflow: auto; overflow-y: clip; } .tab-label { position: relative; font-weight: bold; padding: 10px; order: -1; z-index: 2; cursor: pointer; margin-bottom: 0; width: 100%; text-align: center; color: var(--secondary); min-width: 130px; } .tab-label label:after { content: ""; background: var(--black); opacity: .1; width: 100%; height: 4px; position: absolute; left: 0; bottom: 0; } .tab-label:after { background: var(--blue); bottom: 0; content: ''; display: block; height: 4px; left: 0; opacity: 0; pointer-events: none; position: absolute; transform: translateX(100%); transition: cubic-bezier(0.4, 0, 0.2, 1) .2s 80ms; width: 100%; z-index: 1; } .tab-label.on ~ .tab-label:after { transform: translateX(-100%); } .tab-label.on:after { opacity: 1; transform: translateX(0); } .tab-label label { cursor: pointer; white-space: nowrap; margin-bottom: 0; } .tab-label label .task-cnt{ font-weight: normal; color: var(--secondary); } .tab-content-area { width: 100%; } .tab-content { width: 100%; display: none; margin-top: 20px; animation: show .3s linear 0s; } .tab-label.on { color: var(--blue); } .tab-label.on .task-cnt{ font-weight: normal; color: var(--secondary); } .tab-content.on{ display: block; animation: show .3s linear 0s; } .tab-switch { display: none; } /* keyframe */ @keyframes show{ from{ opacity: 0; } to{ opacity: 1; } } /* .tab-wrap{ background: White; box-shadow: 0 0 5px rgba(0,0,0,.1); display: flex; flex-wrap: wrap; overflow: hidden; padding: 0 0 20px; } .tab-label { color: Gray; cursor: pointer; flex: 1; font-weight: bold; order: -1; padding: 12px 24px; position: relative; text-align: center; transition: cubic-bezier(0.4, 0, 0.2, 1) .2s; user-select: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; } .tab-label:hover { background: rgba(0, 191, 255,.1); } .tab-switch:checked + .tab-label { color: DeepSkyBlue; } .tab-label::after { background: DeepSkyBlue; bottom: 0; content: ''; display: block; height: 3px; left: 0; opacity: 0; pointer-events: none; position: absolute; transform: translateX(100%); transition: cubic-bezier(0.4, 0, 0.2, 1) .2s 80ms; width: 100%; z-index: 1; } .tab-switch:checked ~ .tab-label::after { transform: translateX(-100%); } .tab-switch:checked + .tab-label::after { opacity: 1; transform: translateX(0); } .tab-content { height:0; opacity:0; padding: 0 20px; pointer-events:none; transform: translateX(-30%); transition: transform .3s 80ms, opacity .3s 80ms; width: 100%; } .tab-switch:checked ~ .tab-content { transform: translateX(30%); } .tab-switch:checked + .tab-label + .tab-content { height: auto; opacity: 1; order: 1; pointer-events:auto; transform: translateX(0); } .tab-wrap::after { content: ''; height: 20px; order: -1; width: 100%; } .tab-switch { display: none; } */