mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
71a5662553
This should not be considered final, but we do plan to shrink the size of the entire UI slightly to match platform conventions.
126 lines
2.8 KiB
Text
126 lines
2.8 KiB
Text
@import "ui-variables";
|
|
|
|
.nylas-editable-list {
|
|
|
|
.items-wrapper .selected.editing,
|
|
&:focus .items-wrapper .selected {
|
|
color: @component-active-bg;
|
|
background-color: @component-active-color;
|
|
}
|
|
|
|
.items-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid @border-secondary-bg;
|
|
background-color: @background-primary;
|
|
height: 90px;
|
|
font-size: 0.9em;
|
|
|
|
.selected {
|
|
background-color: fade(desaturate(@component-active-color, 100%), 70%);
|
|
color: @component-active-bg;
|
|
}
|
|
|
|
.insertion-point {
|
|
display:block;
|
|
width:100%;
|
|
height: 0;
|
|
position: relative;
|
|
pointer-events: none;
|
|
|
|
div {
|
|
height:2px;
|
|
width: 100%;
|
|
position: absolute;
|
|
top: -1px;
|
|
background-color: @component-active-color;
|
|
box-shadow: 0 0 1px fade(@component-active-color, 50%);
|
|
}
|
|
}
|
|
|
|
.edit-icon {
|
|
display: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.editable-item {
|
|
padding: (@padding-small-vertical - 1) @padding-small-horizontal;
|
|
cursor: default;
|
|
border-bottom: 1px solid @border-color-divider;
|
|
flex-shrink: 0;
|
|
|
|
&.selected.with-edit-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
padding-right: 20px;
|
|
|
|
img.edit-icon {
|
|
display: inline;
|
|
background-color: @component-active-bg;
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
|
|
&>input {
|
|
border: none;
|
|
padding: 0;
|
|
color: @component-active-bg;
|
|
background: transparent;
|
|
font-size: inherit;
|
|
line-height: 1.5;
|
|
border-radius: 0;
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
::-webkit-input-placeholder {
|
|
color: @text-color-inverse-very-subtle;
|
|
}
|
|
}
|
|
|
|
.create-item-input {
|
|
&>input {
|
|
padding: (@padding-small-vertical - 1) @padding-small-horizontal;
|
|
border: none;
|
|
border-bottom: 1px solid @border-color-divider;
|
|
font-size: inherit;
|
|
border-radius: 0;
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
::-webkit-input-placeholder {
|
|
font-style: italic;
|
|
}
|
|
}
|
|
}
|
|
|
|
.buttons-wrapper {
|
|
display: flex;
|
|
border: 1px solid @border-secondary-bg;
|
|
border-top: none;
|
|
background-color: @background-secondary;
|
|
|
|
.btn-editable-list {
|
|
display: flex;
|
|
justify-content: center;
|
|
height: 25px;
|
|
width: 25px;
|
|
line-height: 25px;
|
|
border-right: 1px solid @border-secondary-bg;
|
|
font-size: 1em;
|
|
cursor: default;
|
|
color: @text-color-subtle;
|
|
|
|
&.btn-disabled {
|
|
background-color: transparent;
|
|
opacity: 0.4;
|
|
}
|
|
&:active {
|
|
cursor: default;
|
|
background-color: darken(@btn-default-bg-color, 9%);
|
|
box-shadow: inset 0 1px 0.5px rgba(0, 0, 0, 0.21);
|
|
}
|
|
}
|
|
}
|
|
}
|