diff options
author | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-04-20 16:59:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 16:59:36 +0200 |
commit | b27171e2644049cc08d9886183abb624ab2955ea (patch) | |
tree | 9037545fc3e3a6fbfec1a0994600cf116460d01c /server/sonar-web/src/main/js/apps/issues/styles.css | |
parent | 7891bd3a71b0aec2d87a413f61e3c9859925717e (diff) | |
download | sonarqube-b27171e2644049cc08d9886183abb624ab2955ea.tar.gz sonarqube-b27171e2644049cc08d9886183abb624ab2955ea.zip |
SONAR-9065 Display concise issues list when browsing code (#1953)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/styles.css')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/styles.css | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/styles.css b/server/sonar-web/src/main/js/apps/issues/styles.css new file mode 100644 index 00000000000..260e667fc5b --- /dev/null +++ b/server/sonar-web/src/main/js/apps/issues/styles.css @@ -0,0 +1,126 @@ +.issues-header-panel, +.issues-header-panel-inner { + height: 56px; + box-sizing: border-box; +} + +.issues-header-panel { + margin-top: -20px; +} + +.issues-header-panel-inner { + position: fixed; + z-index: 30; + line-height: 24px; + padding-top: 16px; + padding-bottom: 16px; + border-bottom: 1px solid #e6e6e6; + background-color: #f3f3f3; +} + +.issues-main-header { + margin-bottom: 20px; +} + +.issues-main-header .component-name { + line-height: 24px; +} + +.issues-main-header-inner { + left: calc(50vw - 360px + 1px); + right: 0; + padding-left: 20px; + padding-right: 20px; +} + +@media (max-width: 1320px) { + .issues-main-header-inner { + left: 301px; + } +} + +.concise-issues-list-header, +.concise-issues-list-header-inner { +} + +.concise-issues-list-header { +} + +.concise-issues-list-header-inner { + width: 260px; + text-align: center; +} + +.concise-issues-list-header .spinner { + margin-top: 4px; + margin-left: 1px; + margin-right: 1px; +} + +.concise-issues-list-header-button { + border: none; +} + +.concise-issues-list-header-button path { + fill: #777; + transition: fill 0.3s ease; +} + +.concise-issues-list-header-button:hover path { + fill: #4b9fd5; +} + +.concise-issue-component { + margin-top: 16px; + margin-bottom: 4px; + padding-left: 8px; + padding-right: 8px; +} + +.concise-issue-box { + position: relative; + z-index: 1; + margin-bottom: 4px; + padding: 8px; + border: 1px solid #e6e6e6; + background-color: #fff; + cursor: pointer; + transition: background-color 0.3s ease, border-color 0.3s ease; +} + +.concise-issue-box:hover, +.concise-issue-box:focus { + background-color: #ffeaea; + outline: none +} + +.concise-issue-box.selected { + z-index: 2; + border-color: #dd4040; + background-color: #ffeaea; + cursor: default +} + +.concise-issue-box-message { + font-weight: bold; +} + +.concise-issue-box-attributes { + margin-top: 8px; + line-height: 16px; + font-size: 12px; +} + +.concise-issue-location-badge { + display: inline-block; + padding-left: 4px; + padding-right: 4px; + border-radius: 2px; + background-color: #ccc; + color: #fff; + transition: background-color 0.3s ease; +} + +.concise-issue-box.selected .concise-issue-location-badge { + background-color: #d18582; +}
\ No newline at end of file |