main.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /* Toolbar
  2. --------------------------------------------------------------------------------------------------*/
  3. .fc-toolbar {
  4. text-align: center;
  5. margin-bottom: 1em;
  6. }
  7. .fc-toolbar .fc-left {
  8. float: left;
  9. }
  10. .fc-toolbar .fc-right {
  11. float: right;
  12. }
  13. .fc-toolbar .fc-center {
  14. display: inline-block;
  15. }
  16. /* the things within each left/right/center section */
  17. .fc .fc-toolbar > * > * { /* extra precedence to override button border margins */
  18. float: left;
  19. margin-left: .75em;
  20. }
  21. /* the first thing within each left/center/right section */
  22. .fc .fc-toolbar > * > :first-child { /* extra precedence to override button border margins */
  23. margin-left: 0;
  24. }
  25. /* title text */
  26. .fc-toolbar h2 {
  27. margin: 0;
  28. }
  29. /* button layering (for border precedence) */
  30. .fc-toolbar button {
  31. position: relative;
  32. }
  33. .fc-toolbar .fc-state-hover,
  34. .fc-toolbar .ui-state-hover {
  35. z-index: 2;
  36. }
  37. .fc-toolbar .fc-state-down {
  38. z-index: 3;
  39. }
  40. .fc-toolbar .fc-state-active,
  41. .fc-toolbar .ui-state-active {
  42. z-index: 4;
  43. }
  44. .fc-toolbar button:focus {
  45. z-index: 5;
  46. }
  47. /* View Structure
  48. --------------------------------------------------------------------------------------------------*/
  49. /* undo twitter bootstrap's box-sizing rules. normalizes positioning techniques */
  50. /* don't do this for the toolbar because we'll want bootstrap to style those buttons as some pt */
  51. .fc-view-container *,
  52. .fc-view-container *:before,
  53. .fc-view-container *:after {
  54. -webkit-box-sizing: content-box;
  55. -moz-box-sizing: content-box;
  56. box-sizing: content-box;
  57. }
  58. .fc-view, /* scope positioning and z-index's for everything within the view */
  59. .fc-view > table { /* so dragged elements can be above the view's main element */
  60. position: relative;
  61. z-index: 1;
  62. }