1
0
mirror of https://github.com/jenil/chota.git synced 2023-08-10 21:13:07 +03:00
chota/dist/chota.css

1010 lines
24 KiB
CSS
Raw Normal View History

2023-03-22 04:44:47 +03:00
/*!
2023-03-22 04:45:14 +03:00
* chota.css v0.8.1 | MIT License | https://github.com/jenil/chota
2023-03-22 04:44:47 +03:00
*/
2019-03-13 05:18:51 +03:00
:root {
--bg-color: #fff;
2020-05-16 21:12:51 +03:00
--bg-secondary-color: #f3f3f6;
--color-primary: #14854f;
2019-03-13 05:18:51 +03:00
--color-lightGrey: #d2d6dd;
--color-grey: #747681;
2019-03-13 05:18:51 +03:00
--color-darkGrey: #3f4144;
--color-error: #d43939;
--color-success: #28bd14;
--grid-maxWidth: 120rem;
--grid-gutter: 2rem;
--font-size: 1.6rem;
--font-color: #333;
--font-family-sans: -apple-system, "BlinkMacSystemFont", "Avenir",
"Avenir Next", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
"Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
2020-02-26 00:01:41 +03:00
--font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
2019-03-13 05:18:51 +03:00
}
2020-05-16 17:25:33 +03:00
html {
2019-03-13 05:18:51 +03:00
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 62.5%;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
text-size-adjust: 100%;
2019-03-13 05:18:51 +03:00
}
*,
*::before,
*::after {
2020-05-16 17:25:33 +03:00
-webkit-box-sizing: inherit;
box-sizing: inherit;
}
2019-03-13 05:18:51 +03:00
body {
2020-05-16 17:25:33 +03:00
background-color: var(--bg-color);
2019-03-13 05:18:51 +03:00
line-height: 1.6;
font-size: var(--font-size);
2020-05-16 17:25:33 +03:00
color: var(--font-color);
font-family: "Segoe UI", "Helvetica Neue", sans-serif; /* fallback */
2020-02-26 00:01:41 +03:00
font-family: var(--font-family-sans);
2019-03-13 05:18:51 +03:00
margin: 0;
padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 500;
margin: 0.35em 0 0.7em;
2019-03-13 05:18:51 +03:00
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.75em;
}
h3 {
font-size: 1.5em;
}
h4 {
font-size: 1.25em;
}
h5 {
font-size: 1em;
}
h6 {
font-size: 0.85em;
}
a {
color: var(--color-primary);
text-decoration: none;
}
a:hover:not(.button) {
opacity: 0.75;
}
2019-09-14 22:17:14 +03:00
button {
font-family: inherit;
}
2019-03-13 05:18:51 +03:00
p {
margin-top: 0;
}
blockquote {
2020-05-16 21:12:51 +03:00
background-color: var(--bg-secondary-color);
2019-03-13 05:18:51 +03:00
padding: 1.5rem 2rem;
border-left: 3px solid var(--color-lightGrey);
}
dl dt {
font-weight: bold;
}
hr {
border: none;
background-color: var(--color-lightGrey);
height: 1px;
margin: 1rem 0;
}
table {
width: 100%;
border: none;
border-collapse: collapse;
border-spacing: 0;
text-align: left;
}
table.striped tr:nth-of-type(2n) {
2020-05-16 21:12:51 +03:00
background-color: var(--bg-secondary-color);
2019-03-13 05:18:51 +03:00
}
td,
th {
vertical-align: middle;
padding: 1.2rem 0.4rem;
}
thead {
border-bottom: 2px solid var(--color-lightGrey);
}
tfoot {
border-top: 2px solid var(--color-lightGrey);
}
code,
kbd,
pre,
samp,
tt {
2020-02-26 00:01:41 +03:00
font-family: var(--font-family-mono);
2019-03-13 05:18:51 +03:00
}
code,
kbd {
font-size: 90%;
white-space: pre-wrap;
border-radius: 4px;
padding: 0.2em 0.4em;
2020-05-16 21:12:51 +03:00
background-color: var(--bg-secondary-color);
2020-05-16 23:38:29 +03:00
color: var(--color-error);
2019-03-13 05:18:51 +03:00
}
pre {
2020-05-16 21:12:51 +03:00
background-color: var(--bg-secondary-color);
2019-03-13 05:18:51 +03:00
font-size: 1em;
padding: 1rem;
overflow-x: auto;
}
pre code {
background: none;
padding: 0;
}
abbr[title] {
border-bottom: none;
text-decoration: underline;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
img {
max-width: 100%;
}
fieldset {
border: 1px solid var(--color-lightGrey);
}
iframe {
border: 0;
}
.container {
max-width: var(--grid-maxWidth);
margin: 0 auto;
width: 96%;
padding: 0 calc(var(--grid-gutter) / 2);
2019-03-13 05:18:51 +03:00
}
.row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
margin-left: calc(var(--grid-gutter) / -2);
margin-right: calc(var(--grid-gutter) / -2);
2019-03-13 05:18:51 +03:00
}
.row.reverse {
-webkit-box-orient: horizontal;
-webkit-box-direction: reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse;
2019-03-13 05:18:51 +03:00
}
.col {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
2019-03-13 05:18:51 +03:00
}
.col,
[class*=" col-"],
[class^="col-"] {
margin: 0 calc(var(--grid-gutter) / 2) calc(var(--grid-gutter) / 2);
2019-03-13 05:18:51 +03:00
}
.col-1 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/1)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/1)) - var(--grid-gutter));
max-width: calc((100% / (12/1)) - var(--grid-gutter));
}
.col-2 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/2)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/2)) - var(--grid-gutter));
max-width: calc((100% / (12/2)) - var(--grid-gutter));
}
.col-3 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/3)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/3)) - var(--grid-gutter));
max-width: calc((100% / (12/3)) - var(--grid-gutter));
}
.col-4 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/4)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/4)) - var(--grid-gutter));
max-width: calc((100% / (12/4)) - var(--grid-gutter));
}
.col-5 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/5)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/5)) - var(--grid-gutter));
max-width: calc((100% / (12/5)) - var(--grid-gutter));
}
.col-6 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/6)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/6)) - var(--grid-gutter));
max-width: calc((100% / (12/6)) - var(--grid-gutter));
}
.col-7 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/7)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/7)) - var(--grid-gutter));
max-width: calc((100% / (12/7)) - var(--grid-gutter));
}
.col-8 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/8)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/8)) - var(--grid-gutter));
max-width: calc((100% / (12/8)) - var(--grid-gutter));
}
.col-9 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/9)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/9)) - var(--grid-gutter));
max-width: calc((100% / (12/9)) - var(--grid-gutter));
}
.col-10 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/10)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/10)) - var(--grid-gutter));
max-width: calc((100% / (12/10)) - var(--grid-gutter));
}
.col-11 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/11)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/11)) - var(--grid-gutter));
max-width: calc((100% / (12/11)) - var(--grid-gutter));
}
.col-12 {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/12)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/12)) - var(--grid-gutter));
max-width: calc((100% / (12/12)) - var(--grid-gutter));
}
@media screen and (max-width: 599px) {
.container {
width: 100%;
}
.col,
[class*="col-"],
[class^="col-"] {
-webkit-box-flex: 0;
-ms-flex: 0 1 100%;
flex: 0 1 100%;
max-width: 100%;
}
}
@media screen and (min-width: 900px) {
.col-1-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/1)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/1)) - var(--grid-gutter));
max-width: calc((100% / (12/1)) - var(--grid-gutter));
}
.col-2-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/2)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/2)) - var(--grid-gutter));
max-width: calc((100% / (12/2)) - var(--grid-gutter));
}
.col-3-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/3)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/3)) - var(--grid-gutter));
max-width: calc((100% / (12/3)) - var(--grid-gutter));
}
.col-4-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/4)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/4)) - var(--grid-gutter));
max-width: calc((100% / (12/4)) - var(--grid-gutter));
}
.col-5-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/5)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/5)) - var(--grid-gutter));
max-width: calc((100% / (12/5)) - var(--grid-gutter));
}
.col-6-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/6)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/6)) - var(--grid-gutter));
max-width: calc((100% / (12/6)) - var(--grid-gutter));
}
.col-7-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/7)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/7)) - var(--grid-gutter));
max-width: calc((100% / (12/7)) - var(--grid-gutter));
}
.col-8-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/8)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/8)) - var(--grid-gutter));
max-width: calc((100% / (12/8)) - var(--grid-gutter));
}
.col-9-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/9)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/9)) - var(--grid-gutter));
max-width: calc((100% / (12/9)) - var(--grid-gutter));
}
.col-10-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/10)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/10)) - var(--grid-gutter));
max-width: calc((100% / (12/10)) - var(--grid-gutter));
}
.col-11-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/11)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/11)) - var(--grid-gutter));
max-width: calc((100% / (12/11)) - var(--grid-gutter));
}
.col-12-md {
2019-03-13 05:18:51 +03:00
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/12)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/12)) - var(--grid-gutter));
max-width: calc((100% / (12/12)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
}
@media screen and (min-width: 1200px) {
.col-1-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/1)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/1)) - var(--grid-gutter));
max-width: calc((100% / (12/1)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
.col-2-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/2)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/2)) - var(--grid-gutter));
max-width: calc((100% / (12/2)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
.col-3-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/3)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/3)) - var(--grid-gutter));
max-width: calc((100% / (12/3)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
.col-4-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/4)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/4)) - var(--grid-gutter));
max-width: calc((100% / (12/4)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
.col-5-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/5)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/5)) - var(--grid-gutter));
max-width: calc((100% / (12/5)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
.col-6-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/6)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/6)) - var(--grid-gutter));
max-width: calc((100% / (12/6)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
.col-7-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/7)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/7)) - var(--grid-gutter));
max-width: calc((100% / (12/7)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
.col-8-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/8)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/8)) - var(--grid-gutter));
max-width: calc((100% / (12/8)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
.col-9-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/9)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/9)) - var(--grid-gutter));
max-width: calc((100% / (12/9)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
.col-10-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/10)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/10)) - var(--grid-gutter));
max-width: calc((100% / (12/10)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
.col-11-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/11)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/11)) - var(--grid-gutter));
max-width: calc((100% / (12/11)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
.col-12-lg {
-webkit-box-flex: 0;
-ms-flex: 0 0 calc((100% / (12/12)) - var(--grid-gutter));
flex: 0 0 calc((100% / (12/12)) - var(--grid-gutter));
max-width: calc((100% / (12/12)) - var(--grid-gutter));
}
2019-03-23 20:54:27 +03:00
}
2019-03-13 05:18:51 +03:00
fieldset {
padding: 0.5rem 2rem;
}
legend {
text-transform: uppercase;
font-size: 0.8em;
letter-spacing: 0.1rem;
}
input:not([type="checkbox"], [type="radio"], [type="submit"], [type="color"], [type="button"], [type="reset"]),
2019-03-13 05:18:51 +03:00
select,
textarea,
textarea[type="text"] {
font-family: inherit;
padding: 0.8rem 1rem;
border-radius: 4px;
border: 1px solid var(--color-lightGrey);
font-size: 1em;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
display: block;
width: 100%;
}
select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
2019-03-13 05:18:51 +03:00
background: #f3f3f6 no-repeat 100%;
background-size: 1ex;
background-origin: content-box;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='40' fill='%23555'><polygon points='0,0 60,0 30,40'/></svg>");
}
.button,
[type="button"],
[type="reset"],
[type="submit"],
button {
padding: 1rem 2.5rem;
color: var(--color-darkGrey);
background: var(--color-lightGrey);
border-radius: 4px;
2019-03-24 00:57:38 +03:00
border: 1px solid transparent;
2019-03-13 05:18:51 +03:00
font-size: var(--font-size);
line-height: 1;
text-align: center;
-webkit-transition: opacity 0.2s ease;
transition: opacity 0.2s ease;
text-decoration: none;
-webkit-transform: scale(1);
transform: scale(1);
display: inline-block;
cursor: pointer;
}
.button.primary,
.button.secondary,
.button.dark,
.button.error,
.button.success,
[type="submit"] {
color: #fff;
z-index: 1; /* hightlight from other button's border when grouped */
background-color: #000;
background-color: var(--color-primary);
2019-03-13 05:18:51 +03:00
}
.button:hover,
[type="button"]:hover,
[type="reset"]:hover,
[type="submit"]:hover,
button:hover {
opacity: 0.8;
}
input:disabled,
input:disabled:hover,
button:disabled,
button:disabled:hover {
2019-03-13 05:18:51 +03:00
opacity: 0.4;
cursor: not-allowed;
}
.grouped {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.grouped > *:not(:last-child) {
margin-right: 16px;
}
.grouped.gapless > * {
margin: 0 0 0 -1px !important;
border-radius: 0 !important;
}
.grouped.gapless > *:first-child {
margin: 0 !important;
border-radius: 4px 0 0 4px !important;
}
.grouped.gapless > *:last-child {
border-radius: 0 4px 4px 0 !important;
}
input:not([type="checkbox"], [type="radio"], [type="submit"], [type="color"], [type="button"], [type="reset"], :disabled):hover,
select:hover,
textarea:hover,
textarea[type="text"]:hover {
border-color: var(--color-grey);
}
input:not([type="checkbox"], [type="radio"], [type="submit"], [type="color"], [type="button"], [type="reset"]):focus,
select:focus,
textarea:focus,
textarea[type="text"]:focus {
outline: none;
border-color: var(--color-primary);
-webkit-box-shadow: 0 0 1px var(--color-primary);
box-shadow: 0 0 1px var(--color-primary);
}
input.error:not([type="checkbox"], [type="radio"], [type="submit"], [type="color"], [type="button"], [type="reset"]),
textarea.error {
border-color: var(--color-error);
}
input.success:not([type="checkbox"], [type="radio"], [type="submit"], [type="color"], [type="button"], [type="reset"]),
textarea.success {
border-color: var(--color-success);
}
[type="checkbox"],
[type="radio"] {
2023-03-21 07:17:50 +03:00
width: 2rem;
height: 1.6rem;
}
/* BUTTONS */
.button + .button {
margin-left: 1rem;
2019-03-13 05:18:51 +03:00
}
.button.secondary {
background-color: var(--color-grey);
}
.button.dark {
background-color: var(--color-darkGrey);
}
.button.error {
background-color: var(--color-error);
}
.button.success {
background-color: var(--color-success);
}
.button.outline {
background-color: transparent;
2019-03-24 00:57:38 +03:00
border-color: var(--color-lightGrey);
2019-03-13 05:18:51 +03:00
}
.button.outline.primary {
2019-03-24 00:57:38 +03:00
border-color: var(--color-primary);
2019-03-13 05:18:51 +03:00
color: var(--color-primary);
}
.button.outline.secondary {
2019-03-24 00:57:38 +03:00
border-color: var(--color-grey);
2019-03-13 05:18:51 +03:00
color: var(--color-grey);
}
.button.outline.dark {
2019-03-24 00:57:38 +03:00
border-color: var(--color-darkGrey);
2019-03-13 05:18:51 +03:00
color: var(--color-darkGrey);
}
.button.clear {
background-color: transparent;
border-color: transparent;
color: var(--color-primary);
}
.button.icon {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.button.icon > img {
margin-left: 2px;
}
.button.icon-only {
padding: 1rem;
}
.button:active:not(:disabled),
[type="button"]:active:not(:disabled),
[type="reset"]:active:not(:disabled),
[type="submit"]:active:not(:disabled),
button:active:not(:disabled) {
-webkit-transform: scale(0.98);
transform: scale(0.98);
}
2019-03-13 05:18:51 +03:00
::-webkit-input-placeholder {
color: #bdbfc4;
}
2019-08-18 20:41:42 +03:00
::-moz-placeholder {
color: #bdbfc4;
}
2019-03-13 05:18:51 +03:00
:-ms-input-placeholder {
color: #bdbfc4;
}
::-ms-input-placeholder {
color: #bdbfc4;
}
::placeholder {
color: #bdbfc4;
}
.nav {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
min-height: 5rem;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
2019-03-13 05:18:51 +03:00
}
.nav img {
max-height: 3rem;
2019-03-13 05:18:51 +03:00
}
.nav > .container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
2019-03-13 05:18:51 +03:00
}
.nav-center,
.nav-left,
.nav-right {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
2019-03-13 05:18:51 +03:00
}
.nav-left {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
2019-03-13 05:18:51 +03:00
}
.nav-right {
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
2019-03-13 05:18:51 +03:00
}
.nav-center {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
@media screen and (max-width: 480px) {
.nav,
.nav > .container {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.nav-center,
.nav-left,
.nav-right {
-ms-flex-wrap: wrap;
flex-wrap: wrap;
2019-03-13 05:18:51 +03:00
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
2019-03-13 05:18:51 +03:00
}
.nav a,
.nav .brand {
text-decoration: none;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 1rem 2rem;
color: var(--color-darkGrey);
2019-03-13 05:18:51 +03:00
}
2020-10-19 01:01:06 +03:00
.nav [aria-current="page"]:not(.button),
2019-03-13 05:18:51 +03:00
.nav .active:not(.button) {
color: #000; /* fallback */
color: var(--color-primary);
2019-03-13 05:18:51 +03:00
}
.nav .brand {
font-size: 1.75em;
padding-top: 0;
padding-bottom: 0;
2019-03-13 05:18:51 +03:00
}
.nav .brand img {
padding-right: 1rem;
2019-03-13 05:18:51 +03:00
}
.nav .button {
margin: auto 1rem;
2019-03-13 05:18:51 +03:00
}
.card {
2020-05-16 23:38:29 +03:00
padding: 1rem 2rem;
border-radius: 4px;
background: var(--bg-color);
-webkit-box-shadow: 0 1px 3px var(--color-grey);
box-shadow: 0 1px 3px var(--color-grey);
2019-03-13 05:18:51 +03:00
}
.card p:last-child {
margin: 0;
}
.card header > * {
margin-top: 0;
margin-bottom: 1rem;
}
.tabs {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
2019-03-13 05:18:51 +03:00
}
.tabs a {
text-decoration: none;
2019-03-13 05:18:51 +03:00
}
2019-09-22 01:56:15 +03:00
.tabs > .dropdown > summary,
2019-03-13 05:18:51 +03:00
.tabs > a {
padding: 1rem 2rem;
-webkit-box-flex: 0;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
color: var(--color-darkGrey);
border-bottom: 2px solid var(--color-lightGrey);
text-align: center;
2019-03-13 05:18:51 +03:00
}
2020-10-19 01:01:06 +03:00
.tabs > a[aria-current="page"],
2019-03-13 05:18:51 +03:00
.tabs > a.active,
.tabs > a:hover {
opacity: 1;
border-bottom: 2px solid var(--color-darkGrey);
2019-03-13 05:18:51 +03:00
}
2020-10-19 01:01:06 +03:00
.tabs > a[aria-current="page"],
2019-03-13 05:18:51 +03:00
.tabs > a.active {
border-color: var(--color-primary);
2019-03-13 05:18:51 +03:00
}
.tabs.is-full a {
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
2019-03-13 05:18:51 +03:00
}
.tag {
display: inline-block;
border: 1px solid var(--color-lightGrey);
text-transform: uppercase;
color: var(--color-grey);
padding: 0.5rem;
line-height: 1;
letter-spacing: 0.5px;
}
.tag.is-small {
padding: 0.4rem;
font-size: 0.75em;
}
.tag.is-large {
padding: 0.7rem;
font-size: 1.125em;
}
.tag + .tag {
2019-03-13 05:18:51 +03:00
margin-left: 1rem;
}
2019-09-14 22:17:14 +03:00
details.dropdown {
position: relative;
display: inline-block;
}
details.dropdown > :last-child {
position: absolute;
left: 0;
white-space: nowrap;
}
2019-03-13 05:18:51 +03:00
/* Colors */
.bg-primary {
background-color: var(--color-primary) !important;
2019-03-13 05:18:51 +03:00
}
.bg-light {
background-color: var(--color-lightGrey) !important;
2019-03-13 05:18:51 +03:00
}
.bg-dark {
background-color: var(--color-darkGrey) !important;
2019-03-13 05:18:51 +03:00
}
.bg-grey {
background-color: var(--color-grey) !important;
2019-03-13 05:18:51 +03:00
}
.bg-error {
background-color: var(--color-error) !important;
2019-03-13 05:18:51 +03:00
}
.bg-success {
background-color: var(--color-success) !important;
2019-03-23 20:54:27 +03:00
}
.bd-primary {
border: 1px solid var(--color-primary) !important;
2019-03-23 20:54:27 +03:00
}
.bd-light {
border: 1px solid var(--color-lightGrey) !important;
2019-03-23 20:54:27 +03:00
}
.bd-dark {
border: 1px solid var(--color-darkGrey) !important;
2019-03-23 20:54:27 +03:00
}
.bd-grey {
border: 1px solid var(--color-grey) !important;
2019-03-23 20:54:27 +03:00
}
.bd-error {
border: 1px solid var(--color-error) !important;
2019-03-23 20:54:27 +03:00
}
.bd-success {
border: 1px solid var(--color-success) !important;
2019-03-13 05:18:51 +03:00
}
.text-primary {
color: var(--color-primary) !important;
2019-03-13 05:18:51 +03:00
}
.text-light {
color: var(--color-lightGrey) !important;
2019-03-13 05:18:51 +03:00
}
.text-dark {
color: var(--color-darkGrey) !important;
2019-03-13 05:18:51 +03:00
}
.text-grey {
color: var(--color-grey) !important;
2019-03-13 05:18:51 +03:00
}
.text-error {
color: var(--color-error) !important;
2019-03-13 05:18:51 +03:00
}
.text-success {
color: var(--color-success) !important;
2019-03-13 05:18:51 +03:00
}
2019-03-23 20:54:27 +03:00
.text-white {
color: #fff !important;
2019-03-23 20:54:27 +03:00
}
2019-03-13 05:18:51 +03:00
/* Position & alignment */
.pull-right {
float: right !important;
2019-03-13 05:18:51 +03:00
}
.pull-left {
float: left !important;
2019-03-13 05:18:51 +03:00
}
2019-09-14 23:33:54 +03:00
.text-center {
text-align: center;
2019-03-13 05:18:51 +03:00
}
2019-09-14 23:33:54 +03:00
.text-left {
text-align: left;
2019-03-13 05:18:51 +03:00
}
2019-09-14 23:33:54 +03:00
.text-right {
text-align: right;
2019-03-13 05:18:51 +03:00
}
2019-09-25 14:17:38 +03:00
.text-justify {
text-align: justify;
2019-09-25 14:17:38 +03:00
}
2019-09-14 23:33:54 +03:00
.text-uppercase {
text-transform: uppercase;
2019-03-13 05:18:51 +03:00
}
2019-09-14 23:33:54 +03:00
.text-lowercase {
text-transform: lowercase;
2019-03-13 05:18:51 +03:00
}
2019-09-14 23:33:54 +03:00
.text-capitalize {
text-transform: capitalize;
2019-03-13 05:18:51 +03:00
}
.is-full-screen {
width: 100%;
min-height: 100vh;
2019-03-13 05:18:51 +03:00
}
.is-full-width {
width: 100% !important;
2019-03-13 05:18:51 +03:00
}
.is-vertical-align {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
2019-03-13 05:18:51 +03:00
}
.is-horizontal-align {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
2019-03-13 05:18:51 +03:00
}
.is-center {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
2019-03-13 05:18:51 +03:00
}
.is-right {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
2019-03-13 05:18:51 +03:00
}
.is-left {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
2019-03-13 05:18:51 +03:00
}
.is-fixed {
position: fixed;
width: 100%;
2019-03-13 05:18:51 +03:00
}
.is-paddingless {
padding: 0 !important;
2019-03-13 05:18:51 +03:00
}
.is-marginless {
margin: 0 !important;
2019-03-13 05:18:51 +03:00
}
.is-pointer {
cursor: pointer !important;
}
.is-rounded {
border-radius: 100%;
}
2019-03-13 05:18:51 +03:00
.clearfix {
content: "";
display: table;
clear: both;
2019-03-13 05:18:51 +03:00
}
.is-hidden {
display: none !important;
2019-03-13 05:18:51 +03:00
}
2019-03-23 20:54:27 +03:00
@media screen and (max-width: 599px) {
.hide-xs {
display: none !important;
}
2019-05-12 19:49:51 +03:00
}
@media screen and (min-width: 600px) and (max-width: 899px) {
.hide-sm {
display: none !important;
}
2019-03-23 20:54:27 +03:00
}
2019-05-12 19:49:51 +03:00
@media screen and (min-width: 900px) and (max-width: 1199px) {
.hide-md {
display: none !important;
}
2019-03-13 05:18:51 +03:00
}
2019-03-23 20:54:27 +03:00
@media screen and (min-width: 1200px) {
.hide-lg {
display: none !important;
}
2019-03-13 05:18:51 +03:00
}
@media print {
.hide-pr {
display: none !important;
}
}