1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 12:27:48 +00:00
Files
seahub/frontend/src/css/common.css

175 lines
2.6 KiB
CSS
Raw Normal View History

/* begin top logo */
.top-logo {
display: flex;
justify-content: space-between;
flex: 1;
}
/* end top logo */
2018-09-15 16:14:17 +08:00
.panel-heading {
position: relative;
padding: .5rem 1rem;
width: 100%;
height: 2.5rem;
2018-09-15 16:14:17 +08:00
font-size: 1rem;
font-weight: normal;
line-height: 1.5;
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.a-simulate {
color: #eb8205 !important;
text-decoration: none;
font-weight: normal;
cursor: pointer;
}
.a-simulate:hover {
text-decoration: underline;
}
.flex-right {
justify-content: flex-end;
}
2018-09-18 20:57:17 -05:00
/* begin path navigation */
.path-containter { /* for the real path */
font-size:16px;
word-break: break-all;
}
.path-split {
display: inline-block;
padding: 0 5px;
color: #818a91;
}
.path-link {
color: #eb8205 !important;
text-decoration: none;
}
.path-link:hover {
cursor: pointer;
text-decoration: underline !important;
}
/* end path navigation */
2018-09-15 16:14:17 +08:00
/* begin main table list style */
.table-container {
flex: 1;
2018-09-21 14:16:15 +08:00
padding: 10px 16px 20px;
2018-09-15 16:14:17 +08:00
overflow: auto;
}
.table-container table {
width: 100%;
}
.table-container table th {
text-align: left;
font-weight: normal;
2018-09-18 20:57:17 -05:00
font-size: 13px;
line-height: 1.6;
2018-09-15 16:14:17 +08:00
color: #9c9c9c;
}
.table-container table td {
color: #333;
font-size: 14px;
word-break: break-all;
}
.table-container table th, .table-container table td {
2018-09-18 20:57:17 -05:00
padding: 5px 3px;
2018-09-15 16:14:17 +08:00
border-bottom: 1px solid #eee;
}
2018-09-18 20:57:17 -05:00
.table-container table th {
padding-top: 1rem;
}
.table-container table .icon {
position: relative;
}
.table-container table .icon img {
position: absolute;
2018-09-15 16:14:17 +08:00
display: block;
width: 24px;
height: 24px;
2018-09-18 20:57:17 -05:00
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
2018-09-15 16:14:17 +08:00
}
/* specific handler */
.table-container table .menu-toggle {
text-align: center;
2018-09-21 14:16:15 +08:00
cursor: pointer;
2018-09-15 16:14:17 +08:00
}
.tr-highlight {
background-color: #f8f8f8;
}
/* end main list style */
/* begin dropdown-menu style */
.dropdown-menu {
min-width: 8rem;
}
2018-09-21 14:16:15 +08:00
.dropdown-item {
cursor: pointer;
}
2018-09-15 16:14:17 +08:00
/* end dropdown-menu style */
/* begin tip */
.empty-tip {
2018-09-21 14:16:15 +08:00
margin: auto 1rem;
2018-09-15 16:14:17 +08:00
padding: 30px 40px;
background-color: #FAFAFA;
border: solid 1px #DDD;
border-radius: 3px;
box-shadow: inset 0 0 8px #EEE;
margin-top: 5.5em;
}
.empty-tip h2 {
font-size: 1.25rem;
2018-09-15 16:14:17 +08:00
text-align: center;
color: #222;
font-weight: bold;
2018-09-15 16:14:17 +08:00
}
2018-09-15 16:14:17 +08:00
/* end tip */
/* begin more component */
.list-show-more {
padding: 0.25rem 0.75rem;
line-height: 2rem;
text-align: center;
color: #eb8205;
cursor: pointer;
}
.list-show-more:hover {
background-color: #eee;
}
.list-show-more .more-message {
font-size: 0.875rem;
color: #888;
text-decoration: underline;
}
/* end more component */