Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@soramitsu/soramitsu-js-ui",
"version": "1.0.6",
"version": "1.0.7",
"private": false,
"publishConfig": {
"registry": "https://nexus.iroha.tech/repository/npm-soramitsu/"
Expand Down
1 change: 1 addition & 0 deletions src/styles/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ $input-padding-left: $s-basic-spacing * 2 - $input-border-width;
}

&__icon {
color: var(--s-color-base-content-secondary);
line-height: 1;
width: $input-icon-width;
}
Expand Down
8 changes: 7 additions & 1 deletion src/styles/neumorphism/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ $neu-button-padding-mini: 3px 6px !default;
) {
&:disabled, &:disabled:hover {
color: $neu-button-text-color-disabled;
background-color: $background-color;
background: $background-color;
border-color: $neu-button-border-color-disabled;
box-shadow: $box-shadow;
border-width: $border-width;
Expand Down Expand Up @@ -181,6 +181,12 @@ $neu-button-padding-mini: 3px 6px !default;
@include size('small', $neu-button-padding-small);
@include size('mini', $neu-button-padding-mini);

&.is-loading {
&:before {
background-color: transparent;
}
}

&.s-primary {
background: $neu-button-primary-background-color;
border-color: $neu-button-primary-border-color;
Expand Down
6 changes: 5 additions & 1 deletion src/styles/neumorphism/card.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@mixin status ($status: 'success') {
&.s-status-#{$status} {
background: var(--s-color-status-#{$status}-background);
color: var(--s-color-status-#{$status});
background: var(--s-color-status-#{$status}-background);
}
}

Expand Down Expand Up @@ -36,6 +36,10 @@

&.is-always-shadow, &.is-hover-shadow:hover, &.is-hover-shadow:focus {
box-shadow: var(--s-shadow-element);

&.s-pressed {
box-shadow: var(--s-shadow-element-pressed);
}
}

&.s-primary {
Expand Down
8 changes: 5 additions & 3 deletions src/styles/neumorphism/tooltip.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
$neu-tooltip-max-width: 236px !default;
$neu-tooltip-padding: 6px 8px !default;
$neu-tooltip-line-height: $s-line-height-base !default;
$neu-tooltip-line-height: 12px !default;
$neu-tooltip-background-color: var(--s-color-base-content-secondary) !default;

.el-tooltip__popper.neumorphic {
max-width: $neu-tooltip-max-width;
padding: $neu-tooltip-padding;
line-height: $neu-tooltip-line-height;
font-size: var(--s-font-size-extra-mini);

&.is-light {
&.is-light,
&.is-dark {
background-color: $neu-tooltip-background-color;
border-color: $neu-tooltip-background-color;
color: var(--s-color-utility-body);
color: var(--s-color-base-on-accent);

.popper__arrow {
border-bottom-color: $neu-tooltip-background-color;
Expand Down