Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add LMS layout #405

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: add LMS layout #405

wants to merge 1 commit into from

Conversation

svyatsvyat
Copy link
Collaborator

image
image

Переполнение
image

@@ -1,6 +1,15 @@
$navbar-mobile-height: 48px;
$navbar-submenu-height: 40px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ни в коем случае не смешиваем реализации для внешнего сайта и внутреннего, потом устанем разделять их.

@@ -61,3 +62,5 @@
// TODO: Remove styles below from production build
@import "pages/about";
@import "pages/principles";

@import "lms/_main";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Разделяем целиком стили lms и внешнего сайта. В будущем у нас будет 3 репозитория: компоненты, внешний сайт, lms. Последние 2 будут переиспользовать только компоненты, но наследовать код у друг-друга точно не будут.

@@ -154,7 +154,8 @@ $grid-breakpoints: (
sm: 576px,
md: 768px,
lg: 992px, // XXX: Keep in sync with values from `v2/js/utils.js`
xl: 1260px
xl: 1260px,
lms: 1222px // $grid-breakpoints(lg) + $sidebar-width
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Есть несколько переменных только для lms, вынести их в отдельный файл lms/variables.scss ?

$zindex-popover: 1080;
$zindex-tooltip: 1090;
$zindex-close: 1100;
$zindex-sidebar: 1050;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вот это тоже только для lms

@@ -0,0 +1,43 @@
$sidebar-width: 230px;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тоже наверное в lms/variables.scss нужно положить?

@@ -0,0 +1,194 @@
$navbar-submenu-height: 40px;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это правильная реализация независимого меню для lms?

@svyatsvyat svyatsvyat added the help wanted Extra attention is needed label Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants