mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-28 03:14:46 +08:00
db687e584e
Summary: Loads the current user to pre-populate the Salesforce field in the creators add tabindex to tokenizing text fields Test Plan: edgehill --test Reviewers: bengotow Reviewed By: bengotow Differential Revision: https://review.inboxapp.com/D1468
110 lines
2.2 KiB
Text
110 lines
2.2 KiB
Text
@import "ui-variables";
|
|
|
|
.tokenizing-field {
|
|
display: block;
|
|
margin: 0;
|
|
padding: 0;
|
|
border-bottom: 1px solid @border-color-divider;
|
|
min-height: 30px;
|
|
position: relative;
|
|
|
|
.content-container {
|
|
border: 1px solid @border-secondary-bg;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
|
|
border-radius: @border-radius-small;
|
|
background-color: @background-color;
|
|
position: absolute;
|
|
}
|
|
|
|
.content-container.empty {
|
|
border: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.header-container, .footer-container {
|
|
background-color: transparent;
|
|
padding:0;
|
|
margin:0;
|
|
border:0;
|
|
}
|
|
|
|
.token {
|
|
display: inline-block;
|
|
position: relative;
|
|
padding: 0.5em @spacing-half 0.10em @spacing-half;
|
|
padding-right: 1.5em;
|
|
margin: 0 5px 5px 0;
|
|
border-radius: @border-radius-base;
|
|
font-size: 15px;
|
|
background-color: @background-secondary;
|
|
max-width: 100%;
|
|
|
|
.action {
|
|
position:absolute;
|
|
padding: 0;
|
|
padding-top: 1px;
|
|
right: 5px;
|
|
border: 0;
|
|
margin: 0;
|
|
background-color: transparent;
|
|
color: @text-color-very-subtle;
|
|
font-size: 10px;
|
|
}
|
|
&:hover {
|
|
background-color: darken(@background-secondary, 5%);
|
|
cursor: default;
|
|
}
|
|
&.selected,
|
|
&.dragging {
|
|
background-color: @background-tertiary;
|
|
color: @text-color-inverse;
|
|
.action { color: @text-color-inverse-subtle; }
|
|
}
|
|
&.dragging {
|
|
cursor: -webkit-grabbing;
|
|
}
|
|
}
|
|
|
|
|
|
.tokenizing-field-label {
|
|
color: @text-color-very-subtle;
|
|
float: left;
|
|
text-transform: capitalize;
|
|
padding-top: 8px;
|
|
display: block;
|
|
}
|
|
|
|
.tokenizing-field-input {
|
|
position: relative;
|
|
padding-left: 2.1em;
|
|
|
|
&:hover {
|
|
cursor: text;
|
|
}
|
|
|
|
input {
|
|
display: inline-block;
|
|
width: initial;
|
|
padding: 6px 0 3px 0;
|
|
margin: 0 5px 5px 0;
|
|
border: none;
|
|
min-width: 5em;
|
|
background-color:transparent;
|
|
vertical-align:bottom;
|
|
&.noop-input {
|
|
position: absolute;
|
|
min-width: 0;
|
|
padding-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
input:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
body.is-blurred .tokenizing-field .token {
|
|
background-color: @background-secondary;
|
|
}
|