Skip to content

Commit

Permalink
Merge pull request elastic#7982 from szydan/renamed-less-variable
Browse files Browse the repository at this point in the history
renamed less variable
  • Loading branch information
cjcenizal authored Aug 17, 2016
2 parents bd13644 + 1a03bb6 commit ee80ced
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/ui/public/styles/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ fieldset {
margin: @form-group-margin-bottom;
padding: @form-group-margin-bottom;
border: 1px solid @input-border;
border-radius: @input-border-radius;
border-radius: @input-border-radius-base;
}

[fixed-scroll] {
Expand Down
2 changes: 1 addition & 1 deletion src/ui/public/styles/bootstrap/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ output {
background-color: @input-bg;
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
border: 1px solid @input-border;
border-radius: @input-border-radius; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS.
border-radius: @input-border-radius-base; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS.
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
.transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");

Expand Down
2 changes: 1 addition & 1 deletion src/ui/public/styles/bootstrap/input-groups.less
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
text-align: center;
background-color: @input-group-addon-bg;
border: 1px solid @input-group-addon-border-color;
border-radius: @input-border-radius;
border-radius: @input-border-radius-base;

// Sizing
&.input-sm {
Expand Down
3 changes: 1 addition & 2 deletions src/ui/public/styles/bootstrap/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,9 @@
//** `<input>` border color
@input-border: #ccc;

// TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4
//** Default `.form-control` border radius
// This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
@input-border-radius: @border-radius-base;
@input-border-radius-base: @border-radius-base;
//** Large `.form-control` border radius
@input-border-radius-large: @border-radius-large;
//** Small `.form-control` border radius
Expand Down
4 changes: 2 additions & 2 deletions src/ui/public/styles/control_group.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
}

> :first-child {
.border-left-radius(@input-border-radius);
.border-left-radius(@input-border-radius-base);
}

> :last-child {
.border-right-radius(@input-border-radius);
.border-right-radius(@input-border-radius-base);
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/ui/public/styles/variables/bootstrap-mods.less
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,8 @@
//
//##

// TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4
//** Default `.form-control` border radius
@input-border-radius: @border-radius-base;
@input-border-radius-base: @border-radius-base;
//** Large `.form-control` border radius
@input-border-radius-large: @border-radius-large;
//** Small `.form-control` border radius
Expand Down

0 comments on commit ee80ced

Please sign in to comment.