Commit d142490f authored by Nikolay Gromov's avatar Nikolay Gromov

Рефакторинг: modal

parent 78151dac
...@@ -52,15 +52,15 @@ ...@@ -52,15 +52,15 @@
} }
&__header { &__header {
padding: 0 rem(40px) 0 rem(15px); padding: 0 40px 0 15px;
flex-shrink: 0; flex-shrink: 0;
} }
&__title { &__title {
margin-top: 0.5rem; margin-top: 0.5em;
margin-bottom: 0.5rem; margin-bottom: 0.5em;
font-size: $font-size--h4; font-size: $font-size--h4;
line-height: 1.4; line-height: 1.2;
font-weight: 700; font-weight: 700;
color: currentColor; color: currentColor;
} }
...@@ -72,12 +72,12 @@ ...@@ -72,12 +72,12 @@
} }
&__body { &__body {
padding: 0 rem(15px); padding: 0 15px;
flex-grow: 1; flex-grow: 1;
} }
&__footer { &__footer {
padding: rem(15px); padding: 15px;
flex-shrink: 0; flex-shrink: 0;
} }
......
Основан на modal.js из Bootstrap. Изменения минимальны (имена классов, пространство имен событий, некоторые упрощения). Основано на modal.js из Bootstrap. Изменения минимальны (имена классов, пространство имен событий, некоторые упрощения).
<p class="alert alert--warning">Зависит от <a href="https://jquery.com/">jQuery</a> (включен в сборку по умолчанию).</p> <p class="alert alert--warning">Зависит от <a href="https://jquery.com/">jQuery</a>.</p>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment