rcicons.less
274 lines
| 9.0 KiB
| text/x-less
|
LessCssLexer
r1 | @font-face { | |||
font-family: 'rcicons'; | ||||
r3680 | ||||
r3706 | src: url('../fonts/RCIcons/rcicons.eot?9641970'); | |||
src: url('../fonts/RCIcons/rcicons.eot?9641970#iefix') format('embedded-opentype'), | ||||
url('../fonts/RCIcons/rcicons.woff2?9641970') format('woff2'), | ||||
url('../fonts/RCIcons/rcicons.woff?9641970') format('woff'), | ||||
url('../fonts/RCIcons/rcicons.ttf?9641970') format('truetype'), | ||||
url('../fonts/RCIcons/rcicons.svg?9641970#rcicons') format('svg'); | ||||
r3696 | ||||
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'; | ||||
r1937 | src: url('../fonts/RCIcons/rcicons.svg?74666722#rcicons') format('svg'); | |||
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; | ||||
r927 | ||||
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%; */ | ||||
r927 | /* Font smoothing. That was taken from TWBS */ | |||
-webkit-font-smoothing: antialiased; | ||||
-moz-osx-font-smoothing: grayscale; | ||||
r1 | /* Uncomment for 3D effect */ | |||
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ | ||||
} | ||||
r1937 | ||||
r3696 | .animate-spin { | |||
-moz-animation: spin 2s infinite linear; | ||||
-o-animation: spin 2s infinite linear; | ||||
-webkit-animation: spin 2s infinite linear; | ||||
animation: spin 2s infinite linear; | ||||
display: inline-block; | ||||
} | ||||
@-moz-keyframes spin { | ||||
0% { | ||||
-moz-transform: rotate(0deg); | ||||
-o-transform: rotate(0deg); | ||||
-webkit-transform: rotate(0deg); | ||||
transform: rotate(0deg); | ||||
} | ||||
100% { | ||||
-moz-transform: rotate(359deg); | ||||
-o-transform: rotate(359deg); | ||||
-webkit-transform: rotate(359deg); | ||||
transform: rotate(359deg); | ||||
} | ||||
} | ||||
@-webkit-keyframes spin { | ||||
0% { | ||||
-moz-transform: rotate(0deg); | ||||
-o-transform: rotate(0deg); | ||||
-webkit-transform: rotate(0deg); | ||||
transform: rotate(0deg); | ||||
} | ||||
100% { | ||||
-moz-transform: rotate(359deg); | ||||
-o-transform: rotate(359deg); | ||||
-webkit-transform: rotate(359deg); | ||||
transform: rotate(359deg); | ||||
} | ||||
} | ||||
@-o-keyframes spin { | ||||
0% { | ||||
-moz-transform: rotate(0deg); | ||||
-o-transform: rotate(0deg); | ||||
-webkit-transform: rotate(0deg); | ||||
transform: rotate(0deg); | ||||
} | ||||
100% { | ||||
-moz-transform: rotate(359deg); | ||||
-o-transform: rotate(359deg); | ||||
-webkit-transform: rotate(359deg); | ||||
transform: rotate(359deg); | ||||
} | ||||
} | ||||
@-ms-keyframes spin { | ||||
0% { | ||||
-moz-transform: rotate(0deg); | ||||
-o-transform: rotate(0deg); | ||||
-webkit-transform: rotate(0deg); | ||||
transform: rotate(0deg); | ||||
} | ||||
100% { | ||||
-moz-transform: rotate(359deg); | ||||
-o-transform: rotate(359deg); | ||||
-webkit-transform: rotate(359deg); | ||||
transform: rotate(359deg); | ||||
} | ||||
} | ||||
@keyframes spin { | ||||
0% { | ||||
-moz-transform: rotate(0deg); | ||||
-o-transform: rotate(0deg); | ||||
-webkit-transform: rotate(0deg); | ||||
transform: rotate(0deg); | ||||
} | ||||
100% { | ||||
-moz-transform: rotate(359deg); | ||||
-o-transform: rotate(359deg); | ||||
-webkit-transform: rotate(359deg); | ||||
transform: rotate(359deg); | ||||
} | ||||
} | ||||
r2884 | .icon-no-margin::before { | |||
margin: 0; | ||||
} | ||||
r1937 | // -- ICON CLASSES -- // | |||
r3680 | // sorter = lambda s: '\n'.join(sorted(s.splitlines())) | |||
r1937 | ||||
r3680 | .icon-delete:before { content: '\e800'; } /* '' */ | |||
.icon-ok:before { content: '\e801'; } /* '' */ | ||||
.icon-comment:before { content: '\e802'; } /* '' */ | ||||
r927 | .icon-bookmark:before { content: '\e803'; } /* '' */ | |||
.icon-branch:before { content: '\e804'; } /* '' */ | ||||
r3680 | .icon-tag:before { content: '\e805'; } /* '' */ | |||
r927 | .icon-lock:before { content: '\e806'; } /* '' */ | |||
.icon-unlock:before { content: '\e807'; } /* '' */ | ||||
r3680 | .icon-feed:before { content: '\e808'; } /* '' */ | |||
.icon-left:before { content: '\e809'; } /* '' */ | ||||
.icon-right:before { content: '\e80a'; } /* '' */ | ||||
.icon-down:before { content: '\e80b'; } /* '' */ | ||||
.icon-folder:before { content: '\e80c'; } /* '' */ | ||||
.icon-folder-open:before { content: '\e80d'; } /* '' */ | ||||
.icon-folder-empty:before { content: '\f114'; } /* '' */ | ||||
.icon-folder-open-empty:before { content: '\f115'; } /* '' */ | ||||
.icon-trash-empty:before { content: '\e80e'; } /* '' */ | ||||
.icon-group:before { content: '\e80f'; } /* '' */ | ||||
.icon-remove:before { content: '\e810'; } /* '' */ | ||||
.icon-fork:before { content: '\e811'; } /* '' */ | ||||
.icon-more:before { content: '\e812'; } /* '' */ | ||||
.icon-search:before { content: '\e813'; } /* '' */ | ||||
.icon-scissors:before { content: '\e814'; } /* '' */ | ||||
.icon-download:before { content: '\e815'; } /* '' */ | ||||
.icon-doc:before { content: '\e816'; } /* '' */ | ||||
.icon-cog:before { content: '\e817'; } /* '' */ | ||||
.icon-cog-alt:before { content: '\e818'; } /* '' */ | ||||
.icon-eye:before { content: '\e819'; } /* '' */ | ||||
.icon-eye-off:before { content: '\e81a'; } /* '' */ | ||||
.icon-cancel-circled2:before { content: '\e81b'; } /* '' */ | ||||
.icon-cancel-circled:before { content: '\e81c'; } /* '' */ | ||||
r1937 | .icon-plus:before { content: '\e81d'; } /* '' */ | |||
r3680 | .icon-plus-circled:before { content: '\e81e'; } /* '' */ | |||
.icon-minus-circled:before { content: '\e81f'; } /* '' */ | ||||
.icon-minus:before { content: '\e820'; } /* '' */ | ||||
.icon-info-circled:before { content: '\e821'; } /* '' */ | ||||
.icon-upload:before { content: '\e822'; } /* '' */ | ||||
r3706 | .icon-home:before { content: '\e823'; } /* '' */ | |||
r3680 | .icon-git:before { content: '\e82a'; } /* '' */ | |||
.icon-hg:before { content: '\e82d'; } /* '' */ | ||||
.icon-svn:before { content: '\e82e'; } /* '' */ | ||||
.icon-comment-add:before { content: '\e82f'; } /* '' */ | ||||
.icon-comment-toggle:before { content: '\e830'; } /* '' */ | ||||
.icon-rhodecode:before { content: '\e831'; } /* '' */ | ||||
.icon-up:before { content: '\e832'; } /* '' */ | ||||
.icon-merge:before { content: '\e833'; } /* '' */ | ||||
.icon-docs:before { content: '\f0c5'; } /* '' */ | ||||
.icon-menu:before { content: '\f0c9'; } /* '' */ | ||||
.icon-paste:before { content: '\f0ea'; } /* '' */ | ||||
.icon-doc-text:before { content: '\f0f6'; } /* '' */ | ||||
.icon-plus-squared:before { content: '\f0fe'; } /* '' */ | ||||
.icon-minus-squared:before { content: '\f146'; } /* '' */ | ||||
.icon-minus-squared-alt:before { content: '\f147'; } /* '' */ | ||||
.icon-doc-inv:before { content: '\f15b'; } /* '' */ | ||||
.icon-doc-text-inv:before { content: '\f15c'; } /* '' */ | ||||
.icon-plus-squared-alt:before { content: '\f196'; } /* '' */ | ||||
.icon-file-code:before { content: '\f1c9'; } /* '' */ | ||||
.icon-sliders:before { content: '\f1de'; } /* '' */ | ||||
.icon-trash:before { content: '\f1f8'; } /* '' */ | ||||
r3696 | .icon-spin-alt:before { content: '\e834'; } /* '' */ | |||
.icon-spin:before { content: '\e838'; } /* '' */ | ||||
r1937 | ||||
r3680 | // MERGED ICONS BASED ON CURRENT ONES | |||
.icon-repo-group:before { &:extend(.icon-folder-open:before); } | ||||
r1937 | .icon-repo-private:before { &:extend(.icon-lock:before); } | |||
r1 | .icon-repo-lock:before { &:extend(.icon-lock:before); } | |||
r1937 | .icon-unlock-alt:before { &:extend(.icon-unlock:before); } | |||
.icon-repo-unlock:before { &:extend(.icon-unlock:before); } | ||||
.icon-repo-public:before { &:extend(.icon-unlock:before); } | ||||
.icon-rss-sign:before { &:extend(.icon-feed:before); } | ||||
.icon-code-fork:before { &:extend(.icon-fork:before); } | ||||
r3680 | .icon-arrow_up:before { &:extend(.icon-up:before); } | |||
.icon-file:before { &:extend(.icon-file-code:before); } | ||||
.icon-file-text:before { &:extend(.icon-file-code:before); } | ||||
.icon-directory:before { &:extend(.icon-folder:before); } | ||||
.icon-more-linked:before { &:extend(.icon-more:before); } | ||||
.icon-clipboard:before { &:extend(.icon-docs:before); } | ||||
.icon-copy:before { &:extend(.icon-docs:before); } | ||||
.icon-true:before { &:extend(.icon-ok:before); } | ||||
.icon-false:before { &:extend(.icon-delete:before); } | ||||
.icon-expand-linked:before { &:extend(.icon-down:before); } | ||||
.icon-pr-merge-fail:before { &:extend(.icon-delete:before); } | ||||
r1937 | ||||
// TRANSFORM | ||||
r3680 | ||||
r1937 | .icon-merge:before {transform: rotate(180deg);} | |||
// -- END ICON CLASSES -- // | ||||
r1 | ||||
//--- ICONS STYLING ------------------// | ||||
.icon-git { color: @color4 !important; } | ||||
.icon-hg { color: @color8 !important; } | ||||
.icon-svn { color: @color1 !important; } | ||||
r1937 | .icon-git-inv { color: @color4 !important; } | |||
.icon-hg-inv { color: @color8 !important; } | ||||
.icon-svn-inv { color: @color1 !important; } | ||||
r1 | .icon-repo-lock { color: #FF0000; } | |||
.icon-repo-unlock { color: #FF0000; } | ||||
r3680 | .icon-false { color: @grey5 } | |||
.icon-expand-linked { cursor: pointer; color: @grey3; font-size: 14px } | ||||
.icon-more-linked { cursor: pointer; color: @grey3 } | ||||
r1 | ||||
.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); | ||||
} | ||||
} | ||||
r2975 | ||||
.icon-user-group:before { | ||||
&:extend(.icon-group:before); | ||||
margin: 0; | ||||
font-size: 16px; | ||||
} | ||||