Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
design-system-lib
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
julkiset-sivut
design-system-lib
Commits
22955ed5
Commit
22955ed5
authored
4 years ago
by
Ekaterina Kondareva
Browse files
Options
Downloads
Patches
Plain Diff
style fixes for breadcrumbs
parent
2af49821
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/hy-breadcrumbs/hy-breadcrumbs.scss
+25
-8
25 additions, 8 deletions
src/components/hy-breadcrumbs/hy-breadcrumbs.scss
src/components/hy-main/hy-main.scss
+1
-1
1 addition, 1 deletion
src/components/hy-main/hy-main.scss
with
26 additions
and
9 deletions
src/components/hy-breadcrumbs/hy-breadcrumbs.scss
+
25
−
8
View file @
22955ed5
...
...
@@ -153,6 +153,12 @@
}
}
.breadcrumb-item-caret
{
svg
{
fill
:
var
(
--
grayscale-dark
);
}
}
.breadcrumb-item-dropdown-button
{
display
:
flex
;
flex-direction
:
row
;
...
...
@@ -163,7 +169,7 @@
line-height
:
10px
;
border-radius
:
3px
;
background-color
:
var
(
--
grayscale-white
);
box-shadow
:
0
0
10px
0
rgba
(
14
,
104
,
139
,
0
.
1
);
box-shadow
:
0
0
10px
0
rgba
(
14
,
104
,
139
,
0
.
3
);
padding
:
0
25px
9px
10px
;
position
:
relative
;
...
...
@@ -193,7 +199,7 @@
&
__is-open
{
background
:
var
(
--
grayscale-white
);
box-shadow
:
0
0
10px
0
rgba
(
14
,
104
,
139
,
0
.
1
);
box-shadow
:
0
0
10px
0
rgba
(
14
,
104
,
139
,
0
.
2
);
display
:
block
;
margin-top
:
-9px
;
padding
:
32px
16px
6px
16px
;
...
...
@@ -242,6 +248,19 @@
visibility
:
hidden
;
}
.breadcrumb-item.main
,
.breadcrumb-item.intermediate
,
.breadcrumb-item.home
{
a
{
min-height
:
44px
;
}
}
.breadcrumb-item.breadcrumb-item__current
{
a
{
min-height
:
0
;
}
}
#more
,
.more
{
display
:
none
;
...
...
@@ -263,13 +282,11 @@
@include
font-size
(
26px
,
26px
);
color
:
var
(
--
grayscale-black
);
font-weight
:
700
;
}
//@todo change home icon to be 20px x 20px and be as in the specs
.breadcrumb-item-caret
{
// @todo set styles for caret near the home icon
// should be bold
// padding: 0 6px 0 8px; (mobile) && padding: 0 8px 0 10px (tablet + desktop);
.breadcrumb-item-caret
{
svg
{
fill
:
var
(
--
grayscale-black
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/components/hy-main/hy-main.scss
+
1
−
1
View file @
22955ed5
.hy-main
{
display
:
flex
;
margin
:
var
(
--
gutter-mobile
)
auto
;
//
margin: var(--gutter-mobile) auto;
max-width
:
$fullhd
;
padding
:
0
;
width
:
100%
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment