Skip to content

Commit

Permalink
Merge pull request #1545 from lvuch/lh-0930
Browse files Browse the repository at this point in the history
minor changes
  • Loading branch information
vincent99 authored Sep 30, 2020
2 parents c385306 + 318d3d1 commit 8a85d66
Show file tree
Hide file tree
Showing 13 changed files with 49 additions and 19 deletions.
16 changes: 15 additions & 1 deletion assets/fonts/icons/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="stylesheet" href="style.css"></head>
<body>
<div class="bgc1 clearfix">
<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> icons <small class="fgc1">(Glyphs:&nbsp;57)</small></h1>
<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> icons <small class="fgc1">(Glyphs:&nbsp;58)</small></h1>
</div>
<div class="clearfix mhl ptl">
<h1 class="mvm mtn fgc1">Grid Size: 16</h1>
Expand Down Expand Up @@ -797,6 +797,20 @@ <h1 class="mvm mtn fgc1">Grid Size: 16</h1>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs1">
<div class="clearfix bshadow0 pbs">
<span class="icon icon-fleet"></span>
<span class="mls"> icon-fleet</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e939" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe939;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs1">
<div class="clearfix bshadow0 pbs">
<span class="icon icon-rio"></span>
Expand Down
1 change: 1 addition & 0 deletions assets/fonts/icons/fonts/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/fonts/icons/fonts/icons.ttf
Binary file not shown.
Binary file modified assets/fonts/icons/fonts/icons.woff
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/fonts/icons/selection.json

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions assets/fonts/icons/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@font-face {
font-family: 'icons';
src:
url('fonts/icons.ttf?agowr2') format('truetype'),
url('fonts/icons.woff?agowr2') format('woff'),
url('fonts/icons.svg?agowr2#icons') format('svg');
url('fonts/icons.ttf?8pvk2o') format('truetype'),
url('fonts/icons.woff?8pvk2o') format('woff'),
url('fonts/icons.svg?8pvk2o#icons') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
Expand Down Expand Up @@ -192,6 +192,9 @@
.icon-longhorn:before {
content: "\e937";
}
.icon-fleet:before {
content: "\e939";
}
.icon-rio:before {
content: "\e930";
}
Expand Down
11 changes: 8 additions & 3 deletions assets/fonts/icons/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
@font-face {
font-family: '#{$icomoon-font-family}';
src:
url('#{$icomoon-font-path}/#{$icomoon-font-family}.ttf?agowr2') format('truetype'),
url('#{$icomoon-font-path}/#{$icomoon-font-family}.woff?agowr2') format('woff'),
url('#{$icomoon-font-path}/#{$icomoon-font-family}.svg?agowr2##{$icomoon-font-family}') format('svg');
url('#{$icomoon-font-path}/#{$icomoon-font-family}.ttf?8pvk2o') format('truetype'),
url('#{$icomoon-font-path}/#{$icomoon-font-family}.woff?8pvk2o') format('woff'),
url('#{$icomoon-font-path}/#{$icomoon-font-family}.svg?8pvk2o##{$icomoon-font-family}') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
Expand Down Expand Up @@ -306,6 +306,11 @@
content: $icon-longhorn;
}
}
.icon-fleet {
&:before {
content: $icon-fleet;
}
}
.icon-rio {
&:before {
content: $icon-rio;
Expand Down
1 change: 1 addition & 0 deletions assets/fonts/icons/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ $icon-cis: "\e935";
$icon-istio: "\e92f";
$icon-gatekeeper: "\e938";
$icon-longhorn: "\e937";
$icon-fleet: "\e939";
$icon-rio: "\e930";
$icon-marketplace: "\e92b";
$icon-compass: "\e92c";
Expand Down
2 changes: 1 addition & 1 deletion assets/styles/base/_helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $spacing-property-map: (
}

.spacer {
padding: 40px 0 0 0;
padding: 30px 0 0 0;
}

.spacer-small {
Expand Down
12 changes: 6 additions & 6 deletions assets/styles/themes/_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,12 @@ $selected: rgba($primary, .5);
--primary-color : 61, 152, 211;

--gauge-divider : rgba(255, 255, 255, .3);
--gauge-success-primary : 75, 95, 64;
--gauge-success-secondary : 150, 189, 127;
--gauge-warning-primary : 218, 195, 66;
--gauge-warning-secondary : 109, 98, 33;
--gauge-error-primary : 239, 90, 83;
--gauge-error-secondary : 120, 45, 42;
--gauge-success-primary : 150, 189, 127;
--gauge-success-secondary : 190, 211, 172;
--gauge-warning-primary : 238, 226, 176;
--gauge-warning-secondary : 218, 195, 66;
--gauge-error-primary : 249, 186, 171;
--gauge-error-secondary : 239, 90, 83;

--sizzle-0 : 180, 210, 30;
--sizzle-1 : 225, 45, 74;
Expand Down
3 changes: 2 additions & 1 deletion components/DetailTop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,10 @@ export default {
display: inline-flex;
flex-direction: row;
flex-wrap: wrap;
margin-top: -5px;
.tag {
margin: -3px $right-column-spacing $right-column-spacing 0;
margin: $left-column-spacing $left-column-spacing $left-column-spacing 0;
}
}
Expand Down
2 changes: 1 addition & 1 deletion config/product/fleet.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function init(store) {

product({
ifHaveGroup: /^(.*\.)*fleet\.cattle\.io$/,
icon: 'compass',
icon: 'fleet',
inStore: 'management',
removable: false,
weight: -1,
Expand Down
9 changes: 7 additions & 2 deletions edit/cis.cattle.io.clusterscanprofile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export default {
<div>
<CruResource :validation-passed="!!name && !!value.spec.benchmarkVersion" :done-route="doneRoute" :resource="value" :mode="mode" @finish="save">
<template>
<div class="spacer"></div>
<div class="row">
<div class="col span-12">
<NameNsDescription :mode="mode" :value="value" :namespaced="false" @change="name=value.metadata.name" />
Expand All @@ -113,8 +114,12 @@ export default {
<div class="spacer" />
<div class="row">
<div class="col span-6">
<h3>{{ t('cis.testsToSkip') }}</h3>
<ArrayList v-model="value.spec.skipTests" :value-label="t('cis.testID')" :show-header="true" :add-label="t('cis.addTest')" :mode="mode" />
<ArrayList
v-model="value.spec.skipTests"
:title="t('cis.testsToSkip')"
:value-placeholder="t('cis.testID')"
:mode="mode"
/>
</div>
</div>
</template>
Expand Down

0 comments on commit 8a85d66

Please sign in to comment.