rcicons.less
297 lines
| 10.3 KiB
| text/x-less
|
LessCssLexer
r1 | @font-face { | |||
font-family: 'rcicons'; | ||||
r3680 | ||||
r3882 | src: url('../fonts/RCIcons/rcicons.eot?44705679'); | |||
src: url('../fonts/RCIcons/rcicons.eot?44705679#iefix') format('embedded-opentype'), | ||||
url('../fonts/RCIcons/rcicons.woff2?44705679') format('woff2'), | ||||
url('../fonts/RCIcons/rcicons.woff?44705679') format('woff'), | ||||
url('../fonts/RCIcons/rcicons.ttf?44705679') format('truetype'), | ||||
url('../fonts/RCIcons/rcicons.svg?44705679#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-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'; } /* 'ī ' */ | ||||
r4485 | .icon-options:before { content: '\e812'; } /* 'ī ' */ | |||
r3680 | .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'; } /* 'ī £' */ | |||
r3882 | .icon-flag-filled:before { content: '\e824'; } /* 'ī ¤' */ | |||
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'; } /* 'ī ²' */ | ||||
r4595 | .icon-down:before { content: '\e832'; } /* 'ī ²' */ | |||
r3680 | .icon-merge:before { content: '\e833'; } /* 'ī ³' */ | |||
r3882 | .icon-spin-alt:before { content: '\e834'; } /* 'ī “' */ | |||
.icon-spin:before { content: '\e838'; } /* 'ī ø' */ | ||||
r3680 | .icon-docs:before { content: '\f0c5'; } /* 'ļ ' */ | |||
.icon-menu:before { content: '\f0c9'; } /* 'ļ' */ | ||||
r3882 | .icon-sort:before { content: '\f0dc'; } /* 'ļ' */ | |||
r3680 | .icon-paste:before { content: '\f0ea'; } /* 'ļŖ' */ | |||
.icon-doc-text:before { content: '\f0f6'; } /* 'ļ¶' */ | ||||
.icon-plus-squared:before { content: '\f0fe'; } /* 'ļ¾' */ | ||||
r3882 | .icon-angle-left:before { content: '\f104'; } /* 'ļ' */ | |||
.icon-angle-right:before { content: '\f105'; } /* 'ļ ' */ | ||||
.icon-angle-up:before { content: '\f106'; } /* 'ļ' */ | ||||
.icon-angle-down:before { content: '\f107'; } /* 'ļ' */ | ||||
.icon-circle-empty:before { content: '\f10c'; } /* 'ļ' */ | ||||
.icon-circle:before { content: '\f111'; } /* 'ļ' */ | ||||
.icon-folder-empty:before { content: '\f114'; } /* 'ļ' */ | ||||
.icon-folder-open-empty:before { content: '\f115'; } /* 'ļ' */ | ||||
.icon-code:before { content: '\f121'; } /* 'ļ”' */ | ||||
.icon-info:before { content: '\f129'; } /* 'ļ©' */ | ||||
r3680 | .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'; } /* 'ļ' */ | ||||
r3760 | .icon-history:before { content: '\f1da'; } /* 'ļ' */ | |||
r3882 | .icon-circle-thin:before { content: '\f1db'; } /* 'ļ' */ | |||
r3680 | .icon-sliders:before { content: '\f1de'; } /* 'ļ' */ | |||
.icon-trash:before { content: '\f1f8'; } /* 'ļø' */ | ||||
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); } | |||
r4595 | .icon-arrow_down:before { &:extend(.icon-down:before); } | |||
r3680 | .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); } | ||||
r3882 | .icon-wide-mode:before { &:extend(.icon-sort:before); } | |||
.icon-flag-filled-red:before { &:extend(.icon-flag-filled:before); } | ||||
r4026 | .icon-user-group-alt:before { &:extend(.icon-group:before); } | |||
r1937 | ||||
// TRANSFORM | ||||
.icon-merge:before {transform: rotate(180deg);} | ||||
r3882 | .icon-wide-mode:before {transform: rotate(90deg);} | |||
r4485 | .icon-options:before {transform: rotate(90deg);} | |||
r4595 | .icon-down:before {transform: rotate(180deg);} | |||
r1937 | ||||
// -- 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 } | ||||
r3882 | .icon-flag-filled-red { color: @color5 !important; } | |||
r4300 | .icon-filled-red { color: @color5 !important; } | |||
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; | ||||
} | ||||