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
f9abddf8
Commit
f9abddf8
authored
Mar 08, 2016
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btn-group fix
parent
5ce6499d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
btn-group.less
src/blocks/btn-group/btn-group.less
+20
-0
blocks_library.html
src/blocks_library.html
+10
-0
No files found.
src/blocks/btn-group/btn-group.less
View file @
f9abddf8
...
...
@@ -6,6 +6,8 @@
display: inline-flex;
.btn {
margin-left: -1px;
&:not(:last-child) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
...
...
@@ -16,4 +18,22 @@
border-bottom-left-radius: 0;
}
}
> * {
margin-left: -1px;
&:not(:last-child) {
.btn {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
}
&:not(:first-child) {
.btn {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
}
}
}
src/blocks_library.html
View file @
f9abddf8
...
...
@@ -649,6 +649,16 @@
<button
class=
"btn"
>
Отправить
</button>
<button
class=
"btn btn--main"
>
Отменить
</button>
<button
class=
"btn"
>
Отменить
</button>
<span
role=
"presentation"
class=
"dropdown"
>
<button
class=
"dropdown__toggler btn"
type=
"button"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Выпадение от пр. края
</button>
<ul
class=
"dropdown__menu dropdown__menu--right"
>
<li><a
href=
"#"
>
Пункт списка (выпадает
<code>
ul
</code>
)
</a></li>
<li><a
href=
""
>
Пункт меню весьма длинный
</a></li>
<li><a
href=
""
>
Второй пункт
</a></li>
</ul>
</span>
</div>
</div>
...
...
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