-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Develop #5729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Develop #5729
Changes from 4 commits
13e69c6
7dfc8de
c2d0b54
86c7385
cdeb4e9
4ba4814
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: npm test | ||
- name: Upload HTML report(backstop data) | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: report | ||
path: backstop_data |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,101 @@ | ||
html { | ||
font-family: Roboto, Arial, Helvetica, sans-serif; | ||
font-weight: 500; | ||
font-style: normal; | ||
} | ||
|
||
body { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
ul { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
li { | ||
list-style: none; | ||
} | ||
|
||
/* Menu 1200px */ | ||
|
||
.container { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
padding-left: 50px; | ||
padding-right: 50px; | ||
} | ||
|
||
.header { | ||
margin: 0; | ||
height: 60px; | ||
background-color: #fff; | ||
} | ||
|
||
.logo { | ||
display: flex; | ||
margin: 0 auto 0 0; | ||
height: 40px; | ||
width: min-content; | ||
} | ||
|
||
.main-nav { | ||
display: flex; | ||
height: 60px; | ||
} | ||
|
||
.main-nav__link { | ||
position: relative; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
font-size: 12px; | ||
line-height: 14px; | ||
height: 100%; | ||
text-decoration: none; | ||
color: #000; | ||
} | ||
|
||
.main-nav__item { | ||
height: 100%; | ||
} | ||
|
||
.main-nav__link.is-active::after { | ||
position: absolute; | ||
content: ''; | ||
left: 0; | ||
bottom: 0; | ||
width: 100%; | ||
height: 4px; | ||
border-radius: 8px; | ||
background-color: #00acdc; | ||
} | ||
|
||
.main-nav__link.is-active { | ||
color: #00acdc; | ||
} | ||
|
||
.main-nav__link:hover { | ||
color: #00acdc; | ||
} | ||
|
||
.main-nav__link:active { | ||
color: #00acdc; | ||
} | ||
|
||
a[data-qa='hover'] { | ||
color: #00acdc; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do you need it? styles for hover already settled above |
||
|
||
li:not(:last-child) { | ||
margin-right: 20px; | ||
} | ||
|
||
@media (min-width: 1024px) and (max-width: 1200px) { | ||
a[data-qa='hover'] { | ||
color: #000; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. redundant styles. |
||
} | ||
} |
Uh oh!
There was an error while loading. Please reload this page.