VToolbar.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. .v-toolbar {
  2. align-items: flex-start;
  3. display: flex;
  4. flex: none;
  5. flex-direction: column;
  6. justify-content: space-between;
  7. max-width: 100%;
  8. overflow: hidden;
  9. position: relative;
  10. transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  11. transition-property: height, width, transform, max-width, left, right, top, bottom, box-shadow;
  12. width: 100%;
  13. border-color: rgba(var(--v-border-color), var(--v-border-opacity));
  14. border-style: solid;
  15. border-width: 0;
  16. box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
  17. border-radius: 0;
  18. background: rgb(var(--v-theme-on-surface-variant));
  19. color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
  20. }
  21. .v-toolbar--border {
  22. border-width: thin;
  23. box-shadow: none;
  24. }
  25. .v-toolbar--absolute {
  26. position: absolute;
  27. }
  28. .v-toolbar--collapse {
  29. max-width: 112px;
  30. overflow: hidden;
  31. }
  32. .v-toolbar--collapse .v-toolbar-title {
  33. display: none;
  34. }
  35. .v-toolbar--collapse.v-locale--is-ltr, .v-locale--is-ltr .v-toolbar--collapse {
  36. border-bottom-right-radius: 24px;
  37. }
  38. .v-toolbar--collapse.v-locale--is-rtl, .v-locale--is-rtl .v-toolbar--collapse {
  39. border-bottom-left-radius: 24px;
  40. }
  41. .v-toolbar--flat {
  42. box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
  43. }
  44. .v-toolbar--floating {
  45. display: inline-flex;
  46. }
  47. .v-toolbar--rounded {
  48. border-radius: 4px;
  49. }
  50. .v-toolbar__content,
  51. .v-toolbar__extension {
  52. align-items: center;
  53. display: flex;
  54. flex: 0 0 auto;
  55. position: relative;
  56. transition: inherit;
  57. width: 100%;
  58. }
  59. .v-toolbar__content > .v-btn:first-child {
  60. margin-inline-start: 10px;
  61. }
  62. .v-toolbar__content > .v-btn:last-child {
  63. margin-inline-end: 10px;
  64. }
  65. .v-toolbar__content > .v-toolbar-title {
  66. margin-inline-start: 16px;
  67. }
  68. .v-toolbar--density-prominent .v-toolbar__content {
  69. align-items: flex-start;
  70. }
  71. .v-toolbar__image {
  72. position: absolute;
  73. top: 0;
  74. left: 0;
  75. width: 100%;
  76. height: 100%;
  77. display: flex;
  78. opacity: var(--v-toolbar-image-opacity, 1);
  79. transition-property: opacity;
  80. }
  81. .v-toolbar__prepend,
  82. .v-toolbar__append {
  83. align-items: center;
  84. align-self: stretch;
  85. display: flex;
  86. }
  87. .v-toolbar__prepend {
  88. margin-inline-start: 10px;
  89. margin-inline-end: auto;
  90. }
  91. .v-toolbar__append {
  92. margin-inline-start: auto;
  93. margin-inline-end: 10px;
  94. }
  95. .v-toolbar-title {
  96. flex: 1 1;
  97. font-size: 1.25rem;
  98. min-width: 0;
  99. font-size: 1.25rem;
  100. font-weight: 400;
  101. letter-spacing: 0;
  102. line-height: 1.75rem;
  103. text-transform: none;
  104. }
  105. .v-toolbar--density-prominent .v-toolbar-title {
  106. align-self: flex-end;
  107. padding-bottom: 6px;
  108. font-size: 1.5rem;
  109. font-weight: 400;
  110. letter-spacing: 0;
  111. line-height: 2.25rem;
  112. text-transform: none;
  113. }
  114. .v-toolbar-title__placeholder {
  115. overflow: hidden;
  116. text-overflow: ellipsis;
  117. white-space: nowrap;
  118. }
  119. .v-toolbar-items {
  120. display: flex;
  121. height: inherit;
  122. align-self: stretch;
  123. }
  124. .v-toolbar-items > .v-btn {
  125. border-radius: 0;
  126. }