2015-12-01 06:01:25 +08:00
|
|
|
@import "ui-variables";
|
|
|
|
|
2016-07-12 03:28:37 +08:00
|
|
|
@blurred-primary-color: mix(@background-primary, #ffbb00, 96%);
|
|
|
|
// Styles for Preferences Signatures
|
|
|
|
.preferences-signatures-container {
|
2017-01-22 07:51:49 +08:00
|
|
|
max-width: 800px;
|
2016-04-01 06:52:03 +08:00
|
|
|
margin: 0 auto;
|
2015-12-01 03:48:24 +08:00
|
|
|
|
2016-07-12 03:28:37 +08:00
|
|
|
.empty-list {
|
|
|
|
height: 300px;
|
|
|
|
width: inherit;
|
|
|
|
background-color: @background-primary;
|
|
|
|
border: 1px solid @border-color-divider;
|
|
|
|
text-align: center;
|
|
|
|
padding: 60px;
|
|
|
|
|
|
|
|
.icon-signature {
|
|
|
|
height: 120px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
color: @text-color-very-subtle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.signature-list {
|
|
|
|
position: relative;
|
|
|
|
height: inherit;
|
|
|
|
width: inherit;
|
|
|
|
|
|
|
|
.items-wrapper {
|
|
|
|
min-width:200px;
|
|
|
|
height: 262px;
|
|
|
|
}
|
|
|
|
.item-rule-disabled {
|
|
|
|
color: @color-error;
|
|
|
|
padding: 4px 10px;
|
|
|
|
border-bottom: 1px solid @border-color-divider;
|
|
|
|
}
|
|
|
|
.selected .item-rule-disabled {
|
|
|
|
color: @component-active-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editable-item {
|
|
|
|
padding: 8px 10px;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-editable-list {
|
|
|
|
height: 37px;
|
|
|
|
width: 37px;
|
|
|
|
line-height: 37px;
|
2017-01-22 07:51:49 +08:00
|
|
|
font-size: 1em;
|
2016-07-12 03:28:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-12-01 03:48:24 +08:00
|
|
|
.signature-wrap {
|
|
|
|
position: relative;
|
|
|
|
border: 1px solid @input-border-color;
|
2016-04-08 05:12:35 +08:00
|
|
|
background-color: @white;
|
2015-12-01 03:48:24 +08:00
|
|
|
min-height: 200px;
|
2016-07-12 03:28:37 +08:00
|
|
|
height: 300px;
|
2015-12-01 03:48:24 +08:00
|
|
|
display: flex;
|
2015-12-05 09:05:29 +08:00
|
|
|
flex-direction: column;
|
2016-07-12 03:28:37 +08:00
|
|
|
width: 100%;
|
|
|
|
border-left: none;
|
2015-12-01 06:01:25 +08:00
|
|
|
|
2016-08-02 02:54:00 +08:00
|
|
|
.signature-scroll-region {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.scroll-region-content-inner {
|
|
|
|
min-height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-12-01 06:01:25 +08:00
|
|
|
textarea {
|
2016-07-12 03:28:37 +08:00
|
|
|
padding: 10px;
|
2015-12-01 06:01:25 +08:00
|
|
|
border: 0;
|
|
|
|
flex: 1;
|
2015-12-01 06:26:11 +08:00
|
|
|
font-family: monospace;
|
|
|
|
font-size: 0.9em;
|
2015-12-01 06:01:25 +08:00
|
|
|
}
|
2015-12-01 03:48:24 +08:00
|
|
|
|
2016-07-12 03:28:37 +08:00
|
|
|
.contenteditable {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
2015-12-01 03:48:24 +08:00
|
|
|
|
2016-07-12 03:28:37 +08:00
|
|
|
.editable-toolbar {
|
|
|
|
border-top: 1px solid @input-border-color;
|
|
|
|
padding: 6px 10px;
|
2015-12-01 03:48:24 +08:00
|
|
|
|
2016-07-12 03:28:37 +08:00
|
|
|
.render-mode {
|
|
|
|
float: right;
|
2015-12-01 03:48:24 +08:00
|
|
|
}
|
2016-07-12 03:28:37 +08:00
|
|
|
|
|
|
|
.account-picker {
|
|
|
|
display: inline-block;
|
|
|
|
color: @text-color-subtle;
|
|
|
|
|
|
|
|
.button-dropdown {
|
|
|
|
.secondary-items {
|
|
|
|
.menu {
|
|
|
|
.item {
|
|
|
|
padding: 5px 10px 5px 25px;
|
|
|
|
}
|
|
|
|
.item.checked {
|
|
|
|
background-image: url(images/menu/osx-checkmark@2x.svg);
|
|
|
|
background-position: left;
|
2016-07-30 07:34:38 +08:00
|
|
|
background-position-x: 6%;
|
2016-07-12 03:28:37 +08:00
|
|
|
background-size: 10px;
|
2016-07-30 07:34:38 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 5px 10px 5px 25px;
|
|
|
|
background-repeat: no-repeat;
|
2016-07-12 03:28:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-12-01 03:48:24 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-07-12 03:28:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Styles for account-contact-field signature selector
|
|
|
|
.message-item-white-wrap.composer-outer-wrap{
|
|
|
|
.composer-participant-field {
|
|
|
|
|
|
|
|
.dropdown-component {
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
.signature-button-dropdown {
|
|
|
|
.only-item {
|
|
|
|
background: @blurred-primary-color;
|
|
|
|
box-shadow: none;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.content-mask {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
img.signature-button{
|
|
|
|
display: inline-block;
|
2016-07-27 06:55:31 +08:00
|
|
|
background-color: @btn-icon-color;
|
2016-07-12 03:28:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.button-dropdown {
|
|
|
|
&.open {
|
|
|
|
img.signature-button {
|
|
|
|
background-color: @component-active-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.secondary-items {
|
|
|
|
right:0;
|
|
|
|
left:auto;
|
|
|
|
.menu {
|
|
|
|
.header-container {
|
|
|
|
display:inline-block;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.footer-container {
|
|
|
|
display: inline-block;
|
|
|
|
border-top: 1px solid #dddddd;
|
|
|
|
}
|
|
|
|
.item {
|
|
|
|
padding: 5px 20px 5px 20px;
|
|
|
|
}
|
|
|
|
.item.checked {
|
|
|
|
background-image: url(images/menu/osx-checkmark@2x.svg);
|
|
|
|
background-position: left;
|
|
|
|
background-position-x: 5%;
|
|
|
|
background-size: 10px;
|
2016-07-30 07:34:38 +08:00
|
|
|
background-repeat: no-repeat;
|
2016-07-12 03:28:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.focused {
|
|
|
|
.composer-participant-field {
|
|
|
|
.dropdown-component {
|
|
|
|
.only-item {
|
|
|
|
background: @background-primary;
|
|
|
|
}
|
2015-12-01 03:48:24 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-07-22 02:18:21 +08:00
|
|
|
.composer-full-window {
|
|
|
|
.message-item-white-wrap.composer-outer-wrap .composer-participant-field
|
|
|
|
.dropdown-component .signature-button-dropdown .only-item {
|
|
|
|
background: @background-primary;
|
|
|
|
}
|
|
|
|
}
|