Advertisement
Sandbird

event-calendar-overwrites.css

Dec 11th, 2024 (edited)
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.46 KB | None | 0 0
  1. /* Fixes for the header to support the new design */
  2.  
  3. .ec-header .ec-days {
  4.     background-color: #F7F7FA;
  5. }
  6.  
  7. .ec-day-head {
  8.     border-top: 1px solid var(--ec-border-color) !important;
  9. }
  10.  
  11. .ec-times {
  12.     display: flex;
  13.     border-top: unset;
  14. }
  15.  
  16. .ec-resource {
  17.     min-height: 34px !important;
  18.     flex-basis: content!important;
  19. }
  20.  
  21.  
  22. .span-month {
  23.     font-size: 1.1em;
  24.     font-weight: bold;
  25. }
  26.  
  27. .ec-month {
  28.     /* Uncomment to apply border styles */
  29.     /* But it's not working for many months */
  30.     /* border-right: 1px solid var(--ec-border-color) !important; */
  31.     /* border-bottom: 1px solid var(--ec-border-color) !important; */
  32. }
  33.  
  34. .ec-month-name {
  35.     font-size: 1.2em;
  36.     font-weight: bold;
  37. }
  38.  
  39. .ec-header {
  40.     display: flex;
  41.     flex-direction: column;
  42.     height: auto;
  43.     /* Adjusted from original height: 44px */
  44. }
  45.  
  46. .ec-months {
  47.     display: flex;
  48.     justify-content: stretch;
  49.     /* padding-bottom: 10px; */
  50. }
  51.  
  52. .ec-months .ec-month {
  53.     flex: 1;
  54.     text-align: center;
  55. }
  56.  
  57. .ec-days {
  58.     display: flex;
  59. }
  60.  
  61. .ec-days .ec-day {
  62.     flex: 1;
  63.     text-align: center;
  64. }
  65.  
  66. .ec-days .ec-day .ec-date {
  67.     margin-top: 5px;
  68. }
  69.  
  70. .ec-days .ec-day .ec-day-head {
  71.     border-top: 1px solid var(--ec-border-color) !important;
  72.     border-bottom: 1px solid var(--ec-border-color) !important;
  73.     border-right: 0;
  74. }
  75.  
  76. .ec-sidebar {
  77.    background-color: #F7F7FA;
  78. }
  79.  
  80. .ec-resource .ec-button {
  81.   border: none !important;
  82. }
  83.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement