690 lines
11 KiB
CSS
690 lines
11 KiB
CSS
{% load static %}
|
|
/*
|
|
* Common
|
|
*/
|
|
html {
|
|
color: #0A1E2D;
|
|
font-family: sans-serif;
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
|
|
body {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.app-content {
|
|
padding-top: 30px;
|
|
padding-bottom: 30px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
h1 {
|
|
padding: 6px;
|
|
margin: 30px auto auto auto;
|
|
background-color: #f2f2f2;
|
|
border-left:5px solid #0A1E2D;
|
|
border-bottom:5px solid #0A1E2D;
|
|
font-size: 22px;
|
|
}
|
|
|
|
.image_bg h1 {
|
|
margin: 2px 0px;
|
|
margin-bottom: 4px;
|
|
border-left:0px;
|
|
border-bottom:0px;
|
|
}
|
|
|
|
h2 {
|
|
padding: 6px;
|
|
margin: 30px auto auto auto;
|
|
background-color: #f2f2f2;
|
|
border-left:3px solid #0A1E2D;
|
|
border-bottom:3px solid #0A1E2D;
|
|
font-size: 18px;
|
|
}
|
|
|
|
h3 {
|
|
padding: 6px;
|
|
margin: 20px auto auto auto;
|
|
background-color: #f2f2f2;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.content p {
|
|
margin: 5px 5px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.content pre {
|
|
margin: 10px 10px;
|
|
padding: 10px;
|
|
background: #eee;
|
|
}
|
|
|
|
.content ul {
|
|
list-style-type: square;
|
|
margin: 10px 10px;
|
|
padding: 5px 40px;
|
|
}
|
|
|
|
.content ol {
|
|
margin: 10px 10px;
|
|
padding: 5px 40px;
|
|
}
|
|
|
|
a {
|
|
color: #007076;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.preview {
|
|
background-image: url("{% static 'themes/draft.png' %}");
|
|
padding: 40px;
|
|
padding-top: 75px;
|
|
min-height: 300px;
|
|
}
|
|
|
|
.preview-spacer {
|
|
min-height: 35px;
|
|
}
|
|
|
|
a:hover {
|
|
background: #01D0DA;
|
|
}
|
|
|
|
table {
|
|
opacity: 0.75;
|
|
background-color: #ffffff;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
margin: 2px 0px;
|
|
}
|
|
|
|
td, th {
|
|
border: 1px solid #dddddd;
|
|
text-align: left;
|
|
padding: 8px;
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background-color: #dddddd;
|
|
}
|
|
/*
|
|
* Forms
|
|
*/
|
|
.form {
|
|
background-color: #f2f2f2;
|
|
padding: 10px 20px;
|
|
margin: 5px 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
input[type=text], select {
|
|
width: 100%;
|
|
padding: 5px 10px;
|
|
margin: 4px 0;
|
|
display: inline-block;
|
|
border: 1px solid #cccccc;
|
|
border-radius: 3px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
textarea {
|
|
width: 100%;
|
|
padding: 5px 10px;
|
|
margin: 4px 0;
|
|
display: inline-block;
|
|
border: 1px solid #cccccc;
|
|
border-radius: 3px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input[type=password], select {
|
|
width: 100%;
|
|
padding: 5px 10px;
|
|
margin: 4px 0;
|
|
display: inline-block;
|
|
border: 1px solid #ccc;
|
|
border-radius: 3px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input[type=email], select {
|
|
width: 100%;
|
|
padding: 5px 10px;
|
|
margin: 4px 0;
|
|
display: inline-block;
|
|
border: 1px solid #cccccc;
|
|
border-radius: 3px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input[type=select], select {
|
|
width: 100%;
|
|
padding: 5px 10px;
|
|
margin: 4px 0;
|
|
display: inline-block;
|
|
border: 1px solid #cccccc;
|
|
border-radius: 3px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input[type=file], select {
|
|
width: 100%;
|
|
padding: 5px 10px;
|
|
margin: 4px 0;
|
|
display: inline-block;
|
|
border: 1px solid #ccc;
|
|
border-radius: 3px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input[type=submit] {
|
|
width: 100%;
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
padding: 10px 15px;
|
|
margin: 8px 0;
|
|
border: none;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
input[type=submit]:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
label {
|
|
font-weight: bold;
|
|
}
|
|
|
|
ul.errorlist {
|
|
color: red;
|
|
}
|
|
|
|
/*
|
|
* Navigation- and Menubars
|
|
*/
|
|
.titlebar {
|
|
overflow: hidden;
|
|
background-color: #0A1E2D;
|
|
color: #01D0DA;
|
|
padding: 14px 16px;
|
|
padding-left:75px;
|
|
font-size: 22px;
|
|
max-height: 50px;
|
|
}
|
|
|
|
.page-logo {
|
|
display: inline;
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
}
|
|
|
|
.page-logo:hover {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.titlebar input[type=text] {
|
|
color: #3796f0;
|
|
font-weight: bold;
|
|
float: right;
|
|
width: 34px;
|
|
height: 34px;
|
|
border: none;
|
|
padding: 7px 7px;
|
|
padding-left: 5px;
|
|
padding-right: 34px;
|
|
border-radius: 2px;
|
|
margin: 0;
|
|
-webkit-transition: width 0.4s ease-in-out;
|
|
transition: width 0.4s ease-in-out;
|
|
background-color: #4285f4;
|
|
background-image: url('{% static 'themes/'|add:settings.page_theme|add:'/search.png' %}');
|
|
background-position: 0px 0px;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.titlebar input[type=text]/*:focus*/ {
|
|
float: right;
|
|
display: block;
|
|
padding-right: 43px;
|
|
text-align: left;
|
|
width: 300px;
|
|
background-position: 263px 0px;
|
|
max-width: 100%;
|
|
margin: 0;
|
|
background-color: white;
|
|
}
|
|
|
|
/*
|
|
* MENUBAR
|
|
*/
|
|
.menubar {
|
|
overflow: hidden;
|
|
background-color: #0A1E2D;
|
|
z-index: 50;
|
|
}
|
|
|
|
.bottombar {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: calc(100% - 16px);
|
|
margin-left: 8px;
|
|
max-height: 53px;
|
|
}
|
|
|
|
.bottomspace {
|
|
min-height: 53px;
|
|
}
|
|
|
|
.menubar a {
|
|
float: left;
|
|
font-size: 18px;
|
|
color: #01D0DA;
|
|
text-align: center;
|
|
padding: 4px 15px;
|
|
text-decoration: none;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.menubar-slim a {
|
|
padding: 2px 2px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.dropdown {
|
|
float: left;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dropdown .dropbtn {
|
|
font-size: 18px;
|
|
border: none;
|
|
outline: none;
|
|
color: #01D0DA;
|
|
padding: 4px 15px;
|
|
background-color: inherit;
|
|
font-family: inherit;
|
|
margin: 0;
|
|
}
|
|
|
|
.dropdown-slim .dropbtn-slim {
|
|
padding: 2px 2px;
|
|
}
|
|
|
|
.menubar a:hover, .dropdown:hover .dropbtn {
|
|
background-color: #007076;
|
|
}
|
|
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
background-color: #f9f9f9;
|
|
min-width: 50px;
|
|
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
|
z-index: 25;
|
|
}
|
|
|
|
.dropdown-content a {
|
|
float: none;
|
|
color: #0A1E2D;
|
|
padding: 12px 16px;
|
|
text-decoration: none;
|
|
display: block;
|
|
text-align: left;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.dropdown-content a:hover {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
.dropdown:hover .dropdown-content {
|
|
display: block;
|
|
}
|
|
|
|
/*
|
|
* NAVIGATIONBAR
|
|
*/
|
|
ul.navigationbar {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background-color: #007076;
|
|
max-height: 24px;
|
|
}
|
|
|
|
li.navigationbar {
|
|
color: #0A1E2D;
|
|
float: left;
|
|
font-size: 16px;
|
|
}
|
|
|
|
li.navigationbar a {
|
|
display: block;
|
|
color: #0A1E2D;
|
|
text-align: center;
|
|
padding: 2px 2px;
|
|
text-decoration: none;
|
|
font-weight: normal;
|
|
}
|
|
|
|
li.navigationbar a:hover {
|
|
background-color: #01D0DA;
|
|
}
|
|
|
|
.active_menu {
|
|
background-color: #007076;
|
|
}
|
|
|
|
/* When the screen is less than (n*100+250)px wide, reduce content to be shown */
|
|
@media screen and (max-width: calc({{actionbar|length}} * 100px + 250px)) {
|
|
.action_menu_hide {
|
|
display: none
|
|
}
|
|
}
|
|
|
|
/* When the screen is less than (n*100+250)px wide, reduce content to be shown */
|
|
@media screen and (max-width: calc({{menubar|length}} * 100px + 250px)) {
|
|
.menu_hide {
|
|
display: none
|
|
}
|
|
}
|
|
|
|
/* When the screen is less than (n*14+75+350)px wide, reduce content to be shown */
|
|
@media screen and (max-width: calc({{title|length}} * 15px + 75px + 350px)) {
|
|
.title_hide {
|
|
display: none
|
|
}
|
|
}
|
|
|
|
/*
|
|
* Flash (Hint, Info, Error)
|
|
*/
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.fixed {
|
|
position: fixed;
|
|
top: 30px;
|
|
width: 100%; /* so wie flash */
|
|
padding-right:15px;
|
|
cursor: cell;
|
|
}
|
|
|
|
.flash{
|
|
margin: 0px;
|
|
display: block;
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.flash > a {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.flash > a:hover {
|
|
background: none;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.flash-hint {
|
|
color: #205b00;
|
|
background-color: rgba(221, 255, 221, 0.9);
|
|
border-left: 6px solid #205b00;
|
|
}
|
|
|
|
.flash-hint > a {
|
|
color: #205b00;
|
|
}
|
|
|
|
.flash-info {
|
|
color: #204a87;
|
|
background-color: rgba(212, 239, 255, 0.9);
|
|
border-left: 6px solid #204a87;
|
|
}
|
|
|
|
.flash-info > a {
|
|
color: #204a87;
|
|
}
|
|
|
|
.flash-error {
|
|
color: #a40000;
|
|
background-color: rgba(255, 221, 221, 0.9);
|
|
border-left: 6px solid #a40000;
|
|
}
|
|
|
|
.flash-error > a {
|
|
color: #a40000;
|
|
}
|
|
|
|
.close-flash {
|
|
background: #323232;
|
|
opacity:1;
|
|
color: #FFFFFF;
|
|
line-height: 25px;
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 30px;
|
|
text-align: center;
|
|
width: 24px;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
-webkit-border-radius: 12px;
|
|
-moz-border-radius: 12px;
|
|
border-radius: 12px;
|
|
-moz-box-shadow: 1px 1px 3px #000000;
|
|
-webkit-box-shadow: 1px 1px 3px #000000;
|
|
box-shadow: 1px 1px 3px #000000;
|
|
}
|
|
|
|
#fixed:hover .close-flash {
|
|
background: #a40000;
|
|
opacity:1;
|
|
color: #FFFFFF;
|
|
}
|
|
/*
|
|
* Items
|
|
*/
|
|
div.itemname {
|
|
font-weight: bold;
|
|
padding: 2px;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
}
|
|
|
|
div.datetime {
|
|
font-style: italic;
|
|
padding: 2px;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
audio {
|
|
width: 100%;
|
|
margin: 2px 0px;
|
|
padding: 1px;
|
|
min-width: 300px;
|
|
display: block;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.container {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.tag {
|
|
border: 2px solid rgba(255,100,100,.55);
|
|
display:block;
|
|
position:absolute;
|
|
}
|
|
|
|
.tag:hover {
|
|
border: 3px solid rgba(255,100,100,.85);
|
|
background-color: transparent;
|
|
}
|
|
|
|
.image {
|
|
float: left;
|
|
margin: 6px;
|
|
}
|
|
|
|
.image_bg {
|
|
background: #0A1E2D;
|
|
padding: 6px;
|
|
}
|
|
|
|
.image_bg:hover {
|
|
background: #007076;
|
|
}
|
|
|
|
.webnail {
|
|
max-width: 90vw;
|
|
max-height: 90vh;
|
|
}
|
|
|
|
.clearfix:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
/*
|
|
* Modal Dialog
|
|
*/
|
|
.modalDialog {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: rgba(0,0,0,0.8);
|
|
z-index: 99999;
|
|
opacity:0;
|
|
-webkit-transition: opacity 400ms ease-in;
|
|
-moz-transition: opacity 400ms ease-in;
|
|
transition: opacity 400ms ease-in;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.modalDialog:target {
|
|
opacity:1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.modalDialog > div {
|
|
width:calc(100% - 60px);
|
|
height: calc(100vh - 60px);
|
|
overflow-y: auto;
|
|
position: relative;
|
|
margin-top: 30px;
|
|
margin-left: 30px;
|
|
padding: 5px 20px 13px 20px;
|
|
border-radius: 10px;
|
|
background: #ffffff;
|
|
background: -moz-linear-gradient(#ffffff, #999999);
|
|
background: -webkit-linear-gradient(#ffffff, #999999);
|
|
background: -o-linear-gradient(#ffffff, #999999);
|
|
opacity:0.9;
|
|
}
|
|
|
|
.close {
|
|
background: #606061;
|
|
opacity:1;
|
|
color: #FFFFFF;
|
|
line-height: 25px;
|
|
position: absolute;
|
|
right: 20px;
|
|
text-align: center;
|
|
top: 20px;
|
|
width: 24px;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
-webkit-border-radius: 12px;
|
|
-moz-border-radius: 12px;
|
|
border-radius: 12px;
|
|
-moz-box-shadow: 1px 1px 3px #000000;
|
|
-webkit-box-shadow: 1px 1px 3px #000000;
|
|
box-shadow: 1px 1px 3px #000000;
|
|
}
|
|
|
|
.close:hover {
|
|
background: #007076;
|
|
opacity:1;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.modal-info {
|
|
margin: 0px;
|
|
display: block;
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
font-size: 16px;
|
|
color: #204a87;
|
|
background-color: #daefff;
|
|
border-left: 6px solid #204a87;
|
|
}
|
|
|
|
.modal-info > a {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
color: #204a87;
|
|
}
|
|
|
|
.modal-info > a:hover {
|
|
background: none;
|
|
text-decoration: underline;
|
|
}
|
|
.image_modal {
|
|
display: flex;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.webnail_modal {
|
|
display: block;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
margin: auto;
|
|
zoom: 2;
|
|
}
|
|
|
|
/*
|
|
* Sticky Header
|
|
*/
|
|
/* Page content */
|
|
.content {
|
|
}
|
|
|
|
/* The sticky class is added to the header with JS when it reaches its scroll position */
|
|
.sticky {
|
|
position: fixed;
|
|
top: 0;
|
|
width: calc(100% - 16px);
|
|
}
|
|
|
|
.sticky-submenu {
|
|
position: fixed;
|
|
}
|
|
|
|
/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
|
|
.sticky + .content {
|
|
padding-top: 30px;
|
|
}
|