magic matcher mobile

This commit is contained in:
Jana Deutschländer 2017-01-05 19:01:19 +01:00
commit 742a706335
3 changed files with 54 additions and 9 deletions

View file

@ -241,8 +241,7 @@ nav > ul {
.mobile-only { .mobile-only {
display: none; display: none;
@media @screen_max-md {
@media @screen_max-xs {
display: inline-block; display: inline-block;
} }
} }
@ -250,7 +249,7 @@ nav > ul {
.mobile-hide { .mobile-hide {
display: inline-block; display: inline-block;
@media @screen_max-xs { @media @screen_max-md {
display: none; display: none;
} }
} }

View file

@ -200,33 +200,37 @@
margin: 0 2.5rem 0 1.25rem; margin: 0 2.5rem 0 1.25rem;
} }
#dokuwiki__usertools{ #dokuwiki__usertools {
margin-top: 0; margin-top: 0;
max-width: 75%; max-width: 75%;
position: absolute; position: absolute;
top: 0; top: 0;
} }
.content{ .content {
position: relative; position: relative;
#dokuwiki__pagetools{ #dokuwiki__pagetools{
top: 0; top: 0;
} }
.row > .col-xs-12 #dokuwiki__content::before{
display: none;
}
} }
#dokuwiki__header{ #dokuwiki__header {
.logo{ .logo {
width: 200px; width: 200px;
max-width: 33%; max-width: 33%;
margin: .8rem 0; margin: .8rem 0;
} }
} }
.tools{ .tools {
.main-sidebar{ .main-sidebar {
display: none; display: none;
} }
} }
} }

View file

@ -11,6 +11,25 @@
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
#mm__issueselect_chosen{
max-width: 50%;
}
button[name="toggleSuggestions"]{
position: absolute;
right: 0; top: 0;
border: 0;
border-bottom: 1px solid @color-border;
border-left: 1px solid @color-border;
color: @color-nav;
background: #fff;
border-radius: 0;
border-bottom-left-radius: 5px;
&:hover, &:focus, &:active{
border-color: @button_background;
color: @button_background;
}
}
#magicmatcher__context { #magicmatcher__context {
box-sizing: border-box; box-sizing: border-box;
@ -24,11 +43,31 @@
padding: .8em 1em .5em; padding: .8em 1em .5em;
margin-bottom: 0; margin-bottom: 0;
font-size: .88rem;
.chosen-container-single,
.chosen-container-single *,
#mm_issue_loading,
.mm__status,
.toggleSuggestions {
font-size: .88rem;
}
.chosen-container-single { .chosen-container-single {
.chosen-single span { .chosen-single span {
line-height: @line-height-bigger; line-height: @line-height-bigger;
} }
} }
@media @screen_max-md {
padding-top: 1.8rem;
.chosen-container{
display: block;
min-width: 100%;
max-width: 100%;
margin-bottom: .5rem;
}
}
} }
} }
@ -83,6 +122,9 @@ a.jiralink {
.container{ .container{
margin: .8rem 0 -5px; margin: .8rem 0 -5px;
} }
#magicmatcher__context{
border-radius: 0;
}
} }
} }