Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Visual styles for ajax-progress throbber.
|
|
|
|
*/
|
|
|
|
|
2021-12-18 06:12:16 +00:00
|
|
|
@import "../base/media-queries.pcss.css";
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
|
|
|
|
.ajax-progress {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Throbber.
|
|
|
|
*/
|
|
|
|
.ajax-progress-throbber {
|
|
|
|
position: relative;
|
|
|
|
display: inline-flex;
|
|
|
|
align-content: center;
|
|
|
|
height: 1.125rem;
|
|
|
|
margin-block-start: -3px;
|
|
|
|
margin-block-end: 0;
|
|
|
|
margin-inline-start: var(--sp0-5);
|
|
|
|
margin-inline-end: var(--sp0-5);
|
|
|
|
vertical-align: middle;
|
|
|
|
white-space: nowrap;
|
|
|
|
line-height: 1.125rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ajax-progress-throbber .throbber {
|
|
|
|
width: 1.125rem;
|
|
|
|
height: 1.125rem;
|
|
|
|
border-width: 2px;
|
2022-01-24 13:49:15 +00:00
|
|
|
border-color: var(--color--primary-50) transparent var(--color--primary-50) var(--color--primary-50);
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajax-progress-throbber .message {
|
|
|
|
display: inline-block;
|
|
|
|
padding-inline-start: var(--sp0-5);
|
|
|
|
font-size: var(--font-size-s);
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Full screen throbber.
|
|
|
|
*/
|
|
|
|
.ajax-progress-fullscreen {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 1000;
|
|
|
|
inset-block-start: 50%;
|
|
|
|
inset-inline-start: 50%;
|
|
|
|
width: 3.5rem;
|
|
|
|
height: 3.5rem;
|
|
|
|
margin: -1.75rem;
|
2022-01-24 13:49:15 +00:00
|
|
|
border: 1px solid var(--color--gray-70);
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
border-radius: 3.5rem;
|
|
|
|
background-color: var(--color--white);
|
|
|
|
box-shadow: 0 0.25rem 0.625rem rgba(34, 35, 48, 0.1); /* LTR */
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
inset-block-start: 50%;
|
|
|
|
inset-inline-start: 50%;
|
|
|
|
width: 1.75rem;
|
|
|
|
height: 1.75rem;
|
|
|
|
margin: -0.875rem;
|
|
|
|
content: "";
|
|
|
|
border-width: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .ajax-progress-fullscreen {
|
|
|
|
box-shadow: 0 -0.25rem 0.625rem rgba(34, 35, 48, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Common styles for all kinds of throbbers.
|
|
|
|
*/
|
|
|
|
.ajax-progress-throbber .throbber,
|
|
|
|
.ajax-progress-fullscreen:before {
|
|
|
|
animation: olivero-throbber 0.75s linear infinite;
|
|
|
|
border-style: solid dotted solid solid;
|
2022-01-24 13:49:15 +00:00
|
|
|
border-color: var(--color--primary-50) transparent var(--color--primary-50) var(--color--primary-50);
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Remove margin from ajax throbbers following buttons because buttons already
|
|
|
|
* have a large margin set.
|
|
|
|
*/
|
|
|
|
html.js .button:not(.js-hide) + .ajax-progress-throbber {
|
|
|
|
margin-inline-start: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes olivero-throbber {
|
|
|
|
0% {
|
|
|
|
transform: rotateZ(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: rotateZ(360deg);
|
|
|
|
}
|
|
|
|
}
|