photoprism/frontend/css/app.css

205 lines
3.3 KiB
CSS
Raw Normal View History

2018-09-06 21:58:16 +00:00
@import url("../node_modules/vuetify/dist/vuetify.min.css");
@import url("../node_modules/material-design-icons-iconfont/dist/material-design-icons.css");
@import url("alerts.css");
#app div.loading {
text-align: center;
margin: 50px 20px;
}
#busy-overlay {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 100;
background-color: rgba(0,0,0,0.2);
}
2018-08-03 13:17:13 +00:00
body {
2018-08-07 18:17:14 +00:00
background: #fefefe;
color: #333333;
2018-08-09 21:10:05 +00:00
font-family: Helvetica, Arial, sans-serif;
2018-08-07 18:17:14 +00:00
}
footer {
clear: both;
padding: 1rem 2rem;
2018-08-03 13:17:13 +00:00
}
main {
2018-08-03 13:17:13 +00:00
padding: 0;
margin: 0;
}
2018-08-03 13:17:13 +00:00
main div.page {
2018-09-06 21:58:16 +00:00
margin: 0;
2018-08-09 21:10:05 +00:00
padding: 0;
}
main div.page .page-container {
2018-09-06 21:58:16 +00:00
padding: 0;
2018-08-09 21:10:05 +00:00
overflow: auto;
}
2018-08-09 21:10:05 +00:00
main div.page .page-form {
padding: 2.4rem 2rem 0 2rem;
float: none;
}
main div.page .page-form form {
2018-08-07 18:17:14 +00:00
}
2018-08-03 13:17:13 +00:00
.navbar {
2018-08-07 18:17:14 +00:00
padding: 1px 2rem 1px 2rem;
top: 0;
left: 0;
right: 0;
2018-08-03 13:17:13 +00:00
background: black !important;
2018-08-07 18:17:14 +00:00
position: fixed !important;
2018-08-09 21:10:05 +00:00
box-shadow: 0px 6px 30px 0px rgba(0,0,0,0.75);
2018-08-07 18:17:14 +00:00
z-index: 1000;
}
2018-08-03 13:17:13 +00:00
.navbar .nav-item-photos .nav-link.active,
.navbar .nav-item-photos .nav-link:hover {
color: #c8e5ff;
}
main div.page-photos {
}
.navbar .nav-item-albums .nav-link.active,
.navbar .nav-item-albums .nav-link:hover {
color: #c4ffcb;
}
main div.page-albums {
}
.navbar .nav-item-import .nav-link.active,
.navbar .nav-item-import .nav-link:hover {
color: #feffb8;
}
main div.page-import {
}
.navbar .nav-item-export .nav-link.active,
.navbar .nav-item-export .nav-link:hover {
color: #ffedc1;
}
main div.page-export {
}
.navbar .nav-item-settings .nav-link.active,
.navbar .nav-item-settings .nav-link:hover {
color: #f5c5c5;
}
main div.page-settings {
2018-08-07 18:17:14 +00:00
}
.photo-tile {
cursor: pointer;
}
.photo-tile.selected {
opacity: 0.6;
}
2018-08-07 18:17:14 +00:00
.photo-grid .photo {
background: #eeeeee;
display: block;
width: 250px;
height: 250px;
float: left;
2018-08-09 21:10:05 +00:00
margin: 3px;
2018-08-07 18:17:14 +00:00
overflow: hidden;
position: relative;
cursor: pointer;
}
.photo-grid .photo img {
margin: 0;
padding: 0;
}
.photo-grid .photo .info {
display: none;
position: absolute;
top: 0;
left: 0;
right: 0;
opacity: 0.75;
background: black;
font-size: 12px;
padding: 8px 12px;
color: white;
cursor: text;
}
.photo-grid .photo:hover .info {
display: block;
}
.photo-grid .photo .right {
float: right;
}
2018-08-09 21:10:05 +00:00
.photo-grid .photo .left {
float: left;
}
2018-08-07 18:17:14 +00:00
.photo-grid .photo .actions {
display: block;
position: absolute;
bottom: 0;
left: 0;
right: 0;
opacity: 1;
background: transparent;
font-size: 14px;
padding: 6px 12px;
color: white;
2018-08-09 21:10:05 +00:00
text-align: center;
2018-08-07 18:17:14 +00:00
cursor: default;
}
.photo-grid .photo:hover .actions {
background: black;
opacity: 0.75;
}
.photo-grid .photo .actions .action {
display: none;
}
2018-08-09 21:10:05 +00:00
.photo-grid .photo .location {
display: none;
font-size: 12px;
text-decoration: none;
color: white;
}
.photo-grid .photo:hover .location {
display: inline;
}
2018-08-07 18:17:14 +00:00
.photo-grid .photo:hover .actions .action,
2018-08-09 21:10:05 +00:00
.photo-grid .photo .actions .action.favorite {
2018-08-07 18:17:14 +00:00
display: inline;
cursor: pointer;
2018-09-07 08:57:23 +00:00
}
.v-badge__badge {
font-size: 12px;
height: 19px;
width: 19px;
right: -20px;
top: -8px;
2018-08-03 13:17:13 +00:00
}