mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
2500e52179
Remove rounded corners and gradients
326 lines
6.6 KiB
Text
326 lines
6.6 KiB
Text
@import "ui-variables";
|
|
@import "ui-mixins";
|
|
|
|
body.window-type-react-remote {
|
|
margin:0;
|
|
|
|
.sheet-toolbar {
|
|
border-bottom: none;
|
|
height:30px;
|
|
min-height:30px;
|
|
max-height:30px;
|
|
display: none;
|
|
|
|
.toolbar-window-controls {
|
|
margin-top:3px;
|
|
margin-left:3px;
|
|
}
|
|
.window-title {
|
|
line-height:30px;
|
|
}
|
|
}
|
|
.sheet {
|
|
background: @background-secondary;
|
|
}
|
|
}
|
|
|
|
body.platform-darwin.window-type-react-remote {
|
|
.sheet-toolbar {
|
|
display:inherit;
|
|
}
|
|
}
|
|
|
|
// Preferences Specific
|
|
|
|
body.is-blurred {
|
|
.preference-header {
|
|
background-image: -webkit-linear-gradient(top, lighten(@toolbar-background-color, 14%), lighten(@toolbar-background-color, 14%));
|
|
}
|
|
}
|
|
|
|
body.platform-darwin {
|
|
.preferences-wrap .platform-darwin-only {
|
|
display: inherit;
|
|
}
|
|
}
|
|
|
|
.preferences-wrap {
|
|
input[type=checkbox] {margin: 0 7px 0 0; position: relative; top: -1px; }
|
|
input[type=radio] {margin: 0 7px 0 0; position: relative; top: -1px; }
|
|
select { margin: 4px 0 0 8px; }
|
|
|
|
padding-bottom:50px;
|
|
|
|
background-color: @background-primary;
|
|
color: @text-color;
|
|
|
|
.platform-darwin-only {
|
|
display: none;
|
|
}
|
|
|
|
.well {
|
|
border-radius: 7px;
|
|
border:1px solid @border-color-divider;
|
|
background-color: lighten(@background-secondary, 2%);
|
|
|
|
&.large {
|
|
padding: 20px;
|
|
padding-right:10px;
|
|
}
|
|
&.small {
|
|
padding:10px;
|
|
}
|
|
}
|
|
|
|
.section {
|
|
margin-top:25px;
|
|
}
|
|
|
|
.section-header {
|
|
line-height: 2em;
|
|
margin-top:7px;
|
|
margin-bottom:2px;
|
|
cursor: default;
|
|
}
|
|
|
|
.section-body {
|
|
padding:5px;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
|
|
.section-body-list {
|
|
flex: 1;
|
|
img { width:100%; padding:15px;}
|
|
}
|
|
}
|
|
|
|
.container-signatures {
|
|
width:95%;
|
|
margin-left: 2.5%;
|
|
margin-right: 2.5%;
|
|
|
|
.section-body {
|
|
padding: 10px 0 0 0;
|
|
|
|
.menu {
|
|
border: solid thin #CCC;
|
|
margin-right: 5px;
|
|
min-height: 200px;
|
|
.menu-items {
|
|
margin:0;
|
|
padding:0;
|
|
list-style: none;
|
|
|
|
li { padding: 6px; }
|
|
}
|
|
}
|
|
.menu-horizontal {
|
|
height: 100%;
|
|
.menu-items {
|
|
height:100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
li {
|
|
text-align:center;
|
|
width:40px;
|
|
display:inline-block;
|
|
padding:8px 16px 8px 16px;
|
|
border-right: solid thin #CCC;
|
|
}
|
|
}
|
|
}
|
|
.signature-area {
|
|
border: solid thin #CCC;
|
|
min-height: 200px;
|
|
}
|
|
.menu-footer {
|
|
border: solid thin #CCC;
|
|
overflow: auto;
|
|
}
|
|
.signature-footer {
|
|
border: solid thin #CCC;
|
|
overflow: auto;
|
|
|
|
.edit-html-button {
|
|
float: right;
|
|
margin: 6px;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.container-notifications {
|
|
width: 75%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.container-appearance {
|
|
width:70%;
|
|
margin: auto;
|
|
|
|
.section-appearance {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.appearance-mode {
|
|
background-color: @background-off-primary;;
|
|
border-radius: 10px;
|
|
border: 1px solid @background-tertiary;
|
|
text-align: center;
|
|
flex: 1;
|
|
padding:25px;
|
|
padding-bottom:9px;
|
|
margin-right:10px;
|
|
margin-top:0;
|
|
img {
|
|
background-color: @background-tertiary;
|
|
}
|
|
div {
|
|
margin-top: 15px;
|
|
text-transform: capitalize;
|
|
cursor: default;
|
|
}
|
|
}
|
|
.appearance-mode.active {
|
|
border:1px solid @component-active-color;
|
|
color: @component-active-color;
|
|
img { background-color: @component-active-color; }
|
|
}
|
|
}
|
|
|
|
.container-keymaps {
|
|
width:75%;
|
|
margin-left:12.5%;
|
|
margin-right:12.5%;
|
|
|
|
.shortcut {
|
|
padding: 3px 0;
|
|
&.shortcut-select {
|
|
padding: 5px 0 20px 0;
|
|
select {
|
|
width: 75%;
|
|
}
|
|
}
|
|
|
|
.shortcut-name {
|
|
text-align: right;
|
|
flex: 1;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.shortcut-value {
|
|
text-align: left;
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
.shortcuts-extras {
|
|
text-align:center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
}
|
|
|
|
.container-accounts {
|
|
margin-left:20px;
|
|
margin-right:20px;
|
|
|
|
.account-name {
|
|
font-size: @font-size-larger;
|
|
cursor:default;
|
|
}
|
|
.account-subtext {
|
|
font-size: @font-size-small;
|
|
cursor:default;
|
|
}
|
|
}
|
|
|
|
.preference-header {
|
|
margin-bottom:15px;
|
|
border-bottom: 1px solid darken(@toolbar-background-color, 9%);
|
|
background-image: -webkit-linear-gradient(top, @toolbar-background-color, darken(@toolbar-background-color, 2%));
|
|
cursor: default;
|
|
-webkit-user-select: none;
|
|
-webkit-app-region: drag;
|
|
|
|
.preference-header-item {
|
|
margin-left:3px;
|
|
margin-right:3px;
|
|
padding-left:3px;
|
|
padding-right:3px;
|
|
-webkit-app-region: no-drag;
|
|
display: inline-block;
|
|
|
|
.phi-container {
|
|
padding-left:5px;
|
|
padding-right:5px;
|
|
padding-top: 3px;
|
|
text-align: center;
|
|
height:58px;
|
|
|
|
.icon {
|
|
height:33px;
|
|
}
|
|
.name {
|
|
font-size:12px;
|
|
line-height:22px;
|
|
white-space:nowrap;
|
|
}
|
|
}
|
|
&.active {
|
|
background-color:rgba(0,0,0, 0.12);
|
|
border-top-left-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
body.platform-win32.is-blurred {
|
|
.preference-header {
|
|
background: lighten(@toolbar-background-color, 14%);
|
|
}
|
|
}
|
|
|
|
body.platform-win32 {
|
|
.preference-header {
|
|
background: #f2f2f2;
|
|
|
|
.preference-header-item {
|
|
margin-left: 0;
|
|
margin-right: 1px;
|
|
width: 80px;
|
|
padding-top: 3px;
|
|
.windows-btn-bg;
|
|
height: 63px;
|
|
|
|
color: @text-color;
|
|
.icon img.content-mask { background: @text-color; }
|
|
|
|
&:hover {
|
|
background: #e5e5e5;
|
|
}
|
|
&.active {
|
|
background: #f2f2f2;
|
|
border-radius: 0 0 0 0;
|
|
border-bottom: 2px solid @accent-primary;
|
|
color: @accent-primary;
|
|
.icon img.content-mask { background: @accent-primary; }
|
|
}
|
|
}
|
|
}
|
|
|
|
.preferences-wrap {
|
|
.well {
|
|
border-radius: 0;
|
|
}
|
|
.container-appearance {
|
|
.appearance-mode {
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|