-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2650 from romainruaud/feature-elasticsuite-logo
Adding elasticsuite logo
- Loading branch information
Showing
6 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
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
42 changes: 42 additions & 0 deletions
42
src/module-elasticsuite-core/view/adminhtml/web/css/es-logo.css
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,42 @@ | ||
/* Logo to the right */ | ||
.admin__collapsible-block-wrapper.es-esfeature__logo .admin__collapsible-title > span:first-child { /* Collapsible block title */ | ||
position: relative; | ||
padding-right: 35px; | ||
} | ||
|
||
/* Logo to the left */ | ||
.admin__field.es-esfeature__logo > .admin__field-label > label > span:first-child, /* Category fields */ | ||
fieldset.es-esfeature__logo legend span:first-child, /* Legacy form fields */ | ||
label.es-esfeature__logo span:first-child { /* Store view config */ | ||
position: relative; | ||
padding-left: 35px; | ||
} | ||
|
||
/* Logo image - default position to the left */ | ||
.admin__collapsible-block-wrapper.es-esfeature__logo .admin__collapsible-title > span:first-child:after, /* Collapsible block title */ | ||
.admin__field.es-esfeature__logo > .admin__field-label > label > span:first-child:after, /* Category fields */ | ||
label.es-esfeature__logo span:first-child:after, /* Store view config */ | ||
fieldset.es-esfeature__logo legend span:first-child:after, /* Legacy form fields */ | ||
.section-config.es-esfeature__logo > .admin__collapsible-block > a:after { /* Section config title */ | ||
position: absolute; | ||
top: 25%; | ||
left: 0; | ||
transform: translateY( -50% ); | ||
content: ""; | ||
width: 30px; | ||
height: 30px; | ||
background: url('../images/es-logo.svg') no-repeat 0 0; | ||
background-size: contain; | ||
} | ||
|
||
/* Logo image - position to the right */ | ||
.admin__collapsible-block-wrapper.es-esfeature__logo .admin__collapsible-title > span:first-child:after, /* Collapsible block title */ | ||
.section-config.es-esfeature__logo > .admin__collapsible-block > a:after { /* Section config title */ | ||
left: unset; | ||
margin-left: 10px; | ||
top: 50%; | ||
} | ||
|
||
fieldset.es-esfeature__logo legend span:first-child:after { /* Legacy form fields */ | ||
top: 50% | ||
} |
10 changes: 10 additions & 0 deletions
10
src/module-elasticsuite-core/view/adminhtml/web/images/es-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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