BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c1b374a7
Unverified
Commit
c1b374a7
authored
Jan 17, 2018
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove hover states from disabled buttons
parent
5139a19e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
16 deletions
+21
-16
buttons.scss
app/assets/stylesheets/framework/buttons.scss
+16
-16
26296-update-styling-disabled-buttons.yml
...logs/unreleased/26296-update-styling-disabled-buttons.yml
+5
-0
No files found.
app/assets/stylesheets/framework/buttons.scss
View file @
c1b374a7
...
...
@@ -220,14 +220,6 @@
@include
btn-with-margin
;
}
&
.disabled
{
pointer-events
:
auto
!
important
;
}
&
[
disabled
]
{
pointer-events
:
none
!
important
;
}
.fa-caret-down
,
.fa-chevron-down
{
margin-left
:
5px
;
...
...
@@ -451,19 +443,27 @@
@include
btn-svg
;
}
// All disabled buttons, regardless of color
// All disabled buttons, regardless of color, type, etc
%disabled
{
background-color
:
$gray-light
!
important
;
border-color
:
$theme-gray-200
!
important
;
color
:
$gl-text-color-disabled
!
important
;
opacity
:
1
!
important
;
cursor
:
not
-
allowed
!
important
;
i
{
color
:
$gl-text-color-disabled
!
important
;
}
}
.btn.disabled
,
.btn
[
disabled
],
fieldset
[
disabled
]
.btn
,
.dropdown-toggle
[
disabled
],
[
disabled
]
.dropdown-menu-toggle
{
background-color
:
$gray-light
;
border-color
:
$theme-gray-200
;
color
:
$gl-text-color-disabled
;
opacity
:
1
;
cursor
:
not
-
allowed
;
@extend
%disabled
;
i
{
color
:
$gl-text-color-
disabled
;
&
:hover
{
@extend
%
disabled
;
}
}
changelogs/unreleased/26296-update-styling-disabled-buttons.yml
0 → 100644
View file @
c1b374a7
---
title
:
Set standard disabled state for all buttons
merge_request
:
author
:
type
:
other
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