Merge branch 'spis_SPR-970' into 'master'

SPR-970: Magic Matcher - Tooltip + metabox list (spis_SPR-970)

See merge request !60
This commit is contained in:
Jana Deutschländer 2017-05-02 10:53:37 +02:00
commit 5ef00b91bc
2 changed files with 134 additions and 5 deletions

View file

@ -2,6 +2,7 @@
* This file provides the design styles for the metatabbox * This file provides the design styles for the metatabbox
* *
* @author Jana Deutschlaender <deutschlaender@cosmocode.de> * @author Jana Deutschlaender <deutschlaender@cosmocode.de>
* @author Silke Pisulla <pisulla@cosmocode.de>
*/ */
@ -228,11 +229,12 @@
ul { ul {
list-style: none; list-style: none;
padding-left: 0; padding-left: 0;
}
li { li {
margin-left: 0; list-style-image: none; // overwrite universally styles
padding-left: 1em; margin-left: 0;
} padding-left: 1em;
} }
} }
@ -331,4 +333,76 @@
} }
} }
} }
/* + + + + + tab issues + + + + + */
/* see plugins/magic-matcher.less */
#spr__tab-issues {
ul.mmissuelist {
padding-left: 0;
margin-top: .5rem;
margin-bottom: .6rem;
li {
list-style-type: none;
margin-top: .3rem;
margin-left: .5rem;
&.noissue {
list-style-type: none;
margin-left: 0;
}
}
a {
display: inline-block;
font-size: @font-size-small;
* {
font-size: inherit;
}
}
img {
vertical-align: bottom;
margin-right: .3rem;
}
.mm__status {
display: inline-block;
text-decoration: none;
padding-left: .3rem;
padding-right: .3rem;
}
form {
vertical-align: text-top;
button {
background: @ini_existing;
border-color: @ini_existing;
color: @ini_background;
font-size: @font-size-small;
padding: .2em .3em;
&[name="removeIssue"] {
min-width: 20px;
font-size: .94rem;
font-weight: bold;
line-height: 95%;
text-align: center;
padding: 0 .1rem .1rem;
margin-left: .5rem;
}
&:hover,
&:focus,
&:active {
background: @ini_background;
color: @ini_existing;
}
}
}
}
}
} }

View file

@ -1,5 +1,8 @@
/** /**
* This file provides styles for magic matcher plugin * This file provides styles for magic matcher plugin
*
* @author Jana Deutschlaender <deutschlaender@cosmocode.de>
* @author Silke Pisulla <pisulla@cosmocode.de>
*/ */
@ -103,6 +106,59 @@ a.jiralink {
} }
/* + + + + + tooltip in metabox + + + + + */
.dokuwiki {
.serverToolTip {
box-shadow: @box-shadow;
border-radius: @fix_border-radius;
font-size: @font-size-default;
h1.issueTitle {
font-size: @font-size-default;
}
h2 {
font-size: @font-size-small;
}
ul {
margin-top: @small-spacing;
}
p,
li {
font-size: (@font-size-small - .06);
* {
font-size: inherit;
}
}
p {
margin-top: @small-spacing;
margin-bottom: @small-spacing;
}
.components {
.component {
font-size: (@font-size-small - .06);
}
}
.labels {
.label {
font-size: (@font-size-small - .06);
}
}
.descriptionTeaser {
font-size: (@font-size-small - .06);
margin-top: (@small-spacing * 2);
margin-bottom: (@small-spacing * 2);
}
}
}
/* + + + + + no js version + + + + + */ /* + + + + + no js version + + + + + */
.no-js { .no-js {
#spr__magic-matcher { #spr__magic-matcher {
@ -144,4 +200,3 @@ a.jiralink {
display: none; display: none;
} }
} }