File: //opt/code/src/css/style.css
@import './normalize.css';
* {
box-sizing: border-box;
}
.center_screen {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: fixed;
}
body,
caption,
th,
td,
input,
textarea,
select,
option,
legend,
fieldset,
h1,
h2,
h3,
h4,
h5,
h6 {
font-size-adjust: 0.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 400;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
margin: 0.25rem 0 0.25rem;
}
h1 {
font-size: 2em;
/* 2x body copy size = 32px */
line-height: 1.25;
/* 45px / 36px */
}
@media (min-width: 43.75em) {
h1 {
font-size: 2.5em;
/* 2.5x body copy size = 40px */
line-height: 1.125;
}
h2 {
font-size: 2em;
/* 2x body copy size = 32px */
line-height: 1.25;
}
h3 {
font-size: 1.5em;
/* 1.5x body copy size = 24px */
line-height: 1.25;
}
h4 {
line-height: 1.22222222;
/* (22px / 18px */
}
blockquote {
font-size: 1.5em;
/* 24px / 16px = */
line-height: 1.45833333;
/* 35px / 24px */
}
}
@media (min-width: 56.25em) {
h1 {
font-size: 3em;
/* 3x body copy size = 48px */
line-height: 1.05;
/* keep to a multiple of the 20px line height and something more appropriate for display headings */
}
h2 {
font-size: 2.25em;
/* 2.25x body copy size = 36px */
line-height: 1.25;
}
h3 {
font-size: 1.75em;
/* 1.75x body copy size = 28px */
line-height: 1.25;
}
}
h2 {
font-size: 1.625em;
/* 1.625x body copy size = 26px */
line-height: 1.15384615;
/* 30px / 26px */
}
h3 {
font-size: 1.375em;
/* 1.375x body copy size = 22px */
line-height: 1.13636364;
/* 25px / 22px */
}
h4 {
font-size: 1.125em;
/* 1.125x body copy size = 18px */
line-height: 1.11111111;
}
blockquote {
font-size: 1.25em;
/* 20px / 16px */
line-height: 1.25;
/* 25px / 20px */
}
.center {
text-align: center;
}
.relative {
position: relative;
}
.pointer {
cursor: pointer;
}
.inline {
display: inline-block;
}
.inline.center {
display: table;
margin-left: auto;
margin-right: auto;
}
.bold {
font-weight: bold;
}
.upper {
text-transform: uppercase;
}
.notify {
display: table;
position: fixed;
top: 50%;
left: 50%;
max-height: 50%;
transform: translate(-50%, -50%);
}
.error_message {
border: 1px solid #e0b4b4;
border-radius: 3px;
background-color: #fff6f6;
color: #9f3a38;
padding: 5px;
/* white-space: pre;
text-align: left;*/
}
.btn {
text-decoration: none;
cursor: pointer;
border: none;
border-radius: 6px;
padding: 0.5rem 1rem 0.35rem;
box-shadow: inset 0 0 0 1px #27496d;
}
.btn:not([disabled]):hover {
box-shadow: inset 0 0 0 1px #27496d, 0 5px 15px #193047;
}
.btn:not([disabled]):active {
transform: translate(1px, 1px);
box-shadow: inset 0 0 0 1px #27496d, inset 0 5px 30px #193047;
}
.btn_yes {
color: white;
background-color: #6CBA30;
}
.btn_no {
color: white;
background-color: #ED5B44;
}
.btn_dark {
color: white;
background-color: #34495E;
}
.btn_edit {
color: white;
background-color: #F27935;
padding: 0.35rem 0.65rem 0.25rem 0.65rem;
}
input,
select {
border: 1px solid #A9A9A9;
}
div.field {
margin: 10px 5px;
}
svg {
vertical-align: middle;
}
*[disabled] {
opacity: 0.6;
cursor: default;
}
textarea {
background-color: #FFFFE0;
}
input.edit:invalid {
background-color: #FFD1E8;
}
input:focus {
box-shadow: 0 0 4px 1px #4195fc;
}
input[type=date] {
width: 8rem;
padding: 2px 0 2px 4px;
}
input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-clear-button,
input[type=date]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
}
option {
padding: 2px 2px 0;
}
.top_space {
margin-top: 6px;
}
.bottom_space {
margin-bottom: 6px;
}
.bottom_space2 {
margin-bottom: 12px;
}
.space_right {
margin-right: 20px;
}
.flex {
display: flex;
}
.hcenter {
justify-content: center;
}
.vcenter {
align-items: center;
}
.grow {
flex-grow: 1;
}
.full_width {
width: 100%;
}
.no_list {
list-style: none;
}
.pre_wrap {
white-space: pre-wrap;
}
.wrap {
word-wrap: break-word;
word-break: break-all;
}
.full_screen {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.top_menu,
.bottom_menu {
color: white;
padding: 6px 12px;
display: flex;
align-items: center;
}
.top_menu {
justify-content: flex-end;
background-color: #008EB7;
}
.bottom_menu {
background-color: #434343;
}
.top_menu .router-link-inactive,
.bottom_menu button {
text-decoration: none;
background-color: transparent;
border-radius: 10px;
border: 1px solid white;
color: white;
padding: 6px 16px;
cursor: pointer;
}
.top_menu .router-link-inactive:hover,
.bottom_menu button:hover {
color: black;
background-color: white;
}
.top_menu>*+*,
.bottom_menu>*+* {
margin-left: 24px;
}
.tbl_scroll {
flex: 1 1 100%;
position: relative;
min-height: 36px;
overflow: auto;
height: 100%;
}
.h-45 {
max-height: 45vh;
}
.h-60 {
max-height: 55%;
}
.h-40 {
max-height: 40%;
}
.w-70 {
max-width: 70%;
height: 100%;
}
.w-60 {
max-width: 60%;
height: 100%;
}
.w-50 {
max-width: 50%;
height: 100%;
}
.w-40 {
max-width: 40%;
height: 100%;
}
.w-30 {
max-width: 30%;
height: 100%;
}
.tbl {
display: flex;
height: 100%;
}
.flex_panel {
display: flex;
flex-direction: column;
flex: 1 1 100%;
}