Skip to content

Commit

Permalink
Merge pull request #11 from Krielkip/master
Browse files Browse the repository at this point in the history
Moved @import css to default.xml
  • Loading branch information
vilgro authored Oct 25, 2018
2 parents c590a97 + c204620 commit 8314044
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions view/adminhtml/layout/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<script src="Trustpilot_Reviews::js/bowser.min.js"/>
<script src="Trustpilot_Reviews::js/validation.js"/>
<script src="Trustpilot_Reviews::js/elements.js"/>
<css src="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" src_type="url"/>
<css src="Trustpilot_Reviews::css/trustpilot.css"/>
</head>
</page>
2 changes: 0 additions & 2 deletions view/adminhtml/web/css/trustpilot-message.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

.shake-and-hide-element {
-moz-animation: hide-element 0s ease-in 10s forwards, shake-element 1s;
/* Firefox */
Expand Down
1 change: 1 addition & 0 deletions view/frontend/layout/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<block class="Trustpilot\Reviews\Block\Head" name="trustpilot.head.head" as="trustpilot.head.head" template="Trustpilot_Reviews::head/head.phtml"/>
</referenceContainer>
<head>
<css src="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" src_type="url"/>
<css src="Trustpilot_Reviews::css/trustpilot.css"/>
</head>
</page>
2 changes: 0 additions & 2 deletions view/frontend/web/css/trustpilot.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

.shake-and-hide-element {
-moz-animation: hide-element 0s ease-in 5s forwards, shake-element 1s;
/* Firefox */
Expand Down

0 comments on commit 8314044

Please sign in to comment.