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
  padding-bottom: $baseline-grid;
82 83 84 85 86
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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