mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-01 04:50:59 +08:00
Setup styles for dropdown (select) control
This commit is contained in:
parent
4810775924
commit
d8b18b9adf
5 changed files with 25 additions and 9 deletions
|
@ -152,9 +152,9 @@ body.platform-darwin {
|
|||
}
|
||||
|
||||
.container-notifications {
|
||||
width: 75%;
|
||||
margin-left: 12.5%;
|
||||
margin-right: 12.5%;
|
||||
width: 80%;
|
||||
margin-left: 10%;
|
||||
margin-right: 10%;
|
||||
}
|
||||
|
||||
.container-appearance {
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
@background-primary: #313131;
|
||||
@background-color: darken(#313131, 15%);
|
||||
@btn-default-bg-color: #404040;
|
||||
@dropdown-default-bg-color: #404040;
|
||||
@accent-primary: lighten(#5AA8FA, 20%);
|
||||
@accent-primary-dark: lighten(#3087E1, 20%);
|
||||
|
||||
|
|
8
static/dropdowns.less
Normal file
8
static/dropdowns.less
Normal file
|
@ -0,0 +1,8 @@
|
|||
@import "ui-variables";
|
||||
|
||||
select {
|
||||
// Set `border` property to allow styling for `select` controls
|
||||
border: 1px solid @dropdown-default-border-color;
|
||||
color: @dropdown-default-text-color;
|
||||
background: @dropdown-default-bg-color;
|
||||
}
|
|
@ -8,6 +8,7 @@
|
|||
@import "type";
|
||||
@import "inputs";
|
||||
@import "buttons";
|
||||
@import "dropdowns";
|
||||
@import "workspace";
|
||||
@import "resizable";
|
||||
@import "selection";
|
||||
|
|
|
@ -191,6 +191,12 @@
|
|||
@btn-danger-bg-color: @danger-color;
|
||||
@btn-danger-text-color: @text-color-inverse;
|
||||
|
||||
//=============================== Dropdowns ============================//
|
||||
|
||||
@dropdown-default-bg-color: @background-primary;
|
||||
@dropdown-default-text-color: @text-color;
|
||||
@dropdown-default-border-color: fadeout(@border-color, 10%);
|
||||
|
||||
//=============================== Inputs ===============================//
|
||||
|
||||
//** `<input>` background color
|
||||
|
|
Loading…
Reference in a new issue