Files
filebrowser/assets/src/css/styles.css
T

202 lines
3.1 KiB
CSS
Raw Normal View History

2017-07-05 18:01:41 +01:00
@import "~normalize.css/normalize.css";
2017-06-28 11:45:41 +01:00
@import "./fonts.css";
2017-06-29 21:46:08 +01:00
@import "./base.css";
2017-06-28 11:45:41 +01:00
@import "./header.css";
2017-06-28 22:20:28 +01:00
@import "./prompts.css";
2017-06-29 09:11:46 +01:00
@import "./listing.css";
2017-07-05 18:01:41 +01:00
@import "./editor.css";
2017-07-07 20:00:32 +01:00
@import "./dashboard.css";
2017-06-28 11:45:41 +01:00
2017-06-25 09:11:25 +01:00
/* * * * * * * * * * * * * * * *
* ACTION *
* * * * * * * * * * * * * * * */
.action {
2017-07-04 16:55:36 +01:00
display: inline-block;
cursor: pointer;
transition: 0.2s ease all;
border: 0;
margin: 0;
color: #546E7A;
border-radius: 50%;
background: transparent;
padding: 0;
box-shadow: 0 0 0 0;
vertical-align: middle;
text-align: left;
position: relative;
2017-06-25 09:11:25 +01:00
}
.action.disabled {
2017-07-04 16:55:36 +01:00
opacity: 0.2;
cursor: not-allowed;
2017-06-25 09:11:25 +01:00
}
.action i {
2017-07-04 16:55:36 +01:00
padding: 0.4em;
2017-07-08 12:32:25 +01:00
transition: .1s ease-in-out all;
2017-07-04 16:55:36 +01:00
border-radius: 50%;
2017-06-25 09:11:25 +01:00
}
2017-06-26 20:38:40 +01:00
.action:hover {
2017-07-04 16:55:36 +01:00
background-color: rgba(0, 0, 0, .1);
2017-06-25 09:11:25 +01:00
}
.action ul {
2017-07-04 16:55:36 +01:00
position: absolute;
top: 0;
color: #7d7d7d;
list-style: none;
margin: 0;
padding: 0;
flex-direction: column;
display: flex;
2017-06-25 09:11:25 +01:00
}
.action ul li {
2017-07-04 16:55:36 +01:00
line-height: 1;
padding: .7em;
transition: .1s ease background-color;
2017-06-25 09:11:25 +01:00
}
.action ul li:hover {
2017-07-04 16:55:36 +01:00
background-color: rgba(0, 0, 0, 0.04);
2017-06-25 09:11:25 +01:00
}
#click-overlay {
2017-07-04 16:55:36 +01:00
display: none;
position: fixed;
cursor: pointer;
top: 0;
left: 0;
height: 100%;
width: 100%;
2017-06-25 09:11:25 +01:00
}
#click-overlay.active {
2017-07-04 16:55:36 +01:00
display: block;
2017-06-25 09:11:25 +01:00
}
2017-06-29 21:46:08 +01:00
.action .counter {
2017-07-04 16:55:36 +01:00
display: block;
position: absolute;
bottom: 0;
right: 0;
background: #2196f3;
color: #fff;
border-radius: 50%;
font-size: .75em;
width: 1.5em;
height: 1.5em;
text-align: center;
line-height: 1.25em;
border: 2px solid white;
2017-06-26 20:38:40 +01:00
}
2017-06-29 19:12:05 +01:00
2017-06-27 19:00:58 +01:00
/* PREVIEWER */
#previewer {
2017-07-04 16:55:36 +01:00
background-color: rgba(0, 0, 0, 0.9);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
overflow: hidden;
2017-06-27 19:00:58 +01:00
}
#previewer .bar {
2017-07-04 16:55:36 +01:00
width: 100%;
text-align: right;
display: flex;
padding: 0.5em 0.5em 0.5em 1em;
height: 3.7em;
2017-06-27 19:00:58 +01:00
}
#previewer .action:first-of-type {
2017-07-04 16:55:36 +01:00
margin-right: auto;
2017-06-27 19:00:58 +01:00
}
#previewer .action i {
2017-07-04 16:55:36 +01:00
color: #fff;
2017-06-27 19:00:58 +01:00
}
#previewer .action:hover {
2017-07-04 16:55:36 +01:00
background-color: rgba(255, 255, 255, 0.3)
2017-06-27 19:00:58 +01:00
}
#previewer .action span {
2017-07-04 16:55:36 +01:00
display: none;
2017-06-27 19:00:58 +01:00
}
#previewer .preview {
2017-07-04 16:55:36 +01:00
margin: 2em auto 4em;
max-width: 80%;
text-align: center;
height: calc(100vh - 9.7em);
2017-06-27 19:00:58 +01:00
}
#previewer .preview pre {
2017-07-04 16:55:36 +01:00
text-align: left;
overflow: auto;
2017-06-27 19:00:58 +01:00
}
#previewer .preview pre,
#previewer .preview video,
#previewer .preview img {
2017-07-04 16:55:36 +01:00
max-height: 100%;
margin: 0;
2017-06-27 19:00:58 +01:00
}
#previewer .pdf {
2017-07-04 16:55:36 +01:00
width: 100%;
height: 100%;
2017-06-27 19:00:58 +01:00
}
#previewer h2.message {
2017-07-04 16:55:36 +01:00
color: rgba(255, 255, 255, 0.5)
2017-06-25 09:11:25 +01:00
}
/* * * * * * * * * * * * * * * *
* PROMPT *
* * * * * * * * * * * * * * * */
/* * * * * * * * * * * * * * * *
* FOOTER *
* * * * * * * * * * * * * * * */
2017-07-03 19:26:29 +01:00
.credits {
2017-07-04 16:55:36 +01:00
font-size: 0.6em;
margin: 3em 2.5em;
color: #a5a5a5;
2017-06-25 09:11:25 +01:00
}
2017-07-11 16:58:18 +01:00
.credits span {
display: block;
margin: .3em 0;
}
2017-07-03 19:26:29 +01:00
.credits a,
.credits a:hover {
2017-07-04 16:55:36 +01:00
color: inherit;
cursor: pointer;
2017-06-25 09:11:25 +01:00
}
/* * * * * * * * * * * * * * * *
* ANIMATIONS *
* * * * * * * * * * * * * * * */
@keyframes spin {
2017-07-04 16:55:36 +01:00
100% {
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
}
2017-07-01 08:36:28 +01:00
}
2017-07-04 12:11:43 +01:00
@import './mobile.css';