index.styl 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. div[class~="language-styl"]:before {
  2. content: 'stylus';
  3. }
  4. .v-popover {
  5. line-height: 1
  6. }
  7. // for v-tooltip
  8. .tooltip {
  9. display: block !important;
  10. z-index: 10000;
  11. }
  12. .tooltip .tooltip-inner {
  13. background: black;
  14. color: white;
  15. border-radius: 16px;
  16. padding: 5px 10px 4px;
  17. }
  18. .tooltip .popover .popover-inner {
  19. background: #f9f9f9;
  20. color: black;
  21. padding: 10px;
  22. border-radius: 5px;
  23. box-shadow: 0 5px 30px rgba(black, .1);
  24. }
  25. .tooltip .popover .popover-arrow {
  26. border-color: #f9f9f9
  27. }
  28. .tooltip .tooltip-arrow {
  29. width: 0;
  30. height: 0;
  31. border-style: solid;
  32. position: absolute;
  33. margin: 5px;
  34. border-color: black;
  35. z-index: 1;
  36. }
  37. .tooltip[x-placement^="top"] {
  38. margin-bottom: 5px;
  39. }
  40. .tooltip[x-placement^="top"] .tooltip-arrow {
  41. border-width: 5px 5px 0 5px;
  42. border-left-color: transparent !important;
  43. border-right-color: transparent !important;
  44. border-bottom-color: transparent !important;
  45. bottom: -5px;
  46. left: calc(50% - 5px);
  47. margin-top: 0;
  48. margin-bottom: 0;
  49. }
  50. .tooltip[x-placement^="bottom"] {
  51. margin-top: 5px;
  52. }
  53. .tooltip[x-placement^="bottom"] .tooltip-arrow {
  54. border-width: 0 5px 5px 5px;
  55. border-left-color: transparent !important;
  56. border-right-color: transparent !important;
  57. border-top-color: transparent !important;
  58. top: -5px;
  59. left: calc(50% - 5px);
  60. margin-top: 0;
  61. margin-bottom: 0;
  62. }
  63. .tooltip[x-placement^="right"] {
  64. margin-left: 5px;
  65. }
  66. .tooltip[x-placement^="right"] .tooltip-arrow {
  67. border-width: 5px 5px 5px 0;
  68. border-left-color: transparent !important;
  69. border-top-color: transparent !important;
  70. border-bottom-color: transparent !important;
  71. left: -5px;
  72. top: calc(50% - 5px);
  73. margin-left: 0;
  74. margin-right: 0;
  75. }
  76. .tooltip[x-placement^="left"] {
  77. margin-right: 5px;
  78. }
  79. .tooltip[x-placement^="left"] .tooltip-arrow {
  80. border-width: 5px 0 5px 5px;
  81. border-top-color: transparent !important;
  82. border-right-color: transparent !important;
  83. border-bottom-color: transparent !important;
  84. right: -5px;
  85. top: calc(50% - 5px);
  86. margin-left: 0;
  87. margin-right: 0;
  88. }
  89. .tooltip.popover .popover-inner {
  90. background: #f9f9f9;
  91. color: black;
  92. padding:10px;
  93. border-radius: 5px;
  94. box-shadow: 0 5px 10px rgba(black, .3);
  95. }
  96. .tooltip.popover .popover-arrow {
  97. border-color: #f9f9f9;
  98. }
  99. .tooltip[aria-hidden='true'] {
  100. visibility: hidden;
  101. opacity: 0;
  102. transition: opacity .15s, visibility .15s;
  103. }
  104. .tooltip[aria-hidden='false'] {
  105. visibility: visible;
  106. opacity: 1;
  107. transition: opacity .15s;
  108. }