123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
- /**
- * @file
- * Buttons.
- */
- [dir="ltr"] .button {
- margin-left: 0;
- }
- [dir="rtl"] .button {
- margin-right: 0;
- }
- [dir="ltr"] .button {
- margin-right: 1.125rem;
- }
- [dir="rtl"] .button {
- margin-left: 1.125rem;
- }
- .button {
- display: inline-block;
- height: 3.375rem;
- margin-top: 1.125rem;
- margin-bottom: 1.125rem;
- padding-top: 1.125rem;
- padding-right: 1.6875rem;
- padding-bottom: 1.125rem;
- padding-left: 1.6875rem;
- cursor: pointer;
- text-align: center;
- text-decoration: none;
- color: #0d77b5;
- border: solid 2px #0d77b5;
- border-radius: 0.1875rem;
- background-color: #fff;
- font-family: metropolis, sans-serif;
- font-size: 1.125rem;
- font-weight: 700;
- -webkit-appearance: none;
- appearance: none;
- -webkit-font-smoothing: antialiased;
- }
- .button:hover,
- .button:focus {
- text-decoration: none;
- color: #0f6292;
- border: solid 2px #0f6292;
- background: none;
- font-weight: 700;
- }
- .button:focus {
- outline: 2px solid #53b0eb;
- outline-offset: 2px;
- }
- .button:active {
- color: #0d77b5;
- border-color: #0d77b5;
- }
- .button:disabled,
- .button.is-disabled {
- cursor: default;
- color: #d7e1e8;
- border-color: #d7e1e8;
- }
- /*
- IE11 doesn't work properly on button elements so we only do
- inline-flex on modern browsers.
- */
- @supports (display: inline-flex) {
- .button {
- display: inline-flex;
- align-items: center;
- /* Top padding accounts for font not being vertically centered within line-height. */
- padding-top: 1px;
- padding-right: 1.6875rem;
- padding-bottom: 0;
- padding-left: 1.6875rem;
- line-height: 1.125rem;
- }
- }
- /* No margin if is part of a menu. */
- [dir="ltr"] .menu .button {
- margin-left: 0;
- }
- [dir="rtl"] .menu .button {
- margin-right: 0;
- }
- [dir="ltr"] .menu .button {
- margin-right: 0;
- }
- [dir="rtl"] .menu .button {
- margin-left: 0;
- }
- .menu .button {
- margin-top: 0;
- margin-bottom: 0;
- }
- .button--small {
- height: 2.8125rem;
- padding-top: 0.84375rem;
- padding-right: 1.125rem;
- padding-bottom: 0.84375rem;
- padding-left: 1.125rem;
- font-size: 1rem;
- line-height: normal;
- }
- .button--primary {
- color: #fff;
- background-color: #0d77b5;
- }
- .button--primary:hover,
- .button--primary:focus {
- color: #fff;
- border-color: #0f6292;
- background-color: #0f6292;
- }
- .button--primary:active {
- color: #fff;
- background-color: #0d77b5;
- }
- .button--primary:disabled,
- .button--primary.is-disabled {
- color: #fff;
- background-color: #d7e1e8;
- }
- .button--icon-back {
- display: inline-flex;
- align-items: center;
- }
- [dir="ltr"] .button--icon-back:before {
- margin-right: 0.5em;
- }
- [dir="rtl"] .button--icon-back:before {
- margin-left: 0.5em;
- }
- [dir="ltr"] .button--icon-back:before {
- border-left: solid 2px currentColor;
- }
- [dir="rtl"] .button--icon-back:before {
- border-right: solid 2px currentColor;
- }
- .button--icon-back:before {
- display: block;
- width: 0.5em;
- height: 0.5em;
- content: "";
- transform: rotate(45deg); /* LTR */
- border-bottom: solid 2px currentColor;
- }
- [dir="rtl"] .button--icon-back:before {
- transform: rotate(-45deg);
- }
- .shepherd-cancel-icon {
- font-size: 1.5em;
- }
|