2015-01-21 19:16:33 +01:00
|
|
|
// fixme : place all variables in settings
|
2015-01-16 13:52:29 +01:00
|
|
|
$toolbar-tools-height: 64px !default;
|
|
|
|
$toolbar-height: 64px !default;
|
|
|
|
$toolbar-medium-tall-height: 88px !default;
|
|
|
|
$toolbar-tall-height: 128px !default;
|
|
|
|
$toolbar-indent-margin: 64px !default;
|
|
|
|
$toolbar-padding: 16px !default;
|
|
|
|
|
|
|
|
md-toolbar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
font-size: 1.3em;
|
|
|
|
min-height: $baseline-grid * 8;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&.md-tall {
|
|
|
|
height: $toolbar-tall-height;
|
|
|
|
min-height: $toolbar-tall-height;
|
|
|
|
max-height: $toolbar-tall-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.md-medium-tall {
|
|
|
|
height: $toolbar-medium-tall-height;
|
|
|
|
min-height: $toolbar-medium-tall-height;
|
|
|
|
max-height: $toolbar-medium-tall-height;
|
|
|
|
|
|
|
|
.md-toolbar-tools {
|
|
|
|
height: 48px;
|
|
|
|
min-height: 48px;
|
|
|
|
max-height: 48px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-16 15:33:46 +01:00
|
|
|
&.md-toolbar-small {
|
|
|
|
min-height: $baseline-grid * 6;
|
|
|
|
}
|
|
|
|
|
2015-01-16 13:52:29 +01:00
|
|
|
.md-indent {
|
|
|
|
margin-left: $toolbar-indent-margin;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.md-toolbar-tools {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
height: $toolbar-tools-height;
|
|
|
|
min-height: 100%;
|
|
|
|
max-height: $toolbar-tools-height;
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: normal;
|
|
|
|
padding: 0 $toolbar-padding;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
h2, h3 {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.fill-height {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.md-tools {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
.md-button {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|