header bar and mobile device improvements

Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
This commit is contained in:
Artem Anufrij
2017-05-22 00:27:34 +02:00
committed by Julius Härtl
parent fbc12ae8f7
commit c6ebfdc11f
2 changed files with 64 additions and 58 deletions

View File

@@ -126,21 +126,26 @@ button:hover {
position: relative;
z-index: 120;
height: 44px;
display: flex;
align-items: center;
}
#board-header > * {
font-size: 14pt;
padding: 7px;
margin: 7px;
float: left;
}
#board-header > a {
background: url('/core/img/breadcrumb.svg?v=1');
background-repeat: no-repeat;
background-position: right center;
background-size: auto 24px;
padding-right: 24px;
#board-header > h1 {
white-space: nowrap;
}
#board-header #home {
position: relative;
padding: 0px 12px;
}
#board-header #home a{
position: relative;
padding: 0px;
}
#board-actions {
@@ -161,6 +166,18 @@ button:hover {
cursor: pointer;
}
#board-header-controls {
display: flex;
align-items: center;
position: relative;
}
#board-header-controls .board-action-button,
#board-header-controls .board-action-button * {
display: flex;
align-items: center;
}
.filter-select {
position: absolute;
right: auto;
@@ -192,22 +209,19 @@ button:hover {
background-color: transparent;
}
#board-header > .board-action-button {
float: right;
}
#stack-add {
background-color: rgba(240,240,240,.9);
border-radius: 3px;
padding: 0;
margin-right: 12px;
}
#stack-add > form {
display: flex;
}
#stack-add input {
padding: 7px;
margin: 0px;
padding: 4px 5px;
border: 0px none transparent;
display: table-cell;
vertical-align: middle;
min-height: initial;
background-color: rgba(240,240,240,.9);
}
@@ -224,11 +238,6 @@ button:hover {
box-shadow:none;
}
#stack-add button {
display: table-cell;
vertical-align: middle;
}
.stack {
width: 320px;
margin-right: 10px;
@@ -321,7 +330,7 @@ button:hover {
opacity: 1;
}
.card .card-controls .space {
.space {
width: 100%;
min-height: 16px;
}
@@ -845,17 +854,11 @@ button:hover {
@media (max-width: 480px) {
/* hide board actions on mobile */
#board-actions {
#board-header-controls {
display: none !important;
}
}
@media only screen and (max-width: 768px) {
#board-header h1 {
margin-left: 50px;
}
}
/**
* Markdown rendering
*/