틀:탭/styles.css: 두 판 사이의 차이

잔글편집 요약 없음
잔글편집 요약 없음
6번째 줄: 6번째 줄:
     border-top: 1px solid #e1e8ed;
     border-top: 1px solid #e1e8ed;
     border-left: 1px solid #e1e8ed;
     border-left: 1px solid #e1e8ed;
     background: rgba(213, 225, 230, 0.4);
     background: rgba(213, 225, 230, 0.1);
}
}


24번째 줄: 24번째 줄:
.libre-tab .libre-tab-btn-active,
.libre-tab .libre-tab-btn-active,
.libre-tab .libre-tab-btn:hover {
.libre-tab .libre-tab-btn:hover {
     background: rgba(213, 225, 230, 0.07);
     background: rgba(213, 225, 230, 0.4);
}
}



2020년 1월 22일 (수) 20:12 판

.libre-tab .libre-tab-btns {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 !important;
    border-top: 1px solid #e1e8ed;
    border-left: 1px solid #e1e8ed;
    background: rgba(213, 225, 230, 0.1);
}

.libre-tab .libre-tab-btn {
    position: relative;
    display: inline-block;
    flex: 1 auto;
    padding: 0.5rem;
    text-align: center;
    width: 6rem;
    cursor: pointer;
    border-right: 1px solid #e1e8ed;
    border-bottom: 1px solid #e1e8ed;
    transition: 0.2s;
}

.libre-tab .libre-tab-btn-active,
.libre-tab .libre-tab-btn:hover {
    background: rgba(213, 225, 230, 0.4);
}

.libre-tab .libre-tab-btn-active::before,
.libre-tab .libre-tab-btn:hover::before {
    position: absolute;
    left: 0px;
    bottom: 0px;
    content: ' ';
    width: 100%;
    display: block;
    border-bottom: 2px solid #4188F1;
}

.libre-tab .libre-tab-main {
    border: 1px solid #e1e8ed;
    border-top: 0;
    padding: 1.5rem;
}

.libre-tab .libre-tab-main-content {
    display: none;
}

.libre-tab .libre-tab-main-content-active {
    display: block;
}