Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
186e60f2
Commit
186e60f2
authored
Feb 03, 2017
by
Allison Whilden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci skip] UX Guide: Button placement in groups
parent
575aea54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
doc/development/ux_guide/components.md
doc/development/ux_guide/components.md
+14
-0
No files found.
doc/development/ux_guide/components.md
View file @
186e60f2
...
@@ -96,6 +96,20 @@ Since secondary buttons only have a border on their resting state, their hover a
...
@@ -96,6 +96,20 @@ Since secondary buttons only have a border on their resting state, their hover a
| Background:
`$color-light`
<br>
Border:
`$border-color-light`
| !
[](
img/button-success-secondary--hover.png
)
| !
[](
img/button-close--hover.png
)
| !
[](
img/button-spam--hover.png
)
|
| Background:
`$color-light`
<br>
Border:
`$border-color-light`
| !
[](
img/button-success-secondary--hover.png
)
| !
[](
img/button-close--hover.png
)
| !
[](
img/button-spam--hover.png
)
|
| Background:
`$color-normal`
<br>
Border:
`$border-color-normal`
| !
[](
img/button-success-secondary--active.png
)
| !
[](
img/button-close--active.png
)
| !
[](
img/button-spam--active.png
)
|
| Background:
`$color-normal`
<br>
Border:
`$border-color-normal`
| !
[](
img/button-success-secondary--active.png
)
| !
[](
img/button-close--active.png
)
| !
[](
img/button-spam--active.png
)
|
### Placement
When there are a group of buttons in a dialog or a form, we need to be consistent with the placement.
#### Dismissive actions on the left
The dismissive action returns the user to the previous state.
> Example: Cancel
#### Affirmative actions on the right
Affirmative actions continue to progress towards the user goal that triggered the dialog or form.
> Example: Submit, Ok, Delete
---
---
...
...
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