##// END OF EJS Templates
comments: remove helper to render a comment object....
comments: remove helper to render a comment object. - we always use helper renderer, and for consistency we should stick with that. It makes refactoring, and general use much harder. DB objects should have least possible logic inside.

File last commit:

r927:e470191e default
r1673:e3526633 default
Show More
rcicons.less
121 lines | 4.3 KiB | text/x-less | LessCssLexer
project: added all source files and assets
r1 @font-face {
font-family: 'rcicons';
styling: new icon font fix #3488
r927 src: url('../fonts/RCIcons/rcicons.eot?88634534');
src: url('../fonts/RCIcons/rcicons.eot?88634534#iefix') format('embedded-opentype'),
url('../fonts/RCIcons/rcicons.woff2?88634534') format('woff2'),
url('../fonts/RCIcons/rcicons.woff?88634534') format('woff'),
url('../fonts/RCIcons/rcicons.ttf?88634534') format('truetype'),
url('../fonts/RCIcons/rcicons.svg?88634534#rcicons') format('svg');
project: added all source files and assets
r1 font-weight: normal;
font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'rcicons';
styling: new icon font fix #3488
r927 src: url('../fonts/RCIcons/rcicons.svg?88634534#rcicons') format('svg');
project: added all source files and assets
r1 }
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "rcicons";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .2em;
text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal;
text-transform: none;
styling: new icon font fix #3488
r927
project: added all source files and assets
r1 /* fix buttons height, for twitter bootstrap */
line-height: 1em;
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: .2em;
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */
styling: new icon font fix #3488
r927 /* Font smoothing. That was taken from TWBS */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
project: added all source files and assets
r1 /* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
styling: new icon font fix #3488
r927
.icon-git:before { content: '\e82a'; } /* '' */
.icon-hg:before { content: '\e82d'; } /* '' */
.icon-svn:before { content: '\e82e'; } /* '' */
.icon-plus:before { content: '\e813'; } /* '' */
.icon-minus:before { content: '\e814'; } /* '' */
.icon-remove:before { content: '\e815'; } /* '' */
.icon-bookmark:before { content: '\e803'; } /* '' */
.icon-branch:before { content: '\e804'; } /* '' */
.icon-merge:before { content: '\e833'; } /* '' */
.icon-tag:before { content: '\e805'; } /* '' */
.icon-lock:before { content: '\e806'; } /* '' */
.icon-unlock:before { content: '\e807'; } /* '' */
project: added all source files and assets
r1 .icon-delete:before,
styling: new icon font fix #3488
r927 .icon-false:before { content: '\e800'; } /* '' */
project: added all source files and assets
r1 .icon-ok:before,
styling: new icon font fix #3488
r927 .icon-true:before { content: '\e801'; } /* '' */
.icon-feed:before { content: '\e808'; } /* '' */
.icon-left:before { content: '\e809'; } /* '' */
.icon-right:before { content: '\e80a'; } /* '' */
.icon-arrow_down:before { content: '\e80b'; } /* '' */
.icon-arrow_up:before { content: '\e832'; } /* '' */
.icon-group:before { content: '\e80f'; } /* '' */
.icon-folder:before { content: '\e810'; } /* '' */
.icon-fork:before { content: '\e811'; } /* '' */
.icon-more:before { content: '\e812'; } /* '' */
.icon-comment:before { content: '\e802'; } /* '' */
.icon-comment-add:before { content: '\e82f'; } /* '' */
.icon-comment-toggle:before { content: '\e830'; } /* '' */
.icon-rhodecode:before { content: '\e831'; } /* '' */
project: added all source files and assets
r1 .icon-remove-sign:before { &:extend(.icon-remove:before); }
.icon-repo-private:before,
.icon-repo-lock:before { &:extend(.icon-lock:before); }
.icon-unlock-alt:before,
.icon-repo-unlock:before,
.icon-repo-public:before { &:extend(.icon-unlock:before); }
.icon-rss-sign:before { &:extend(.icon-feed:before); }
.icon-chevron-right:before { &:extend(.icon-right:before); }
.icon-chevron-left:before { &:extend(.icon-left:before); }
.icon-caret-down:before { &:extend(.icon-arrow_down:before); }
.icon-folder-close:before { &:extend(.icon-folder:before); }
.icon-code-fork:before { &:extend(.icon-fork:before); }
//--- ICONS STYLING ------------------//
.icon-git { color: @color4 !important; }
.icon-hg { color: @color8 !important; }
.icon-svn { color: @color1 !important; }
.icon-repo-lock { color: #FF0000; }
.icon-repo-unlock { color: #FF0000; }
.repo-switcher-dropdown .select2-result-label {
.icon-git:before {
&:extend(.icon-git-transparent:before);
}
.icon-hg:before {
&:extend(.icon-hg-transparent:before);
color: @alert4;
}
.icon-svn:before {
&:extend(.icon-svn-transparent:before);
}
}