mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
repair the code style
This commit is contained in:
@@ -1677,6 +1677,95 @@ button.sf-dropdown-toggle:focus {
|
|||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* mobile flie-menu */
|
||||||
|
.mobile-menu-mask {
|
||||||
|
position: fixed;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 99;
|
||||||
|
background-color: #000;
|
||||||
|
opacity: 0.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu-content {
|
||||||
|
position: fixed;
|
||||||
|
width: 100%;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 100;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu-content ul {
|
||||||
|
border-top: solid 1px #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu-content ul li {
|
||||||
|
line-height: 40px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu-content ul li:hover{
|
||||||
|
background-color: #eb8205;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu-content a {
|
||||||
|
display: inline-block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*mobiel editor-menu and responsed */
|
||||||
|
@media (max-width: 991.98px) {
|
||||||
|
#file-enc-cont {
|
||||||
|
width: 100%;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.CodeMirror.CodeMirror-wrap{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: -20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sf2-mobile-menu-toggle {
|
||||||
|
font-size: 22px;
|
||||||
|
line-height: 1;
|
||||||
|
color: #999;
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sf2-mobile-menu-toggle:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
color:#999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sf2-mobile-menu {
|
||||||
|
position: absolute;
|
||||||
|
display: none;
|
||||||
|
top: 50px;
|
||||||
|
right: 10px;
|
||||||
|
background:#fff;
|
||||||
|
z-index: 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sf2-mobile-menu ul li a {
|
||||||
|
min-width: 10rem;
|
||||||
|
padding: 0.5rem 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#file-view {
|
||||||
|
width: 100% !important;
|
||||||
|
border-right: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pdf {
|
||||||
|
width: 95%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**** discussions/comments ****/
|
/**** discussions/comments ****/
|
||||||
.msg {
|
.msg {
|
||||||
padding:5px 10px;
|
padding:5px 10px;
|
||||||
@@ -4234,91 +4323,3 @@ img.thumbnail {
|
|||||||
display:inline-block;
|
display:inline-block;
|
||||||
margin-top:4px;
|
margin-top:4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* mobile-menu */
|
|
||||||
.mobile-menu-mask {
|
|
||||||
position: fixed;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: 99;
|
|
||||||
background-color: #000;
|
|
||||||
opacity: 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mobile-menu-content {
|
|
||||||
position: fixed;
|
|
||||||
width: 100%;
|
|
||||||
left: 0;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: 100;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mobile-menu-content ul {
|
|
||||||
border-top: solid 1px #eee;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mobile-menu-content ul li {
|
|
||||||
line-height: 40px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mobile-menu-content ul li:hover{
|
|
||||||
background-color: #eb8205;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mobile-menu-content a {
|
|
||||||
display: inline-block;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* // Medium devices (tablets, less than 992px) */
|
|
||||||
@media (max-width: 991.98px) {
|
|
||||||
#file-enc-cont {
|
|
||||||
width: 100%;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.CodeMirror.CodeMirror-wrap{
|
|
||||||
width: 100%;
|
|
||||||
margin-top: -20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sf2-mobile-menu-toggle {
|
|
||||||
font-size: 22px;
|
|
||||||
line-height: 1;
|
|
||||||
color: #999;
|
|
||||||
margin-top: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sf2-mobile-menu-toggle:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
color:#999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sf2-mobile-menu {
|
|
||||||
position: absolute;
|
|
||||||
display: none;
|
|
||||||
top: 50px;
|
|
||||||
right: 10px;
|
|
||||||
background:#fff;
|
|
||||||
z-index: 20;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sf2-mobile-menu ul li a {
|
|
||||||
min-width: 10rem;
|
|
||||||
padding: 0.5rem 0.75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#file-view {
|
|
||||||
width: 100% !important;
|
|
||||||
border-right: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pdf {
|
|
||||||
width: 95%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user