filesafe/public/css/dashboard.css
Bobby Wibowo 66a63ca6d6
Updates (YAY, CHUNKED UPLOADS!)
* Added new dependency: rimraf. This will be used by chunked upload support to bulk delete temporary chunk files.

* Added chunked uploads support :3

* Updated Dropzone to 5.2.0.

* More improvements to thumbnail view. Delete button will now only appear on hover. Some other details, such as file name, size and album/owner will also appear on hover. Touch devices will have all of those appear always visible by default.

* Image thumbnails will now appear on home page after successful uploads (only for WEBP, JPG, JPEG, BMP, GIF and PNG files). WEBP may not work properly in Firefox though.

* Refactored home.js to use const/let and some other stuff.

* Refactored album view. It will now display properly on mobile screen. Download Album button will also no longer be located at the top right, but right below the subtitle.

* Updated some version strings.

* And maybe some others that I can't remember.
2018-03-28 18:36:28 +07:00

163 lines
2.7 KiB
CSS

/* ------------------
COLORS BASED ON
KDE BREEZE DARK
------------------ */
html {
background-color: #232629;
}
.section {
background: none;
}
.menu-list a {
color: #2980b9;
}
.menu-list a:hover {
color: #3daee9;
background-color: #4d4d4d;
}
.menu-list a.is-active {
color: #eff0f1;
background-color: #2980b9;
}
.button.is-primary {
background-color: #2980b9;
}
.button.is-primary.is-hovered,
.button.is-primary:hover {
background-color: #2980b9;
}
.pagination a {
color: #eff0f1;
border-color: #4d4d4d;
background-color: #31363b;
}
.pagination-link:hover,
.pagination-next:hover,
.pagination-previous:hover {
color: #eff0f1;
border-color: #3daee9;
background-color: #31363b;
}
.label {
color: #bdc3c7;
}
.table {
color: #bdc3c7;
background-color: #31363b;
}
.table tr:hover,
.table.is-striped tbody tr:nth-child(2n) {
background: none;
}
.table.is-striped tbody tr:hover,
.table.is-striped tbody tr:nth-child(2n):hover,
.tag {
background-color: #4d4d4d;
}
.table thead td,
.table thead th {
color: #eff0f1;
background-color: #ff3860;
}
.table th {
color: #eff0f1;
}
.table td,
.table th {
border: 0;
}
.menu-list li ul {
border-left-color: #898b8d;
}
section#dashboard .table {
font-size: 12px
}
section#dashboard div#table div.column {
display:flex;
/*
width: 200px;
height: 200px;
*/
margin: 9px;
background-color: #31363b;
overflow: hidden;
align-items: center;
}
section#dashboard div#table div.column .title {
width: 200px;
line-height: 200px;
font-weight: normal;
}
section#dashboard div#table div.column a.image {
width: 100%;
}
section#dashboard div#table div.column a.image img {
width:200px;
}
section#dashboard div#table div.column.image-container {
position: relative;
}
section#dashboard div#table div.column a.button {
position: absolute;
top: 10px;
right: 10px;
background-color: rgba(49, 54, 59, .75);
}
section#dashboard div#table div.column div.name {
position: absolute;
left: 0;
bottom: 0;
right: 0;
background-color: rgba(49, 54, 59, .75);
color: #eff0f1;
padding: 10px;
font-size: .75rem;
}
section#dashboard div#table div.column div.name span {
font-weight: 800;
}
section#dashboard div#table div.column a.button:hover,
section#dashboard div#table div.column a.button:active {
background-color: #ff3860;
}
/* Make extra info appear on hover only on non-touch devices */
.no-touch section#dashboard div#table div.column a.button,
.no-touch section#dashboard div#table div.column div.name {
opacity: 0;
transition: opacity .25s;
}
.no-touch section#dashboard div#table div.column:hover a.button,
.no-touch section#dashboard div#table div.column:hover div.name {
opacity: 1;
}