Files
firstgarden-web-gnu/plugin/editor/rb.editor/css/preview.css
2025-07-02 14:13:16 +09:00

152 lines
4.7 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
word-wrap: break-word;
font-family:'font-R',sans-serif !important;
}
.font-R {font-family:'font-R',sans-serif !important;}
.font-B {font-family:'font-B',sans-serif !important;}
.font-H {font-family:'font-H',sans-serif !important;}
ul, li {padding: 0px; margin: 0px; list-style: none;}
mark {background-color:rgba(170, 32, 255, 0.1) !important;}
#rb_editor_preview * {line-height: 140% !important;}
#rb_editor_preview img {max-width: 100%;}
#rb_editor_preview table {max-width: 100%;}
#rb_editor_preview {
padding: 20px;
box-sizing: border-box;
}
#rb_editor_preview .resizable img {
display: block;
width: 100% !important;
height: 100% !important;
box-sizing: border-box;
}
#rb_editor_preview .resizable {
position: relative;
display: inline-block;
user-select: none;
max-width: 100%;
}
/* 메타 정보 */
#rb_editor_preview .url-preview {
padding: 0px;
margin: 10px 0;
position: relative;
box-sizing: border-box;
border:1px solid rgba(0,0,0,0.0);
display: inline-block;
box-sizing: border-box;
}
#rb_editor_preview .url-preview-video .url-preview {width: 450px; height:auto;}
#rb_editor_preview .url-preview-meta .url-preview {width: 450px; background-color: #F0F3F9; padding: 20px; border-radius: 10px; min-height: 125px;}
#rb_editor_preview .url-preview-img .url-preview {width: 450px; height:auto;}
#rb_editor_preview .url-preview-img .url-preview a {border:0px;}
#rb_editor_preview .url-preview-img .url-preview .delete-preview img {object-fit: none; width: auto; height:auto;}
#rb_editor_preview .url-preview .proxyImg {
position: absolute;
top: 20px;
left: 20px;
}
#rb_editor_preview .url-preview .proxyImg img {
width: 150px;
height: 83px;
object-fit: cover;
border-radius: 10px;
border:0px !important;
}
#rb_editor_preview .url-preview .metaData {
padding-left: 170px;
text-align: left;
}
#rb_editor_preview .url-preview .delete-preview {
display: none;
}
#rb_editor_preview .url-preview .delete-preview:hover {
opacity: 0.7;
}
#rb_editor_preview .url-preview h3 {
margin: 0px 0;
font-size: 16px;
display: block;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#rb_editor_preview .url-preview p {
margin: 2px 0;
font-size: 12px;
color: #999;
display: block;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
#rb_editor_preview .url-preview a {
color: #000;
font-size: 11px;
display: block;
margin-top: 0px;
text-decoration: none;
}
#rb_editor_preview .url-preview .rb-video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 비율 */
height: 0;
overflow: hidden;
max-width: 100%;
background: black;
}
#rb_editor_preview .url-preview .rb-video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#rb_editor_preview .rb-editor-hr {border-color:rgba(0,0,0,0.1);}
.resizable-table-handle {display: none;}
.rb_editor_table_wrap {position: relative;}
td .resizable_wrap, th .resizable_wrap {max-width: 100%;}
#rb_editor_preview .rb_tag {margin-top: -2px; display: inline-block; margin-bottom: 5px; vertical-align:top; max-width: 100%; width: auto; white-space: nowrap;overflow: hidden;text-overflow: ellipsis; max-width: 90%;}
#rb_editor_preview .rb_tag a {border-bottom: 0px !important; text-decoration: none !important; border-bottom: 0px !important; padding: 5px 10px 5px 10px; border-radius: 40px; font-size: 12px; background-color: #F0F3F9; display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
#rb_editor_preview .rb_tag a:hover {background-color: #e6e9ef;}
@media all and (max-width:512px) {
#rb_editor_preview .url-preview-video .url-preview {width: 100% !important;}
#rb_editor_preview .url-preview-meta .url-preview {width: 100% !important;}
#rb_editor_preview .url-preview .proxyImg {position: inherit; top:inherit; left: inherit; width: 100%;}
#rb_editor_preview .url-preview .metaData {padding-left: 0px !important; margin-top: 15px;}
#rb_editor_preview .url-preview .proxyImg img {width: 100%; height:150px;}
#rb_editor_preview .url-preview .delete-preview {top:auto; bottom:10px; right:15px;}
#rb_editor_preview .url-preview a {margin-top: 10px;}
#rb_editor_preview .url-preview .proxyImg img {height: auto !important;}
#rb_editor_preview .resizable-table {overflow-x: auto; width: 100% !important; display: block; max-width: 100%;}
#rb_editor_preview .resizable-table .rb_editor_table_wrap {min-width: 768px; width: auto;}
}