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
5139a19e
Unverified
Commit
5139a19e
authored
Jan 16, 2018
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update styling of all disabled buttons
parent
f17d7a4b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
13 deletions
+33
-13
awards.scss
app/assets/stylesheets/framework/awards.scss
+8
-7
buttons.scss
app/assets/stylesheets/framework/buttons.scss
+17
-0
dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+0
-5
variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-0
note_form.scss
app/assets/stylesheets/pages/note_form.scss
+7
-1
No files found.
app/assets/stylesheets/framework/awards.scss
View file @
5139a19e
...
...
@@ -173,13 +173,14 @@
}
&
.user-authored
{
cursor
:
default
;
opacity
:
0
.65
;
&
:hover
,
&
:active
{
background-color
:
$white-light
;
border-color
:
$border-color
;
cursor
:
not
-
allowed
;
background-color
:
$gray-light
;
border-color
:
$theme-gray-200
;
color
:
$gl-text-color-disabled
;
gl-emoji
{
opacity
:
0
.4
;
filter
:
grayscale
(
100%
);
}
}
...
...
app/assets/stylesheets/framework/buttons.scss
View file @
5139a19e
...
...
@@ -450,3 +450,20 @@
.btn-svg
svg
{
@include
btn-svg
;
}
// All disabled buttons, regardless of color
.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
;
i
{
color
:
$gl-text-color-disabled
;
}
}
app/assets/stylesheets/framework/dropdowns.scss
View file @
5139a19e
...
...
@@ -63,11 +63,6 @@
border-radius
:
$border-radius-base
;
white-space
:
nowrap
;
&
[
disabled
]
{
opacity
:
.65
;
cursor
:
not
-
allowed
;
}
&
.no-outline
{
outline
:
0
;
}
...
...
app/assets/stylesheets/framework/variables.scss
View file @
5139a19e
...
...
@@ -164,6 +164,7 @@ $gl-text-color-tertiary: #949494;
$gl-text-color-quaternary
:
#d6d6d6
;
$gl-text-color-inverted
:
rgba
(
255
,
255
,
255
,
1
);
$gl-text-color-secondary-inverted
:
rgba
(
255
,
255
,
255
,
.85
);
$gl-text-color-disabled
:
#919191
;
$gl-text-green
:
$green-600
;
$gl-text-green-hover
:
$green-700
;
$gl-text-red
:
$red-500
;
...
...
app/assets/stylesheets/pages/note_form.scss
View file @
5139a19e
...
...
@@ -391,11 +391,17 @@
.dropdown-toggle
{
float
:
right
;
.toggle-icon
{
i
{
color
:
$white-light
;
padding-right
:
2px
;
margin-top
:
2px
;
}
&
[
disabled
]
{
i
{
color
:
$gl-text-color-disabled
;
}
}
}
.dropdown-menu
{
...
...
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