Caret/css/base.less

80 lines
1.2 KiB
Text
Raw Normal View History

* {
box-sizing: border-box;
}
2013-09-04 16:39:52 +00:00
html, body {
height: 100%;
2013-09-13 22:57:57 +00:00
background: @background;
color: @foreground;
2013-09-04 16:39:52 +00:00
}
body {
margin: 0;
padding: 0;
2013-09-26 13:43:38 +00:00
font-family: "Segoe UI", "Helvetica", "Droid Sans", sans serif;
2013-09-04 16:39:52 +00:00
display: flex;
flex-direction: column;
align-items: stretch;
align-content: stretch;
}
a[target] {
2013-09-13 22:57:57 +00:00
color: @foreground;
}
:focus {
outline: @accent auto 5px;
}
2013-09-04 16:39:52 +00:00
//MACRO-LEVEL POSITIONING
.toolbar {
flex: 0 0 30px;
-webkit-transform: translateZ(0);
transform: translateZ(0);
2013-09-04 16:39:52 +00:00
}
.tabs {
flex: 0 0 32px;
-webkit-transform: translateZ(0);
transform: translateZ(0);
2013-09-04 16:39:52 +00:00
}
2013-11-04 16:41:22 +00:00
.editing {
display: flex;
flex-grow: 1;
align-items: stretch;
align-content: stretch;
-webkit-transform: translateZ(0);
transform: translateZ(0);
2013-09-04 16:39:52 +00:00
}
.project {
transition: width .3s;
//display: none;
width: 0px;
z-index: 99;
&.show {
//display: block;
width: 200px;
}
}
#editor {
flex-grow: 1;
padding-top: 2px;
}
2013-09-04 16:39:52 +00:00
.bottom-bar {
2013-09-04 17:01:12 +00:00
flex: 0 0 auto;
2013-09-04 16:39:52 +00:00
align-self: flex-end;
width: 100%;
2013-09-04 17:01:12 +00:00
display: flex;
justify-content: space-between;
align-content: stretch;
2013-09-15 20:00:16 +00:00
box-shadow: 0 -4px 4px rgba(0, 0, 0, .1);
z-index: 99;
-webkit-transform: translateZ(0);
transform: translateZ(0);
}