fix
This commit is contained in:
parent
a81a78aba6
commit
917e8ce4af
32 changed files with 141 additions and 157 deletions
568
html/css/inbox.css
Normal file
568
html/css/inbox.css
Normal file
|
|
@ -0,0 +1,568 @@
|
|||
@font-face {
|
||||
font-family: 'InterL';
|
||||
src: url('../fonts/Inter-Light.otf');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
src: url('../fonts/Inter-Regular.otf');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'InterM';
|
||||
src: url('../fonts/Inter-Medium.otf');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'InterSB';
|
||||
src: url('../fonts/Inter-SemiBold.otf');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'InterB';
|
||||
src: url('../fonts/Inter-Bold.otf');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Golos';
|
||||
src: url('../fonts/GolosText-Regular.ttf');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'GolosM';
|
||||
src: url('../fonts/GolosText-Medium.ttf');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'GolosDB';
|
||||
src: url('../fonts/GolosText-DemiBold.ttf');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'GolosB';
|
||||
src: url('../fonts/GolosText-Bold.ttf');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
:root {
|
||||
--white: #ffffff;
|
||||
--black: #000000;
|
||||
--color-text-primary: #1d1e21;
|
||||
--color-text-secondary: #acacac;
|
||||
--color-link: #c64e1b;
|
||||
--color-link-hover: #fa773f;
|
||||
--color-form: #3f434b;
|
||||
--color-bg-main: #223d36;
|
||||
--color-light: #868b87;
|
||||
--bg-light: #fafafa;
|
||||
--bg-warn: #ffdcc6;
|
||||
--bg-form: #eee;
|
||||
--border-light: #d2d2d2;
|
||||
--bg-shadow: 0 19px 19px 0 rgba(230, 230, 230, 0.19), 0 1px 4px 0 #f3f3f3;
|
||||
|
||||
--h-header: 64px;
|
||||
--w-screen: 100px;
|
||||
|
||||
--size-text-maintitle: 54px;
|
||||
--size-text-title: 40px;
|
||||
--size-text-subtitle: 32px;
|
||||
--size-text-primary: 20px;
|
||||
--size-text-secondary: 16px;
|
||||
|
||||
--indent-huge: 72px;
|
||||
--indent-big: 52px;
|
||||
--indent-medium: 32px;
|
||||
--indent-small: 24px;
|
||||
--indent-mini: 16px;
|
||||
}
|
||||
body, html {
|
||||
height: 100%
|
||||
}
|
||||
|
||||
body {
|
||||
-ms-text-size-adjust: 100%;
|
||||
-moz-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--color-link);
|
||||
text-decoration: none;
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
color: var(--color-link-hover);
|
||||
}
|
||||
}
|
||||
|
||||
button, a.btn {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: var(--white);
|
||||
font-family: 'InterL';
|
||||
font-size: var(--size-text-secondary);
|
||||
padding: 0 24px;
|
||||
height: 50px;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
background: var(--color-link);
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
background: var(--color-link-hover);
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
font-family: 'InterSB';
|
||||
min-height: var(--h-header);
|
||||
padding: 0 var(--w-screen);
|
||||
border: 0;
|
||||
background-color: var(--color-bg-main);
|
||||
|
||||
.header-logo {
|
||||
width: 62px;
|
||||
height: 40px;
|
||||
background: url(../img/svg/mil-logo.svg) no-repeat 0 50%;
|
||||
}
|
||||
.header-title {
|
||||
color: var(--white);
|
||||
font-size: var(--size-text-secondary);
|
||||
margin-left: var(--indent-mini);
|
||||
}
|
||||
}
|
||||
:is(.ul, .fl) .header {
|
||||
background-color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
padding: var(--h-header) 0 0;
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.container-inside {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
color: var(--color-text-primary);
|
||||
font-family: 'Inter';
|
||||
padding: 0 var(--w-screen);
|
||||
background-color: var(--bg-light);
|
||||
overflow: auto;
|
||||
|
||||
.short-text {
|
||||
max-width: 60%;
|
||||
}
|
||||
.paragraph-left .short-text {
|
||||
max-width: 80%;
|
||||
}
|
||||
.block-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin: auto;
|
||||
}
|
||||
.block {
|
||||
font-family: 'Inter';
|
||||
min-width: 355px;
|
||||
padding: 40px;
|
||||
border-radius: 12px;
|
||||
background-color: var(--white);
|
||||
box-shadow: var(--bg-shadow);
|
||||
|
||||
& > div {
|
||||
max-width: 350px;
|
||||
}
|
||||
& + .block {
|
||||
margin-left: 40px;
|
||||
}
|
||||
.block-img {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
&.block-ul .block-img {
|
||||
background-image: url(../img/svg/ul.svg);
|
||||
}
|
||||
&.block-fl .block-img {
|
||||
background-image: url(../img/svg/fl.svg);
|
||||
}
|
||||
.block-title {
|
||||
font-family: 'GolosB';
|
||||
font-size: var(--size-text-subtitle);
|
||||
margin-top: var(--indent-mini);
|
||||
}
|
||||
.block-description {
|
||||
font-family: 'Golos';
|
||||
font-size: var(--size-text-primary);
|
||||
margin-top: var(--indent-mini);
|
||||
}
|
||||
.btn {
|
||||
width: auto;
|
||||
margin-top: var(--indent-medium);
|
||||
}
|
||||
}
|
||||
}
|
||||
:is(.ul, .fl) .container-inside {
|
||||
padding: 0;
|
||||
background-color: var(--white);
|
||||
|
||||
.list-group {
|
||||
position: relative;
|
||||
padding: 0 var(--w-screen);
|
||||
|
||||
.btn {
|
||||
width: max-content;
|
||||
}
|
||||
.title {
|
||||
font-size: var(--size-text-maintitle);
|
||||
font-family: 'GolosB';
|
||||
margin-bottom: var(--indent-huge);
|
||||
}
|
||||
.subtitle {
|
||||
font-size: var(--size-text-title);
|
||||
font-family: 'GolosDB';
|
||||
margin-bottom: var(--indent-big);
|
||||
}
|
||||
.muted {
|
||||
color: var(--color-light);
|
||||
}
|
||||
.paragraph {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.paragraph-left {
|
||||
width: 40%;
|
||||
}
|
||||
.paragraph-right {
|
||||
width: 60%;
|
||||
margin-left: 40px;
|
||||
}
|
||||
.text {
|
||||
font-family: 'InterSB';
|
||||
font-size: var(--size-text-primary);
|
||||
margin-bottom: var(--indent-mini);
|
||||
|
||||
&.checklist, &.clock {
|
||||
padding-top: 44px;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
}
|
||||
&.checklist {
|
||||
background: url(../img/svg/checklist-32x32.svg) no-repeat 0 0;
|
||||
}
|
||||
&.clock {
|
||||
background: url(../img/svg/clock-32x32.svg) no-repeat 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.list {
|
||||
margin-bottom: var(--indent-medium);
|
||||
& > div {
|
||||
position: relative;
|
||||
padding-left: 36px;
|
||||
|
||||
& + div {
|
||||
margin-top: var(--indent-mini);
|
||||
}
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
&.esia::after {
|
||||
background: url(../img/svg/esia-24x24.svg) no-repeat 0 0;
|
||||
}
|
||||
&.case::after {
|
||||
background: url(../img/svg/case-24x24.svg) no-repeat 0 0;
|
||||
}
|
||||
&.user::after {
|
||||
background: url(../img/svg/user-24x24.svg) no-repeat 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.section-group > div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 48px;
|
||||
position: relative;
|
||||
padding: 16px 16px 16px 76px;
|
||||
margin-bottom: 16px;
|
||||
border-radius: 4px;
|
||||
background-color: var(--bg-form);
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50px;
|
||||
background-color: var(--color-bg-main);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50% 50%;
|
||||
}
|
||||
&.icon-case::before {
|
||||
background-image: url(../img/svg/case-wt.svg);
|
||||
}
|
||||
&.icon-shield::before {
|
||||
background-image: url(../img/svg/shield-wt.svg);
|
||||
}
|
||||
&.icon-clip::before {
|
||||
background-image: url(../img/svg/clip-wt.svg);
|
||||
}
|
||||
&.icon-pers::before {
|
||||
background-image: url(../img/svg/pers-wt.svg);
|
||||
}
|
||||
&.icon-building::before {
|
||||
background-image: url(../img/svg/building-wt.svg);
|
||||
}
|
||||
.muted {
|
||||
margin-top: 12px;
|
||||
}
|
||||
.detailed {
|
||||
color: var(--color-text-primary);
|
||||
font-family: 'InterB';
|
||||
}
|
||||
}
|
||||
.pass-list {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding-top: 60px;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: calc(80% + 40px);
|
||||
height: 4px;
|
||||
top: 18px;
|
||||
left: 0;
|
||||
background-color: var(--color-link-hover);
|
||||
}
|
||||
& > div {
|
||||
position: relative;
|
||||
width: 20%;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
top: -60px;
|
||||
left: 0;
|
||||
border-radius: 2px;
|
||||
border: 4px solid var(--color-link-hover);
|
||||
background-color: var(--bg-light);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
font-family: 'InterB';
|
||||
top: -50px;
|
||||
left: 15px;
|
||||
}
|
||||
&:nth-child(1)::after {
|
||||
content: "1";
|
||||
}
|
||||
&:nth-child(2)::after {
|
||||
content: "2";
|
||||
}
|
||||
&:nth-child(3)::after {
|
||||
content: "3";
|
||||
}
|
||||
&:nth-child(4)::after {
|
||||
content: "4";
|
||||
}
|
||||
&:nth-child(5)::after {
|
||||
content: "5";
|
||||
}
|
||||
& + div {
|
||||
margin-left: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.msg-list {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 8px;
|
||||
|
||||
span {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
padding-right: 16px;
|
||||
background: url(../img/svg/info-gr.svg) no-repeat 0 0;
|
||||
}
|
||||
}
|
||||
.docs-list {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
& > div {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: 20%;
|
||||
|
||||
a {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
padding-right: 8px;
|
||||
background: url(../img/svg/download-24x24.svg) no-repeat 0 0;
|
||||
}
|
||||
& + div {
|
||||
margin-left: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.lk-what {
|
||||
padding-top: var(--indent-huge);
|
||||
padding-bottom: var(--indent-huge);
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
opacity: 0.12;
|
||||
background: url(../img/svg/bg-star.svg) no-repeat calc(100% + 200px) -180px transparent;
|
||||
z-index: 0;
|
||||
}
|
||||
& > div {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
&.lk-access {
|
||||
color: var(--white);
|
||||
padding-top: var(--indent-big);
|
||||
padding-bottom: var(--indent-big);
|
||||
background-color: var(--color-bg-main);
|
||||
}
|
||||
&.lk-info {
|
||||
padding-top: var(--indent-big);
|
||||
padding-bottom: var(--indent-big);
|
||||
}
|
||||
&.lk-pass {
|
||||
padding-top: var(--indent-big);
|
||||
padding-bottom: var(--indent-big);
|
||||
background-color: var(--bg-light);
|
||||
}
|
||||
&.lk-msg {
|
||||
background-color: var(--border-light);
|
||||
}
|
||||
&.lk-docs {
|
||||
flex: 1;
|
||||
color: var(--white);
|
||||
padding-top: var(--indent-huge);
|
||||
padding-bottom: var(--indent-huge);
|
||||
background-color: var(--color-text-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*@media ((max-width: 780px) or ((orientation: landscape) and (max-device-width : 1024px))) {*/
|
||||
@media (max-width: 1024px) {
|
||||
body {
|
||||
--w-screen: 32px;
|
||||
|
||||
--size-text-maintitle: 32px;
|
||||
--size-text-title: 28px;
|
||||
--size-text-subtitle: 24px;
|
||||
|
||||
--indent-huge: 32px;
|
||||
--indent-big: 24px;
|
||||
--indent-medium: 24px;
|
||||
--indent-small: 16px;
|
||||
}
|
||||
|
||||
.container-inside .short-text {
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
.container-inside .block-group {
|
||||
flex-direction: column;
|
||||
margin: 0;
|
||||
|
||||
.block {
|
||||
min-width: auto;
|
||||
margin: var(--indent-huge) 0 0;
|
||||
& > div {
|
||||
max-width: inherit !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
:is(.ul, .fl) .container-inside .list-group {
|
||||
.paragraph {
|
||||
flex-direction: column;
|
||||
|
||||
:is(.paragraph-left, .paragraph-right) {
|
||||
width: auto;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
&.lk-what .paragraph-right {
|
||||
margin-top: var(--indent-mini);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
body {
|
||||
--w-screen: 16px;
|
||||
|
||||
--size-text-maintitle: 28px;
|
||||
--size-text-title: 24px;
|
||||
--size-text-subtitle: 20px;
|
||||
|
||||
--indent-huge: 24px;
|
||||
--indent-big: 24px;
|
||||
--indent-medium: 16px;
|
||||
--indent-small: 16px;
|
||||
}
|
||||
:is(.ul, .fl) .container-inside .list-group {
|
||||
.docs-list > div {
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue