filesafe/public/css/dashboard.css
Bobby Wibowo 7770192ca8
Updates
* Improved list view. When a row is clicked, as long as it has a thumbnail, a modal will pop-out to show the thumbnail.

* Improved image placement in thumb view.

* Refactored all instances of id attribute in HTML files to use double quotes instead of single quote.
2018-03-28 19:28:17 +07:00

155 lines
2.6 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 {
font-weight: normal;
}
section#dashboard div#table div.column a.image {
width: 100%;
}
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;
}