Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 0e5facf6

Přidáno uživatelem Martin Lácha před téměř 4 roky(ů)

Re #8806 - Nastylovat senzor
+ Add styles for components

Zobrazit rozdíly:

src/app/sensor/components/sensor.component.html
15 15
    <div class="col-xs-3">
16 16
      <div class="input-group form-group">
17 17
        <div class="input-group-prepend">
18
          <span class="input-group-text text-color-date background-date-color">From</span>
18
          <span class="input-group-text text-color-date background-date-color"><i class="fa fa-calendar-alt" aria-hidden="false"></i>From</span>
19 19
        </div>
20 20
        <p-calendar [style]="{'width':'100%'}" [inputStyle]="{'width':'100%'}" [(ngModel)]="from" [showTime]="true" (onSelect)="showGraph()" [maxDate]="today"></p-calendar>
21 21
      </div>
......
24 24
    <div class="col-xs-3">
25 25
      <div class="input-group form-group">
26 26
        <div class="input-group-prepend">
27
          <span class="input-group-text text-color-date background-date-color">To</span>
27
          <span class="input-group-text text-color-date background-date-color"><i class="fa fa-calendar-alt" aria-hidden="false"></i>To</span>
28 28
        </div>
29 29
        <p-calendar [style]="{'width':'100%'}" [inputStyle]="{'width':'100%'}" [(ngModel)]="to" [showTime]="true" (onSelect)="showGraph()" [maxDate]="today"></p-calendar>
30 30
      </div>
src/assets/scss/_graph.scss
1 1
.graph {
2 2
  margin-top: 15px;
3 3

  
4
  button {
4
  p-calendar {
5
    background-color: #F2F2F2 !important;
6
    color: #0B1226 !important;
5 7
  }
6 8

  
7 9
  input {
8 10
    background-color: #F2F2F2;
11
    color: #0B1226;
12
  }
13

  
14
  li {
15
    background-color: #F2F2F2;
16
    color: #0B1226;
9 17
  }
10 18

  
11 19
  p-calendar {
12 20
    color: #0B1226 !important;
13 21
  }
14 22

  
23
  p-listbox {
24
    background-color: #BCBCBC;
25

  
26
    .ng-star-inserted {
27
      color: #0B1226;
28
    }
29
  }
30

  
15 31
  .text-color-sensor-unit {
16 32
    color: #0B1226;
17 33
  }
......
23 39
  .background-date-color {
24 40
    background-color: #6c757d !important;
25 41
  }
42

  
43
  .p-listbox-list-wrapper{
44
     background-color: #F2F2F2;
45
   }
46

  
47
  .p-highlight {
48
    background-color: #6c757d !important;
49
  }
50

  
51
  .input-group-prepend {
52
    padding-left: 10px;
53
  }
26 54
}

Také k dispozici: Unified diff