_utils.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. .clearfix {
  2. @include clearfix();
  3. }
  4. .highlight-word {
  5. color: $brand-primary;
  6. }
  7. .emphasis-word {
  8. font-weight: 500;
  9. color: $text-color-emphasis;
  10. }
  11. // Close icons
  12. // --------------------------------------------------
  13. .close {
  14. @include opacity(20);
  15. float: right;
  16. font-size: 20px;
  17. font-weight: bold;
  18. line-height: $line-height-base;
  19. color: $black;
  20. text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
  21. &:hover,
  22. &:focus {
  23. color: $black;
  24. text-decoration: none;
  25. cursor: pointer;
  26. @include opacity(40);
  27. }
  28. }
  29. // Additional properties for button version
  30. // iOS requires the button element instead of an anchor tag.
  31. // If you want the anchor version, it requires `href="#"`.
  32. button.close {
  33. padding: 0;
  34. cursor: pointer;
  35. background: transparent;
  36. border: 0;
  37. -webkit-appearance: none;
  38. }
  39. //
  40. // Utility classes
  41. // --------------------------------------------------
  42. // Quick floats
  43. .pull-right {
  44. float: right !important;
  45. }
  46. .pull-left {
  47. float: left !important;
  48. }
  49. // Toggling content
  50. .hide {
  51. display: none;
  52. }
  53. .show {
  54. display: block;
  55. }
  56. // Visibility
  57. .invisible {
  58. visibility: hidden !important;
  59. }
  60. // For Affix plugin
  61. .affix {
  62. position: fixed;
  63. }
  64. .d-inline-block {
  65. display: inline-block;
  66. }