Sovigall/style.css

339 lines
4.8 KiB
CSS

* {
color: #dfdfdf;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
background-color: #262626;
font-size: 0.9em;
}
a {
transition: all 200ms ease-in-out;
}
#title {
line-height: 1.1em;
margin-bottom: 0.3em;
}
#title a {
text-decoration: none;
font-size: 1.1em;
line-height: 1.1em;
}
#title span {
font-size: 0.5em;
font-weight: bold;
vertical-align: middle;
}
.topMenu {
margin: 0.5em 0;
padding: 0px;
border-radius: 0.2em;
}
.topMenu li {
display: inline-block;
padding: 0.3em;
}
.topMenu a {
text-decoration: none;
font-weight: bolder;
margin: 0;
padding: 0.4em;
border-radius: 0.2em;
background-color: #141414;
}
.topMenu a:hover {
background-color: #333;
box-shadow: 1px 1px #000;
}
#breadcrumb {
margin: 1.2em 0;
}
#listFile {
margin: 0 auto;
text-align: center;
}
#listFile a {
width: 270px;
height: 230px;
display: inline-block;
border: 2px solid #dfdfdf;
border-radius: 0.2em;
margin: 0.2em;
padding: 0.2em;
text-decoration: none;
text-align: center;
overflow: hidden;
text-overflow: "...";
position: relative;
vertical-align: top;
}
#listFile img {
display: block;
margin: 0 auto;
vertical-align: middle;
max-height: 170px;
height: 100%;
max-width: 260px;
}
.paste {
margin: 0;
padding: 0;
border: 2px solid #dfdfdf;
border-radius: 0.2em;
background-color: #262626;
display: inline-block;
}
.paste a {
text-decoration: none;
vertical-align: middle;
height: 2em;
line-height: 2em;
}
.paste img {
height: 2em;
float: left;
}
.dir, .video {
background-image: url("images/folder.svg");
background-repeat: no-repeat;
background-size: 48px;
position: absolute;
height: 48px;
width: 48px;
left: 0;
top: 0;
}
.video {
background-image: url("images/video.svg");
}
.fulldir {
background-image: url("images/folder.svg");
background-position: center center;
background-repeat: no-repeat;
background-size: auto 170px;
display: block;
height: 170px;
width: 270px;
}
#listFile .export, #listFile .export ul {
text-align: right;
margin: 0;
padding: 0;
}
#listFile .export li {
display: inline-block;
list-style: none;
margin: 0;
padding: 0;
vertical-align: middle;
}
#listFile .export a {
width: auto;
height: 24px;
display: inline-block;
border: none;
border-radius: none;
text-decoration: none;
text-align: center;
position: relative;
vertical-align: top;
margin: 0;
padding: 0;
}
#sort {
padding: 0 0 0 32px;
position: fixed;
top: 48%;
right: 0;
background-image: url("images/expand.svg");
background-position: left center;
background-repeat: no-repeat;
background-size: auto 32px;
width: 32px;
z-index: 10;
}
#sort:hover {
width: auto;
}
#sort ul {
margin: 0;
padding: 0.2em;
border: 2px solid #dfdfdf;
border-radius: 0.2em;
border-right: none;
background-color: #262626;
}
#sort li {
list-style: none;
margin: 0.4em;
}
#sort a {
padding: 0.4em;
text-decoration: none;
}
#time {
clear: both;
}
#viewFile {
text-align: center;
}
#viewFile table {
width: 60%;
margin: 0 auto;
border: 0.4em solid #2c2c2c;
padding: 0;
border-radius: 0.2em;
border-collapse: collapse;
}
#viewFile table tr:nth-child(even) {
background-color: #2c2c2c;
}
#viewFile th {
padding: 0.3em 0.4em 0.3em 0.3em;
text-align: right;
min-width: 30%;
}
#viewFile td {
padding: 0.3em 0.3em 0.3em 0.4em;
text-align: left;
}
#viewFile h2 {
max-width: 80%;
text-align: center;
margin: 0.4em auto;
}
form {
width: 50%;
margin: 0 auto;
}
label {
display: block;
}
input, textarea {
display: block;
width: 100%;
}
textarea {
height: 8em;
}
input[type="checkbox"] {
display: inline;
width: auto;
}
input, select, options, textarea {
color: #262626;
}
input[type="submit"] {
color: #262626;
}
input[type="file"] {
color: #DFDFDF;
}
video {
width: 55%;
}
#toolbar {
border-radius: 0.2em;
background-color: #141414;
width: 60%;
margin: 0 auto 1.1em auto;
height: 2.3em;
}
#toolbar img {
height: 2em;
width: 2em;
}
.delete {
background-image: url("images/delete.svg");
background-position: left center;
background-repeat: no-repeat;
background-size: 32px;
padding-left: 32px;
text-decoration: none;
}
.confirm {
width: 14em;
margin: 0 auto;
text-align: center;
border: 2px solid #dfdfdf;
background-color: #dfdfdf;
border-radius: 0.2em;
padding: 1.2em;
}
.confirm > * {
color: #262626;
}
.confirm a {
padding: 0.5em 1em;
display: inline-block;
border-radius: 0.2em;
margin: 0 0.4em;
font-weight: bold;
text-decoration: none;
}
.confirm .valid {
background-color: #9bd840;
}
.confirm .cancel {
background-color: #e74638;
}
.error {
margin: 0 auto;
border: 2px solid red;
border-radius: 0.2em;
padding: 1.2em;
width: 40%;
text-align: center;
}