##// END OF EJS Templates
git: use force fetch and update for target ref. This solves a case...
git: use force fetch and update for target ref. This solves a case when in PRs a target is force updated and is out of sync. Before we used a pull which --ff-only fails obviosly because two are out of sync. This change uses new logic that resets the target branch according to the source target branch allowing smooth merge simulation.

File last commit:

r2093:a327c56b default
r2784:e8c62649 default
Show More
tags.less
127 lines | 2.7 KiB | text/x-less | LessCssLexer
// tags.less
// For use in RhodeCode applications;
// see style guide documentation for guidelines.
// TAGS
.tag,
.tagtag {
display: inline-block;
min-height: 0;
margin: 0 auto;
padding: .25em;
text-align: center;
font-size: (-1 + @basefontsize); //fit in tables
line-height: .9em;
border: none;
.border-radius(@border-radius);
font-family: @text-regular;
background-image: none;
color: @grey4;
.border ( @border-thickness-tags, @grey4 );
white-space: nowrap;
a {
color: inherit;
text-decoration: underline;
i,
[class^="icon-"]:before,
[class*=" icon-"]:before {
text-decoration: none;
}
}
}
.tag0 { .border ( @border-thickness-tags, @grey4 ); color:@grey4; }
.tag1 { .border ( @border-thickness-tags, @color1 ); color:@color1; }
.tag2 { .border ( @border-thickness-tags, @color2 ); color:@color2; }
.tag3 { .border ( @border-thickness-tags, @color3 ); color:@color3; }
.tag4 { .border ( @border-thickness-tags, @color4 ); color:@color4; }
.tag5 { .border ( @border-thickness-tags, @color5 ); color:@color5; }
.tag6 { .border ( @border-thickness-tags, @color6 ); color:@color6; }
.tag7 { .border ( @border-thickness-tags, @color7 ); color:@color7; }
.tag8 { .border ( @border-thickness-tags, @color8 ); color:@color8; }
.metatag-list {
margin: 0;
padding: 0;
li {
margin: 0 0 @padding;
line-height: 1em;
list-style-type: none;
&:before { content: none; }
}
}
.branchtag, .booktag {
&:extend(.tag);
a {
color:inherit;
}
}
.metatag {
&:extend(.tag);
a {
color:inherit;
text-decoration: underline;
}
}
[tag="generic"] { &:extend(.tag0); }
[tag="label"] { &:extend(.tag0); }
[tag="state featured"] { &:extend(.tag1); }
[tag="state dev"] { &:extend(.tag1); }
[tag="ref base"] { &:extend(.tag1); }
[tag="state stable"] { &:extend(.tag2); }
[tag="state stale"] { &:extend(.tag2); }
[tag="ref requires"] { &:extend(.tag3); }
[tag="state dead"] { &:extend(.tag4); }
[tag="state deprecated"] { &:extend(.tag4); }
[tag="ref conflicts"] { &:extend(.tag4); }
[tag="license"] { &:extend(.tag6); }
[tag="lang"] { &:extend(.tag7); }
[tag="language"] { &:extend(.tag7); }
[tag="ref recommends"] { &:extend(.tag7); }
[tag="see"] { &:extend(.tag8); }
[tag="url"] { &:extend(.tag8); }
.perm_overriden {
text-decoration: line-through;
opacity: 0.6;
}
.perm_tag {
&:extend(.tag);
&.read {
&:extend(.tag1);
}
&.write {
&:extend(.tag4);
}
&.admin {
&:extend(.tag5);
}
}
.phase-draft {
color: @color3
}
.phase-secret {
color:@grey3
}