dufs/assets/index.css

222 lines
2.9 KiB
CSS
Raw Normal View History

2022-05-26 11:17:55 +03:00
html {
font-family: -apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif;
line-height: 1.5;
color: #24292e;
}
2022-05-29 07:43:40 +03:00
body {
width: 700px;
}
2022-05-30 09:22:35 +03:00
.hidden {
display: none;
}
2022-05-26 11:17:55 +03:00
.head {
display: flex;
2022-05-29 07:43:40 +03:00
flex-wrap: wrap;
align-items: center;
2022-05-26 16:28:30 +03:00
padding: 1em 1em 0;
2022-05-26 11:17:55 +03:00
}
.breadcrumb {
font-size: 1.25em;
}
.breadcrumb > a {
color: #0366d6;
text-decoration: none;
}
.breadcrumb > a:hover {
text-decoration: underline;
}
/* final breadcrumb */
.breadcrumb > b {
color: #24292e;
}
.breadcrumb > .separator {
color: #586069;
padding: 0 0.25em;
}
.breadcrumb svg {
height: 100%;
fill: rgba(3,47,98,0.5);
padding-right: 0.5em;
padding-left: 0.5em;
}
2022-05-29 07:43:40 +03:00
.toolbox {
display: flex;
}
.searchbar {
display: flex;
flex-wrap: nowrap;
width: 246px;
height: 22px;
background-color: #fafafa;
transition: all .15s;
border: 1px #ddd solid;
border-radius: 15px;
margin: 0 0 2px 10px;
}
.searchbar #search {
box-sizing: border-box;
width: 100%;
height: 100%;
font-size: 16px;
line-height: 16px;
padding: 1px;
font-family: helvetica neue,luxi sans,Tahoma,hiragino sans gb,STHeiti,sans-serif;
background-color: transparent;
border: none;
outline: none;
}
.searchbar .icon {
color: #9a9a9a;
padding: 3px 3px;
cursor: pointer;
}
2022-05-26 13:06:52 +03:00
.upload-control {
2022-05-26 11:17:55 +03:00
cursor: pointer;
2022-05-28 13:58:43 +03:00
padding-left: 0.25em;
2022-05-26 11:17:55 +03:00
}
2022-05-29 07:43:40 +03:00
.upload-control input {
display: none;
}
.upload-status span {
width: 70px;
display: inline-block;
}
2022-05-26 11:17:55 +03:00
.main {
2022-05-26 16:28:30 +03:00
padding: 0 1em;
2022-05-26 11:17:55 +03:00
}
.empty-folder {
padding-top: 1rem;
font-style: italic;
}
2022-06-03 01:49:55 +03:00
.uploaders-table th,
.paths-table th {
2022-05-26 11:17:55 +03:00
text-align: left;
font-weight: unset;
color: #5c5c5c;
2022-05-26 16:28:30 +03:00
white-space: nowrap;
}
2022-06-03 01:49:55 +03:00
.uploaders-table td,
.paths-table td {
2022-05-26 16:28:30 +03:00
white-space: nowrap;
2022-05-26 11:17:55 +03:00
}
2022-06-03 01:49:55 +03:00
.uploaders-table .cell-name,
.paths-table .cell-name {
width: 500px;
2022-05-26 14:52:54 +03:00
}
2022-06-03 01:49:55 +03:00
.uploaders-table .cell-status {
width: 80px;
2022-05-26 16:28:30 +03:00
padding-left: 0.6em;
2022-05-26 11:17:55 +03:00
}
2022-06-03 01:49:55 +03:00
.paths-table .cell-actions {
width: 60px;
display: flex;
2022-05-26 16:28:30 +03:00
padding-left: 0.6em;
2022-05-26 14:52:54 +03:00
}
2022-06-03 01:49:55 +03:00
.paths-table .cell-mtime {
width: 120px;
padding-left: 0.6em;
}
.paths-table .cell-size {
text-align: right;
width: 70px;
2022-05-26 16:28:30 +03:00
padding-left: 0.6em;
2022-05-26 11:17:55 +03:00
}
2022-05-26 14:52:54 +03:00
2022-05-26 11:17:55 +03:00
.path svg {
height: 100%;
fill: rgba(3,47,98,0.5);
padding-right: 0.5em;
}
.path {
display: flex;
list-style: none;
}
.path a {
color: #0366d6;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: block;
text-decoration: none;
}
.path a:hover {
text-decoration: underline;
}
2022-05-28 13:58:43 +03:00
.action-btn {
padding-left: 0.4em;
}
2022-06-03 01:49:55 +03:00
.uploaders-table {
2022-05-26 11:17:55 +03:00
padding: 0.5em 0;
}
.uploader {
2022-05-26 14:52:54 +03:00
padding-right: 1em;
}
2022-06-09 17:16:43 +03:00
/* dark theme */
@media (prefers-color-scheme: dark) {
body {
background-color: #000;
}
html,
.breadcrumb>b,
.searchbar #search {
color: #fff;
}
.uploaders-table th,
.paths-table th {
color: #ddd;
}
svg,
.path svg {
fill: #d0e6ff;
}
.searchbar {
background-color: #111;
border-color: #fff6;
}
.searchbar svg {
fill: #fff6;
}
.path a {
color: #3191ff;
}
}