Back to home page

EIC code displayed by LXR

 
 

    


Warning, /iDDS/monitor/data/scss/bootstrap/_close.scss is written in an unsupported language. File is not indexed.

0001 // transparent background and border properties included for button version.
0002 // iOS requires the button element instead of an anchor tag.
0003 // If you want the anchor version, it requires `href="#"`.
0004 // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
0005 
0006 .btn-close {
0007   box-sizing: content-box;
0008   width: $btn-close-width;
0009   height: $btn-close-height;
0010   padding: $btn-close-padding-y $btn-close-padding-x;
0011   color: $btn-close-color;
0012   background: transparent escape-svg($btn-close-bg) center / $btn-close-width auto no-repeat; // include transparent for button elements
0013   border: 0; // for button elements
0014   @include border-radius();
0015   opacity: $btn-close-opacity;
0016 
0017   // Override <a>'s hover style
0018   &:hover {
0019     color: $btn-close-color;
0020     text-decoration: none;
0021     opacity: $btn-close-hover-opacity;
0022   }
0023 
0024   &:focus {
0025     outline: none;
0026     box-shadow: $btn-close-focus-shadow;
0027     opacity: $btn-close-focus-opacity;
0028   }
0029 
0030   &:disabled,
0031   &.disabled {
0032     pointer-events: none;
0033     user-select: none;
0034     opacity: $btn-close-disabled-opacity;
0035   }
0036 }
0037 
0038 .btn-close-white {
0039   filter: $btn-close-white-filter;
0040 }