Feature #23980 » 0003-Replace-more-icons-to-svg.patch
| app/assets/stylesheets/application.css | ||
|---|---|---|
|
:root {
|
||
|
--color-icon: #169;
|
||
|
--icon-bg-angle-up: url(/icons/bg-angle-up.svg);
|
||
|
--icon-bg-angle-down: url(/icons/bg-angle-down.svg);
|
||
|
--icon-bg-angle-left: url(/icons/bg-angle-left.svg);
|
||
|
--icon-bg-angle-right: url(/icons/bg-angle-right.svg);
|
||
|
--icon-bg-magnifier: url(/icons/bg-magnifier.svg);
|
||
|
}
|
||
|
html, body { min-height: 100vh; }
|
||
|
html {overflow-y:scroll;}
|
||
|
body { font-family: Verdana, sans-serif; font-size: 12px; color:#333; margin: 0; padding: 0; min-width: 900px; }
|
||
| ... | ... | |
|
#sidebar a.selected:hover {text-decoration:none;}
|
||
|
#sidebar .query.default {font-weight: bold;}
|
||
|
#admin-menu a {line-height:1.7em;}
|
||
|
#admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;}
|
||
|
a.collapsible {padding-left: 12px; }
|
||
| ... | ... | |
|
margin:0 !important;
|
||
|
vertical-align:middle;
|
||
|
color:#555;
|
||
|
background:#fff url(/arrow_down.png) no-repeat 97% 50%;
|
||
|
background:#fff var(--icon-bg-angle-down) no-repeat 97% 50% / 12px 12px;
|
||
|
}
|
||
|
#project-jump .drdn.expanded .drdn-trigger {background-image:url(/arrow_up.png);}
|
||
|
#project-jump.drdn.expanded .drdn-trigger {background-image:var(--icon-bg-angle-up);}
|
||
|
#project-jump .drdn-content {width:280px;}
|
||
|
#project-jump .drdn-items>* {color:#555 !important;}
|
||
|
#project-jump .drdn-items>a:hover {background-color:#759FCF; color:#fff !important;}
|
||
| ... | ... | |
|
tr.project td.name a { white-space:nowrap; }
|
||
|
tr.project.closed, tr.project.archived { color: #aaa; }
|
||
|
tr.project.closed a, tr.project.archived a { color: #aaa; }
|
||
|
tr.project td.name a + .icon {margin-left:3px}
|
||
|
tr.issue { text-align: center; white-space: nowrap; }
|
||
|
tr.issue td.subject, tr.issue td.parent-subject, tr.issue td.category, td.assigned_to, td.last_updated_by, tr.issue td.string, tr.issue td.text, tr.issue td.list, tr.issue td.relations, tr.issue td.parent, tr.issue td.watcher_users { white-space: normal; }
|
||
| ... | ... | |
|
table.issues td.block_column span {font-weight: bold; display: block; margin-bottom: 4px;}
|
||
|
table.issues td.block_column pre {white-space:normal;}
|
||
|
tr.idnt td.subject, tr.idnt td.name {background: url(/arrow_right.png) no-repeat 2px 50%;}
|
||
|
tr.idnt td.subject, tr.idnt td.name {background: var(--icon-bg-angle-right) no-repeat 2px 50% / 12px 12px;}
|
||
|
tr.idnt-1 td.subject, tr.idnt-1 td.name {padding-left: 24px; background-position: 8px 50%;}
|
||
|
tr.idnt-2 td.subject, tr.idnt-2 td.name {padding-left: 40px; background-position: 24px 50%;}
|
||
|
tr.idnt-3 td.subject, tr.idnt-3 td.name {padding-left: 56px; background-position: 40px 50%;}
|
||
| ... | ... | |
|
tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; }
|
||
|
tr.member td.icon-user, #principals_for_new_member .icon-user {background:transparent;}
|
||
|
tr.member td.icon-user::before, #principals_for_new_member .icon-user::before {width:0;}
|
||
|
tr.user td {width:13%;white-space: nowrap;}
|
||
|
td.username, td.firstname, td.lastname, td.email {text-align:left !important;}
|
||
| ... | ... | |
|
a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
|
||
|
table.boards a.board { background: url(/comment.png) no-repeat 0% 50%; padding-left: 20px; }
|
||
|
table.boards a.board { display: inline-flex }
|
||
|
table.boards a.board::before {
|
||
|
content: "";
|
||
|
display: flex;
|
||
|
width:14px;
|
||
|
height: 14px;
|
||
|
background-color: var(--color-icon);
|
||
|
margin-right: 3px;
|
||
|
-webkit-mask-repeat: no-repeat;
|
||
|
-webkit-mask-image: url(/icons/comment.svg);
|
||
|
mask-repeat: no-repeat;
|
||
|
mask-image: url(/icons/comment.svg);
|
||
|
}
|
||
|
table.boards td.last-message {text-align:left;font-size:80%;}
|
||
|
div.table-list.boards .table-list-cell.name {width: 30%;}
|
||
| ... | ... | |
|
-o-appearance: none;
|
||
|
appearance: none;
|
||
|
background-color: #fff;
|
||
|
background-image: url(/arrow_down.png);
|
||
|
background-image: var(--icon-bg-angle-down);
|
||
|
background-repeat: no-repeat;
|
||
|
background-position: calc(100% - 7px) 50%;
|
||
|
background-size: 12px;
|
||
|
padding-right: 20px;
|
||
|
}
|
||
|
input[type="file"] {border: 0; padding-left: 0; padding-right: 0; height: initial; background-color: initial; }
|
||
| ... | ... | |
|
#projects-index ul.projects div.description {
|
||
|
padding-top: 0.5em;
|
||
|
}
|
||
|
#projects-index a.icon-user, a.icon-bookmarked-project {padding-left:0; padding-right:20px; background-position:98% 50%;}
|
||
|
#projects-index a.icon-user.icon-bookmarked-project {
|
||
|
background-image: url(/tag_blue.png), url(/user.png);
|
||
|
background-position: bottom 0px right 0px, bottom 0px right 20px;
|
||
|
padding-right: 40px;
|
||
|
padding-top: 4px;
|
||
|
}
|
||
|
#projects-index a.project + .icon {margin-left:3px}
|
||
|
#notified-projects>ul, #tracker_project_ids>ul, #custom_field_project_ids>ul {max-height:250px; overflow-y:auto;}
|
||
| ... | ... | |
|
.attachments_fields .ajax-waiting input.filename {background:url(/hourglass.png) no-repeat 0px 50%;}
|
||
|
.attachments_fields .ajax-loading input.filename {background:url(/loading.gif) no-repeat 0px 50%;}
|
||
|
.attachments_fields div.ui-progressbar { width: 100px; height:14px; margin: 2px 0 -5px 8px; display: inline-block; }
|
||
|
.attachments_fields span {display: inline-flex;align-items: center}
|
||
|
.attachments_fields span::before {
|
||
|
content: "";
|
||
|
display: flex;
|
||
|
width:14px;
|
||
|
height: 14px;
|
||
|
background-color: var(--color-icon);
|
||
|
margin-right: 3px;
|
||
|
-webkit-mask-repeat: no-repeat;
|
||
|
-webkit-mask-image: url(/icons/attachment.svg);
|
||
|
mask-repeat: no-repeat;
|
||
|
mask-image: url(/icons/attachment.svg);
|
||
|
}
|
||
|
a.remove-upload:hover {text-decoration:none !important;}
|
||
|
.existing-attachment.deleted .filename {text-decoration:line-through; color:#999 !important;}
|
||
| ... | ... | |
|
div.thumbnails img {margin: 3px; vertical-align: middle;}
|
||
|
#history div.thumbnails {margin-left: 2em;}
|
||
|
p.other-formats { text-align: right; font-size:0.9em; color: #666; }
|
||
|
p.other-formats { text-align: right; font-size:0.9em; color: #666;display: inline-flex; justify-content: flex-end; width:100%}
|
||
|
.other-formats span + span:before { content: "| "; }
|
||
|
a.atom { background: url(/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
|
||
|
a.atom {display: inline-flex;margin-left:3px }
|
||
|
a.atom::before {
|
||
|
content: "";
|
||
|
display: flex;
|
||
|
width:14px;
|
||
|
height: 14px;
|
||
|
background-color: var(--color-icon);
|
||
|
margin-right: 3px;
|
||
|
-webkit-mask-repeat: no-repeat;
|
||
|
-webkit-mask-image: url(/icons/atom.svg);
|
||
|
mask-repeat: no-repeat;
|
||
|
mask-image: url(/icons/atom.svg);
|
||
|
}
|
||
|
em.info {font-style:normal;display:block;font-size:90%;color:#888;}
|
||
|
em.info.error {padding-left:20px; background:url(/exclamation.png) no-repeat 0 50%;}
|
||
|
em.info.error::before {
|
||
|
content: "";
|
||
|
display: inline-block;
|
||
|
margin-right: 3px;
|
||
|
width:14px;
|
||
|
height: 14px;
|
||
|
background-color: var(--color-icon);
|
||
|
-webkit-mask-repeat: no-repeat;
|
||
|
-webkit-mask-image: url(/icons/error.svg);
|
||
|
mask-repeat: no-repeat;
|
||
|
mask-image: url(/icons/error.svg);
|
||
|
}
|
||
|
textarea.text_cf {width:95%; resize:vertical;}
|
||
|
input.string_cf, input.link_cf {width:95%;}
|
||
| ... | ... | |
|
input#principal_search, input#user_search {width:90%}
|
||
|
.roles-selection label {display:inline-block; width:210px;}
|
||
|
input.autocomplete {
|
||
|
background: #fff url(/magnifier.png) no-repeat 2px 50%; padding-left:20px !important;
|
||
|
background: #fff var(--icon-bg-magnifier) no-repeat 2px 50% / 14px 14px; padding-left:20px !important;
|
||
|
}
|
||
|
input.autocomplete.ajax-loading {
|
||
|
background-image: url(/loading.gif);
|
||
|
}
|
||
| ... | ... | |
|
div.flash {margin-top: 8px;}
|
||
|
div.flash::before, #errorExplanation::before {
|
||
|
content: "";
|
||
|
display: inline-block;
|
||
|
margin-right: 3px;
|
||
|
width:16px;
|
||
|
height: 16px;
|
||
|
background-color: var(--color-icon);
|
||
|
-webkit-mask-repeat: no-repeat;
|
||
|
-webkit-mask-image: var(--icon-image);
|
||
|
mask-repeat: no-repeat;
|
||
|
mask-image: var(--icon-image);
|
||
|
}
|
||
|
div.flash.error::before, #errorExplanation::before, .conflict::before {
|
||
|
--color-icon: #ec0b19;
|
||
|
--icon-image: url(/icons/error.svg);
|
||
|
}
|
||
|
div.flash.error, #errorExplanation {
|
||
|
background: url(/exclamation.png) 8px 50% no-repeat;
|
||
|
background-color: #ffe3e3;
|
||
|
border-color: #d88;
|
||
|
color: #880000;
|
||
|
}
|
||
|
div.flash.notice::before {
|
||
|
--color-icon: #55ab4f;
|
||
|
--icon-image: url(/icons/checked.svg);
|
||
|
}
|
||
|
div.flash.notice {
|
||
|
background: url(/true.png) 8px 5px no-repeat;
|
||
|
background-color: #dfffdf;
|
||
|
border-color: #9fcf9f;
|
||
|
color: #005f00;
|
||
|
}
|
||
|
div.flash.warning::before, .conflict::before {
|
||
|
--color-icon: #ffae42;
|
||
|
--icon-image: url(/icons/warning.svg);
|
||
|
}
|
||
|
div.flash.warning, .conflict {
|
||
|
background: url(/warning.png) 8px 5px no-repeat;
|
||
|
background-color: #F3EDD1;
|
||
|
border-color: #eadbbc;
|
||
|
color: #A6750C;
|
||
| ... | ... | |
|
.cal .calbody .icon {padding-top: 2px; padding-bottom: 3px;}
|
||
|
.cal .calbody.nwday:not(.odd) {background-color:#f1f1f1;}
|
||
|
.cal .starting a.issue, p.cal.legend .starting {background: url(/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
|
||
|
.cal .ending a.issue, p.cal.legend .ending {background: url(/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
|
||
|
.cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
|
||
|
p.cal.legend span {display:block;}
|
||
|
.cal a.issue::before, p.cal.legend span::before {
|
||
|
content: "";
|
||
|
display: inline-flex;
|
||
|
width:16px;
|
||
|
height: 16px;
|
||
|
margin-right: 3px;
|
||
|
background-color: var(--color-icon);
|
||
|
-webkit-mask-repeat: no-repeat;
|
||
|
-webkit-mask-image: var(--icon-image);
|
||
|
mask-repeat: no-repeat;
|
||
|
mask-image: var(--icon-image);
|
||
|
vertical-align: bottom;
|
||
|
}
|
||
|
.cal .starting a.issue::before, p.cal.legend .starting::before {--color-icon: #55ab4f; --icon-image: url(/icons/bullet-go.svg)}
|
||
|
.cal .ending a.issue::before, p.cal.legend .ending::before {--color-icon: #ec0b19;--icon-image: url(/icons/bullet-end.svg)}
|
||
|
.cal .starting.ending a.issue::before, p.cal.legend .starting.ending::before {--color-icon: #ec0b19;--icon-image: url(/icons/bullet-go-end.svg)}
|
||
|
p.cal.legend span { display:flex; }
|
||
|
.controller-calendars p.buttons {margin-top: unset;}
|
||
|
/***** Tooltips ******/
|
||
| ... | ... | |
|
button.tab-left:focus, button.tab-right:focus {
|
||
|
outline: 0;
|
||
|
}
|
||
|
button.tab-left::before, button.tab-right::before {
|
||
|
content: "";
|
||
|
display: inline-block;
|
||
|
width:14px;
|
||
|
height: 14px;
|
||
|
background-color: #666;
|
||
|
-webkit-mask-repeat: no-repeat;
|
||
|
-webkit-mask-position: 50% 50%;
|
||
|
-webkit-mask-image: var(--icon-image);
|
||
|
mask-repeat: no-repeat;
|
||
|
mask-position: 50% 50%;
|
||
|
mask-image: var(--icon-image);
|
||
|
}
|
||
|
button.tab-left {
|
||
|
right: 28px;
|
||
|
background: #eeeeee url(/arrow_left.png) no-repeat 50% 50%;
|
||
|
border-top-left-radius:3px;
|
||
|
}
|
||
|
button.tab-left::before {
|
||
|
--icon-image: var(--icon-bg-angle-left)
|
||
|
}
|
||
|
button.tab-right {
|
||
|
right: 4px;
|
||
|
background: #eeeeee url(/arrow_right.png) no-repeat 50% 50%;
|
||
|
border-top-right-radius:3px;
|
||
|
}
|
||
|
button.tab-right::before {
|
||
|
--icon-image: var(--icon-bg-angle-right)
|
||
|
}
|
||
|
button.tab-left.disabled, button.tab-right.disabled {
|
||
|
background-color: #ccc;
|
||
| ... | ... | |
|
div.wiki .wiki-class-noborder, div.wiki .wiki-class-noborder td, div.wiki .wiki-class-noborder th {border:0;}
|
||
|
div.wiki .external {
|
||
|
background-position: 0% 60%;
|
||
|
background-repeat: no-repeat;
|
||
|
padding-left: 12px;
|
||
|
background-image: url(/external.png);
|
||
|
div.wiki .external::before {
|
||
|
content: "";
|
||
|
display: inline-block;
|
||
|
margin-right: 3px;
|
||
|
width:10px;
|
||
|
height: 10px;
|
||
|
background-color: #999;
|
||
|
-webkit-mask-repeat: no-repeat;
|
||
|
-webkit-mask-image: url(/icons/external.svg);
|
||
|
mask-repeat: no-repeat;
|
||
|
mask-image: url(/icons/external.svg);
|
||
|
}
|
||
|
div.wiki a {word-wrap: break-word;}
|
||
| ... | ... | |
|
.repository-graph {width:75%; margin-bottom:2em;}
|
||
|
img.filecontent.image {background-image: url(/transparent.png);}
|
||
|
img.filecontent.image {mask-image: url(/transparent.png);}
|
||
|
/* Custom JQuery styles */
|
||
|
.ui-autocomplete, .ui-menu {
|
||
| app/assets/stylesheets/context_menu.css | ||
|---|---|---|
|
#context-menu { position: absolute; z-index: 40; font-size: 0.9em;}
|
||
|
#context-menu ul, #context-menu li, #context-menu a {
|
||
|
display:block;
|
||
|
margin:0;
|
||
|
padding:0;
|
||
|
border:0;
|
||
| ... | ... | |
|
#context-menu a {
|
||
|
text-decoration:none !important;
|
||
|
padding: 2px 0px 2px 20px;
|
||
|
padding: 2px 0px 2px 4px;
|
||
|
width:100%; /* IE */
|
||
|
}
|
||
|
#context-menu a.submenu,
|
||
|
#context-menu .folder ul li a:not(.icon) {
|
||
|
padding: 2px 0px 2px 20px;
|
||
|
}
|
||
|
#context-menu li>a { width:auto; } /* others */
|
||
|
#context-menu a.disabled, #context-menu a.disabled:hover {color: #aaa;}
|
||
|
#context-menu li a.submenu { padding-right:16px; background:url("/arrow_right.png") right no-repeat; }
|
||
|
#context-menu li a.submenu { padding-right:16px; background:var(--icon-bg-angle-right) right / 12px 12px no-repeat;display: block }
|
||
|
#context-menu li:hover { border:1px solid #628db6; background-color:#eef5fd; border-radius:3px; }
|
||
|
#context-menu a:hover {color:#2A5685;}
|
||
|
#context-menu li.folder:hover { z-index:40; }
|
||
| app/assets/stylesheets/context_menu_rtl.css | ||
|---|---|---|
|
#context-menu li.folder ul { left:auto; right:168px; }
|
||
|
#context-menu li.folder>ul { left:auto; right:148px; }
|
||
|
#context-menu li a.submenu { background:url("/arrow_left.png") left no-repeat; }
|
||
|
#context-menu li a.submenu { background:var(--icon-arrow-left) left no-repeat; background-size: 12px 12px }
|
||
|
#context-menu a {
|
||
|
background-position: 100% 40%;
|
||
| app/assets/stylesheets/jstoolbar.css | ||
|---|---|---|
|
border-width: 1px;
|
||
|
border-color: #ddd;
|
||
|
background-color : #f7f7f7;
|
||
|
background-position : 50% 50%;
|
||
|
background-repeat: no-repeat;
|
||
|
cursor:pointer;
|
||
|
opacity:0.7;
|
||
|
}
|
||
| ... | ... | |
|
background-color: #e5e5e5;
|
||
|
opacity:1;
|
||
|
}
|
||
|
.jstElements button span {
|
||
|
display : none;
|
||
|
}
|
||
|
.jstElements span {
|
||
|
display : inline;
|
||
|
}
|
||
| ... | ... | |
|
border-collapse: collapse;
|
||
|
}
|
||
|
/* Buttons
|
||
|
-------------------------------------------------------- */
|
||
|
.jstb_strong {
|
||
|
background-image: url(/jstoolbar/bt_strong.png);
|
||
|
}
|
||
|
.jstb_em {
|
||
|
background-image: url(/jstoolbar/bt_em.png);
|
||
|
}
|
||
|
.jstb_ins {
|
||
|
background-image: url(/jstoolbar/bt_ins.png);
|
||
|
}
|
||
|
.jstb_del {
|
||
|
background-image: url(/jstoolbar/bt_del.png);
|
||
|
}
|
||
|
.jstb_code {
|
||
|
background-image: url(/jstoolbar/bt_code.png);
|
||
|
}
|
||
|
.jstb_h1 {
|
||
|
background-image: url(/jstoolbar/bt_h1.png);
|
||
|
}
|
||
|
.jstb_h2 {
|
||
|
background-image: url(/jstoolbar/bt_h2.png);
|
||
|
}
|
||
|
.jstb_h3 {
|
||
|
background-image: url(/jstoolbar/bt_h3.png);
|
||
|
}
|
||
|
.jstb_ul {
|
||
|
background-image: url(/jstoolbar/bt_ul.png);
|
||
|
}
|
||
|
.jstb_ol {
|
||
|
background-image: url(/jstoolbar/bt_ol.png);
|
||
|
.jstElements button span::before {
|
||
|
content: "";
|
||
|
display: inline-block;
|
||
|
visibility: visible;
|
||
|
margin-right: 3px;
|
||
|
width:14px;
|
||
|
height: 14px;
|
||
|
mask-repeat: no-repeat;
|
||
|
mask-image: var(--icon-image);
|
||
|
margin-left: -7px;
|
||
|
}
|
||
|
.jstb_tl {
|
||
|
background-image: url(/jstoolbar/bt_tl.png);
|
||
|
.jstElements button span {
|
||
|
display: inline-block;
|
||
|
visibility: hidden;
|
||
|
width: 0;
|
||
|
}
|
||
|
.jstb_bq {
|
||
|
background-image: url(/jstoolbar/bt_bq.png);
|
||
|
/* Buttons
|
||
|
-------------------------------------------------------- */
|
||
|
.jstb_strong span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/strong.svg)}
|
||
|
.jstb_em span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/em.svg)}
|
||
|
.jstb_ins span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/ins.svg)}
|
||
|
.jstb_del span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/del.svg)}
|
||
|
.jstb_ul span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/ul.svg)}
|
||
|
.jstb_ol span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/ol.svg)}
|
||
|
.jstb_tl span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/tl.svg)}
|
||
|
.jstb_bq span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/bq.svg)}
|
||
|
.jstb_unbq span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/unbq.svg)}
|
||
|
.jstb_table span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/table.svg)}
|
||
|
.jstb_precode span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/precode.svg)}
|
||
|
.jstb_link span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/link.svg)}
|
||
|
.jstb_img span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/img.svg)}
|
||
|
.jstb_help span::before { background-color: #333; --icon-image: url(/icons/jstoolbar/help.svg)}
|
||
|
button.jstb_code {
|
||
|
padding-top: 0
|
||
|
}
|
||
|
.jstb_unbq {
|
||
|
background-image: url(/jstoolbar/bt_bq_remove.png);
|
||
|
button.jstb_h1, button.jstb_h2, button.jstb_h3, button.jstb_pre {
|
||
|
padding-top: 1px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
.jstb_pre {
|
||
|
background-image: url(/jstoolbar/bt_pre.png);
|
||
|
button.jstb_h1::before, button.jstb_h2::before, button.jstb_h3::before {
|
||
|
font-size: 13px;
|
||
|
font-weight: 700;
|
||
|
}
|
||
|
.jstb_precode {
|
||
|
background-image: url(/jstoolbar/bt_precode.png);
|
||
|
.jstb_code::before {
|
||
|
content: "C";
|
||
|
font-size: 16px;
|
||
|
font-weight: 700;
|
||
|
}
|
||
|
.jstb_link {
|
||
|
background-image: url(/jstoolbar/bt_link.png);
|
||
|
.jstb_h1::before {
|
||
|
content: "H1";
|
||
|
}
|
||
|
.jstb_img {
|
||
|
background-image: url(/jstoolbar/bt_img.png);
|
||
|
.jstb_h2::before {
|
||
|
content: "H2";
|
||
|
}
|
||
|
.jstb_table {
|
||
|
background-image: url(/jstoolbar/bt_table.png);
|
||
|
.jstb_h3::before {
|
||
|
content: "H3";
|
||
|
}
|
||
|
.jstb_help {
|
||
|
background-image: url(/help.png);
|
||
|
.jstb_pre::before {
|
||
|
content: "pre";
|
||
|
font-size: 12px;
|
||
|
font-weight: 700;
|
||
|
}
|
||
| app/assets/stylesheets/rtl.css | ||
|---|---|---|
|
/***** Links *****/
|
||
|
#sidebar a.selected {padding:1px 2px 2px 3px; margin-left:0px; margin-right:-2px;}
|
||
|
#admin-menu a.selected {padding-left:0!important; padding-right:20px!important; background-position:right 2px 40%;}
|
||
|
a.collapsible {padding-left:0px; padding-right:12px; background: url(/arrow_down.png) no-repeat right 0px top 50%;}
|
||
|
a.collapsible.collapsed {background-image: url(/arrow_left.png);}
|
||
|
a.collapsible {padding-left:0px; padding-right:12px; background: var(--icon-bg-angle-down) no-repeat right 0px top 50%;}
|
||
|
a.collapsible.collapsed {background-image: var(--icon-bg-angle-left);}
|
||
|
/***** Tables *****/
|
||
|
table.list td {padding-left:0px; padding-right:10px;}
|
||
| ... | ... | |
|
div.issue span.private, div.journal span.private {margin-right:0px; margin-left:2px;}
|
||
|
fieldset.collapsible>legend {padding-left:0px; padding-right:18px; background: url(/arrow_down.png) no-repeat right 50%;}
|
||
|
fieldset.collapsible.collapsed>legend { background-image: url(/arrow_left.png); }
|
||
|
fieldset.collapsible>legend::before {margin-left: 6px; padding-left:0px}
|
||
|
.icon-collapsed::before { mask-image: url(/icons/angle-left.svg)}
|
||
|
fieldset#filters td.add-filter {text-align:left; }
|
||
| ... | ... | |
|
.check_box_group label {margin-right: 0px !important; text-align: right;}
|
||
|
.attachments_fields input.description {margin-left:0px; margin-right:4px;}
|
||
|
.attachments_fields input.filename {background:url(/attachment.png) no-repeat right 1px top 50%; padding-left:0px; padding-right:18px;}
|
||
|
.attachments_fields input.filename {padding-left:0px; padding-right:18px;}
|
||
|
.attachments_fields .ajax-waiting input.filename {background:url(/hourglass.png) no-repeat right top 50%;}
|
||
|
.attachments_fields .ajax-loading input.filename {background:url(/loading.gif) no-repeat right top 50%;}
|
||
|
.attachments_fields div.ui-progressbar {margin: 2px 8px -5px 0;}
|
||
|
a.remove-upload {background: url(/delete.png) no-repeat right 1px top 50%; padding-left:0px; padding-right:16px;}
|
||
|
div.thumbnails div {margin-right:0px; margin-left:2px;}
|
||
|
p.other-formats { text-align:left; }
|
||
|
a.atom { background: url(/feed.png) no-repeat right 1px top 50%; padding: 2px 16px 3px 0; }
|
||
|
em.info.error {padding-left:0; padding-right:20px; background:url(/exclamation.png) no-repeat right 50%;}
|
||
|
a.atom { padding: 2px 16px 3px 0; }
|
||
|
a.atom::before { margin-left: 3px; }
|
||
|
table.members td.name {padding-right: 20px; padding-left:0; }
|
||
|
table.members td.group, table.members td.groupnonmember, table.members td.groupanonymous {background: url(/group.png) no-repeat right 50%;}
|
||
|
input.autocomplete {
|
||
|
background: #fff url(/magnifier.png) no-repeat right 2px top 50%; padding-left:0px !important; padding-right:20px !important;
|
||
|
background: #fff var(--icon-bg-magnifier) no-repeat right 2px top 50% / 14px 14px; padding-left:0px !important; padding-right:20px !important;
|
||
|
}
|
||
|
.role-visibility {padding-right:2em; padding-left:0;}
|
||
| ... | ... | |
|
padding: 4px 30px 4px 4px;
|
||
|
}
|
||
|
div.flash.error, #errorExplanation {
|
||
|
background: url(/exclamation.png) right 8px top 50% no-repeat;
|
||
|
div.flash.error::before, #errorExplanation::before {
|
||
|
margin-left: 3px;
|
||
|
}
|
||
|
div.flash.notice {
|
||
|
background: url(/true.png) right 8px top 5px no-repeat;
|
||
|
div.flash.notice::before {
|
||
|
margin-left: 3px;
|
||
|
}
|
||
|
div.flash.warning, .conflict {
|
||
|
background: url(/warning.png) right 8px top 5px no-repeat;
|
||
|
div.flash.warning::before, .conflict::before {
|
||
|
margin-left: 3px;
|
||
|
text-align:right;
|
||
|
}
|
||
| ... | ... | |
|
/***** Calendar *****/
|
||
|
table.cal td p.day-num {text-align:left;}
|
||
|
table.cal .starting a, p.cal.legend .starting {background: url(/bullet_go.png) no-repeat right -1px top -2px; padding-left:0px; padding-right:16px;}
|
||
|
table.cal .ending a, p.cal.legend .ending {background: url(/bullet_end.png) no-repeat right -1px top -2px; padding-left:0px; padding-right:16px;}
|
||
|
table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(/bullet_diamond.png) no-repeat right -1px top -2px; padding-left:0px; padding-right:16px;}
|
||
|
/***** Tooltips ******/
|
||
|
.tooltip span.tip{text-align:right;}
|
||
| ... | ... | |
|
padding-left:0; padding-right:20px;
|
||
|
}
|
||
|
.icon::before,.icon-only::before {
|
||
|
margin-right: unset;
|
||
|
margin-left: 3px;
|
||
|
}
|
||
|
div.issue img.gravatar {
|
||
|
float: right;
|
||
|
margin: 0 0 0 6px;
|
||
| app/assets/stylesheets/scm.css | ||
|---|---|---|
|
li.change {
|
||
|
list-style-type:none;
|
||
|
background-image: url(/bullet_black.png);
|
||
|
background-position: 1px 1px;
|
||
|
background-repeat: no-repeat;
|
||
|
padding-top: 1px;
|
||
|
padding-bottom: 1px;
|
||
|
padding-left: 20px;
|
||
|
margin: 0;
|
||
|
}
|
||
|
li.change.folder { background-image: url(/folder_open.png); }
|
||
|
li.change.folder.change-A { background-image: url(/folder_open_add.png); }
|
||
|
li.change.folder.change-M { background-image: url(/folder_open_orange.png); }
|
||
|
li.change.change-A { background-image: url(/bullet_add.png); }
|
||
|
li.change.change-M { background-image: url(/bullet_orange.png); }
|
||
|
li.change.change-C { background-image: url(/bullet_blue.png); }
|
||
|
li.change.change-R { background-image: url(/bullet_purple.png); }
|
||
|
li.change.change-D { background-image: url(/bullet_delete.png); }
|
||
|
li.change::before {
|
||
|
content: "";
|
||
|
display: inline-block;
|
||
|
margin-right: 3px;
|
||
|
width:12px;
|
||
|
height: 12px;
|
||
|
--color-change: #000;
|
||
|
--icon-change: url(/icons/error.svg);
|
||
|
background-color: var(--color-change);
|
||
|
mask-image: var(--icon-change);
|
||
|
mask-size: 10px 10px;
|
||
|
mask-position: 1px 1px;
|
||
|
mask-repeat: no-repeat;
|
||
|
}
|
||
|
li.change.folder::before { --color-change: var(--color-link-icon); --icon-change: url(/icons/folder-open.svg) }
|
||
|
li.change.folder.change-A::before { --color-change: var(--color-link-icon); --icon-change: url(/icons/folder-open.svg) }
|
||
|
li.change.folder.change-M::before { --color-change: var(--color-link-icon); --icon-change: url(/icons/folder-open.svg) }
|
||
|
li.change.change-A::before { --color-change: green; --icon-change: url(/icons/add.svg) }
|
||
|
li.change.change-M::before { --color-change: orange; --icon-change: url(/icons/rev-change.svg) }
|
||
|
li.change.change-C::before { --color-change: blue; --icon-change: url(/icons/copy.svg) }
|
||
|
li.change.change-R::before { --color-change: purple; --icon-change: url(/icons/rev-move.svg) }
|
||
|
li.change.change-D::before { --color-change: red; --icon-change: url(/icons/clear-query.svg) }
|
||
|
li.change .copied-from { font-style: italic; color: #999; font-size: 0.9em; }
|
||
|
li.change .copied-from:before { content: " - "}
|
||
| app/helpers/projects_helper.rb | ||
|---|---|---|
|
bookmarked_project_ids = User.current.bookmarked_project_ids
|
||
|
render_project_nested_lists(projects) do |project|
|
||
|
classes = project.css_classes.split
|
||
|
classes += %w(icon icon-user my-project) if User.current.member_of?(project)
|
||
|
classes += %w(icon icon-bookmarked-project) if bookmarked_project_ids.include?(project.id)
|
||
|
s = link_to_project(project, {}, :class => classes.uniq.join(' '))
|
||
|
if project.description.present?
|
||
|
s << content_tag('div', textilizable(project.short_description, :project => project), :class => 'wiki description')
|
||
|
end
|
||
|
s << tag.span(class: 'icon icon-user my-project', title: l(:label_my_projects)) if User.current.member_of?(project)
|
||
|
s << tag.span(class: 'icon icon-bookmarked-project', title: l(:label_my_bookmarks)) if bookmarked_project_ids.include?(project.id)
|
||
|
s << tag.div(textilizable(project.short_description, :project => project), :class => 'wiki description') if project.description.present?
|
||
|
s
|
||
|
end
|
||
|
end
|
||