Skip to content

Commit

Permalink
#7517 fix dark combobox styles
Browse files Browse the repository at this point in the history
  • Loading branch information
piorek committed Jun 13, 2018
1 parent 9dae7b9 commit 18e7bcc
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions js/lab/src/theme/static/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
min-width: 0;
flex-shrink: 1;
outline: none !important;
height: var(--jp-widgets-inline-height);
line-height: var(--jp-widgets-inline-height);
}

.widget-text input[type="password"]:focus {
Expand All @@ -38,3 +40,26 @@
color: var(--jp-widgets-input-color);
font-size: var(--jp-widgets-font-size);
}

.easyform-combobox-input {
box-sizing: border-box;
border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color) !important;
background-color: var(--jp-widgets-input-background-color);
color: var(--jp-widgets-input-color);
font-size: var(--jp-widgets-font-size);
padding: var(--jp-widgets-input-padding) calc( var(--jp-widgets-input-padding) * 2 );
outline: none !important;
height: calc(var(--jp-widgets-inline-height) + 2px);
line-height: var(--jp-widgets-inline-height);
}

.easyform-combobox-toggle {
border-color: var(--jp-widgets-input-border-color);
background-color: var(--jp-widgets-input-background-color);
}
.easyform-combobox-toggle:focus,
.easyform-combobox-toggle:active,
.easyform-combobox-toggle:hover {
border-color: var(--jp-widgets-input-focus-border-color);
background-color: var(--jp-widgets-input-background-color);
}

0 comments on commit 18e7bcc

Please sign in to comment.