417 lines
9.0 KiB
CSS
417 lines
9.0 KiB
CSS
@charset "utf-8";
|
|
|
|
/*!
|
|
* kimsQ Rb v2.4 게시판 모바일 기본형 테마 스타일 (rc-default)
|
|
* bbs theme Version: 1.0
|
|
* Homepage: http://www.kimsq.com
|
|
* Copyright 2019 redblock inc
|
|
* Licensed under RBL
|
|
* Based on RC v1
|
|
*/
|
|
|
|
/**
|
|
* 목차:
|
|
*
|
|
* 1 - 공통
|
|
* 2 - 게시물 목록
|
|
* 3 - 게시물 보기
|
|
* 4 - 게시물 쓰기
|
|
* ----------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
/**
|
|
* 공통
|
|
* ----------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
* 게시물 목록
|
|
* ----------------------------------------------------------------------------
|
|
*/
|
|
.bar .nav-inline .nav-link:focus {
|
|
outline: 0
|
|
}
|
|
|
|
/* 게시물 없음 */
|
|
[data-role="bbs-list"] .rb-none {
|
|
height: calc(100vh - 12rem);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
color: #9a9eac;
|
|
line-height: 1
|
|
}
|
|
|
|
[data-role="bbs-list"] .table-view-cell {
|
|
padding-top: 0.625rem;
|
|
padding-bottom: 0.625rem
|
|
}
|
|
[data-role="bbs-list"] .table-view-cell a {
|
|
letter-spacing: -0.0625rem;
|
|
line-height: 1.4;
|
|
}
|
|
[data-role="bbs-list"] .table-view-cell a.js-btn-href {
|
|
font-size: .75rem;
|
|
letter-spacing: inherit;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* 비밀글 */
|
|
[data-role="bbs-list"] .table-view-cell.secret {
|
|
color: #818a91 !important;
|
|
}
|
|
[data-role="bbs-list"] .table-view-cell.secret img {
|
|
-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
|
|
filter: grayscale(100%);
|
|
}
|
|
[data-role="bbs-list"] .table-view-cell.secret .btn-outline-secondary {
|
|
color: #ccc;
|
|
border-color: #eee;
|
|
}
|
|
[data-role="bbs-list"] .table-view-cell.secret .badge {
|
|
color: #999;
|
|
}
|
|
|
|
/* 포커싱된 항목을 배경색으로 강조표시 */
|
|
[data-role="bbs-list"] .table-view-cell:focus {
|
|
background-color: #f5f5f5 !important
|
|
}
|
|
|
|
[data-role="bbs-list"] .listMarkup-card .card .card-header .btn-link {
|
|
color: #ccc;
|
|
}
|
|
[data-role="bbs-list"] .listMarkup-card .card .card-footer .nav-control .nav-link {
|
|
font-size: 1rem;
|
|
color: #666;
|
|
background-color: #fff;
|
|
padding-top: .8rem;
|
|
padding-bottom: .8rem;
|
|
}
|
|
[data-role="bbs-list"] .listMarkup-card .card .card-footer .nav-control .nav-link:active {
|
|
background-color: #eee;
|
|
}
|
|
|
|
[data-role="bbs-list"] .listMarkup-card .card:focus {
|
|
border-color: #007bff;
|
|
}
|
|
|
|
/* photo-mask */
|
|
figure.photo-mask {
|
|
margin-bottom: 0;
|
|
position: relative;
|
|
}
|
|
.photo-mask::before {
|
|
position: absolute;
|
|
content: ' ';
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
.photo-mask.photo-mask-dark::before {
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
}
|
|
.photo-mask:active::before,
|
|
.photo-mask:focus::before {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
/* photo-grid */
|
|
.rb-photogrid .gutter-half {
|
|
margin-top: 2.3px;
|
|
margin-right: -1.5px;
|
|
margin-left: -1.5px;
|
|
}
|
|
|
|
.rb-photogrid .gutter-half > .col,
|
|
.rb-photogrid .gutter-half > [class*="col-"] {
|
|
padding-bottom: 2.5px;
|
|
padding-right: 1.5px;
|
|
padding-left: 1.5px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.rb-photogrid [class*="col-"] a {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.rb-photogrid [class*="col-"] .embed-responsive::before {
|
|
position: absolute;
|
|
content: ' ';
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
.rb-photogrid .label {
|
|
position: absolute;
|
|
font-weight: normal;
|
|
color: white;
|
|
z-index: 99;
|
|
display: block;
|
|
padding-top: 3px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
font-size: 12px;
|
|
height: 22px;
|
|
text-align: center;
|
|
}
|
|
|
|
.rb-photogrid .label:empty {
|
|
display: none
|
|
}
|
|
|
|
.rb-photogrid .label.active {
|
|
background-color: #35C5F0;
|
|
}
|
|
|
|
.rb-photogrid .nic-name {
|
|
position: absolute;
|
|
bottom: 5px;
|
|
left: 7px;
|
|
font-weight: normal;
|
|
color: #fff;
|
|
z-index: 99;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.rb-photogrid figure:focus {
|
|
border: 2px solid #35C5F0;
|
|
}
|
|
|
|
|
|
[data-role="post"] .table-view-info {
|
|
background-color: #F5FFFE !important;
|
|
}
|
|
|
|
|
|
/**
|
|
* rb-bbs-view 게시물 보기
|
|
* ----------------------------------------------------------------------------
|
|
*/
|
|
|
|
[data-role="bbs-view"] .bar-nav .title-left {
|
|
padding-right: 1.25rem
|
|
}
|
|
[data-role="bbs-view"] .bar-nav .title span {
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
word-break: break-all;
|
|
text-overflow: ellipsis;
|
|
-o-text-overflow: ellipsis;
|
|
-ms-text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
-webkit-line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.rb-article-title {
|
|
margin-top: 0.25rem;
|
|
font-weight: normal;
|
|
font-size: 1.4375rem;
|
|
line-height: 1.8125rem;
|
|
letter-spacing: -0.0625rem;
|
|
}
|
|
.rb-meta {
|
|
line-height: 1.2
|
|
}
|
|
.rb-article {
|
|
line-height: 1.625;
|
|
font-size: 1.0625rem;
|
|
}
|
|
.rb-article figure.image img {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
.card.figure .btn {
|
|
position: absolute;
|
|
bottom: .3rem;
|
|
right: .3rem;
|
|
padding: .5rem;
|
|
color: #fff;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
/* border-radius: 50%; */
|
|
}
|
|
|
|
.popup .share .list-inline-item {
|
|
width: 27%;
|
|
text-align: center;
|
|
}
|
|
.popup .share img {
|
|
width: 3.5rem
|
|
}
|
|
.popup .share a {
|
|
color: #444
|
|
}
|
|
|
|
[data-role="btn_post_like"].active .fa-heart-o:before {
|
|
content: "\f004";
|
|
}
|
|
[data-role="btn_post_like"].active .fa,
|
|
[data-role="btn_post_dislike"].active .fa {
|
|
color: red;
|
|
}
|
|
[data-role="btn_post_like"].active.heartbeat .fa,
|
|
[data-role="btn_post_dislike"].active.heartbeat .fa {
|
|
animation: heartbeat .8s;
|
|
}
|
|
|
|
@keyframes heartbeat
|
|
{
|
|
0%
|
|
{
|
|
transform: scale( 1.8 );
|
|
}
|
|
30%
|
|
{
|
|
transform: scale( 1 );
|
|
}
|
|
60%
|
|
{
|
|
transform: scale( 1.8 );
|
|
}
|
|
100%
|
|
{
|
|
transform: scale( 1 );
|
|
}
|
|
}
|
|
.tag .badge {
|
|
margin-left: .3rem;
|
|
margin-bottom: .3rem
|
|
}
|
|
|
|
/**
|
|
* rb-bbs-write 게시물 쓰기
|
|
* ----------------------------------------------------------------------------
|
|
*/
|
|
|
|
/*글쓰기 전용*/
|
|
[data-role="write"] .form-list select,
|
|
[data-role="write"] .form-list textarea,
|
|
[data-role="write"] .form-list input[type="text"],
|
|
[data-role="write"] .form-list input[type="search"] {
|
|
border-color: rgba(0, 0, 0, 0.075);
|
|
}
|
|
[data-role="write"] input::placeholder {
|
|
color: #999;
|
|
}
|
|
[data-role="write"] .guide {
|
|
height: 50vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
color: #9a9eac;
|
|
}
|
|
|
|
[data-role="write"] .rb-attach.active ~ .guide {
|
|
display: none
|
|
}
|
|
|
|
[data-role="write"] .ck.ck-editor__editable:not(.ck-editor__nested-editable).ck-focused {
|
|
outline: none;
|
|
border: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
[data-role="write"] .ck.ck-placeholder:before,
|
|
[data-role="write"] .ck .ck-placeholder:before {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
[data-role="write"] .ck-editor__editable_inline {
|
|
height: 6vh;
|
|
}
|
|
[data-role="write"].editor-focused .ck-editor__editable_inline {
|
|
height: auto;
|
|
}
|
|
.mac-os [data-role="write"].editor-focused .ck-editor__editable_inline {
|
|
min-height: 20vh;
|
|
}
|
|
|
|
[data-role="write"] [data-role="editor-nav"] {
|
|
display: none
|
|
}
|
|
[data-role="write"] [data-role="editor-nav"] {
|
|
display: none
|
|
}
|
|
[data-role="write"].editor-focused header,
|
|
[data-role="write"].editor-focused .form-list,
|
|
[data-role="write"].editor-focused .editor-focused-hide,
|
|
[data-role="write"].editor-focused [data-role="write-nav"] {
|
|
display: none
|
|
}
|
|
[data-role="write"].editor-focused [data-role="editor-nav"] {
|
|
display: block
|
|
}
|
|
.[data-role="write"].editor-focused .bar-nav ~ .content {
|
|
top: 2.75rem;
|
|
bottom: .5rem;
|
|
padding-top: 0;
|
|
}
|
|
[data-role="write"] .bar-nav .ck-toolbar {
|
|
border: none;
|
|
box-shadow: none;
|
|
background-color: inherit;
|
|
}
|
|
[data-role="write"] .bar-nav .ck-toolbar .ck-button {
|
|
padding: .2rem .3rem;
|
|
}
|
|
[data-role="write"] .bar-nav .ck-toolbar .ck.ck-icon {
|
|
font-size: 1em;
|
|
}
|
|
[data-role="write"] .ck-insert-table-dropdown__grid {
|
|
padding: .6rem!important;
|
|
}
|
|
[data-role="write"] .ck .ck-insert-table-dropdown-grid-box,
|
|
[data-role="write"] .ck-insert-table-dropdown__label {
|
|
display: none;
|
|
}
|
|
[data-role="write"] .ck .ck-insert-table-dropdown-grid-box{
|
|
-ms-flex: 1 1 auto!important;
|
|
flex: 1 1 auto!important;
|
|
height: 2rem!important;
|
|
}
|
|
[data-role="write"] .ck .ck-insert-table-dropdown-grid-box:nth-child(1),
|
|
[data-role="write"] .ck .ck-insert-table-dropdown-grid-box:nth-child(2),
|
|
[data-role="write"] .ck .ck-insert-table-dropdown-grid-box:nth-child(3 ) {
|
|
display: block;
|
|
}
|
|
[data-role="write"] .ck.ck-editor__editable > .ck-placeholder::before {
|
|
color: #999;
|
|
}
|
|
[data-role="write"] .spinner-border {
|
|
border-width : .15em;
|
|
}
|
|
[data-role="write"] .content .spinner-border {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
}
|
|
|
|
[data-role="write"] [data-role="editor"] {
|
|
max-height: 65px;
|
|
overflow: hidden;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
[data-role="write"].editor-focused [data-role="editor"] {
|
|
max-height: calc(100vh - 42px);
|
|
overflow-y: auto;
|
|
-webkit-line-clamp : unset
|
|
}
|
|
|
|
[data-role="bbs-photo"] .swiper-slide {
|
|
overflow: visible !important;
|
|
}
|