Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

107 lignes
2.1 KiB

  1. @import './variables';
  2. $active-background: darken($btn-bg, 10%);
  3. $active-border: darken($btn-border, 12%);
  4. .rbc-toolbar {
  5. display: flex;
  6. flex-wrap: wrap;
  7. justify-content: center;
  8. align-items: center;
  9. margin-bottom: 10px;
  10. font-size: 16px;
  11. .rbc-toolbar-label {
  12. flex-grow:1;
  13. padding: 0 10px;
  14. text-align: center;
  15. }
  16. & button {
  17. color: $btn-color;
  18. display: inline-block;
  19. margin: 0;
  20. text-align: center;
  21. vertical-align: middle;
  22. background: none;
  23. background-image: none;
  24. border: 1px solid $btn-border;
  25. padding: .375rem 1rem;
  26. border-radius: 4px;
  27. line-height: normal;
  28. white-space: nowrap;
  29. &:active,
  30. &.rbc-active {
  31. background-image: none;
  32. box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
  33. background-color: $active-background;
  34. border-color: $active-border;
  35. &:hover,
  36. &:focus {
  37. color: $btn-color;
  38. background-color: darken($btn-bg, 17%);
  39. border-color: darken($btn-border, 25%);
  40. }
  41. }
  42. &:focus {
  43. color: $btn-color;
  44. background-color: $active-background;
  45. border-color: $active-border;
  46. }
  47. &:hover {
  48. color: $btn-color;
  49. background-color: $active-background;
  50. border-color: $active-border;
  51. }
  52. }
  53. }
  54. .rbc-btn-group {
  55. display: inline-block;
  56. white-space: nowrap;
  57. > button:first-child:not(:last-child) {
  58. border-top-right-radius: 0;
  59. border-bottom-right-radius: 0;
  60. }
  61. > button:last-child:not(:first-child) {
  62. border-top-left-radius: 0;
  63. border-bottom-left-radius: 0;
  64. }
  65. .rbc-rtl & > button:first-child:not(:last-child) {
  66. border-radius: 4px;
  67. border-top-left-radius: 0;
  68. border-bottom-left-radius: 0;
  69. }
  70. .rbc-rtl & > button:last-child:not(:first-child) {
  71. border-radius: 4px;
  72. border-top-right-radius: 0;
  73. border-bottom-right-radius: 0;
  74. }
  75. > button:not(:first-child):not(:last-child) {
  76. border-radius: 0;
  77. }
  78. button + button {
  79. margin-left: -1px;
  80. }
  81. .rbc-rtl & button + button {
  82. margin-left: 0;
  83. margin-right: -1px;
  84. }
  85. & + &,
  86. & + button {
  87. margin-left: 10px;
  88. }
  89. }