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
bf81f5ee
Commit
bf81f5ee
authored
4 years ago
by
Ekaterina Kondareva
Browse files
Options
Downloads
Patches
Plain Diff
shortcuts borders fix styles
parent
259abc56
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/hy-shortcuts/hy-shortcuts.scss
+8
-0
8 additions, 0 deletions
src/components/hy-shortcuts/hy-shortcuts.scss
src/index.html
+10
-0
10 additions, 0 deletions
src/index.html
with
18 additions
and
0 deletions
src/components/hy-shortcuts/hy-shortcuts.scss
+
8
−
0
View file @
bf81f5ee
...
...
@@ -67,12 +67,19 @@
.shortcut-link-wrapper.box-3.first
a
.shortcut-link
,
.shortcut-link-wrapper.box-4.first
a
.shortcut-link
{
// mobile
border-top
:
2
.5px
solid
var
(
--
brand-main-nearly-black
);
@include
breakpoint
(
$medium
)
{
// tablet
border-top
:
3px
solid
var
(
--
brand-main-nearly-black
);
}
}
a
.shortcut-link
{
align-items
:
center
;
background-color
:
transparent
;
// mobile
border-bottom
:
2
.5px
solid
var
(
--
brand-main-nearly-black
);
color
:
var
(
--
brand-main-nearly-black
);
cursor
:
pointer
;
...
...
@@ -89,6 +96,7 @@
text-decoration
:
none
;
@include
breakpoint
(
$medium
)
{
// tablet
border-bottom
:
3px
solid
var
(
--
brand-main-nearly-black
);
border-top
:
3px
solid
var
(
--
brand-main-nearly-black
);
font-size
:
16px
;
...
...
This diff is collapsed.
Click to expand it.
src/index.html
+
10
−
0
View file @
bf81f5ee
...
...
@@ -245,6 +245,16 @@
<a
href=
"#this-is-an-accordion-item-3--title"
>
Click here to go to Accordion Item 3
</a>
</section>
<hy-shortcuts
list-heading=
"Shortcuts list heading number one"
data-items=
'[
{"heading":"3500 h","url":"https://yle.fi"},
{"heading":"Example link label one","url":"https://yle.fi"},
{"heading":"Example link label two. Very Long label indeed to test if it fits.", "url":"https://yle.fi"},
{"heading":"Example link label three", "url":"https://yle.fi"}]'
>
</hy-shortcuts>
<hy-banner
text-title=
"Check upcoming conferences"
text-description=
"Take advantage of our curated list of high profile conferences near Helsinki and in the Nordics."
...
...
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