Caret/css/base.less

72 lines
1.1 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;
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;
2013-09-04 16:39:52 +00:00
}
.central {
display: flex;
flex-grow: 1;
align-items: stretch;
align-content: stretch;
2013-09-04 16:39:52 +00:00
}
.editing {
display: flex;
flex-grow: 1;
align-items: stretch;
align-content: stretch;
flex-direction: column;
}
#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);
}