main.css 1.8 KB

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