Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
K
kpp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexandr Veselov
kpp
Commits
d142490f
Commit
d142490f
authored
Jan 04, 2019
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Рефакторинг: modal
parent
78151dac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
modal.scss
src/blocks/modal/modal.scss
+6
-6
readme.md
src/blocks/modal/readme.md
+2
-2
No files found.
src/blocks/modal/modal.scss
View file @
d142490f
...
@@ -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
.5
r
em
;
margin-top
:
0
.5em
;
margin-bottom
:
0
.5
r
em
;
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
;
}
}
...
...
src/blocks/modal/readme.md
View file @
d142490f
Основан на 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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment