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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f65a2a73
Commit
f65a2a73
authored
Jun 19, 2020
by
Enrique Alcantara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove important from button disabled styles
parent
67c7f6f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
app/assets/stylesheets/framework/buttons.scss
app/assets/stylesheets/framework/buttons.scss
+13
-8
No files found.
app/assets/stylesheets/framework/buttons.scss
View file @
f65a2a73
...
...
@@ -171,7 +171,7 @@
@include
btn-green
;
}
&
.btn-inverted
{
&
.btn-inverted
:not
(
.disabled
)
:not
(
:disabled
)
{
&
.btn-success
{
@include
btn-outline
(
$white
,
$green-600
,
$green-500
,
$green-100
,
$green-700
,
$green-500
,
$green-200
,
$green-600
,
$green-800
);
}
...
...
@@ -501,18 +501,19 @@
// All disabled buttons, regardless of color, type, etc
%disabled
{
background-color
:
$gray-light
!
important
;
border-color
:
$gray-200
!
important
;
color
:
$gl-text-color-disabled
!
important
;
opacity
:
1
!
important
;
cursor
:
default
!
important
;
background-color
:
$gray-light
;
border-color
:
$gray-200
;
color
:
$gl-text-color-disabled
;
opacity
:
1
;
text-decoration
:
none
;
cursor
:
default
;
&
.cursor-not-allowed
{
cursor
:
not
-
allowed
!
important
;
cursor
:
not
-
allowed
;
}
i
{
color
:
$gl-text-color-disabled
!
important
;
color
:
$gl-text-color-disabled
;
}
}
...
...
@@ -526,6 +527,10 @@ fieldset[disabled] .btn,
&
:hover
{
@extend
%disabled
;
}
&
.btn-link
{
background-color
:
transparent
;
}
}
[
readonly
]
{
...
...
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