Files
flees/code/static/css/styles.css
2018-07-21 20:23:45 +03:00

314 lines
5.5 KiB
CSS

html {
min-height: 100%;
position: relative;
}
body {
color: var(--text-color);
background-color: var(--background-light-color);
min-height: 600px;
font: 14px/1.3 'Segoe UI',Arial, sans-serif;
margin: 8px;
}
a:visited {
color: var(--text-color);
}
a:link {
color: var(--text-color);
}
#page {
padding-bottom: 60px;
}
#footer {
position: absolute;
bottom: 0;
left: 9vw;
width: 80vw;
height: 23px;
text-align: center;
padding-top: 7px;
background-color: var(--background-dark-color);
background: var(--background-dark-color); /* Old browsers */
background: -moz-linear-gradient(
left,
var(--background-light-color) 0%,
var(--background-dark-color) 50%,
var(--background-light-color) 100%
); /* FF3.6-15 */
background: -webkit-linear-gradient(
left,
var(--background-light-color) 0%,
var(--background-dark-color) 50%,
var(--background-light-color) 100%
); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(
to right,
var(--background-light-color) 0%,
var(--background-dark-color) 50%,
var(--background-light-color) 100%
); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient(
startColorstr='var(--background-light-color)',
endColorstr='var(--background-dark-color)',
GradientType=1
); /* IE6-9 */
}
.version_number {
font-size: xx-small;
}
h1 {
margin-top: 1em;
margin-bottom: 1em;
}
td,th {
min-width: 10em;
padding-right: 2em;
padding-top: 0.2em;
padding-bottom: 0.2em;
word-wrap: break-word;
word-break: break-all;
white-space: normal;
}
th {
cursor: pointer;
background: var(--background-light-color);
}
tr:nth-child(odd) {
background-color: var(--background-dark-color);
background: linear-gradient(
to right,
var(--background-dark-color) 0%,
var(--background-dark-color) 95%,
var(--background-light-color) 100%
);
}
.td_right {
text-align: right;
}
/* list view */
.clear {
clear: both;
}
#list_left {
float: left;
}
#list_title {
margin-left: 5em;
}
#list_description {
margin-left: 2em;
margin-bottom: 1em;
}
#list_menu, #list_script {
padding: 8px;
border: 4px solid var(--border-color);
background-color: var(--background-dark-color);
line-height: 1.5em;
position: absolute;
width: 20em;
top: 8px;
right: 8px;
-webkit-border-bottom-left-radius: 15px;
-moz-border-radius-bottomleft: 15px;
border-bottom-left-radius: 15px;
}
#list_menu ul, #list_script ul {
margin-top: 0px;
margin-bottom: 0px;
}
#list_upload {
margin-bottom: 0.5em;
}
#list_upload_select {
width: 200px;
}
#list_upload_button {
float: left;
}
#list_url_upload_text {
width: 95%;
float: right;
}
#list_url_upload_button {
float: right;
cursor: pointer;
}
#list_info_toggle_container {
margin-top: 0px;
position: relative;
text-align: right;
}
#list_info_toggle {
cursor: pointer;
text-decoration: underline;
padding-right: 1.25em;
position: relative;
}
#list_info_toggle:after {
content: "";
position: absolute;
right: 0;
top: 0.21em;
bottom: 0.21em;
width: 1em;
background: linear-gradient(
to bottom,
transparent, transparent 5%,
var(--text-color) 5%, var(--text-color) 25%,
transparent 25%, transparent 40%,
var(--text-color) 40%, var(--text-color) 60%,
transparent 60%, transparent 75%,
var(--text-color) 75%, var(--text-color) 95%,
transparent 95%, transparent 100%
);
}
#list_info {
display: none;
}
#list_table {
border-collapse: collapse;
margin-left: 2em;
line-height: 1.5em;
margin-bottom: 33px;
}
#list_script {
display: none;
z-index: 99;
position: absolute;
padding-top: 2em;
padding-bottom: 2em;
right: 8px;
top: inherit;
width: inherit;
}
#list_script_toggle {
cursor: pointer;
text-decoration: underline;
}
.direct {
margin-right: 1em;
}
.upper_corner {
position: absolute;
top: 0.5em;
right: 0.5em;
}
.code {
background-color: var(--background-light-color);
font-family: monospace;
margin-right: 2em;
margin-bottom: 1em;
word-wrap: break-word;
}
.edit_form {
display: inline-block;
}
.edit_form_submit {
display: inline-block;
margin-left: 1em;
background-color: inherit;
border: none;
color: var(--text-color);
text-align: center;
text-decoration: underline;
cursor: pointer;
}
/* index */
#index_title {
float:left;
margin-left: 5em;
}
#index_menu {
float:right;
padding: 12px;
border: 4px solid var(--border-color);
background-color: var(--background-dark-color);
line-height: 2em;
-webkit-border-bottom-left-radius: 15px;
-moz-border-radius-bottomleft: 15px;
border-bottom-left-radius: 15px;
}
#index_table {
border-collapse: collapse;
margin-left: 2em;
font-size: medium;
}
#progress {
margin: 4px 4px 4px 4px;
}
#progress.success {
color: green;
}
#progress.failure {
color: red;
}
.sortarrow {
font-size: large;
}
/* editor */
#editor_container {
float:right;
padding: 12px;
border: 4px solid var(--border-color);
background-color: var(--background-dark-color);
line-height: 2em;
-webkit-border-bottom-left-radius: 15px;
-moz-border-radius-bottomleft: 15px;
border-bottom-left-radius: 15px;
}
#editor_form {
}
#editor_area {
width: 40vw;
float: left;
}
#editor_preview {
width: 40vw;
margin-left: 2vw;
float: left;
line-height: normal;
}
#editor_preview p {
margin-top: 0px;
}
.href_button {
margin-left: 3em;
cursor: pointer;
text-decoration: underline;
}