芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/.trash/supportboard/css/responsive.scss
/* * * ========================================================== * RESPONSIVE.SCSS * ========================================================== * * Front-end responsive css. This file is imported only. * */ @media (max-width: 428px) { body.sb-chat-open { overscroll-behavior-y: contain; } .sb-chat { .sb-label-date-top { top: 58px; } .sb-btn-emoji, &.sb-header-hidden .sb-header-main { display: none !important; } &.sb-header-hidden { .sb-header-main + .sb-list { padding-top: 0 !important; margin-top: 0 !important; } } &.sb-dashboard-active .sb-body .sb-scroll-area { height: 100%; } .sb-dashboard-end { display: block; } .sb-icon-close, .sb-bar-icons > div, .sb-search-btn > i, .sb-select, .sb-submit { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); user-select: none; } .sb-responsive-close-btn { display: none; position: fixed; width: 50px; height: 50px; right: 0; top: 0; text-align: right; z-index: 99995; &:before { font-size: 12px; z-index: 9; position: relative; top: 8px; right: 10px; color: #FFF; } } .sb-header .sb-responsive-close-btn:before { top: 6px; } &.sb-active { .sb-chat-btn { display: none; } .sb-body { display: flex; max-height: 100% !important; right: 0; left: 0; } &.sb-dashboard-active .sb-responsive-close-btn { display: block; } } &.sb-panel-active .sb-responsive-close-btn { display: none !important; } .sb-body { position: fixed; flex-direction: column; width: auto; left: 0; right: 0; top: 0; bottom: 0; border: none; border-radius: 0; box-shadow: none; .sb-scroll-area { height: calc(100% - 55px); min-height: 0; .sb-header { position: fixed; left: 0; right: 0; .sb-dashboard-btn { opacity: 1; font-size: 12px; right: 15px; } &.sb-header-main .sb-dashboard-btn { width: 50px !important; height: 50px !important; top: 0; right: 0; &:before { position: relative; top: 6px; right: 10px; } } &.sb-header-panel { padding: 5px 30px 5px 60px; .sb-dashboard-btn { left: 10px !important; right: auto !important; &:before { content: "\74"; } } } &:hover .sb-dashboard-btn { left: 15px; } } .sb-header-agent { padding: 10px 15px; + .sb-list { min-height: calc(100% - 65px); padding-top: 65px; > .sb-notify-message { top: 60px; } } .sb-responsive-close-btn { display: block; } } } } .sb-popup-message { position: fixed; width: auto; left: 15px; right: 15px; bottom: 100px; > img { display: none; } } .sb-popup .sb-header .sb-search-btn > input { width: 200px; box-sizing: border-box; min-width: 0; } .sb-editor { .sb-textarea { padding-right: 55px; } .sb-attachments > div > i { opacity: 1; } .sb-bar div.sb-btn-attachment { margin-right: 0; } } &.sb-notify-active .sb-body .sb-scroll-area .sb-header-agent + .sb-list { padding-top: 185px; } } .sb-lightbox { left: 0; right: 0; width: auto; transform: translateY(-50%); margin: 0 15px; } .sb-lightbox-overlay i { background: #000; border-radius: 4px; } .sb-select ul { z-index: 8; } .sb-articles-page { flex-direction: column-reverse; > div { min-width: 0 !important; width: auto !important; } .sb-panel-side { border-left: none; border-bottom: 1px solid #d4d4d4; border-radius: 0; } } .sb-rtl .sb-editor .sb-textarea { padding-right: 15px; padding-left: 55px; } .sb-list { .sb-time { left: 5px; bottom: -13px; top: auto; background: rgba(0, 0, 0, .5); color: #FFF; border-radius: 3px; padding: 2px 5px 1px 5px; z-index: 2; } div.sb-right .sb-time { right: 5px; } } .sb-header-main > .sb-responsive-close-btn { display: block; } }