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
84cbc9db
Commit
84cbc9db
authored
Aug 17, 2020
by
Lyza Danger Gardner
Committed by
Lyza Gardner
Aug 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust mixin names for consistency
parent
501f835b
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
16 deletions
+16
-16
molecules.scss
src/styles/mixins/molecules.scss
+4
-4
utils.scss
src/styles/mixins/utils.scss
+5
-5
annotation-license.scss
src/styles/sidebar/components/annotation-license.scss
+1
-1
help-panel.scss
src/styles/sidebar/components/help-panel.scss
+2
-2
menu-item.scss
src/styles/sidebar/components/menu-item.scss
+2
-2
menu-section.scss
src/styles/sidebar/components/menu-section.scss
+1
-1
top-bar.scss
src/styles/sidebar/components/top-bar.scss
+1
-1
No files found.
src/styles/mixins/molecules.scss
View file @
84cbc9db
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
&
:hover
,
&
:hover
,
&
.is-focused
{
&
.is-focused
{
@include
utils
.
active-shadow
;
@include
utils
.
shadow--active
;
}
}
&
--theme-clean
{
&
--theme-clean
{
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
*/
*/
@mixin
footer-links
{
@mixin
footer-links
{
@include
layout
.
row
(
center
);
@include
layout
.
row
(
center
);
@include
utils
.
border-top
;
@include
utils
.
border-
-
top
;
padding-top
:
8px
;
padding-top
:
8px
;
&
__icon
{
&
__icon
{
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
&
__header
{
&
__header
{
@include
layout
.
row
(
$align
:
center
);
@include
layout
.
row
(
$align
:
center
);
@include
utils
.
border-bottom
;
@include
utils
.
border-
-
bottom
;
padding-bottom
:
var
.
$layout-space
;
padding-bottom
:
var
.
$layout-space
;
}
}
...
@@ -170,7 +170,7 @@
...
@@ -170,7 +170,7 @@
&
__tab
{
&
__tab
{
@include
utils
.
font--large
;
@include
utils
.
font--large
;
@include
utils
.
border-right
;
@include
utils
.
border-
-
right
;
flex
:
1
1
;
flex
:
1
1
;
text-align
:
center
;
text-align
:
center
;
color
:
var
.
$color-text--light
;
color
:
var
.
$color-text--light
;
...
...
src/styles/mixins/utils.scss
View file @
84cbc9db
...
@@ -4,19 +4,19 @@
...
@@ -4,19 +4,19 @@
border
:
var
.
$border-width
solid
var
.
$color-border
;
border
:
var
.
$border-width
solid
var
.
$color-border
;
}
}
@mixin
border-top
{
@mixin
border-
-
top
{
border-top
:
var
.
$border-width
solid
var
.
$color-border
;
border-top
:
var
.
$border-width
solid
var
.
$color-border
;
}
}
@mixin
border-right
{
@mixin
border-
-
right
{
border-right
:
var
.
$border-width
solid
var
.
$color-border
;
border-right
:
var
.
$border-width
solid
var
.
$color-border
;
}
}
@mixin
border-bottom
{
@mixin
border-
-
bottom
{
border-bottom
:
var
.
$border-width
solid
var
.
$color-border
;
border-bottom
:
var
.
$border-width
solid
var
.
$color-border
;
}
}
@mixin
border-left
{
@mixin
border-
-
left
{
border-left
:
var
.
$border-width
solid
var
.
$color-border
;
border-left
:
var
.
$border-width
solid
var
.
$color-border
;
}
}
...
@@ -78,6 +78,6 @@
...
@@ -78,6 +78,6 @@
box-shadow
:
0
1px
1px
rgba
(
0
,
0
,
0
,
0
.1
);
box-shadow
:
0
1px
1px
rgba
(
0
,
0
,
0
,
0
.1
);
}
}
@mixin
active-shadow
{
@mixin
shadow--active
{
box-shadow
:
0px
2px
3px
0px
rgba
(
0
,
0
,
0
,
0
.15
);
box-shadow
:
0px
2px
3px
0px
rgba
(
0
,
0
,
0
,
0
.15
);
}
}
src/styles/sidebar/components/annotation-license.scss
View file @
84cbc9db
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
.annotation-license
{
.annotation-license
{
@include
utils
.
font--small
;
@include
utils
.
font--small
;
@include
utils
.
border-top
;
@include
utils
.
border-
-
top
;
// Space between border and text content
// Space between border and text content
padding-top
:
var
.
$layout-space--xsmall
;
padding-top
:
var
.
$layout-space--xsmall
;
...
...
src/styles/sidebar/components/help-panel.scss
View file @
84cbc9db
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
}
}
&
__subcontent
{
&
__subcontent
{
@include
utils
.
border-top
;
@include
utils
.
border-
-
top
;
@include
utils
.
border-bottom
;
@include
utils
.
border-
-
bottom
;
@include
layout
.
vertical-space
;
@include
layout
.
vertical-space
;
a
{
a
{
...
...
src/styles/sidebar/components/menu-item.scss
View file @
84cbc9db
...
@@ -61,7 +61,7 @@ a.menu-item:hover {
...
@@ -61,7 +61,7 @@ a.menu-item:hover {
}
}
&
.is-expanded
{
&
.is-expanded
{
@include
utils
.
border-bottom
;
@include
utils
.
border-
-
bottom
;
background-color
:
var
.
$grey-1
;
background-color
:
var
.
$grey-1
;
color
:
var
.
$color-text
;
color
:
var
.
$color-text
;
&
:hover
{
&
:hover
{
...
@@ -142,7 +142,7 @@ a.menu-item:hover {
...
@@ -142,7 +142,7 @@ a.menu-item:hover {
// The container for open submenus
// The container for open submenus
.menu-item__submenu
{
.menu-item__submenu
{
@include
utils
.
border-bottom
;
@include
utils
.
border-
-
bottom
;
&
:hover
{
&
:hover
{
// Make it a bit darker on hover.
// Make it a bit darker on hover.
background-color
:
var
.
$grey-3
;
background-color
:
var
.
$grey-3
;
...
...
src/styles/sidebar/components/menu-section.scss
View file @
84cbc9db
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
@use
"../../mixins/utils"
;
@use
"../../mixins/utils"
;
.menu-section__content
{
.menu-section__content
{
@include
utils
.
border-bottom
;
@include
utils
.
border-
-
bottom
;
}
}
.menu-section__heading
{
.menu-section__heading
{
...
...
src/styles/sidebar/components/top-bar.scss
View file @
84cbc9db
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
.top-bar
{
.top-bar
{
@include
utils
.
font--large
;
@include
utils
.
font--large
;
@include
utils
.
border-bottom
;
@include
utils
.
border-
-
bottom
;
color
:
var
.
$grey-mid
;
color
:
var
.
$grey-mid
;
background
:
var
.
$white
;
background
:
var
.
$white
;
height
:
var
.
$top-bar-height
;
height
:
var
.
$top-bar-height
;
...
...
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