Skip to content

Commit c4caa39

Browse files
committed
Merge pull request #306 from maciaszczykm/styling-update
Log view styling
2 parents 441b8af + aad4d10 commit c4caa39

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

src/app/frontend/logs/logs.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
@import '../variables';
16+
1517
$logs-color-black: #000;
1618
$logs-color-white: #fff;
1719

@@ -26,6 +28,6 @@ $logs-color-white: #fff;
2628
}
2729

2830
.kd-logs-element {
29-
padding: 0;
31+
padding: 0 (2 * $baseline-grid) 0 (2 * $baseline-grid);
3032
word-wrap: break-word;
3133
}

src/app/frontend/logs/logstoolbar/logstoolbar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
<span flex="10"></span>
1919

2020
<div layout="row" layout-wrap layout-margin layout-align="center center">
21-
<span class="kd-logs-toolbar-text">Logs from pod</span>
21+
<span class="kd-logs-toolbar-text">Logs from pod:</span>
2222
<md-select class="kd-logs-toolbar-select" aria-label="Logs from pod" ng-model="ctrl.pod"
2323
md-on-close="ctrl.onPodChange(ctrl.pod.name)"
2424
required>
2525
<md-option ng-repeat="item in ctrl.pods" ng-value="item">
2626
<span class="kd-logs-toolbar-text">{{item.name}}</span>
2727
</md-option>
2828
</md-select>
29-
<span class="kd-logs-toolbar-text">container</span>
29+
<span class="kd-logs-toolbar-text">Container:</span>
3030
<md-select class="kd-logs-toolbar-select" aria-label="Containers" ng-model="ctrl.container"
3131
md-on-close="ctrl.onContainerChange(ctrl.container.name)"
3232
required>

src/app/frontend/logs/logstoolbar/logstoolbar.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,18 @@ md-toolbar {
3737
}
3838

3939
.kd-logs-toolbar-text {
40-
font-size: $subhead-font-size-base;
40+
font-size: $body-font-size-base;
4141
}
4242

4343
.kd-logs-toolbar-select {
4444
margin-bottom: 2 * $baseline-grid;
4545
margin-left: auto;
46+
47+
&:not([disabled]) {
48+
&:focus {
49+
.md-select-value {
50+
color: $logs-toolbar-color-white;
51+
}
52+
}
53+
}
4654
}

0 commit comments

Comments
 (0)