123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662 |
- {% 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;
- 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;
- background-color: #f2f2f2;
- border-left:3px solid #0A1E2D;
- border-bottom:3px solid #0A1E2D;
- font-size: 18px;
- }
-
- h3 {
- padding: 6px;
- background-color: #f2f2f2;
- font-size: 14px;
- }
-
- ul {
- list-style-type: square;
- padding: 10px 30px;
- }
-
- a {
- color: #007076;
- font-weight: bold;
- }
-
- 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;
- }
-
- p {
- margin: 12px 0;
- }
-
- 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;
- }
|