replicasetdetail.scss 3.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

15
@import '../variables';
16

B
bryk 已提交
17 18 19 20
$replicasetdetails-sidebar-bg: #fafafa;
$replicasetdetails-border: #ddd;
$replicasetdetails-table-message: #000;
$replicasetdetails-table-cell: #777;
21
$replicasetdetails-sidebar-width: 315px;
22 23 24 25 26

.kd-replicasetdetail-app-name {
  color: $foreground-2;
  font-weight: $regular-font-weight;
}
27 28 29

.kd-replicasetdetail-sidebar {
  background-color: $replicasetdetails-sidebar-bg;
30 31
  max-width: $replicasetdetails-sidebar-width;
  min-width: $replicasetdetails-sidebar-width;
32 33 34 35 36 37 38 39
}

.kd-replicasetdetail-table {
  width: 100%;
}

.kd-replicasetdetail-sidebar-header {
  border-bottom: 1px solid $replicasetdetails-border;
B
bryk 已提交
40
  color: $muted;
41
  max-height: 49px;
B
bryk 已提交
42
  min-height: 49px;
43 44
}

B
bryk 已提交
45
.kd-replicasetdetail-sidebar-header-icon {
46 47 48 49
  color: $muted;
  font-size: $headline-font-size-base;
  font-weight: $regular-font-weight;
  margin-right: 6px;
50 51 52 53
  vertical-align: middle;
}

.kd-replicasetdetail-table-message {
54
  border-bottom: 1px solid $replicasetdetails-border;
B
bryk 已提交
55
  color: $replicasetdetails-table-message;
56 57 58
  font-size: $caption-font-size-base;
  font-weight: $regular-font-weight;
  height: 40px;
59
  overflow: hidden;
60
  padding: 5px 5px 5px 15px;
B
bryk 已提交
61
  text-align: left;
62 63 64 65 66
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kd-replicasetdetail-sidebar-title {
67
  font-size: $subhead-font-size-base;
68 69 70 71 72
  padding-bottom: 10px;
  padding-top: 10px;
}

.kd-replicasetdetail-sidebar-line {
73
  color: $delicate;
74
  font-size: $caption-font-size-base;
B
bryk 已提交
75
  padding-bottom: 6px;
76 77 78
}

.kd-replicasetdetail-sidebar-subline {
79
  color: $muted;
80
  font-size: $caption-font-size-base;
81 82 83 84 85
}

.kd-replicasetdetail-sidebar-icon {
  color: $primary;
  font-size: 20px;
B
bryk 已提交
86 87
  padding: 0 3px;
  vertical-align: top;
88 89
}

M
Marcin Maciaszczyk 已提交
90
.kd-replicasetdetail-warning-icon {
91
  color: $warning;
M
Marcin Maciaszczyk 已提交
92
  font-size: 24px;
B
bryk 已提交
93 94 95 96 97 98
  padding: 0 5px;
  vertical-align: middle;
}

.kd-replicasetdetail-sidebar-service-icon {
  color: $muted;
99
  font-size: $body-font-size-base;
B
bryk 已提交
100 101
  padding: 0 3px;
  vertical-align: top;
M
Marcin Maciaszczyk 已提交
102 103
}

104
.kd-replicasetdetail-sidebar-button {
B
bryk 已提交
105
  font-size: .85em;
106
  margin: 0;
B
bryk 已提交
107
  padding-left: 0;
108 109
}

110 111 112
.kd-replicasetdetail-sidebar-editpods-button {
  margin: 0;
  min-width: 25px;
B
bryk 已提交
113

114 115 116 117 118
  > md-icon {
    outline: none;
  }
}

119 120 121 122 123 124 125 126 127 128 129 130 131
.kd-replicasetdetail-options {
  margin: 15px;
}

.kd-replicasetdetail-sidebar-info {
  padding-left: 5px;
}

.kd-replicasetdetail-option-picker {
  min-width: 150px;
  padding-right: 25px;
}

132
.kd-replicasetdetail-table-header {
B
bryk 已提交
133 134
  border-bottom: 1px solid $replicasetdetails-border;
  color: $replicasetdetails-table-cell;
135 136
  font-size: $body-font-size-base;
  font-weight: $regular-font-weight;
137
  padding: 15px 10px 15px 15px;
B
bryk 已提交
138
  text-align: left;
139 140 141 142 143
}

.kd-replicasetdetail-pointer {
  cursor: pointer;
}
144 145

.kd-replicasetdetail-table-cell {
B
bryk 已提交
146
  border-bottom: 1px solid $replicasetdetails-border;
147
  color: $replicasetdetails-table-cell;
148
  font-size: $caption-font-size-base;
149 150
  height: 40px;
  padding: 5px 5px 5px 15px;
151 152 153
}

.kd-replicasetdetail-table-icon {
154
  font-size: $body-font-size-base;
B
bryk 已提交
155
  padding: 0 3px;
156
  vertical-align: top;
157
}
158 159

.kd-replicasetdetail-help-icon {
B
bryk 已提交
160 161
  color: $muted;
  cursor: help;
162
  font-size: $body-font-size-base;
B
bryk 已提交
163
  padding: 0 3px;
164 165
  vertical-align: middle;
}