Skip to content

Commit

Permalink
Improve variable names.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Apr 20, 2017
1 parent c88aace commit e1ab269
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ui_framework/components/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
*/
@mixin formControlBase {
appearance: none;
padding: $formControlPadding;
padding: $globalFormControlPadding;
font-size: $globalFontSize;
font-weight: 400;
line-height: $globalLineHeight;
Expand Down
4 changes: 2 additions & 2 deletions ui_framework/components/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ $toolBarSectionSpacing: 50px;
$toolBarItsemSpacing: 10px;

// Form
$formControlPaddingSides: 12px;
$formControlPadding: 3px $formControlPaddingSides 4px;
$globalFormControlHorizontalPadding: 12px;
$globalFormControlPadding: 3px $globalFormControlHorizontalPadding 4px;
2 changes: 1 addition & 1 deletion ui_framework/components/form/_assisted_input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
.kuiAssistedInput__assistance {
position: absolute;
right: $formControlPaddingSides;
right: $globalFormControlHorizontalPadding;
top: 50%; /* 1 */
transform: translateY(-50%); /* 1 */
}
6 changes: 3 additions & 3 deletions ui_framework/components/local_nav/_local_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
border-color: $localSearchBackgroundColor;
border-top-color: $localSearchBackgroundColor;
border-bottom-color: $localSearchBackgroundColor;
border-radius: 4px 0 0 4px;
border-radius: $globalBorderRadius 0 0 $globalBorderRadius;

&.kuiLocalSearchInput-isInvalid {
border-color: $localSearchBorderColor-isInvalid;
Expand Down Expand Up @@ -39,7 +39,7 @@
*/
.kuiLocalSearchAssistedInput__assistance {
position: absolute;
right: $formControlPaddingSides;
right: $globalFormControlHorizontalPadding;
top: 50%; /* 1 */
transform: translateY(-50%); /* 1 */
}
Expand All @@ -59,7 +59,7 @@
color: $localSearchButtonTextColor;
background-color: $localSearchButtonBackgroundColor;
border: 0;
border-radius: 0 4px 4px 0;
border-radius: 0 $globalBorderRadius $globalBorderRadius 0;

&:focus {
@include focus($globalFocusColor, $globalBorderColor);
Expand Down

0 comments on commit e1ab269

Please sign in to comment.