1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

updated flow appearance

This commit is contained in:
Fedor Katurov 2019-10-23 15:53:04 +07:00
parent 1d40eca79e
commit 3d2e2a6f99
3 changed files with 22 additions and 0 deletions

View file

@ -92,6 +92,17 @@
grid-row-end: span 2; grid-row-end: span 2;
} }
@media (max-width: $cell * 2) {
:global(.vertical),
:global(.quadro) {
grid-row-end: span 1;
}
:global(.horizontal),
:global(.quadro) {
grid-column-end: span 1;
}
}
.is_text { .is_text {
background: none; background: none;
padding: 10px; padding: 10px;
@ -160,6 +171,11 @@
opacity: 1; opacity: 1;
} }
} }
@media (max-width: $cell * 2) {
right: 0;
top: 0;
}
} }
.menu_button { .menu_button {

View file

@ -14,6 +14,10 @@ $cols: $content_width / $cell;
grid-column-gap: $grid_line; grid-column-gap: $grid_line;
grid-row-gap: $grid_line; grid-row-gap: $grid_line;
@include tablet {
padding: 0 $gap;
}
@media (max-width: $cell * 6) { @media (max-width: $cell * 6) {
grid-template-columns: repeat(5, 1fr); grid-template-columns: repeat(5, 1fr);
grid-template-rows: 40vh 20vw; grid-template-rows: 40vh 20vw;

View file

@ -9,6 +9,7 @@ export const ERRORS = {
URL_INVALID: 'Url_Invalid', URL_INVALID: 'Url_Invalid',
FILES_AUDIO_REQUIRED: 'Files_Audio_Required', FILES_AUDIO_REQUIRED: 'Files_Audio_Required',
NOT_ENOUGH_RIGHTS: 'Not_Enough_Rights', NOT_ENOUGH_RIGHTS: 'Not_Enough_Rights',
INCORRECT_DATA: 'Incorrect_Data',
}; };
export const ERROR_LITERAL = { export const ERROR_LITERAL = {
@ -22,4 +23,5 @@ export const ERROR_LITERAL = {
[ERRORS.URL_INVALID]: 'Неизвестный адрес', [ERRORS.URL_INVALID]: 'Неизвестный адрес',
[ERRORS.FILES_AUDIO_REQUIRED]: 'Нужна хотя бы одна песня', [ERRORS.FILES_AUDIO_REQUIRED]: 'Нужна хотя бы одна песня',
[ERRORS.NOT_ENOUGH_RIGHTS]: 'У вас недостаточно прав', [ERRORS.NOT_ENOUGH_RIGHTS]: 'У вас недостаточно прав',
[ERRORS.INCORRECT_DATA]: 'Недопустимые данные',
}; };