Skip to content

Commit

Permalink
Merge pull request #12 from ifpen/feat/logo
Browse files Browse the repository at this point in the history
Feat/logo
  • Loading branch information
gcorbelin-coexya committed Apr 5, 2024
2 parents e987c6e + b1ccc87 commit 35a66dc
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
Binary file added front-end/source/assets/img/logo-taipy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions front-end/source/assets/img/logo-taipy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions front-end/source/assets/style/layout/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
max-width: 17em;
width: 100%;
height: 100%;
padding: 0.5em 1em;
padding: 0.5em 1.25em;
color: var(--header-color-text);

&:hover,
Expand All @@ -25,7 +25,7 @@
.brand__placeholder {
display: block;
width: 100%;
height: 3em;
height: 1.625em;
background-image: var(--header-logo-url);
background-position: left center;
background-size: contain;
Expand Down
7 changes: 5 additions & 2 deletions front-end/source/assets/style/layout/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@
}

.sidebar__brand {
display: flex;
align-items: center;
width: 100%;
margin-bottom: 1.25em;
padding-left: 0.1875em;
height: 3em;
margin-bottom: 1.125em;
padding-left: 0.4375em;

.brand__placeholder {
background-image: var(--main-logo-url);
Expand Down
4 changes: 2 additions & 2 deletions front-end/source/assets/style/themes/_theme-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ $text-color: #ffffff;
// Dropdown arrow
--dropdown-arrow-url: url("data:image/svg+xml;utf8,%3csvg xmlns='https://www.w3.org/2000/svg' width='32' height='32' fill='none'%3e%3cpath fill='%23f8f8f8' d='m9.487 11.06 6.12 6.107 6.12-6.107 1.88 1.88-8 8-8-8 1.88-1.88z'/%3e%3c/svg%3e");
// Images
--main-logo-url: url('../img/logo_taipy_color_without background.png');
--header-logo-url: url('../img/logo_taipy_color_without background.png');
--main-logo-url: url('../img/logo-taipy.svg');
--header-logo-url: url('../img/logo-taipy.svg');
}
// }

0 comments on commit 35a66dc

Please sign in to comment.