-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added node in HTML and CSS #3
base: CoveoFoundation
Are you sure you want to change the base?
Changes from all commits
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 |
---|---|---|
|
@@ -34,6 +34,7 @@ | |
data-auto-trigger-query="@Model.AutoTriggerQuery" | ||
data-design="new" | ||
data-enable-collaborative-rating="true" | ||
data-first-loading-animation-selector="#loader-wrapper" | ||
@if (Model.IsMaximumAgeSet) { | ||
@:data-maximum-age="@Model.MaximumAge" | ||
} | ||
|
@@ -50,6 +51,13 @@ | |
</div> | ||
} | ||
|
||
<div id="loader-wrapper" class="loader-wrapper"> | ||
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. Weird d'avoir le même ID que class. Si tu en a pas besoin, retire le. |
||
<span class="loader"> | ||
<span class="loader-inner"></span> | ||
</span> | ||
<h4>Loading Coveo Search</h4> | ||
</div> | ||
|
||
<div class="coveo-main-section"> | ||
@if (Model.DisplayTabs) { | ||
<div class="coveo-tab-section coveo-placeholder-fix"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -334,4 +334,79 @@ a.CoveoResultLink:hover, | |
.coveo-query-summary-cancel-last{ | ||
color: #c8244f; | ||
font-weight: 700; | ||
} | ||
|
||
/* Custom loading animation */ | ||
|
||
.CoveoSearchInterface.coveo-waiting-for-first-query { | ||
background-color: #fff; | ||
} | ||
|
||
.CoveoSearchInterface.coveo-waiting-for-first-query .coveo-results-column { | ||
display: none; | ||
} | ||
|
||
.loader { | ||
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.
|
||
display: inline-block; | ||
width: 30px; | ||
height: 30px; | ||
position: relative; | ||
border: 4px solid #c8244f; | ||
top: 50%; | ||
animation: loader 2s infinite ease; | ||
} | ||
|
||
.loader-inner { | ||
vertical-align: top; | ||
display: inline-block; | ||
width: 100%; | ||
background-color: #c8244f; | ||
animation: loader-inner 2s infinite ease-in; | ||
} | ||
.loader-wrapper { | ||
text-align: center; | ||
} | ||
|
||
@keyframes loader { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
|
||
25% { | ||
transform: rotate(180deg); | ||
} | ||
|
||
50% { | ||
transform: rotate(180deg); | ||
} | ||
|
||
75% { | ||
transform: rotate(360deg); | ||
} | ||
|
||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
@keyframes loader-inner { | ||
0% { | ||
height: 0%; | ||
} | ||
|
||
25% { | ||
height: 0%; | ||
} | ||
|
||
50% { | ||
height: 100%; | ||
} | ||
|
||
75% { | ||
height: 100%; | ||
} | ||
|
||
100% { | ||
height: 0%; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alignement => tabs VS spaces