-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking: Complete CSS Rewrite (#800)
* fix(unkown-anchor-page): nicer semantics * fix(navbar): removes point as a (screen) readable character and makes it part of the css * fix(recovery-mechanism): uses correct HTML element & hides icons form screen-readers * fix(wraning): uses correct HTML element & hides icons form screen-readers * fix(accessibility): removes banner for alert * fix(html): better semantics * feat(css): Adds a proper CSS reset * feat(layout): introduces card and container as individual conepts * style(typescript): prettier * test(e2e): adapts test do accomodate new dom structure * 🤖 Selenium screenshots auto-update * design(CSS): removes CSS and adds base framework * components(navlinks): creates a single component out of the nav links * fix(knowAnchor): Makes the known anchor page look a bit nicer * fix(links): Adds pointer cursor to pseudo-links * design(css): Adjusts the titles line-height for a better reading experience * design(css): Adds basic input styles * fix(unkwownAnchor): applies the new classes * fix(design): makes sure inputs still look like inputs in dark mode * style(prettier): satisfly prettier rules * style(CSS): adds better comments * style(CSS): adds better comments * feat(CSS): Adds concepts of titles with complications * feat(card): Separates the fancy looking card from the layout * feat(recovery): Styles recovery page * feat(addDevice): Styles add device page * feat(warnings): styles various warnings * lint(format): satisfy code formatting * fix(welcome): fixes spaces * lint(format): satisfy code formatting * lint(format): satisfy code formatting * feat(CSS): adds variables for z-indexes * test(e2e): removes questionable whitespace from test string * fix(CSS): restores the more classical design * feat(CSS): introduces a proper list style * fix(CSS): adds more missing styles * fix(CSS): reitroduces basic responsiveness * feat(FAQ): reitroduces FAW styles * 🤖 Selenium screenshots auto-update * feat(input): adds conept of a read only input * test(e2e): fixes userNumber tests * lint(format): stisfy formatting * test(e2e): copies test to see if it fails * feat(seedphrase): re-adds styling for seed-phrase recovery and display * fix(CSS): fixes faulty comment * Revert "test(e2e): copies test to see if it fails" This reverts commit b1bda05. * feat(about): styles about page * lint(formatter): stisfy formatter * feat(pages): styes browser support page * feat(pages): styles pick recovery device * feat(pages): styles showcase page * fix(unknownAnchor): closes unclosed link * fix(logo): adds more space around the logo * fix(footer): makes the footer look a bit nicer * fix(css): make the trumps overwrite every other rule * fix(css): makes sure the dot between the two navigation items is exactly centered * fix(css): comment out dark-mode * style(HTML): removes double spaces in between class-names * style(links): underlines most links * style(logo): replaces logo with a properly sized and compressed one * linting(logo): stisfy formatter * feat(authenticate): style authenticate page * linting(authenticate): satisfy formatter * 🤖 Selenium screenshots auto-update * 🤖 Selenium screenshots auto-update * fix(responsiveness): nicer mobile styles * fix(captcha): makes sure the captcha can be as wide as it can be * fix(newDevice): adds some space on top of list * fix(newDevice): adds some space on top of list * feat(deviceAlias): styles device alias page * feat(styles): styles more missing pages * feat(styles): styles more missing pages * feat(styles): styles editable inputs * Update src/frontend/src/styles/main.css Co-authored-by: Nicolas Mattia <nicolas.mattia@dfinity.org> * docs(css): clarify comment * Style veryTentativeDevice correctly * Add minimum styles for warning boxes * add data-usernumber to fix the tests * satisfy formater * 🤖 Selenium screenshots auto-update * makes warning boxes less high by moving the icon to the top right * fix typo in css comment * makes sure the logo has the right size on all views * satisfy formatter * makes the single device warning look nicer * makes warnboxes even nicer * makes Device Verification look better * fixed button class on Congratulation screen * removes commented out dark mode and blurry background * 🤖 Selenium screenshots auto-update * 🤖 Selenium screenshots auto-update * 🤖 Selenium screenshots auto-update * fixes two more views * make sure the logo also looks ok if it follows a title * relace data tags by output elements * fix typo in card component * add summary/detail arrows * intruduce a t-vip--small mod * makes the displayError message a bit nicer * change some CSS comments to be a bit more descriptive * 🤖 Selenium screenshots auto-update * make some VIP fildes a bit smaller and nicer to read * 🤖 Selenium screenshots auto-update * Fix FAQ, ol, and font size * Fix displaySafariWarning * 🤖 Selenium screenshots auto-update * 🤖 Selenium screenshots auto-update * 🤖 Selenium screenshots auto-update * 🤖 Selenium screenshots auto-update * Add styling to promptUserNumber * 🤖 Selenium screenshots auto-update * make sure the loader is on top of things * remvoes list style from summary elements * fix error icon * fix error icon * make sure some of the tooltips only show when the element is disabled * add a hover effect to the Anchor Management settings * remove hover effects on links if they are disabled or if a parent is * add input error styles * uses correct button classes * adds space between devices in anchor management * 🤖 Selenium screenshots auto-update * Remove nested warnings in recovery phrase * 🤖 Selenium screenshots auto-update * 🤖 Selenium screenshots auto-update Co-authored-by: Nicolas Mattia <nicolas.mattia@dfinity.org> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c91c8ec
commit 174ec05
Showing
99 changed files
with
1,417 additions
and
1,416 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.14 KB
(95%)
screenshots/12-new-device-registration-mode-disabled-instructions-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.53 KB
(95%)
screenshots/12-new-device-registration-mode-disabled-instructions-mobile.png
Oops, something went wrong.
Binary file modified
BIN
-1.57 KB
(97%)
screenshots/13-new-device-show-verification-code-desktop.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-4.09 KB
(96%)
screenshots/14-new-device-enter-verification-code-desktop.png
Oops, something went wrong.
Binary file modified
BIN
-473 Bytes
(99%)
screenshots/14-new-device-enter-verification-code-mobile.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
import { html } from "lit-html"; | ||
import { aboutLink } from "../components/aboutLink"; | ||
import { faqLink } from "../components/faqLink"; | ||
import { navigationLink } from "../components/navigationLink"; | ||
|
||
export const navbar = html` <aside aria-label="General links"> | ||
<ul class="nav-links"> | ||
<li>${aboutLink}</li> | ||
<li>${faqLink}</li> | ||
<ul class="c-nav-links"> | ||
<li> | ||
${navigationLink({ | ||
labelText: "About", | ||
uuid: "aboutLink", | ||
url: "/about", | ||
})} | ||
</li> | ||
<li> | ||
${navigationLink({ | ||
labelText: "FAQ", | ||
uuid: "faqLink", | ||
url: "/faq", | ||
})} | ||
</li> | ||
</ul> | ||
</aside>`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { html, TemplateResult } from "lit-html"; | ||
|
||
export const navigationLink = ( | ||
props = { | ||
labelText: "About", | ||
uuid: "aboutLink", | ||
url: "/about", | ||
} | ||
): TemplateResult => html`<a | ||
id="${props.uuid}" | ||
class="c-nav-links__link t-link t-link--discreet" | ||
href="${props.url}" | ||
target="_blank" | ||
>${props.labelText}</a | ||
>`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.