Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
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
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
3f48c5ca
Commit
3f48c5ca
authored
Feb 19, 2020
by
Lyza Danger Gardner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase contrast of Button components
parent
1655ef7d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
10 deletions
+3
-10
version-info-test.js
src/sidebar/components/test/version-info-test.js
+1
-2
buttons.scss
src/styles/mixins/buttons.scss
+2
-2
button.scss
src/styles/sidebar/components/button.scss
+0
-6
No files found.
src/sidebar/components/test/version-info-test.js
View file @
3f48c5ca
...
@@ -84,8 +84,7 @@ describe('VersionInfo', function() {
...
@@ -84,8 +84,7 @@ describe('VersionInfo', function() {
});
});
});
});
// FIXME-A11Y
it
(
it
.
skip
(
'should pass a11y checks'
,
'should pass a11y checks'
,
checkAccessibility
({
checkAccessibility
({
content
:
()
=>
createComponent
(),
content
:
()
=>
createComponent
(),
...
...
src/styles/mixins/buttons.scss
View file @
3f48c5ca
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
@mixin
button-base
{
@mixin
button-base
{
@include
reset-native-btn-styles
;
@include
reset-native-btn-styles
;
padding
:
0
.5em
;
padding
:
0
.5em
;
color
:
var
.
$grey-
5
;
color
:
var
.
$grey-
mid
;
&
__icon
{
&
__icon
{
width
:
16px
;
width
:
16px
;
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
border
:
none
;
border
:
none
;
background-color
:
var
.
$grey-1
;
background-color
:
var
.
$grey-1
;
font-weight
:
700
;
font-weight
:
700
;
color
:
var
.
$grey-
5
;
color
:
var
.
$grey-
mid
;
padding-right
:
0
.75em
;
padding-right
:
0
.75em
;
padding-left
:
0
.75em
;
padding-left
:
0
.75em
;
...
...
src/styles/sidebar/components/button.scss
View file @
3f48c5ca
...
@@ -29,12 +29,6 @@
...
@@ -29,12 +29,6 @@
border-radius
:
0
;
// Turn off border-radius to align with <input> edges
border-radius
:
0
;
// Turn off border-radius to align with <input> edges
border
:
1px
solid
var
.
$grey-3
;
border
:
1px
solid
var
.
$grey-3
;
border-left
:
0px
;
// Avoid double border with the <input>
border-left
:
0px
;
// Avoid double border with the <input>
color
:
var
.
$grey-4
;
&
:hover
{
background-color
:
var
.
$grey-2
;
color
:
var
.
$grey-5
;
}
}
}
// In a few cases, it's necessary to squeeze buttons into tight spots
// In a few cases, it's necessary to squeeze buttons into tight spots
...
...
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