Vertically align the date with the toolbar buttons and take care that the date stays in place when opening the addExisting pane

pull/10196/head
Henriette Darge 3 years ago committed by Oliver Günther
parent 1c052bf8fa
commit fc03bc8368
  1. 1
      frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html
  2. 6
      frontend/src/global_styles/content/modules/_team_planner.sass
  3. 23
      frontend/src/global_styles/vendor/_full_calendar.sass

@ -1,5 +1,6 @@
<div <div
class="op-team-planner" class="op-team-planner"
[ngClass]="{'op-team-planner_with_left_side_pane' : (showAddExistingPane | async)}"
> >
<ng-container <ng-container
*ngIf="(calendarOptions$ | async) as calendarOptions" *ngIf="(calendarOptions$ | async) as calendarOptions"

@ -21,4 +21,8 @@
display: none display: none
.fc-header-toolbar .fc-header-toolbar
margin-left: 132px margin-left: 138px
&_with_left_side_pane
.fc-header-toolbar
margin-left: -136px

@ -123,6 +123,7 @@
// ------------------------ BEGIN: Calendar toolbar ------------------------ // ------------------------ BEGIN: Calendar toolbar ------------------------
.fc-toolbar-title .fc-toolbar-title
font-size: 16px font-size: 16px
padding-bottom: 0
.fc-header-toolbar.fc-toolbar .fc-toolbar-chunk .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk
.fc-button .fc-button
@ -135,16 +136,18 @@
&:focus &:focus
box-shadow: none box-shadow: none
// ensure to have higher specificity than above extend // ensure to have higher specificity than above extend
.fc-button-group .fc-button-group
.fc-button margin-left: 8px
margin-right: 0 .fc-button
margin-bottom: 0 margin-right: 0
padding: 0.4em 0.65em margin-bottom: 0
padding: 0.4em 0.65em
&.fc-button-active
@extend .button, .-active &.fc-button-active
margin-right: 0 !important @extend .button, .-active
margin-right: 0 !important
margin-bottom: 0 !important
.fc-today-button .fc-today-button
margin: 0 margin: 0

Loading…
Cancel
Save