aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/tf-dashboard-common/dashboard-style.html
blob: 795cbbcac34273c88155a0f3a4cb4c7063c8f6af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<link rel="import" href="../../bower_components/paper-styles/paper-styles.html">
<link rel="import" href="../tf-dashboard-common/tensorboard-color.html">

<dom-module id="dashboard-style">
  <template>
    <style>
      .card {
        height: 200px;
        width: 300px;
        display: flex;
        flex-direction: column;
        margin: 5px 5px;
        padding: 5px;
        border: 1px solid var(--paper-grey-500);
        border-radius: 3px;
        -webkit-user-select: none;
        -moz-user-select: none;
        position: relative;
      }

      .card .card-title {
        flex-grow: 0;
        flex-shrink: 0;
        margin-bottom: 2px;
        font-size: 14px;
        font-weight: bold;
        text-overflow: ellipsis;
        overflow: hidden;
      }

      .card .card-content {
        flex-grow: 1;
        flex-shrink: 1;
        display: flex;
      }
      .card .card-bottom-row {
        flex-grow: 0;
        flex-shrink: 0;
        padding-left: 10px;
        padding-right: 10px;
      }

      .card.selected {
        height: 400px;
        width: 100%;
      }

      [shift] {
        bottom: 20px !important;
      }

      .expand-button {
        position: absolute;
        left: 0px;
        bottom: 0px;
        color: #2196F3;
        display: block;
      }

      #content-container{
        display: block;
      }

      .sidebar {
        display: flex;
        flex-direction: column;
        height: 100%;
      }

      #categorizer {
        flex-shrink: 0;
      }

      #xTypeSelector {
        flex-shrink: 0;
        margin: 20px 0;
      }

      #runSelector {
        flex-shrink: 1;
        flex-grow: 1;
      }

      #download-option {
        padding-left: 55px;
        color: var(--paper-grey-700);
        font-size: 14px;
      }

      #download-option paper-toggle-button {
        --paper-toggle-button-checked-button-color: var(--tb-orange-strong);
        --paper-toggle-button-checked-bar-color: var(--tb-orange-weak);

      }
    </style>
  </template>
</dom-module>