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

잔글 (Xian(토론)의 편집을 Pika의 마지막 판으로 되돌림)
태그: 일괄 되돌리기
(버튼 테두리 없는 형태)
4번째 줄: 4번째 줄:
     list-style: none;
     list-style: none;
     margin: 0 !important;
     margin: 0 !important;
    border-top: 1px solid #e1e8ed;
    border-left: 1px solid #e1e8ed;
    background: rgba(217, 227, 231, 0.15);
}
}


13번째 줄: 10번째 줄:
     display: inline-block;
     display: inline-block;
     flex: 1 auto;
     flex: 1 auto;
     padding: 0.2rem;
     padding: 0.4rem;
     text-align: center;
     text-align: center;
     width: 6rem;
     width: 6rem;
     cursor: pointer;
     cursor: pointer;
    border-right: 1px solid #e1e8ed;
     border-bottom: 1px solid #e1e8ed;
     border-bottom: 1px solid #e1e8ed;
     transition: 0.2s;
     transition: 0.2s;
24번째 줄: 20번째 줄:
.libre .libre-tab .libre-tab-btn-active,
.libre .libre-tab .libre-tab-btn-active,
.libre .libre-tab .libre-tab-btn:hover {
.libre .libre-tab .libre-tab-btn:hover {
     background: rgba(213, 225, 230, 0.4);
    border-bottom: 2px solid #4188F1;
    font-weight: bold;
}
.libre .libre-tab .libre-tab-btn:hover {
     background: rgba(213,225,230,0.4);
}
}



2020년 12월 15일 (화) 00:20 판

.libre .libre-tab .libre-tab-btns {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 !important;
}

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

.libre .libre-tab .libre-tab-btn-active,
.libre .libre-tab .libre-tab-btn:hover {
    border-bottom: 2px solid #4188F1;
    font-weight: bold;
}
.libre .libre-tab .libre-tab-btn:hover {
    background: rgba(213,225,230,0.4);
}

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

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

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

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