Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Commit

Permalink
stylisation du popup "ajouter source météo" -> #227
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvJalb committed Dec 17, 2021
1 parent 30f65e5 commit b243f76
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
}

#weather-table{
width: 98%;
width: 100%;
text-align: center;
font-size: 16px;
min-width: 500px;
font-size: 14px;
}

#weather-table th{
Expand All @@ -25,6 +24,20 @@
vertical-align: middle;
}

#modal-small{
width: 360px;
}

@media (max-width: 568px) {
.tr-add{
width: 100%;
text-align: left;
}
#modal-small{
max-width: 95%;
}
}

.tr-add:hover{
background-color: rgb(242, 253, 241);
cursor: pointer;
Expand All @@ -40,9 +53,6 @@
cursor: pointer;
}

#modal-small{
width: 360px;
}

.weather-modal-flex{
display:flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ <h4 class="modal-title" id="newSourceModalLabel" style="float:left;"></h4>
</div>
</div>
</div>
<div>
<p class="weather-field-name">{{ 'WEATHER.CONFIG.BEGIN' | translate }} :</p>
</div>
<div class="weather-modal-flex" style="margin-top: 10px;">
<div class="weather-modal-flex" style="flex-wrap: wrap;">
<p class="weather-field-name">{{ 'WEATHER.CONFIG.BEGIN' | translate }} :</p>
</div>
<div class="weather-modal-flex" style="flex-wrap: wrap;">
<input type="text" class="weather-input-date" style="margin-left: 10px;" [(ngModel)]="wS.start" [owlDateTimeTrigger]="dtBegin" [owlDateTime]="dtBegin" (ngModelChange)="beginDate()">
<owl-date-time [pickerType]="'calendar'" #dtBegin></owl-date-time>
Expand All @@ -90,11 +90,11 @@ <h4 class="modal-title" id="newSourceModalLabel" style="float:left;"></h4>
class="weather-m-h" placeholder="m" style="text-align: center;">
</div>
</div>
<div>
<!--<input id="end-checkbox" type="checkbox" (change)="endCheckbox()" style="margin: 0" checked>-->
<p id="end-field" class="weather-field-name">{{ 'WEATHER.CONFIG.END' | translate }} :</p>
</div>
<div id="end-div" class="weather-modal-flex" style="margin-top: 10px;">
<div class="weather-modal-flex" style="flex-wrap: wrap;">
<!--<input id="end-checkbox" type="checkbox" (change)="endCheckbox()" style="margin: 0" checked>-->
<p id="end-field" class="weather-field-name">{{ 'WEATHER.CONFIG.END' | translate }} :</p>
</div>
<div class="weather-modal-flex" style="flex-wrap: wrap;">
<input type="text" id="end-date" class="weather-input-date" style="margin-left: 10px;" [(ngModel)]="wS.end" [owlDateTimeTrigger]="dtEnd" [owlDateTime]="dtEnd" (ngModelChange)="endDate()">
<owl-date-time [pickerType]="'calendar'" #dtEnd></owl-date-time>
Expand Down

0 comments on commit b243f76

Please sign in to comment.