Mailspring/static/workspace.less
Ben Gotow d6336dae08 Squashed commit of deeply broken branch
commit d1c455515e04424d429c87a07aff248a4a767f23
Merge: 72e5536 512f8db
Author: Ben Gotow <bengotow@gmail.com>
Date:   Thu Feb 19 18:42:29 2015 -0800

    Merge sheet and flexbox components, fonts, and more

    Conflicts:
    	static/workspace-view.less

commit 72e553652f5b26a96155c51e04db46baafb916be
Author: Ben Gotow <bengotow@gmail.com>
Date:   Wed Feb 18 12:33:08 2015 -0800

    Start transitioning to a better set of ui-variables (from bootstrap)

commit ed22fb7fe1c6544af44fae69b83e7e63965ddf4d
Author: Ben Gotow <bengotow@gmail.com>
Date:   Wed Feb 18 11:55:58 2015 -0800

    I hate CSS

commit 512f8db414ceef74712c9d63ba5a67b44cf778c4
Author: Ben Gotow <bengotow@gmail.com>
Date:   Mon Feb 16 10:10:44 2015 -0800

    Initial work on top toolbar

commit c2d7a0e0a2f6f6ebe254cca24ad0735336d57b70
Author: Ben Gotow <bengotow@gmail.com>
Date:   Thu Feb 12 18:47:26 2015 -0800

    New UI Prototype interaction / stores for sheets
2015-03-03 09:49:15 -08:00

106 lines
1.8 KiB
Plaintext

@import "ui-variables";
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
font-family: @font-family;
font-size: @font-size;
}
atom-workspace {
display: block;
height: 100%;
overflow: hidden;
position: relative;
font-family: @font-family;
atom-workspace-axis.horizontal {
display: -webkit-flex;
height: 100%;
}
atom-workspace-axis.vertical {
display: -webkit-flex;
-webkit-flex: 1;
-webkit-flex-flow: column;
}
}
.sheet-container {
height:100%;
}
.sheet-stack-enter {
left:100%;
transition: left .20s ease-out;
}
.sheet-stack-enter.sheet-stack-enter-active {
left:0;
}
.sheet-stack-leave {
left:0;
transition: left .20s ease-in;
}
.sheet-stack-leave.sheet-stack-leave-active {
left:100%;
}
.toolbar-container {
background: @toolbar-background-color;
border-bottom: 1px solid @border-color-divider;
.toolbar {
width:100%;
height:50px;
.btn {
height:34px;
margin-top: (50px - 34px) / 2;
background: @btn-toolbar-bg;
color: @btn-toolbar-color;
border: 1px solid @btn-toolbar-border;
border-radius: @border-radius-base;
box-shadow: @standard-shadow;
line-height: @line-height-computed;
padding-left: @padding-base-horizontal;
padding-right: @padding-base-horizontal;
margin-right: @padding-base-horizontal;
margin-left: @padding-base-horizontal;
}
.btn:active {
background: darken(@btn-toolbar-bg, 10%);
box-shadow: none;
}
}
}
.flexbox-handle-horizontal {
width:6px;
top:0;
bottom:0;
z-index:2;
position:absolute;
cursor: col-resize;
div {
height:100%;
border-right: 1px solid @border-color-divider;
}
&.flexbox-handle-right {
right:-3px;
padding-right:3px;
}
&.flexbox-handle-left {
left:-3px;
padding-right:2px;
}
}