global.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /**
  2. * Ces règles s'appliqueront à toutes les pages, layouts et components de l'application
  3. *
  4. * Quand c'est possible, préférer les règles par page, layout ou composant
  5. */
  6. .theme-primary {
  7. background-color: rgb(var(--v-theme-primary)) !important;
  8. color: rgb(var(--v-theme-n-primary)) !important;
  9. }
  10. .theme-secondary {
  11. background-color: rgb(var(--v-theme-secondary)) !important;
  12. color: rgb(var(--v-theme-n-secondary)) !important;
  13. }
  14. .theme-neutral-strong {
  15. background-color: rgb(var(--v-theme-neutral-strong)) !important;
  16. color: rgb(var(--v-theme-n-neutral-strong)) !important;
  17. }
  18. .theme-neutral {
  19. background-color: rgb(var(--v-theme-neutral)) !important;
  20. color: rgb(var(--v-theme-n-neutral)) !important;
  21. }
  22. .theme-neutral-soft {
  23. background-color: rgb(var(--v-theme-neutral-soft)) !important;
  24. color: rgb(var(--v-theme-n-neutral-soft)) !important;
  25. }
  26. .theme-danger {
  27. background-color: rgb(var(--v-theme-danger)) !important;
  28. color: rgb(var(--v-theme-n-danger)) !important;
  29. }
  30. .theme-success {
  31. background-color: rgb(var(--v-theme-success)) !important;
  32. color: rgb(var(--v-theme-n-success)) !important;
  33. }
  34. .theme-warning {
  35. background-color: rgb(var(--v-theme-warning)) !important;
  36. color: rgb(var(--v-theme-n-warning)) !important;
  37. }
  38. .theme-info {
  39. background-color: rgb(var(--v-theme-info)) !important;
  40. color: rgb(var(--v-theme-n-info)) !important;
  41. }
  42. .theme-x-create-btn {
  43. background-color: rgb(var(--v-theme-x-create-btn)) !important;
  44. color: rgb(var(--v-theme-n-x-create-btn)) !important;
  45. }
  46. // TODO: voir si certaines de ces règles ne devraient pas être rapatriées dans des pages, layouts, components
  47. header .v-toolbar__content {
  48. padding-right: 0;
  49. }
  50. .e-grid .e-gridheader {
  51. position: -webkit-sticky;
  52. position: sticky;
  53. top: 58px; /* The height of top nav menu. */
  54. z-index: 1;
  55. }
  56. .no-decoration {
  57. text-decoration: none !important;
  58. color: inherit !important;
  59. }
  60. .v-application a {
  61. color: rgb(var(--v-theme-primary))
  62. }
  63. .v-menu__content {
  64. z-index: 400 !important;
  65. }
  66. .toolbarForm .v-toolbar__content {
  67. padding-left: 0 !important;
  68. }
  69. .toolbarForm .v-toolbar__title .v-icon {
  70. height: 46px;
  71. width: 46px;
  72. }
  73. .header-menu {
  74. max-height: 300px;
  75. min-width: 300px;
  76. overflow-y: auto;
  77. .v-list{
  78. .v-list-item{
  79. border-bottom: 1px solid;
  80. border-bottom-color: rgb(var(--v-theme-neutral));
  81. }
  82. }
  83. }