2019-02-20 16:10:37 +00:00
|
|
|
@import './_common';
|
|
|
|
|
|
|
|
html {
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-size: 16px;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
*, *:before, *:after {
|
|
|
|
box-sizing: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
body, h1, h2, h3, h4, h5, h6, p {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2019-09-14 19:03:38 +00:00
|
|
|
min-height: 100%;
|
2019-02-20 16:10:37 +00:00
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
|
}
|
|
|
|
|
2019-09-23 18:37:02 +00:00
|
|
|
button {
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
|
}
|
|
|
|
|
2019-02-20 16:10:37 +00:00
|
|
|
ol, ul {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
2022-07-27 08:41:18 +00:00
|
|
|
display: block;
|
2019-02-20 16:10:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes spinner-loader {
|
|
|
|
to {transform: rotate(360deg);}
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-spinner:before {
|
|
|
|
content: '';
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin-top: -10px;
|
|
|
|
margin-left: -10px;
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 2px solid #ccc;
|
|
|
|
border-top-color: #333;
|
|
|
|
animation: spinner-loader .6s linear infinite;
|
2022-07-22 11:18:33 +00:00
|
|
|
z-index: 1000;
|
2019-02-20 16:10:37 +00:00
|
|
|
}
|
|
|
|
|
2019-09-14 19:03:38 +00:00
|
|
|
.maincontainer {
|
2019-09-23 18:37:02 +00:00
|
|
|
background: $main-bg;
|
|
|
|
color: $main-fg;
|
2019-09-14 19:03:38 +00:00
|
|
|
width: 100%;
|
|
|
|
min-height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2019-02-20 16:10:37 +00:00
|
|
|
.container {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 2;
|
2022-07-20 00:33:06 +00:00
|
|
|
position: relative;
|
2019-02-20 16:10:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.error {
|
|
|
|
font-size: 0.8em;
|
|
|
|
color: $secondary-dark-bg;
|
|
|
|
font-weight: bold;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2021-02-05 11:50:01 +00:00
|
|
|
.error-wrapper {
|
|
|
|
flex-grow: 2;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
background: $border;
|
|
|
|
padding: 40px 0;
|
|
|
|
|
|
|
|
.error {
|
|
|
|
border: 2px dashed $secondary-dark-bg;
|
|
|
|
padding: 10px 20px;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-20 16:10:37 +00:00
|
|
|
[hidden] { display: none !important; }
|
|
|
|
|
|
|
|
article {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 2;
|
|
|
|
padding: 20px;
|
|
|
|
|
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 1.4em;
|
|
|
|
color: $title-fg;
|
|
|
|
flex-grow: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: 0.8em;
|
|
|
|
color: $meta-fg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: 1.0em;
|
|
|
|
font-weight: bold;
|
|
|
|
color: $title-fg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-13 13:33:10 +00:00
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
label {
|
|
|
|
text-align: left;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 0.8em;
|
|
|
|
padding: 5px 0 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=text],
|
|
|
|
input[type=password],
|
2019-10-02 00:16:11 +00:00
|
|
|
input[type=datetime-local],
|
2019-09-13 13:33:10 +00:00
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
|
|
|
font-size: 1em;
|
|
|
|
padding: 0.5em;
|
|
|
|
margin: 0 0 0.5em;
|
2019-09-23 18:37:02 +00:00
|
|
|
background: $input-bg;
|
|
|
|
border: 1px solid $input-border;
|
|
|
|
color: $input-fg;
|
2019-09-13 13:33:10 +00:00
|
|
|
outline: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
border-color: $secondary-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-03 12:55:13 +00:00
|
|
|
input[type=submit],
|
|
|
|
button.submit {
|
2019-09-13 13:33:10 +00:00
|
|
|
align-self: center;
|
|
|
|
padding: 0.5em;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
min-width: 150px;
|
|
|
|
border: 1px solid $secondary-bg;
|
|
|
|
background: $secondary-light-bg;
|
|
|
|
color: $secondary-light-fg;
|
2019-10-03 12:55:13 +00:00
|
|
|
height: 31px;
|
|
|
|
}
|
2019-09-13 13:33:10 +00:00
|
|
|
|
2019-10-03 12:55:13 +00:00
|
|
|
button.submit::-moz-focus-inner {
|
|
|
|
border: 0;
|
2019-09-13 13:33:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-02 00:55:15 +00:00
|
|
|
a, button {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2019-10-03 12:55:13 +00:00
|
|
|
button::-moz-focus-inner,
|
|
|
|
input[type="button"]::-moz-focus-inner,
|
|
|
|
input[type="submit"]::-moz-focus-inner,
|
|
|
|
input[type="reset"]::-moz-focus-inner {
|
|
|
|
padding: 0 !important;
|
|
|
|
border: 0 none !important;
|
|
|
|
}
|
|
|
|
|
2022-07-21 07:06:16 +00:00
|
|
|
@import 'editor';
|
2019-09-13 13:33:10 +00:00
|
|
|
|
2019-02-20 16:10:37 +00:00
|
|
|
@import 'menu/menu';
|
2019-09-16 16:47:29 +00:00
|
|
|
@import 'footer/footer';
|
2019-02-20 16:10:37 +00:00
|
|
|
@import 'login/login';
|
2019-02-22 14:53:43 +00:00
|
|
|
@import 'widgets/common';
|
2019-09-13 13:33:10 +00:00
|
|
|
@import 'pages/page';
|
2019-09-15 01:53:38 +00:00
|
|
|
@import 'article/article';
|
|
|
|
@import 'frontpage/frontpage';
|
2019-09-23 18:37:02 +00:00
|
|
|
|
|
|
|
.darkmodeon {
|
|
|
|
.maincontainer {
|
|
|
|
background: $dark_main-bg;
|
|
|
|
color: $dark_main-fg;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error {
|
|
|
|
color: $dark_secondary-dark-bg;
|
|
|
|
}
|
|
|
|
|
2019-10-01 03:45:44 +00:00
|
|
|
.fr-view blockquote {
|
|
|
|
border-left-color: $dark_main-fg;
|
|
|
|
color: $dark_main-fg;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.article,
|
|
|
|
article.login,
|
|
|
|
article.page {
|
2019-09-23 18:37:02 +00:00
|
|
|
header {
|
|
|
|
h1 {
|
2019-10-01 03:45:44 +00:00
|
|
|
// color: $dark_title-fg;
|
2019-09-23 18:37:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: $dark_meta-fg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
h5 {
|
|
|
|
color: $dark_title-fg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-01 03:45:44 +00:00
|
|
|
.login form {
|
2019-09-23 18:37:02 +00:00
|
|
|
input[type=text],
|
|
|
|
input[type=password],
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
background: $dark_input-bg;
|
|
|
|
border: 1px solid $dark_input-border;
|
|
|
|
color: $dark_input-fg;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
border-color: $dark_secondary-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=submit] {
|
|
|
|
border: 1px solid $dark_secondary-bg;
|
|
|
|
background: $dark_secondary-light-bg;
|
|
|
|
color: $dark_secondary-light-fg;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $dark_secondary-dark-bg;
|
|
|
|
color: $dark_secondary-dark-fg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fr-view {
|
|
|
|
a { color: $dark_secondary-dark-bg; }
|
|
|
|
}
|
|
|
|
}
|
2022-07-27 08:41:18 +00:00
|
|
|
|
|
|
|
:root {
|
|
|
|
--primary-bg: #01579b;
|
|
|
|
--primary-fg: white;
|
|
|
|
--primary-fg-url: #FFC7C7;
|
|
|
|
--primary-light-bg: #3D77C7; // #4f83cc;
|
|
|
|
--primary-light-fg: white;
|
|
|
|
--primary-dark-bg: #002f6c;
|
|
|
|
--primary-dark-fg: white;
|
|
|
|
|
|
|
|
--secondary-bg: #f57c00;
|
|
|
|
--secondary-fg: black;
|
|
|
|
--secondary-light-bg: #ffad42;
|
|
|
|
--secondary-light-fg: black;
|
|
|
|
--secondary-dark-bg: #bb4d00;
|
|
|
|
--secondary-dark-fg: white;
|
|
|
|
|
|
|
|
--table-fg: #333;
|
|
|
|
--border: #ccc;
|
|
|
|
--border-fg: black;
|
|
|
|
--border-fg-url: #8f3c00;
|
|
|
|
--title-fg: #555;
|
|
|
|
--meta-fg: #757575; // #999
|
|
|
|
--meta-light-fg: #999999;
|
|
|
|
|
|
|
|
--main-bg: white;
|
|
|
|
--main-fg: black;
|
|
|
|
--input-bg: white;
|
|
|
|
--input-border: #333;
|
|
|
|
--input-fg: black;
|
|
|
|
|
|
|
|
--newsitem-bg: transparent;
|
|
|
|
--newsitem-border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.darkmodeon {
|
|
|
|
--primary-bg: #013b68;
|
|
|
|
--primary-fg: white;
|
|
|
|
--primary-fg-url: #FFC7C7;
|
|
|
|
--primary-light-bg: #28518B;
|
|
|
|
--primary-light-fg: white;
|
|
|
|
--primary-dark-bg: #002f6c;
|
|
|
|
--primary-dark-fg: white;
|
|
|
|
|
|
|
|
--secondary-bg: #e05e00;
|
|
|
|
--secondary-fg: black;
|
|
|
|
--secondary-light-bg: #ffad42;
|
|
|
|
--secondary-light-fg: black;
|
|
|
|
--secondary-dark-bg: #e05e00;
|
|
|
|
--secondary-dark-fg: white;
|
|
|
|
--secondary-darker-fg: #fe791b;
|
|
|
|
|
|
|
|
--table-fg: #333;
|
|
|
|
--border: #343536;
|
|
|
|
--border-fg: #d7dadc;;
|
|
|
|
--border-fg-url: #e05e00;
|
|
|
|
--title-fg: #808080;
|
|
|
|
--meta-fg: hsl(0, 0%, 55%);
|
|
|
|
--meta-light-fg: #999999;
|
|
|
|
|
|
|
|
--main-bg: black;
|
|
|
|
--main-fg: #d7dadc;
|
|
|
|
--input-bg: #272729;
|
|
|
|
--input-border: #343536;
|
|
|
|
--input-fg: white;
|
|
|
|
|
|
|
|
--newsitem-bg: #1a1a1b;
|
|
|
|
--newsitem-border: 1px solid #343536;
|
|
|
|
}
|