Skip to content

Commit

Permalink
Fix kbn ui-framework
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Dec 5, 2019
1 parent 7d31d2e commit 58eb523
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 16 deletions.
17 changes: 15 additions & 2 deletions packages/kbn-ui-framework/dist/kui_dark.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
/* 1 */
/* 1 */
/**
* 1. Extend beta badges to at least 40% of the container's width
* 2. Fix for IE to ensure badges are visible outside of a <button> tag
*/
/**
* 1. Apply margin to all but last item in the flex.
* 2. Margin gets flipped because of the row-reverse.
*/
/**
* 2. Account for inner box-shadow style border when in group
* 3. Must supply both values to background-size or some browsers apply the single value to both directions
*/
/**
* 4. Override invalid state with focus state.
*/
/**
* Mixin for use in:
* - EuiCard
* - EuiPageContent
*/
/**
* 1. Enforce pointer when there's no href.
* 2. Allow these styles to be applied to a button element.
Expand Down Expand Up @@ -1595,7 +1609,6 @@ main {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 100%;
padding: 12px 8px;
font-size: 16px;
font-weight: bold;
Expand Down
33 changes: 23 additions & 10 deletions packages/kbn-ui-framework/dist/kui_light.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
/* 1 */
/* 1 */
/**
* 1. Extend beta badges to at least 40% of the container's width
* 2. Fix for IE to ensure badges are visible outside of a <button> tag
*/
/**
* 1. Apply margin to all but last item in the flex.
* 2. Margin gets flipped because of the row-reverse.
*/
/**
* 2. Account for inner box-shadow style border when in group
* 3. Must supply both values to background-size or some browsers apply the single value to both directions
*/
/**
* 4. Override invalid state with focus state.
*/
/**
* Mixin for use in:
* - EuiCard
* - EuiPageContent
*/
/**
* 1. Enforce pointer when there's no href.
* 2. Allow these styles to be applied to a button element.
Expand Down Expand Up @@ -522,7 +536,7 @@ main {
-webkit-appearance: none;
/* 1 */
background-color: #fbfcfd;
border: 1px solid rgba(0, 0, 0, 0.1);
border: 1px solid rgba(15, 39, 118, 0.1);
border-radius: 4px;
width: 16px;
height: 16px;
Expand Down Expand Up @@ -623,7 +637,7 @@ main {
line-height: 1.5;
color: #343741;
background-color: #fbfcfd;
border: 1px solid rgba(0, 0, 0, 0.1);
border: 1px solid rgba(15, 39, 118, 0.1);
border-radius: 4px;
-webkit-transition: border-color 0.1s linear;
transition: border-color 0.1s linear;
Expand Down Expand Up @@ -662,7 +676,7 @@ main {
line-height: 1.5;
color: #343741;
background-color: #fbfcfd;
border: 1px solid rgba(0, 0, 0, 0.1);
border: 1px solid rgba(15, 39, 118, 0.1);
border-radius: 4px;
-webkit-transition: border-color 0.1s linear;
transition: border-color 0.1s linear;
Expand Down Expand Up @@ -734,7 +748,7 @@ main {
line-height: 1.5;
color: #343741;
background-color: #fbfcfd;
border: 1px solid rgba(0, 0, 0, 0.1);
border: 1px solid rgba(15, 39, 118, 0.1);
border-radius: 4px;
-webkit-transition: border-color 0.1s linear;
transition: border-color 0.1s linear;
Expand Down Expand Up @@ -777,7 +791,7 @@ main {
line-height: 1.5;
color: #343741;
background-color: #fbfcfd;
border: 1px solid rgba(0, 0, 0, 0.1);
border: 1px solid rgba(15, 39, 118, 0.1);
border-radius: 4px;
-webkit-transition: border-color 0.1s linear;
transition: border-color 0.1s linear;
Expand Down Expand Up @@ -1252,7 +1266,7 @@ main {
font-size: 14px;
color: #343741;
background-color: #fbfcfd;
border: 1px solid rgba(0, 0, 0, 0.1);
border: 1px solid rgba(15, 39, 118, 0.1);
border-radius: 4px; }
.kuiLocalDropdownInput:focus {
border-color: #006BB4; }
Expand Down Expand Up @@ -1410,7 +1424,7 @@ main {
line-height: 1.5;
color: #343741;
background-color: #fbfcfd;
border: 1px solid rgba(0, 0, 0, 0.1);
border: 1px solid rgba(15, 39, 118, 0.1);
border-radius: 4px;
-webkit-transition: border-color 0.1s linear;
transition: border-color 0.1s linear;
Expand Down Expand Up @@ -1491,7 +1505,7 @@ main {
line-height: 1.5;
color: #343741;
background-color: #fbfcfd;
border: 1px solid rgba(0, 0, 0, 0.1);
border: 1px solid rgba(15, 39, 118, 0.1);
border-radius: 4px;
-webkit-transition: border-color 0.1s linear;
transition: border-color 0.1s linear;
Expand Down Expand Up @@ -1595,7 +1609,6 @@ main {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 100%;
padding: 12px 8px;
font-size: 16px;
font-weight: bold;
Expand Down
2 changes: 0 additions & 2 deletions packages/kbn-ui-framework/src/kui_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
@import '../../../node_modules/@elastic/eui/src/global_styling/functions/index';
@import '../../../node_modules/@elastic/eui/src/global_styling/variables/index';
@import '../../../node_modules/@elastic/eui/src/global_styling/mixins/index';
@import '../../../node_modules/@elastic/eui/src/components/form/variables';
@import '../../../node_modules/@elastic/eui/src/components/form/mixins';

// Configuration
@import 'global_styling/variables/index';
Expand Down
2 changes: 0 additions & 2 deletions packages/kbn-ui-framework/src/kui_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
@import '../../../node_modules/@elastic/eui/src/global_styling/functions/index';
@import '../../../node_modules/@elastic/eui/src/global_styling/variables/index';
@import '../../../node_modules/@elastic/eui/src/global_styling/mixins/index';
@import '../../../node_modules/@elastic/eui/src/components/form/variables';
@import '../../../node_modules/@elastic/eui/src/components/form/mixins';

// Configuration
@import 'global_styling/variables/index';
Expand Down

0 comments on commit 58eb523

Please sign in to comment.