Просмотр исходного кода

dont let bootstrap style today

Adam Shaw 5 лет назад
Родитель
Сommit
0b2f08a3d2
2 измененных файлов с 3 добавлено и 7 удалено
  1. 0 1
      packages/bootstrap/src/main.ts
  2. 3 6
      packages/core/src/styles/_bg.scss

+ 0 - 1
packages/bootstrap/src/main.ts

@@ -14,7 +14,6 @@ BootstrapTheme.prototype.classes = {
   popover: 'card card-primary',
   popoverHeader: 'card-header',
   popoverContent: 'card-body',
-  today: 'alert alert-info',
   bordered: 'card card-primary fc-bootstrap-bordered'
 }
 

+ 3 - 6
packages/core/src/styles/_bg.scss

@@ -36,10 +36,7 @@
 // today <td>
 // DIFFERENT SYSTEM, not within a shared container
 
-.fc-theme-standard {
-
-  .fc-day-today {
-    background: rgba(255, 220, 40, 0.15);
-  }
-
+// for all themes. bootstrap didn't provide a good semi-transparent color for this
+.fc-day-today {
+  background: rgba(255, 220, 40, 0.15);
 }