ui.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. #ui__ac {
  2. &-inner {
  3. max-height: 400px;
  4. overflow-x: hidden;
  5. overflow-y: auto;
  6. position: relative;
  7. -webkit-overflow-scrolling: touch;
  8. > .menu-link {
  9. padding: 6px 8px;
  10. }
  11. }
  12. }
  13. .ui__notifications {
  14. position: fixed;
  15. z-index: 99;
  16. width: 100%;
  17. top: 3.2em;
  18. &-content {
  19. @apply inset-0 flex items-end justify-center px-4 py-3
  20. pointer-events-none sm:px-6 sm:py-3 sm:items-start
  21. sm:justify-end;
  22. }
  23. .notification-area {
  24. background-color: var(--ls-tertiary-background-color, #fff);
  25. color: var(--ls-primary-text-color);
  26. }
  27. }
  28. .ui__confirm-modal {
  29. .sublabel {
  30. display: flex;
  31. padding: 2px 0;
  32. align-items: center;
  33. font-size: 14px;
  34. input[type=checkbox] {
  35. margin-right: 8px;
  36. }
  37. }
  38. }
  39. .ui__button_base {
  40. @apply inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4
  41. font-medium rounded-md text-white
  42. bg-gray-500 hover:bg-gray-700 active:bg-gray-700
  43. focus:border-gray-700 focus:shadow-outline-gray
  44. focus:outline-none transition
  45. ease-in-out duration-150 mt-1;
  46. &.is-logseq {
  47. @apply focus:border-gray-500;
  48. color: var(--ls-primary-text-color);
  49. background: var(--ls-secondary-background-color);
  50. }
  51. &.is-primary {
  52. @apply bg-indigo-600 hover:bg-indigo-700 active:bg-indigo-700
  53. focus:border-indigo-700 focus:shadow-outline-indigo;
  54. }
  55. }
  56. .dropdown-wrapper {
  57. background-color: var(--ls-primary-background-color, #fff);
  58. min-width: 12rem;
  59. }
  60. .dropdown-caret {
  61. display: inline-block;
  62. width: 0;
  63. height: 0;
  64. vertical-align: middle;
  65. content: "";
  66. border-top-style: solid;
  67. border-top-width: 4px;
  68. border-right: 4px solid transparent;
  69. border-bottom: 0 solid transparent;
  70. border-left: 4px solid transparent;
  71. }
  72. .form-checkbox {
  73. color: var(--ls-page-checkbox-color, #137cbd);
  74. background-color: transparent;
  75. border-radius: 0;
  76. border: 2px solid;
  77. border-color: var(--ls-page-checkbox-border-color);
  78. appearance: none
  79. }
  80. .form-checkbox {
  81. &:checked {
  82. border: none;
  83. &:focus {
  84. box-shadow: none;
  85. }
  86. }
  87. &:not(:checked):focus {
  88. box-shadow: none;
  89. }
  90. }
  91. .form-select {
  92. background-color: var(--ls-primary-background-color, transparent);
  93. background-repeat: no-repeat;
  94. border-width: 1px;
  95. border-color: var(--ls-border-color);
  96. }
  97. .form-input {
  98. border-width: 1px;
  99. border-color: var(--ls-border-color);
  100. &:focus {
  101. box-shadow: 0 0 0 2px rgba(164, 202, 254, 0.45);
  102. }
  103. }