photoprism/frontend/src/css/app.css

166 lines
3.5 KiB
CSS
Raw Normal View History

/*
Copyright (c) 2018 - 2020 Michael Mayer <hello@photoprism.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
PhotoPrism is a registered trademark of Michael Mayer. You may use it as required
to describe our software, run your own server, for educational purposes, but not for
offering commercial goods, products, or services without prior written permission.
In other words, please ask.
Feel free to send an e-mail to hello@photoprism.org if you have questions,
want to support our work, or just want to say hello.
Additional information can be found in our Developer Guide:
https://docs.photoprism.org/developer-guide/
*/
@import url("../../node_modules/material-design-icons-iconfont/dist/material-design-icons.css");
@import url("../../node_modules/vuetify/dist/vuetify.min.css");
@import url("../../node_modules/mapbox-gl/dist/mapbox-gl.css");
@import url("navigation.css");
@import url("logs.css");
@import url("visibility.css");
@import url("results.css");
@import url("video.css");
@import url("rainbow.css");
2019-05-19 17:57:10 +00:00
@import url("maps.css");
@import url("viewer.css");
@import url("photos.css");
@import url("labels.css");
@import url("files.css");
html,
body {
overscroll-behavior-y: contain;
}
body {
background-color: rgb(250, 250, 250);
color: #333333;
font-family: Roboto, sans-serif;
}
footer {
clear: both;
padding: 1rem 2rem;
}
main {
padding: 0;
margin: 0;
z-index: 1;
}
#busy-overlay {
2019-05-19 17:57:10 +00:00
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 100;
background-color: rgba(0, 0, 0, 0.2);
}
#photoprism div.fullscreen {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#photoprism main .p-results a {
color: #333333;
}
#photoprism main .p-inline-edit a,
#photoprism main .p-inline-edit a span {
cursor: text;
}
#photoprism .v-badge__badge {
font-size: 12px;
height: 19px;
width: 19px;
right: -20px;
top: -8px;
}
#photoprism .clickable {
cursor: pointer;
}
#photoprism button:focus {
outline: none;
}
#photoprism .p-scroll-top {
top: 72px;
right: 8px;
}
#photoprism div.logo {
position: absolute;
top: 1px;
left: 1px;
right: 1px;
bottom: 1px;
border-radius: 50%;
}
#photoprism div.logo img,
#photoprism div.logo svg {
position: absolute;
top: 3px;
left: 3px;
right: 3px;
bottom: 3px;
}
#photoprism div.logo-large {
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
border-radius: 50%;
width: 300px;
height: 300px;
}
#photoprism div.logo-large img,
#photoprism div.logo-large svg {
position: absolute;
top: 15px;
left: 20px;
right: 30px;
bottom: 20px;
}
#photoprism .float-left {
float: left;
}
#photoprism .float-right {
float: right;
}
#photoprism .p-page pre {
overflow: auto;
}