From b95f47005679e25e2da67e0747edfec81d973cfe Mon Sep 17 00:00:00 2001 From: Tom <tw201207@gmail.com> Date: Thu, 13 Nov 2014 02:41:25 -0500 Subject: [PATCH] Typo in comment, and optional semicolon in JS --- src/main/resources/gitblit.css | 1069 +++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 966 insertions(+), 103 deletions(-) diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css index 9ee0a73..bdab205 100644 --- a/src/main/resources/gitblit.css +++ b/src/main/resources/gitblit.css @@ -1,6 +1,6 @@ body { - /* 50px to start the container 10px below the navbar */ - padding-top: 60px; + /* 47px is the header height */ + padding-top: 47px; } footer { @@ -29,11 +29,75 @@ outline: none; } -[class^="icon-"], [class*=" icon-"] a i { +a.btn i { /* override for a links that look like bootstrap buttons */ vertical-align: text-bottom; } +a.bugtraq { + font-weight: bold; +} + +.gray { + color: #888; +} + +.octicon-centered { + text-align: center; + width: 16px; +} + +tr:hover .octicon-centered { + color:#eee; +} + +.label a.bugtraq { + font-weight: normal; + color: white; +} + +.lwbadge { + color: #888; + font-size: 11px; + background-color: #e8e8e8; + padding: 1px 7px 2px; + -webkit-border-radius: 9px; + -moz-border-radius: 9px; + border-radius: 9px; + line-height: 14px; + white-space: nowrap; + vertical-align: baseline; +} + +[class^="icon-"], [class*=" icon-"] i { + /* override for a links that look like bootstrap buttons */ + vertical-align: text-bottom; +} + +.pagination-small, .pagination-small ul { + margin: 0px !important; +} + +.pagination-small ul { + border-right: 1px solid #ddd; +} + +.pagination-small ul > li > a, +.pagination-small ul > li > span { + padding: 2px 8px; + font-size: 13px; + line-height: 22px; + border: 1px solid #ddd; + border-right: 0px; + border-radius: 0px !important; + float: left; +} + +.btn.disabled em, .pagination-small ul > li > span em { + font-style: normal; + color: #444; +} + hr { margin-top: 10px; margin-bottom: 10px; @@ -54,7 +118,10 @@ } .navbar .brand { - padding: 10px 20px; + padding: 0px 10px 0px 20px; +} +.navbar .btn-navbar { + margin-top: 10px; } .navbar .pull-right { @@ -83,20 +150,26 @@ .navbar-inner { background-color: #002060; - background-repeat: none; background-image: none; - -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1); - -moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1); - box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1); - border-bottom: 2px solid #ff9900 !important; + box-shadow: none; + border-bottom: 1px solid #002060 !important; } .navbar ul li:focus, .navbar .active { - background-repeat:no-repeat; - background-image: url(arrow_page.png); - background-position: center bottom; - outline: 0; - padding-bottom:3px; + outline: 0; + padding-bottom: 1px; + border-bottom: 3px solid #ff9900; + margin-bottom: -1px; +} + +ul.nav { + border-color: #ccc; +} + +.nav-tabs > .active > a, +.nav-tabs > .active > a:hover { + border: 1px solid #ccc; + border-bottom-color: transparent; } .navbar .active a { @@ -119,33 +192,85 @@ color: #ffffff !important; } -.nav-pills > .active > a, .nav-pills > .active > a:hover { +.nav-pills > .active > a, .nav-pills > .active > a:hover, +.nav-list > .active > a, .nav-list > .active > a:hover { color: #fff; background-color: #002060; } -.repositorynavbar { - background-color: #fbfbfb; +div.reflog { + border-bottom: 1px solid #ddd; + margin-bottom: 5px; + padding-bottom: 5px; +} + +div.reflog .icon { + font-size: 42px; + line-height: 42px; +} + +div.reflog .when { + color: #aaa; +} + +div.reflog i { + font-size: 42px; + color: #bbb; + vertical-align: middle; +} + +div.reflog td.header { + padding-left: 7px; + vertical-align:middle; +} + +div.reflog td.commits { + padding-left: 7px; +} + +div.reflog tr.commit td { + vertical-align:top; + padding-left: 5px; +} + +div.reflog tr.commit img { + max-width: none; +} + +div.dashboardTitle { + font-size: 1.75em; + padding: 10px 0px 5px 0px; + margin: 10px 0px; border-bottom: 1px solid #ccc; - margin-top: -8px; +} + +div.dashboardTitle small { + color: #888; + font-size: 0.7em; +} + +.repositorynavbar { + background-color: #f8f8f8; + border-bottom: 1px solid #ccc; margin-bottom: 10px; } .repositorynavbar .title { - line-height: 32px; + padding: 10px 0px; } .repositorynavbar .repository { font-weight: bold; } -.repositorynavbar .project a, .repositorynavbar .repository a { +.title .repository a, .repositorynavbar .project a, .repositorynavbar .repository a { font-family: Helvetica,arial,freesans,clean,sans-serif; font-size: 22px; color: #002060; } -.repositorynavbar .repositorynavbar-inner { +.repositorynavbar .repositorynavbar-inner { + padding-top: 2px; } .repositorynavbar ul { @@ -181,6 +306,14 @@ .repositorynavbar ul li a:hover { background-color: inherit; text-decoration: underline; +} + +@media (max-width: 767px) { + .repositorynavbar { + margin-right: -20px; + margin-left: -20px; + padding: 0px 5px; + } } .btn-appmenu { @@ -426,7 +559,6 @@ border:0px; padding: 0; line-height: 1.35em; - vertical-align:top; } table { @@ -443,6 +575,60 @@ text-align: left; } +table.tickets { + border-bottom: 1px solid #ccc; +} + +table.tickets td.indicators { + width: 75px; + text-align: right; + padding-right: 5px; + color: #888; +} + +.ticketLabel, +table.tickets .label { + color: white; + font-weight: normal; + margin: 0px 2px; +} + +div.featureWelcome { + padding: 15px; + background-color: #fbfbfb; + border: 1px solid #ccc; + border-radius: 5px; +} + +div.featureWelcome div.icon { + color: #ccc; + font-size: 144px; +} + +li.dynamicQuery { + padding: 3px 0px; + margin: 1px 0px; + border-radius: 4px; +} + +li.dynamicQuery i { + color: rgba(255, 255, 255, 0.5); + padding-right: 5px; +} + +li.dynamicQuery a.active { + color: white; +} + +div.milestoneOverview { + color:#888; + border: 1px solid #ddd; + padding: 2px 5px; + text-align: center; + font-size: 11px; + background-color: #fbfbfb; +} + div.sourceview { overflow: hidden; } @@ -475,21 +661,29 @@ } /* CSS trick to workaround #link topOfWindow offset problem */ -#nums .num { - border-top: 160px solid transparent; - margin-top: -160px; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; +#nums .jump { + border-top: 50px solid transparent; + margin-top: -50px; + background: url(arrow_line.png) no-repeat scroll bottom right transparent; +} +#nums .jump:target { + border-left: 7px solid transparent; + margin-right: 3px; +} + +#lines .line { + padding-left: 5px; color: #888; } -#nums span:target { +#nums a:hover { background-color: #ffffbf; color: black; font-weight: bold; + border-top: 1px solid red; border-bottom: 1px solid red; + text-decoration: none; } #lines table { @@ -504,11 +698,6 @@ padding-left: 5px; } -#lines a:hover { - background-color: #ffffbf; - text-decoration: none; -} - #lines tr:hover { background-color: #ffffbf; } @@ -520,8 +709,250 @@ background-color: #fafafa; } +.diffstat { + padding: 1px 5px; + font-size: smaller; + background-color: #f5f5f5; + border: 1px solid #ccc; + color: #ccc; + font-weight:bold; + display: inline-block; +} +.diffstat-inline { + font-size: smaller; + color: #ccc; + font-weight:bold; +} +.diffstat .diffstat-total { + color: black; + border-right: 1px solid #ccc; + padding-right: 4px; + margin-right: 2px; +} + +.diffstat-inline .diffstat-total { + color: #999; + padding-right: 2px; +} + +.diffstat-segments { + vertical-align: baseline; +} + +.diffstat-insert { + color: #629E62; +} + +.diffstat-delete { + color: #B9583B; +} +.patch-group { + margin-bottom: 0px; + border: 1px solid #ccc; + background-color: #fbfbfb; +} + +.patch-group .accordion-inner { + padding: 0px; +} + +.ticket-meta-top { + padding: 0px 10px 10px 10px; +} + +.ticket-meta-middle { + border: 1px solid #ccc; + padding: 10px; + background-color: #fbfbfb; +} + +.ticket-meta-bottom { + border: 1px solid #ccc; + border-top: 0px; + padding: 10px; +} + +.ticket-title { + font-size: 20px; +} + +.ticket-number { + color: #ccc; + font-size: 20px; + font-weight: normal; +} + +.ticket-list-icon { + padding: 8px 0px 8px 8px !important; + width: 24px; + font-size: 24px; + vertical-align: middle !important; + color: #888; +} + +td.ticket-list-state { + vertical-align: middle; +} + +td.ticket-list-priority { + vertical-align: middle; +} + +.ticket-list-details { + font-size: 11px; + color: #888; +} + +div.ticket-text { + max-width: 600px; +} + +.ticket-text-editor { + height:7em; + border:0px; + border-radius: 0px; + border-top:1px solid #ccc; + margin-bottom:0px; + padding:4px; + background-color:#ffffff; + box-shadow: none; +} + +.indicator-large-dark { + font-size: 20px; + color: #888; +} + +.indicator-large-light { + font-size: 20px; + color: #bbb; +} + +.indicator-huge-light { + font-size: 48px; + color: #bbb; +} + +.attribution-emphasize { + font-weight: bold; +} + +.attribution-text { + color: #888; +} + +.attribution-border { +} + +.attribution-header { + background-color: #fbfbfb; + padding: 8px; + border: 1px solid #ccc; +} + +.attribution-header-pullright { + float: right; + text-align: right; + padding-right: 1px; +} + +.attribution-patch-pullright { + float: right; + text-align: right; + margin: 5px 10px; +} + +.attribution-date { + color: #999; + font-size: smaller; +} + +.attribution-link { + color: #999; + padding-left: 5px; +} + +.attribution-pullright { + float: right; + text-align: right; + padding-right: 8px; +} + +.attribution-triangle { + position: absolute; + margin-left: -23px; + margin-top: 11px; + height: 0px; + width: 0px; + border-image: none; + border: 10px solid transparent; + border-right: 13px solid #ddd; +} + +.attribution-comment { + padding: 10px 10px 0px 10px; + /*border: 1px solid #ccc; + border-top: 0px;*/ +} + +.ticket-simple-event { + padding: 5px 0px; +} + +.status-display { + text-align: center; + font-weight: bold; +} + +.status-change { + font-size: 1.0em; + text-shadow: none; + padding: 5px 10px !important; + font-weight: bold; + display: inline-block; + text-align: center; + width: 50px; + margin-right: 5px !important; +} + +.submit-info { + margin-bottom: 0px; + border-radius: 0px; +} + +.merge-panel { + padding: 5px 7px; + background-color: #fbfbfb; + color: #444 +} + +.merge-panel p.step { + margin: 10px 0px 5px; +} + +.gitcommand { + margin-top: 5px; + border: 1px solid #ccc; + background-color: #333 !important; + color: #ccc; + border-radius: 3px; + padding: 5px; + margin-bottom: 5px; + text-shadow: none; +} + +a.commit { + border: 1px solid #ccc; + border-radius: 3px; + background-color: #fbfbfb; + padding: 2px 4px; + line-heihgt:99%; + font-size: 11px; + text-transform: lowercase; +} + h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { color: #888; } @@ -578,6 +1009,11 @@ color: inherit; } +a.list-strikethrough { + text-decoration: line-through; + color: inherit; +} + a.list.subject { font-weight: bold; } @@ -598,6 +1034,12 @@ color: #008000; } +span.highlight { + background-color: rgb(255, 255, 100); + color: black; + padding: 0px 2px; +} + span.link { color: #888; } @@ -613,12 +1055,23 @@ font-size: 11px; } -span.repositorySwatch { - border-radius: 3px; - padding: 1px 4px 2px 4px; +span.activitySwatch { + border-radius: 3px; + padding: 1px 4px 2px 4px; color: #ffffff; vertical-align: center; } + +span.activitySwatch a { + color: inherit; +} + +span.repositorySwatch { + padding: 1px 1px 2px 1px; + color: #ffffff; + vertical-align: center; +} + span.repositorySwatch a { color: inherit; } @@ -635,11 +1088,17 @@ img.gravatar { background-color: #ffffff; - border: 1px solid #ddd; + /*border: 1px solid #ddd;*/ border-radius: 5px; padding: 2px; } +img.gravatar-round { + background-color: #ffffff; + border: 1px solid #ccc; + border-radius: 100%; +} + img.navbarGravatar { border: 1px solid #fff; } @@ -706,7 +1165,6 @@ padding: 3px; border: 1px solid #ddd; border-bottom: 0; - border-radius: 3px 3px 0 0; font-weight: bold; font-family: Helvetica,arial,freesans,clean,sans-serif; } @@ -724,9 +1182,6 @@ margin:0 0 2px; padding:7px 14px; border:1px solid #ddd; - border-radius: 3px; - -webkit-border-radius:3px; - -moz-border-radius:3px;border-radius:3px; } div.header a, div.commitHeader a { @@ -816,6 +1271,9 @@ .commit_message { padding: 8px; +} + +.topborder { border: solid #ddd; border-width: 1px 0px 0px; border-radius: 0px; @@ -892,19 +1350,6 @@ font-family: inherit; } -div.diff.hunk_header { - -moz-border-bottom-colors: none; - -moz-border-image: none; - -moz-border-left-colors: none; - -moz-border-right-colors: none; - -moz-border-top-colors: none; - border-color: #FFE0FF; - border-style: dotted; - border-width: 1px 0 0; - margin-top: 2px; - font-family: inherit; -} - span.diff.hunk_info { background-color: #FFEEFF; color: #990099; @@ -916,61 +1361,171 @@ font-family: inherit; } -div.diff.add2 { - background-color: #DDFFDD; - font-family: inherit; +.diff-cell { + margin: 0px; + padding: 0 2px; + border: 0; + border-left: 1px solid #bbb; } -div.diff.remove2 { +.add2 { + background-color: #DDFFDD; +} + +.remove2 { background-color: #FFDDDD; - font-family: inherit; } -div.diff table { +.context2 { + background-color: #FEFEFE; +} + +.trailingws-add { + background-color: #99FF99; +} + +.trailingws-sub { + background-color: #FF9999; +} + +div.diff > table { border-radius: 0; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; width: 100%; } -div.diff table th, div.diff table td { - margin: 0px; - padding: 0px; - font-family: monospace; - border: 0; -} - -div.diff table th { - background-color: #f0f0f0; +.diff-line { + background-color: #fbfbfb; text-align: center; color: #999; - padding-left: 5px; - padding-right: 5px; - width: 30px; + padding-left: 2px; + padding-right: 2px; + width: 3em; /* Font-size relative! */ + min-width: 3em; } -div.diff table th.header { - background-color: #D2C3AF; - border-right: 0px; - border-bottom: 1px solid #808080; - font-family: inherit; - font-size:0.9em; - color: black; - padding: 2px; - text-align: left; +.diff-line:before { + content: attr(data-lineno); } -div.diff table td.hunk_header { +.diff-state { + background-color: #fbfbfb; + text-align: center; + color: #999; + padding-left: 2px; + padding-right: 2px; + width: 0.5em; /* Font-size relative! */ +} + +.diff-state-add:before { + color: green; + font-weight: bold; + content: '+'; +} + +.diff-state-sub:before { + color: red; + font-weight: bold; + content: '-'; +} + +.hunk_header { background-color: #dAe2e5 !important; + border-left: 1px solid #bbb; border-top: 1px solid #bac2c5; border-bottom: 1px solid #bac2c5; color: #555; } -div.diff table td { - border-left: 1px solid #bbb; - background-color: #f5f5f5; +/* Image diffs. + Kudos to Lea Verou: http://lea.verou.me/2014/07/image-comparison-slider-with-pure-css/ + Slightly modified by Tom to allow moving the slider fully at the left edge of the images. */ +div.imgdiff { + margin: 5px 2px; + position: relative; + display: inline-block; + line-height: 0; + padding-left: 18px; } + +/* Note: width defines the initial position of the slider. Would have liked to have it + at 50% initially, but that fails on webkit, which refuses to go below the specified + width. (min-width won't help.) This is known behavior of webkit, see + https://codereview.chromium.org/239983004 and https://bugs.webkit.org/show_bug.cgi?id=72948 + There is a hack (setting width to 1px in :hover) to work around this, but that causes + ugly screen flicker and makes for a dreadful UI. We're better off setting the slider + to the far left initially. */ +div.imgdiff-left { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 18px; + max-width: 100%; + overflow: hidden; + resize: horizontal; + /* Some border that should be visible on most images, combined of a dark color (red) + and white in case the image was all red itself or used other colors that would make + a thin red line hard to make out. */ + border-right: 1px solid red; + box-shadow: 1px 0px 0px 0px white; +} + +div.imgdiff-left:before { + content: ''; + position: absolute; + right: 0; + bottom: 0; + width: 13px; + height: 13px; + background: linear-gradient(-45deg, red 50%, transparent 0); + background-clip: content-box; + cursor: ew-resize; +} + +img.imgdiff-left { + margin-left: 18px; /* Compensate for padding on outer div. */ + user-select: none; +} + +img.imagediff { + user-select: none; + /* Checkerboard background */ + background-color: white; + background-image: linear-gradient(45deg, #DDD 25%, transparent 25%, transparent 75%, #DDD 75%, #DDD), linear-gradient(45deg, #DDD 25%, transparent 25%, transparent 75%, #DDD 75%, #DDD); + background-size: 16px 16px; + background-position: 0 0, 8px 8px; +} + +.diff-img { + margin: 2px; +} + +div.imgdiff-slider { + display: inline-block; + position: relative; + margin: 0px 2px; + width: 420px; + max-width: 420px; + height: 24px; + min-height: 18px; + overflow-x: scroll; + background: linear-gradient(to right, #F00, #0F0); +} + +div.imgdiff-slider-inner { + position: absolute; + bottom: 0; + margin: 0; + padding: 0; + width : 1000%; + height: 1px; + border: none; + background: transparent; +} + +/* End image diffs */ td.changeType { width: 15px; @@ -1018,7 +1573,7 @@ text-align: right; } -table.plain, table.summary { +table.plain, table.summary, table.ticket { width: 0 !important; border: 0; } @@ -1029,11 +1584,16 @@ border: 0; } +table.ticket th, table.ticket td { + padding: 1px 3px; + border: 0; +} + table.summary { margin: 0px; } -table.summary th { +table.summary th, table.ticket th { color: #999; padding-right: 10px; text-align: right; @@ -1053,7 +1613,7 @@ } table.pretty td.icon img { - vertical-align: top; + vertical-align: middle; } table.pretty td { @@ -1069,6 +1629,34 @@ width: 100%; margin-left: 4px !important; margin-bottom: 0px !important; +} + +table.pretty td.graph { + border-right: 1px solid #ddd; + border-bottom: 1px solid #ddd; + padding: 0px; + /*width: 1px;*/ +} + +table.pretty tr.commit { + /* must match branch graph servlet row height definition */ + height: 24px; +} + +@media (min-width: 979px) { + td.ellipsize { + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + } +} + +@media (max-width: 979px) { + td.ellipsize { + text-overflow: inherit; + overflow: visible; + white-space: wrap; + } } table.comments td { @@ -1129,13 +1717,18 @@ font-weight: bold; background-color: #ffffff !important; padding-top: 0px !important; - margin-bottom: 0 !imporant; + margin-bottom: 0 !important; border: 0 !important; border-radius: 0 !important; line-height: 1em; } table.palette td.pane { padding: 0px; + width: 250px !important; +} + +table.palette td.pane select { + width: 250px !important; } table.gitnotes { @@ -1167,6 +1760,7 @@ } table.annotated { + width: 100%; border:1px solid #ddd; } @@ -1181,6 +1775,24 @@ table.annotated td { padding: 0px; border: 0; +} + +table.annotated td.lineCommit { + padding-left: 5px; + padding-right: 5px; +} + +table.annotated td.lineNumber { + border-right: 1px solid #ddd; + border-left: 1px solid #ddd; + padding-left: 5px; + padding-right: 5px; + text-align: right; +} + +table.annotated td.lineContent { + padding-left: 5px; + font: monospace; } table.activity { @@ -1218,8 +1830,17 @@ color: white; } +.merge { + opacity: 0.5; +} + +.merge:hover { + opacity: 1; +} + td.author { font-style: italic !important; + white-space: nowrap; } td.date { @@ -1227,7 +1848,7 @@ white-space: nowrap; } -span.sha1, span.sha1 a, span.sha1 a span, .commit_message, span.shortsha1 { +span.sha1, span.sha1 a, span.sha1 a span, .commit_message, span.shortsha1, td.sha1 { font-family: consolas, monospace; font-size: 13px; } @@ -1273,7 +1894,7 @@ font-size: 9px; font-weight: normal; border: 1px solid; - color: black; + color: black; } .tagRef a, .headRef a, .localBranch a, .remoteBranch a, .otherRef a, .pullRef a { @@ -1365,14 +1986,67 @@ li.L7, li.L9 { background: #fafafa !important; } +div.docs { + max-width: 880px; +} + +div.docs ul.nav { + margin-bottom: 0px !important; +} + +div.docs div.docnav { + display: inline-block; + padding: 6px 5px 6px 5px; + border-left: 1px solid #ccc; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + border-radius: 0px 0px 3px 3px; + background-color: #ECF1F4; + color: #666; + text-align: left; + margin-top: -10px; +} + +div.docs .content { + margin-top: 10px; +} + +div.docs div.markdown { + margin-top: 10px; +} + +div.markdown { + line-height: 1.4; +} + +div.markdown h1 { + padding: 0px 0px 4px; + border-bottom: 1px solid rgb(221, 221, 221); + margin: 4px 0px 8px; +} + +div.markdown h2 { + padding: 4px 0px; + border-bottom: 1px solid rgb(238, 238, 238); + margin: 4px 0px 8px; +} + +div.markdown h3 { + padding: 8px 0px 4px; +} + +div.markdown li { + line-height: 1.4; +} + div.markdown pre { - background-color: #F5F5F5; - border: 1px solid rgba(0, 0, 0, 0.15); + background-color: rgb(250, 250, 250); + border: 1px solid rgb(221, 221, 221); border-radius: 4px 4px 4px 4px; display: block; font-size: 12px; line-height: 18px; - margin: 0 0 9px; + margin: 9px 0; padding: 8.5px; white-space: pre-wrap; } @@ -1384,22 +2058,211 @@ } div.markdown code { - background-color: #ffffe0; - border: 1px solid orange; + background-color: rgb(250, 250, 250); + border: 1px solid rgb(221, 221, 221); border-radius: 3px; - padding: 0 0.2em; + padding: 0 0.4em; } -div.markdown a { - text-decoration: underline; +div.markdown table { + max-width: 100%; + background-color: transparent; + border-collapse: collapse; + border-spacing: 0px; + font-size: inherit; + border-width: 0px 1px 1px 0px; + border-style: solid solid solid none; + border-color: rgb(221, 221, 221); + border-image: none; + border-collapse: separate; + margin: 10px 0px 20px; } -div.markdown em { - color: #b05000; +div.markdown table td, div.markdown table th { + padding: 8px; + line-height: 20px; + text-align: left; + vertical-align: top; + border-top: 1px solid rgb(221, 221, 221); + border-left: 1px solid rgb(221, 221, 221); } div.markdown table.text th, div.markdown table.text td { vertical-align: top; border-top: 1px solid #ccc; padding:5px; -} \ No newline at end of file +} +.resolution { + text-transform: uppercase; + font-weight: bold !important; + font-size: 11px; +} +.resolution-success, .resolution-success a { + color: #14892c !important; +} +.resolution-success a:hover { + color: white !important; +} +.resolution-error, .resolution-error a { + color: #d04437 !important; +} +.resolution-error a:hover { + color: white !important; +} +.resolution-complete, .resolution-complete a { + color: #4a6785 !important +} +.resolution-complete a:hover { + color: white !important; +} +.resolution-current, .resolution-current a { + color: #594300 !important; +} +.resolution-current, .resolution-current a:hover { + color: white; +} + +/*! AUI Lozenge */ +.aui-lozenge { + background: #ccc; + border: 1px solid #ccc; + border-radius: 3px; + color: #333; + display: inline-block; + font-size: 11px; + font-weight: bold; + line-height: 99%; /* cross-browser compromise to make the line-height match the font-size */ + margin: 0; + padding: 2px 5px; + text-align: center; + text-decoration: none; + text-transform: uppercase; +} +.aui-lozenge.aui-lozenge-subtle { + background-color: #fff; + border-color: #ccc; + color: #333; +} +.aui-lozenge-success { + background-color: #14892c; + border-color: #14892c; + color: #fff; +} +.aui-lozenge-success.aui-lozenge-subtle { + background-color: #fff; + border-color: #b2d8b9; + color: #14892c; +} +.aui-lozenge-error { + background-color: #d04437; + border-color: #d04437; + color: #fff; +} +.aui-lozenge-error.aui-lozenge-subtle { + background-color: #fff; + border-color: #f8d3d1; + color: #d04437; +} +.aui-lozenge-current { + background-color: #ffd351; + border-color: #ffd351; + color: #594300; +} +.aui-lozenge-current.aui-lozenge-subtle { + background-color: #fff; + border-color: #ffe28c; + color: #594300; +} +.aui-lozenge-complete { + background-color: #4a6785; + border-color: #4a6785; + color: #fff; +} +.aui-lozenge-complete.aui-lozenge-subtle { + background-color: #fff; + border-color: #e4e8ed; + color: #4a6785; +} +.aui-lozenge-moved { + background-color: #815b3a; + border-color: #815b3a; + color: #fff; +} +.aui-lozenge-moved.aui-lozenge-subtle { + background-color: #fff; + border-color: #ece7e2; + color: #815b3a; +} +.severity-catastrophic { + color:#D51900; +} +.severity-catastrophic:after { + font-family: Helvetica,arial,freesans,clean,sans-serif ; + content: "●●●●●"; + font-weight:900; + font-size:.45em; + font-variant:small-caps; + display:flex; + white-space: pre; +} +.severity-critical { + color:#D55900; +} +.severity-critical:after { + font-family: Helvetica,arial,freesans,clean,sans-serif ; + content: " ●●●●"; + font-weight:900; + font-size:.45em; + font-variant:small-caps; + display:flex; + white-space: pre; +} +.severity-serious { + color:#E69F00; +} +.severity-serious:after { + font-family: Helvetica,arial,freesans,clean,sans-serif ; + content: " ●●●"; + font-weight:900; + font-size:.45em; + font-variant:small-caps; + display:flex; + white-space: pre; +} +.severity-minor { + color:#009E73; +} +.severity-minor:after { + font-family: Helvetica,arial,freesans,clean,sans-serif ; + content: " ●●"; + font-weight:900; + font-size:.45em; + font-variant:small-caps; + display:flex; + white-space: pre; +} +.severity-negligible { + color:#0072B2; +} +.severity-negligible:after { + font-family: Helvetica,arial,freesans,clean,sans-serif ; + content: " ●"; + font-weight:900; + font-size:.45em; + font-variant:small-caps; + display:flex; + white-space: pre; +} +.severity-unrated { +} +.priority-urgent { + color:#D51900; +} +.priority-high { + color:#D55900; +} +.priority-normal { +} +.priority-low { + color:#0072B2; +} -- Gitblit v1.9.1