Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

util.css 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. :root {
  2. --reset-font: {
  3. font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
  4. -webkit-font-smoothing: antialiased;
  5. -moz-osx-font-smoothing: grayscale;
  6. font-weight: var(--font-weight);
  7. }
  8. --reset-box-model: {
  9. box-sizing: border-box;
  10. background-clip: padding-box;
  11. }
  12. --reset-base: {
  13. padding: 0;
  14. margin: 0;
  15. font: inherit;
  16. color: inherit;
  17. background: transparent;
  18. border: none;
  19. line-height: normal;
  20. }
  21. --reset-input: {
  22. @apply(--reset-box-model);
  23. padding: 0;
  24. margin: 0;
  25. font: inherit;
  26. color: inherit;
  27. background: transparent;
  28. border: none;
  29. vertical-align: top;
  30. outline: none;
  31. line-height: 1;
  32. }
  33. --hide-input: {
  34. position: absolute;
  35. right: 0;
  36. top: 0;
  37. left: 0;
  38. bottom: 0;
  39. padding: 0;
  40. border: 0;
  41. background-color: transparent;
  42. z-index: 1;
  43. vertical-align: top;
  44. outline: none;
  45. width: 100%;
  46. height: 100%;
  47. margin: 0;
  48. appearance: none;
  49. }
  50. --hide-input-parent: {
  51. position: relative;
  52. }
  53. --reset-cursor: {
  54. cursor: default;
  55. user-select: none;
  56. }
  57. --reset-overflow: {
  58. white-space: nowrap;
  59. overflow: hidden;
  60. }
  61. --reset-container: {
  62. @apply(--reset-box-model);
  63. @apply(--reset-overflow);
  64. word-spacing: 0;
  65. }
  66. --ellipsis: {
  67. text-overflow: ellipsis;
  68. white-space: nowrap;
  69. overflow: hidden;
  70. }
  71. --disabled: {
  72. opacity: 0.3;
  73. cursor: default;
  74. pointer-events: none;
  75. }
  76. --input: {
  77. @apply(--reset-input);
  78. @apply(--reset-font);
  79. }
  80. --transparent: {
  81. border: none;
  82. background-color: transparent;
  83. }
  84. @custom-media --retina-query (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx);
  85. --material-font: {
  86. font-family: 'Roboto', 'Noto', sans-serif;
  87. -webkit-font-smoothing: antialiased;
  88. font-weight: var(--material-font-weight);
  89. }
  90. --material-shadow-0: {
  91. box-shadow: none;
  92. }
  93. --material-shadow-1: {
  94. box-shadow:
  95. 0 2px 2px 0 rgba(0, 0, 0, 0.14),
  96. 0 1px 5px 0 rgba(0, 0, 0, 0.12),
  97. 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  98. }
  99. --material-shadow-2: {
  100. box-shadow:
  101. 0 4px 5px 0 rgba(0, 0, 0, 0.14),
  102. 0 1px 10px 0 rgba(0, 0, 0, 0.12),
  103. 0 2px 4px -1px rgba(0, 0, 0, 0.4);
  104. }
  105. --material-shadow-3: {
  106. box-shadow:
  107. 0 6px 10px 0 rgba(0, 0, 0, 0.14),
  108. 0 1px 18px 0 rgba(0, 0, 0, 0.12),
  109. 0 3px 5px -1px rgba(0, 0, 0, 0.4);
  110. }
  111. --material-shadow-4: {
  112. box-shadow:
  113. 0 8px 10px 1px rgba(0, 0, 0, 0.14),
  114. 0 3px 14px 2px rgba(0, 0, 0, 0.12),
  115. 0 5px 5px -3px rgba(0, 0, 0, 0.4);
  116. }
  117. --material-shadow-5: {
  118. box-shadow:
  119. 0 16px 24px 2px rgba(0, 0, 0, 0.14),
  120. 0 6px 30px 5px rgba(0, 0, 0, 0.12),
  121. 0 8px 10px -5px rgba(0, 0, 0, 0.4);
  122. }
  123. --checkmark: {
  124. content: '';
  125. position: absolute;
  126. top: 7px;
  127. left: 4px;
  128. opacity: 0;
  129. width: 11px;
  130. height: 4px;
  131. background: transparent;
  132. border: 2px solid var(--highlight-color);
  133. border-top: none;
  134. border-right: none;
  135. border-radius: 0;
  136. transform: rotate(-45deg);
  137. }
  138. }