@import (reference) "mixins"; @import (reference) "variables"; @import (reference) "ui"; /* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, or (at your option) any later version. * * SonarQube is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* CSS optimized by http://www.cleancss.com */ /* ------------------- PROJECTS SEARCH FORM ------------------- */ #projectSearch { color: #444; margin: 4px 0 0 0; } /* FOOTER */ #ftlinks { background: #fff; color: #262626; text-align: center; border-top: 1px solid #fff; font-size: 85%; padding: 10px 0; line-height: 1.4; } .ie-warn { color: #EEE; background: #FF5252; padding: 0 5px; } .ie-warn a { color: #EEE; text-decoration: underline; } /* GENERAL */ a { cursor: pointer; } a.icon-favorite, a.icon-not-favorite { .link-no-underline; } .loading { background: url("../images/loading.gif") no-repeat 4px 2px; color: #444; padding: 3px 25px; } .right { text-align: right; } .left { text-align: left; } .center { text-align: center; } .top { vertical-align: top; } .bottom { vertical-align: bottom; } .middle { vertical-align: middle; } .nowrap { white-space: nowrap; } code { font-size: 93%; } .hidden { display: none; visibility: hidden; } .clear { height: 0; clear: both; } .note { color: #777; font-size: 93%; font-weight: normal; line-height: 13px; } .note img { vertical-align: bottom; } .crossout { text-decoration: line-through; } .small { font-size: @smallFontSize; } input[type].small { } small { color: #AAA; font-size: 85%; font-style: normal; } em { font-weight: bold; } em.mandatory { color: #990000; font-style: italic; } a.external { background: url('../images/links/external.png') no-repeat 100% 0; padding: 0 16px 0 0; } .fav { display: inline-block; background: url('../images/star.png') no-repeat 100% 0; width: 16px; height: 16px; vertical-align: text-bottom; } .notfav { display: inline-block; background: url('../images/star_off.png') no-repeat 100% 0; width: 16px; height: 16px; vertical-align: text-bottom; } .red-button { color: #990000 !important; } .red-button:hover { color: #FFFFFF !important; border: solid 1px #CD504A !important; background: #B33630 !important; background: -webkit-gradient(linear, left top, left bottom, from(#DC5F59), to(#B33630)) !important; background: -moz-linear-gradient(top, #DC5F59, #B33630) !important; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#DC5F59', endColorstr = '#B33630') !important; } .red-button:active { color: #FFFFFF !important; border: solid 1px #CD504A !important; background: #B33630 !important; background: -webkit-gradient(linear, left top, left bottom, from(#AC2F29), to(#D35650)) !important; background: -moz-linear-gradient(top, #AC2F29, #D35650) !important; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#AC2F29', endColorstr = '#D35650') !important; } .red-button[disabled] { position: relative; top: 0; text-shadow: 1px 1px 0 #FFFFFF; color: #BBBBBB; border: solid 1px #DDD; background: #EBEBEB; background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#E1E1E1)); background: -moz-linear-gradient(top, #FFFFFF, #E1E1E1); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#FFFFFF', endColorstr = '#E1E1E1'); cursor: default; } /* ------------------- PAGE ------------------- */ h1, .h1 { color: @baseFontColor; font-size: 16px; } h2, .h2 { color: @baseFontColor; font-size: 16px; font-weight: normal; } h3, .h3 { color: @baseFontColor; font-size: 100%; font-weight: bold; } h4, .h4 { color: @baseFontColor; font-size: 85%; color: #777; } h1 img, .h1 img, h2 img, .h2 img, h3 img, .h3 img, h4 img, .h4 img { vertical-align: middle; } .subtitle { color: #777; font-size: 85%; margin: 0; padding: 0; } .notes { color: #777; font-size: 11px; margin-bottom: 10px; background-color: #EFEFEF; border: 1px solid #cdcdcd; line-height: 16px; height: 16px; padding: 2px 4px; } .treemap { position: relative; cursor: pointer; } .treemap a { color: #FFF; text-decoration: none; font-size: 12px; padding: 1px; } .treemap a:hover { text-decoration: underline; } /* ------------------- MESSAGES ------------------- */ .warning, .modal-warning { border: solid 1px #FFD324; background-color: #FFF6BF; color: #514721; margin: 0 0 4px; padding: 4px; } .error, .modal-error { border: 1px solid red; background-color: #FF5252; color: #eee; margin: 0 0 4px; padding: 4px; a { color: #eee; } } .notice, .modal-notice { border: 1px solid #9c9; background-color: #e2f9e3; color: #060; margin: 0 0 4px; padding: 4px; } .info { background-color: #CAE3F2; padding: 5px; border: 1px solid #4B9FD5; } /* ------------------- SETUP / MIGRATION PAGES ------------------- */ .migration { background-image: url("../images/logo.png"); background-repeat: no-repeat; background-position: top right; } /* ------------------- LOGIN FORM ------------------- */ #login_form { border: 2px solid #4b9fd5; width: 230px; text-align: left; background-color: #CAE3F2; padding: 15px 20px; } #login_form h4 { text-align: left; font-weight: bold; color: #036; } #login_form p { padding: 3px 0 10px; } #login_form a { border-bottom-color: @blue; } #login_form .desc { font-size: 85%; font-weight: normal; } /* ------------------- DOCUMENTATION --------------------- */ .doc h2 { margin-top: 8px; } .doc p { margin: 8px 0; } .doc pre, pre.code { color: #777; background-color: #EFEFEF; padding: 10px; margin: 10px 0; border: 1px dashed #777; font-size: 93%; line-height: 1.5em; } .doc li { list-style: disc outside; padding: 2px; } .doc ul { list-style: none outside; padding-left: 30px; } /* ------------------- TABLES ------------------- */ .odd { background-color: #fff; } .odd.selected, .even.selected, .odd.selected a, .even.selected a, .even.selected span, .odd.selected span { background-color: @lightBlue; color: @baseFontColor; } table.data > thead > tr > th { vertical-align: top; font-size: 93%; padding: 4px 7px 4px 3px; line-height: 1.4; text-transform: uppercase; & > .small { text-transform: none; } } table.data > tfoot > tr > td { font-size: 93%; color: #777; padding: 5px; } table.data > tbody > tr > td { padding: 5px; vertical-align: text-top; } table.data td.small, table.data th.small { padding: 0; white-space: nowrap; } table.data th img, table.data td img { vertical-align: sub; } table.data.zebra tbody tr:nth-child(odd) { background-color: #f5f5f5; } .data thead tr.total { background-color: #EFEFEF; font-weight: normal; border: 1px solid #DDD; } .data thead tr.total th { font-weight: normal; } .data thead tr.blank { background-color: #fff; line-height: 15px; } .data tr.highlight { background-color: @lightBlue; } .data input, .data select, .data button { vertical-align: baseline; } .data td.category { padding-right: 15px; } .categoryDescription { padding: 10px 5px; } .data td.category.withSubcategories { background-image: url('../images/bullet_arrow_down.gif'); background-position: right center; background-repeat: no-repeat; } .data td.subcategory { padding-left: 20px; } .hoverable:hover { background-color: #CAE3F2; } .hoverable:hover a { color: #111; } table.sortable .sortcol { cursor: pointer; padding-left: 15px; background-repeat: no-repeat; background-position: right center; } table.sortable .sortasc { background-image: url('../images/bullet_arrow_up.gif'); background-position: left center; } table.sortable .sortdesc { background-image: url('../images/bullet_arrow_down.gif'); background-position: left center; } table.sortable .righticon { padding-right: 15px; background-position: right center; } table.sortable .nosort { cursor: default; } table.spaced th { font-weight: bold; color: #333; padding: 4px 5px; } table.spaced td, table.matrix tfoot td { padding: 3px 5px; line-height: 18px; } table.spaced td img { vertical-align: text-bottom; } table.spacedicon th { font-weight: bold; color: #333; padding: 4px 5px; } table.spacedicon td { padding: 0 5px; height: 24px; } .thin { width: 1%; } td.sep { width: 10px; } .spacer { width: 5px; display: inline-block; } .formError { display: inline-block; background-color: #FF9090; color: #000; padding: 0 5px; } table.form td { padding: 2px 5px; vertical-align: top; } table.form td.keyCell { width: 1%; white-space: nowrap; text-align: right; font-weight: bold; vertical-align: top; } table.form td img { vertical-align: bottom; } .admin hr { background: transparent; border-left: none; border-right: none; border-top: none; border-bottom: 1px dashed #FFD324; height: 1px; } table#project-history tr > td { vertical-align: top; } /* OPERATIONS */ #page-operations { display: inline-block; width: 100%; } div.operations { float: right; margin: 0; } ul.operations { float: right; height: 20px; line-height: 20px; list-style-type: none; margin: 0; background-color: #EFEFEF; border: 1px solid #cdcdcd; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } ul.operations li { float: left; margin: 0; padding: 0 8px; font-size: 85%; border-right: 1px solid #cdcdcd; } ul.operations li.selected { background-color: #d4d4d4; } ul.operations li.last { border-right-width: 0; } ul.operations li a { .base-link; color: #555; } ul.operations li img { vertical-align: middle; margin-right: 5px; } th.operations, td.operations { text-align: right; } /* RESOURCE VIEWER */ .resourceName h1 { margin: 5px 0; } /* SOURCE */ .sources2 { width: 100%; border: 0; margin: 0; background-color: #FFF; } .sources2 td.lid { background-color: #EFEFEF; border-right: 1px solid #DDDDDD; text-align: right; padding: 2px 0.5em 0 0.5em; vertical-align: top; font-size: 85%; } .sources2 td.lid a { text-decoration: none; color: #AAA; } .sources2 td.scm { border-right: 1px solid #DDD; background-color: #EFEFEF; } .sources2 td.revision { border-top: 1px solid #DDD; vertical-align: top; padding: 0 0.3em; white-space: nowrap; } .sources2 tr:first-child td.revision { border-top: none; } .sources2 tr.row td.plus { background-color: #EFEFEF; padding: 0; width: 16px; } .sources2 tr.row:hover td.plus { background: url("../images/add.png") no-repeat scroll left 0 #EFEFEF; } .sources2 td.plus a { display: block; cursor: pointer; height: 16px; width: 16px; } .sources2 td.gray { background-color: #EFEFEF; padding: 2px 0.5em 0; } .sources2 td.white { border-left: 1px solid #DDD; background-color: #FFF; } .sources2 span.date, .sources2 span.date a { color: #AAA; font-size: 85%; text-decoration: none; } .sources2 span.author, .sources2 span.author a { font-size: 85%; } .sources2 div.violation, #global_violations div.violation { background-color: #FFF; margin: 0; border: 1px solid #DDD; font-size: 12px; } .rulename, .rulename a { color: #444; font-weight: bold; } .rulename a:hover { text-decoration: underline; } .sources2 td.line { width: 100%; } .sources2 td.line pre { font-size: 12px; font-family: monospace; } .sources2 td.ind { border-right: 1px solid #DDD; padding: 0 0.3em; text-align: center; vertical-align: middle; } .sources2 td.ind a,.sources2 td.ind span { padding: 0 3px; } .sources2 td.ok { background-color: #ACE97C; } .sources2 td.warn { background-color: #FFF6BF; } .sources2 td.ko { background-color: #FF9090; } .sources2 td.new_section { border-width: 1px 0; border-style: solid; border-color: #EEE #DDD; height: 30px; background: url('../images/gray-stripes.png'); } .sources2 td.violations { background-color: #FFF; padding: 10px; border-left: 1px solid #DDD; } .source_title { padding: 10px 5px; } .source_title span.h1 { font-size: 16px; margin-right: 10px; } .source_links { font-size: 11px; } .global_violations { width: 100%; } .global_violations > tbody > tr > td { padding-bottom: 10px; } .global_violations td { padding: 3px 0; } .global_violations td img, #source_title img { vertical-align: text-bottom; } .code-issue-create-form { padding: 10px; } .code-global-issues { padding: 10px 10px 0; } .code-issues { padding: 10px 10px 0; line-height: 0; } .code-issue { margin: 0; font-size: 12px; padding: 0 0 10px 0; .trans(border-color); .error { line-height: normal; } } .code-issue strong { font-weight: bold; } .code-issue-toggle { cursor: pointer; } .code-issue-name { position: relative; background-color: #E4ECF3; margin: 0; padding: 5px 10px; line-height: 16px; color: #777; border: 1px solid #DDD; border-bottom: medium none; } .code-issue-msg { line-height: 1.5; padding: 5px 10px; border-left: 1px solid #DDD; border-right: 1px solid #DDD; background-color: #EFEFEF; } .code-issue-name img { vertical-align: text-bottom; } .code-issue-name-rule { max-width: 90%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .code-issue-permalink { position: absolute; top: 4px; right: 4px; a { text-decoration: none; } } .code-issue-name-extra { margin-top: 6px; line-height: 12px; } .code-issue-name-extra li { font-size: 11px !important; } .code-issue-name-right { position: absolute; top: 5px; right: 26px; } .code-issue-comment, .code-issue-msg, .code-issue-actions, .code-issue-form { background-color: #EFEFEF; border: 1px solid #DDD; border-top: none; line-height: 1.5em; margin: 0; padding: 5px 10px; } .code-issue-form input[type=submit], .code-issue-form input[type=button], .code-issue-form button, .code-issue-form .action { vertical-align: middle; } .code-issue-comment h4 { font-size: 11px; margin-bottom: 2px; } .code-issue-comment h4 img { vertical-align: sub; } .code-issue-comment ul li { list-style: square inside; } .code-issue-comment ol li { list-style: decimal inside; } .code-issue-comment pre { padding: 10px; border: 1px dashed #DDD; color: #444; font-size: 12px; } .code-issue-details { padding: 0 10px 5px; border-left: 1px solid #DDD; border-right: 1px solid #DDD; border-bottom: 1px solid #DDD; background-color: #EFEFEF; line-height: 1.3; } .code-issue-tabs { margin-bottom: 5px; font-size: 0; & > li { display: inline-block; padding: 4px 0; color: @secondFontColor; font-size: @smallFontSize; } & > li + li { margin-left: 15px; } } .code-issue-details-list { } .code-issue-details-list > li { font-size: 0; } .code-issue-details-term, .code-issue-details-value { display: inline-block; vertical-align: top; font-size: 12px; line-height: 20px; } .code-issue-details-term { width: 90px; } .code-issue-details-term:after { content: ":"; } .code-issue-list { background-color: #E4ECF3; } .code-issue-bar, .code-issue-list { font-size: 0; white-space: nowrap; } .code-issue-list > li, .code-issue-bar > li { display: inline-block; vertical-align: middle; height: 14px; line-height: 14px; padding: 0 8px; border-left: 1px solid #fff; border-right: 1px solid #bfbfbf; font-size: 12px; } .code-issue-list > li:first-child, .code-issue-bar > li:first-child { padding-left: 0; border-left: none; } .code-issue-list > li:last-child, .code-issue-bar > li:last-child { padding-right: 0; border-right: none; } .code-issue-collapsed .code-issue-msg, .code-issue-collapsed .code-issue-details { display: none; } .code-issue-errors { margin-top: 10px; } .tab_header { padding: 5px 10px; } .tab_header td { padding-right: 7px; } .tab_header td.name { text-align: left; white-space: nowrap; } .tab_header td.value { text-align: right; white-space: nowrap; font-weight: bold; } .extension-close { position: absolute; top: 5px; right: 10px; } .source_options { margin-top: 5px; padding-top: 5px; border-top: 1px solid #ddd; font-size: 85%; } .source_options td { background: url("../images/sep12.png") no-repeat scroll 0 50% transparent; padding: 0 10px; } .source_options td.first { background: none; padding: 0 10px 0 0; } /* DUPLICATIONS */ .duplications { max-width: 100%; } .duplications td.item { text-align: right; vertical-align: top; padding: 0; } .duplications td.item p { padding: 3px 5px; } .duplications td.fileItem { text-align: left; vertical-align: top; padding: 0; white-space: nowrap; } .duplications td.fileItem p { padding: 3px 5px; } .duplications td.item p.selected, .duplications td.fileItem p.selected { background-color: #EFEFEF; border-top: 1px solid #DDD; border-bottom: 1px solid #DDD; padding: 3px 5px; } .duplications td.fileItem p.selected a { text-decoration: none; } .duplications td.sourceItem { padding: 0; background-color: #EFEFEF; border: 1px solid #DDD; border-left: none; } .duplications td.sourceItem p { padding: 3px; } .duplicationsMessage { padding: 10px; } .discussion { width: 100%; border: 1px solid #DDDDDD; } .discussionComment.first { border-top: none; } .discussionComment { background-color: #EFEFEF; border-top: 1px solid #DDDDDD; line-height: 1.5em; margin: 0; padding: 5px 10px; h4 { font-size: 90%; margin-bottom: 2px; } h4 img { vertical-align: sub; } ol li { list-style: decimal inside; } ul li { list-style: square inside; } pre { padding: 10px; border: 1px dashed #DDD; color: #444; font-size: 12px; } } div.comment-excerpt { background-color: transparent; margin-top: 5px; margin-bottom: 5px; color: #777777; font-size: 90%; } /* ACTION PLANS */ table.actionPlans { margin-top: 10px; } table.actionPlans td.progress { width: 300px; padding: 0px 40px; } table.actionPlans td.noprogress { color: #777777; font-size: 93%; padding-left: 43px; padding-right: 40px; } table.actionPlans td.over-due { color: #CC0000; font-weight: bold; } div.progress { width: 100%; margin: 4px; } div.progress table { width: 100%; } div.progress td { height: 10px; } div.progress td a { display: block; width: 100%; height: 100%; } div.progress td.resolved { background-color: #078C00; } div.progress td.open { background-color: #CC0000; } div.progress div.note { color: #777; font-size: 93%; font-weight: normal; white-space: nowrap; } div.note a { color: #777777; } /* SEARCH AUTOCOMPLETE FIELDS */ #searchInput { color: #444; font-size: 13px; padding-right: 20px; } #searchingResources { position: absolute; top: 8px; right: 18px; } div.autocomplete { position: absolute; width: 600px; right: 10px; top: 10px; background-color: #fff; border: 1px solid #ccc; margin: 0; padding: 0; color: #111; line-height: 18px; box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5); z-index: 999999; } div.autocomplete ul { list-style-type: none; margin: 0; padding: 0; } div.autocomplete ul li { list-style-type: none; display: block; margin: 0; padding: 3px 5px; cursor: pointer; color: #333; line-height: 18px; height: 18px; vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } div.autocomplete div.q { font-size: 93%; color: #777; width: 90px; text-align: right; margin-right: 5px; display: inline-block; /* For IE 7 */ zoom: 1; *display: inline; } div.autocomplete ul li img { vertical-align: middle; } div.autocomplete ul li.selected { background-color: @lightBlue; } div.autocomplete strong { font-weight: bold; } div.autocompleteNote { color: #777; font-size: 85%; background-color: #EFEFEF; border-top: 1px solid #CCC; padding: 1px 10px; } #gwtpage { width: 100%; } .gwt-SourcePanel { font-size: 12px; background-color: #fff; border-top: 1px solid silver; border-bottom: 1px solid silver; width: 100%; } .gwt-SourcePanel .ln { background-color: #EFEFEF; white-space: nowrap; text-align: right; font-size: 85%; color: #AAAAAA; border-right: 1px solid #DDD; padding: 0 3px; height: 14px; } .gwt-SourcePanel .src { padding: 0 5px; height: 14px; } .gwt-SourcePanel .val { background-color: #EFEFEF; border-right: 1px solid #DDD; text-align: right; color: #777; padding: 0 3px; height: 14px; white-space: nowrap; } .gwt-SourcePanel .red { background-color: #F0C8C8; } .gwt-SourcePanel .orange { background-color: #FFF6BF; color: #514721; } .gwt-SourcePanel .green { background-color: #ACE97C; } .gwt-SourcePanel .msg { font-family: sans-serif; vertical-align: top; padding: 3px 0; height: 1.3em; background-position: 5px 1px; background-repeat: no-repeat; } .gwt-SourcePanel .bigln { font-family: sans-serif; vertical-align: top; padding: 3px 0; height: 1.6em; background-position: 5px 1px; background-repeat: no-repeat; background-color: #EFEFEF; } .gwt-SourcePanel .warn { font-family: sans-serif; vertical-align: top; background-color: #FFFFC9; border: 1px solid #DCDCDC; border-top: none; color: black; line-height: 1.6em; margin: 0; padding: 0 0 2px 5px; } .gwt-SourcePanel .msg.error { background-image: url("../images/exclamation.png"); } .gwt-SourcePanel .msg.warning { background-image: url("../images/warning.png"); } .gwt-SourcePanel .msg.BLOCKER { padding: 1px 5px 1px 25px; background-image: url("../images/priority/BLOCKER.gif"); background-color: #FF5252; color: #eee; border: 1px solid red; margin: 1px 0 1px 5px; height: 100%; } .gwt-SourcePanel .msg.CRITICAL { padding: 1px 5px 1px 25px; background-image: url("../images/priority/CRITICAL.gif"); background-color: #FF5252; color: #eee; border: 1px solid red; margin: 1px 0 1px 5px; height: 100%; } .gwt-SourcePanel .msg.MAJOR { padding: 1px 5px 1px 25px; background-image: url("../images/priority/MAJOR.gif"); background-color: #FF5252; color: #eee; border: 1px solid red; margin: 1px 0 1px 5px; height: 100%; } .gwt-SourcePanel .msg.MINOR { padding: 1px 5px 1px 25px; background-image: url("../images/priority/MINOR.gif"); background-color: #FFF6BF; border: 1px solid #FFD324; margin: 1px 0 1px 5px; height: 100%; } .gwt-SourcePanel .msg.INFO { padding: 1px 5px 1px 25px; background-image: url("../images/priority/INFO.gif"); background-color: #FFF6BF; border: 1px solid #FFD324; margin: 1px 0 1px 5px; height: 100%; } .gwt-ViewerHeader { background-color: #EFEFEF; border: 1px solid #DDD; border-top: none; margin-bottom: 8px; color: #333; vertical-align: bottom; } .gwt-ViewerHeader .metric { padding: 8px 2px 5px 10px; font-size: 93%; text-align: right; font-weight: bold; } .gwt-ViewerHeader .value { padding: 8px 15px 5px 2px; font-size: 93%; text-align: left; font-weight: normal; } .gwt-ViewerHeader .cell { padding: 3px 10px; } .gwt-ViewerHeader .big { padding: 4px 10px 2px 10px; font-size: 152%; font-weight: bold; } /* ------------------- DASHBOARD ------------------- */ .page_title { margin: 0 0 7px 0; } .color_OK { border: 2px solid #85bb43 !important; color: #85bb43 !important; } .color_WARN { border: 2px solid #f90 !important; color: #f90 !important; } .color_ERROR { border: 2px solid #d4333f !important; color: #d4333f !important; } #alerts_widget { margin-bottom: 10px; padding: 5px 5px 5px 10px; } #alerts_widget img { vertical-align: bottom; } span.empty_widget { color: #777777; font-size: 93%; } .dashbox { float: left; vertical-align: top; text-align: left; padding: 0 10px 7px 0; h3 { line-height: 1.2; font-size: @bigFontSize; font-weight: 300; } a { .widget-link; .rating { color: #fff; } } } .big { font-size: 152%; font-weight: bold; } .adminportlet { border: 2px dashed #ccc; margin-bottom: 10px; padding: 10px; } table.header1 { background-color: #EFEFEF; color: #444; border: 1px solid #DDD; margin: 0 0 10px 0; width: 100%; } table.header1 td { padding: 10px 0 10px 10px; text-align: left; vertical-align: top; } .headerLine { background-color: #EFEFEF; color: #444; border: 1px solid #DDD; margin: 0 0 10px 0; line-height: 28px; height: 28px; } ul.headerLine li { float: left; display: block; padding: 0 10px 0; height: 28px; vertical-align: middle; } ul.headerLine li.sep { background: url("../images/sep12.png") no-repeat scroll 50% 50% transparent; padding: 0 5px 0 5px; } ul.headerLine select, ul.headerLine input, ul.headerLine button, ul.headerLine textarea, ul.headerLine span { vertical-align: middle; } select.withIcons option, span.withIcons { background-repeat: no-repeat; background-position: 2px 0; padding: 0 2px 0 22px; vertical-align: middle; } option.status_open { background-image: url('../images/status/OPEN.png'); } option.status_reopened { background-image: url('../images/status/REOPENED.png'); } option.status_resolved { background-image: url('../images/status/RESOLVED.png'); } option.status_closed { background-image: url('../images/status/CLOSED.png'); } option.sev_INFO, span.sev_INFO { background-image: url('../images/priority/INFO.png'); } option.sev_MINOR, span.sev_MINOR { background-image: url('../images/priority/MINOR.png'); } option.sev_MAJOR, span.sev_MAJOR { background-image: url('../images/priority/MAJOR.png'); } option.sev_CRITICAL, span.sev_CRITICAL { background-image: url('../images/priority/CRITICAL.png'); } option.sev_BLOCKER, span.sev_BLOCKER { background-image: url('../images/priority/BLOCKER.png'); } /* ------------------- VARIATIONS ------------------- */ .var { color: #444 !important; } .varb { /* better */ color: @green !important; } .varw { /* worst */ color: @red !important; } /* ------------------- HELP ------------------- */ .help { border: 1px solid #DDD; background-color: #EFEFEF; color: #444; padding: 5px; } .help h2 { padding-left: 23px; color: #444; vertical-align: bottom; font-weight: bold; background: url('../images/information.png') no-repeat left center; } .help p { padding: 5px 0; } .inline-help { padding: 5px; margin: 5px; background-color: #FFF6BF; border: 1px solid #FFD324; } /* ------------------- FORMS ------------------- */ .admintable { border: solid 1px #FFD324; background-color: #FFF6BF; color: #111; } .admintable td { padding: 5px 10px; } .admintable span.desc { font-size: 85%; font-weight: normal; } /* ------------------- BOXES ------------------- */ .box { border: 1px solid #ccc; background-color: #EFEFEF; margin-bottom: 5px; color: #444; padding: 10px; } .box a, .box a:visited { color: #555; } .admin { border: solid 1px #FFD324; background-color: #FFF6BF; color: #514721; margin-bottom: 5px; padding: 5px; } .admin h3 { font-size: 100%; text-align: left; font-weight: bold; color: #333; } .column { vertical-align: top; text-align: left; padding: 0 0 0 10px; } .column.first { padding: 0; } .column h3 { padding: 3px 0; } .scrollable { height: 144px; overflow: auto; border: 1px solid @barBorderColor; } .scroll-ie { overflow-x: hidden; padding-right: 17px; } .red { color: #8B0000; } .green { color: #050; } ul.bullet { margin: 3px 0 3px 25px; } ul.bullet li { padding: 2px 0; list-style-image: url("../images/bullet.png"); } .rule_title { font-size: 110%; } .tablinks { float: right; padding: 0 5px 0 10px; text-align: right; } .tablinks li { float: left; text-align: right; margin-left: 5px; padding: 0 0 0 5px; } .tablinks li.first { background: none; } .tablinks a { text-decoration: underline; color: #777; font-size: 85%; } .tabs-panel { border-right: 1px solid #DDD; border-bottom: 1px solid #DDD; border-left: 1px solid #DDD; border-top-width: 0; padding: 10px; } /* tabs2 is deprecated since 4.1. It is kept for backward-compatibility */ .tabs2, .tabs { height: 20px; border-bottom: 1px solid #DDD; margin: 0; padding: 0; font-size: 93%; } .tabs2 li, .tabs li { display: inline; list-style-type: none; font-weight: normal; color: #777; vertical-align: baseline; white-space: nowrap; margin: 0; border: 0; padding: 0; } .tabs2 li a, .tabs li a { float: left; color: #777; vertical-align: bottom; height: 17px; margin: 0 1px 0 0; padding: 1px 5px; .link-no-underline; } .tabs2 li a.selected, .tabs li a.selected, .tabs .ui-tabs-active a { text-decoration: none; color: #555 !important; font-weight: bold; margin: 0 1px 0 0; } .tabbed { border: 1px solid silver; border-top: 0; padding: 5px; } .comments { color: #777; font-size: 12px; margin-bottom: 10px; padding: 4px; } .little { font-size: 80%; } .tooltip { position: absolute; background-color: #CAE3F2; border: 1px solid #4b9fd5; max-width: 480px; text-align: left; color: #262626; } .tooltip .content { color: #111; padding: 4px; } .tooltip .title { color: #111; font-weight: bold; font-size: 100%; padding: 2px 4px; } .tooltip td { margin: 0; padding: 2px; } .tooltip p { margin: 0; padding: 0; } .alert_WARN { background-color: @orange; color: #fff; margin: 0; padding: 0 3px; a > & { margin-bottom: -1px; border-bottom: 1px solid @orange; .trans; &:hover { opacity: 0.8; } } } .alert_ERROR { background-color: @red; color: #fff; margin: 0; padding: 0 3px; a > & { margin-bottom: -1px; border-bottom: 1px solid @red; .trans; &:hover { opacity: 0.8; } } } #comparison span.best { font-size: 108%; font-weight: bold; } .gwt-TabBar { font-size: 93%; width: 100%; border-bottom: 1px solid #cdcdcd; } .gwt-TabBarFirst { width: 0; } .gwt-TabBar .gwt-TabBarItem { cursor: pointer; font-weight: normal; text-decoration: underline; color: #555; background-color: #EFEFEF; vertical-align: middle; white-space: nowrap; padding: 0.3em 0.6em; border: 1px solid #cdcdcd; border-bottom: none; border-radius: 4px 4px 0 0; -moz-border-radius: 4px 4px 0 0; -webkit-border-radius: 4px 4px 0 0; } .gwt-TabBar .gwt-TabBarItem-wrapper { padding: 0 0 0 1px; } .gwt-TabBar .gwt-TabBarItem-selected { cursor: default; font-weight: bold; text-decoration: underline; color: #efefef; background-color: #4B9FD5; border-bottom: none; vertical-align: middle; white-space: nowrap; padding: 0.3em 0.6em; } .gwt-TabPanelBottom { width: 100%; } .markdown-tips { font-size: @smallFontSize; color: @secondFontColor; } /* API for Rule and Property Descriptions */ .rule-desc h2 { margin-top: 16px; font-size: 16px; line-height: 1.5; color: #2B547D; } .rule-desc h3 { margin-top: 16px; font-size: 12px; line-height: 1.5; color: #2B547D; font-weight: bold; } .rule-desc p, .property p { margin-top: 10px; } .rule-desc pre, .property pre, .bubble-popup pre, .coding-rules-detail-parameter pre { margin: 10px 0 !important; padding: 10px !important; border: 1px dashed #aaa; font-size: 12px; font-family: monospace;; } .rule-desc blockquote, .property blockquote, .bubble-popup blockquote, .coding-rules-detail-parameter blockquote { margin-top: 10px; padding: 10px; } .rule-desc ul, .property ul { list-style-type: disc; list-style-position: inside; margin: 10px; } .rule-desc ol, .property ol { list-style-type: decimal; list-style-position: inside; margin: 10px; } .rule-table { margin-top: 10px; overflow-x: auto; border-collapse: collapse; } .rule-table th { background: none no-repeat scroll right center #EFEFEF; border: 1px solid #DDD; padding: 5px 10px; font-weight: bold; } .rule-table td { background: none no-repeat scroll right center transparent; border: 1px solid #DDD; padding: 5px 10px; } /* End of API for Rule Descriptions */ .tip:hover { background: #FFF; position: relative; z-index: 100; } .tip span { display: none; margin-left: -20px; padding: 4px 5px; } .tip:hover span { display: inline; position: absolute; background: #CAE3F2; border: 1px solid #4b9fd5; color: #262626; white-space: nowrap; text-decoration: none; } .hbar { float: left; border: none; clear: both; width: 4em; margin: 0; padding: 2px 0 0; } .hbar li { background-color: #777; color: #FFF; font-family: Verdana, Tahoma, Arial, sans-serif; font-size: xx-small; letter-spacing: -0.075em; list-style: none; line-height: 1.1em; text-align: right; vertical-align: middle; padding: 0.1em; } div.barchart { border: 0; margin: 0; padding: 0; float: left; } div.barchart > div { background-color: @darkBlue; height: 0.9em; } table.matrix thead { background-color: #CAE3F2; border: 1px solid #4b9fd5; } table.matrix thead th { text-align: right; border-right: 1px solid #4b9fd5; padding: 4px 5px; } table.matrix tbody td { border: 1px solid #ddd; margin: 0; padding: 4px 5px; } table.matrix tbody td.title { border: none; font-weight: bold; margin: 0; padding: 5px 0 0 5px; } a.nolink { .link-no-underline; } h1 strong, .dashbox .title, .gwt-SourcePanel .sources .msg li strong { font-weight: bold; } h4 a, h4 a:visited, .gray { color: #777; } .even, table.sortable tr.rowodd { background-color: #f5f5f5; } .bordered { border-bottom: 1px solid #ddd; } table.data, table.spaced, .gwt-SourcePanel .sources { width: 100%; } table.data td.barchart { width: 100px; } table.without-header { border-top: 1px solid #ddd; } .hoverable.selected a { color: #fff; } .gwt-SourcePanel .sources td { vertical-align: top; } /* GENERIC STYLES */ .line-block { display: block; width: 100%; height: 24px; line-height: 22px; margin-bottom: 5px; } .line-info { background: url('../images/information.png') no-repeat scroll left 50% transparent; padding-left: 18px } div.break10 { height: 10px; } div.break30 { height: 30px; } .marginbottom10 { margin-bottom: 10px; } .marginbottom5 { margin-bottom: 5px; } .marginright10 { margin-right: 10px; } .marginleft10 { margin-left: 10px; } .width100 { width: 100%; } ul.horizontal { list-style-type: none; } ul.horizontal li { float: left; position: relative; } table.nowrap td, td.nowrap, th.nowrap { white-space: nowrap; } table.nowrap td.small, td.nowrap.small, th.nowrap.small { line-height: 16px; } .background-gray { background-color: #EFEFEF; color: #444; } /* CONFIGURATION OF Q PROFILES */ .bulk-edit { display: block; padding: 2px 0 2px 2px; } .csv { display: block; background: url("../images/csv.png") no-repeat scroll left 50% transparent; padding: 2px 0 2px 20px; } .add { display: block; background: url("../images/add.png") no-repeat scroll left 50% transparent; padding: 2px 0 2px 20px; } .restore { display: block; background: url("../images/restore.gif") no-repeat scroll left 50% transparent; padding: 2px 0 2px 20px; } .compare { display: block; background: url("../images/compare.png") no-repeat scroll left 50% transparent; padding: 2px 0 2px 20px; } /* Profile diff */ .diffParam { font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace; } .yellowHighlight { background: #FFFBCC; } /* Used on links which are located inside a dense text place or in tables */ /* in order to rapidly identify them */ .link-action { .widget-link; &.link-red { .widget-link-red; } } .link-red { color: @red !important; } .link-more { background-image: url('../images/bullet_arrow_down.png'); background-repeat: no-repeat; padding-right: 20px; background-position: right center; cursor: pointer; } .dropdown { cursor: pointer; display: inline-block; text-decoration: none !important; /* zoom and *display = ie7 hack for display:inline-block */ zoom: 1; *display: inline; } .dropdown-menu { background-clip: padding-box; background-color: #FFFFFF; border: 1px solid #DDD; box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5); float: left; margin: 0; max-width: 220px; min-width: 160px; padding: 0; position: absolute; z-index: 1000; } .dropdown-menu h2 { padding: 0 8px; font-size: 100%; font-weight: bold; } .dropdown-menu li { list-style-type: none !important; line-height: 24px; height: 24px; padding: 0 8px; cursor: pointer !important; float: none !important; } .dropdown-menu li:hover { background-color: @lightBlue !important; } .dropdown-menu a { text-decoration: none !important; border-bottom: none !important; color: @baseFontColor !important; } .form-key-cell { padding: 2px 8px 4px 10px; text-align: right; width: 1%; white-space: nowrap; vertical-align: top; } .form-val-cell { padding: 2px 8px 4px 0; text-align: left; white-space: normal; } .form-val-cell li { margin-bottom: 5px; } .form-val-note { color: #999; } blockquote { border-left: 3px solid #E5E5E5; padding: 0 8px; line-height: 16px; } blockquote cite { line-height: 16px; background-image: url('../images/reviews/comment.png'); background-repeat: no-repeat; padding-left: 20px; background-position: left center; font-size: 12px; color: #888; } .spacer-left { margin-left: 8px; } .spacer-right { margin-right: 8px; } .spacer-bottom { margin-bottom: 8px; } .spacer-top { margin-top: 8px; } td.spacer-left { padding-left: 8px; } td.spacer-right { padding-right: 8px; } td.spacer-bottom { padding-bottom: 8px; } td.spacer-top { padding-top: 8px; } .bordered { border: 1px solid #DDD; } .bordered-left { border-left: 1px solid #DDD; } .bordered-right { border-right: 1px solid #DDD; } .bordered-bottom { border-bottom: 1px solid #DDD; } .bordered-top { border-top: 1px solid #DDD; } .table > thead > tr > th { border-top: 0 none; font-weight: bold; vertical-align: bottom; line-height: 16px; padding: 4px 5px; vertical-align: bottom; } .table > tbody > tr > td { line-height: 16px; padding: 4px 5px; vertical-align: top; } .table > tfoot > tr > td { font-size: 93%; color: #777; padding: 4px 5px; } .table > tfoot > tr > td a { color: #777; } .table-bordered > tbody { border-left: 1px solid #DDD; border-right: 1px solid #DDD; border-bottom: 1px solid #DDD; } .table-bordered > tbody > tr > td { border-top: 1px solid #DDD; } select.small-width { max-width: 120px; } select.medium-width { max-width: 175px; width: 175px; } /* MODAL WINDOWS */ .modal-head { padding: 0 10px; background-color: #EFEFEF; border-bottom: 1px solid #DDD; } .modal-head h1, .modal-head h2 { line-height: 30px; min-height: 30px; } ul.modal-head-metadata { overflow: hidden; padding: 0 0 5px 0; } ul.modal-head-metadata li { float: left; position: relative; font-size: 85%; color: #777; } .modal-body { padding: 10px; } .modal-body-select2 { margin-bottom: 10px; } .modal-body .notes { height: auto; } .modal-field { clear: both; display: block; padding: 5px 0 5px 130px; } .modal-field label { display: block; float: left; text-align: right; width: 130px; left: -140px; margin-right: -130px; line-height: 1; word-wrap: break-word; position: relative; padding-top: 5px; &.simple-label { display: inline-block; vertical-align: middle; float: none; position: static; margin: 0 0 0 -5px; padding: 0; text-align: left; } } .readonly-field { padding-top: 5px; margin-left: -5px; line-height: 1; } .modal-field input { margin-right: 5px; margin-bottom: 10px; } .modal-field input[type=text], .modal-field input[type=password], .modal-field textarea { width: 250px; } .modal-field .text { line-height: 20px; } .modal-foot { text-align: right; padding: 2px 10px; border-top: 1px solid #CCC; line-height: 30px; height: 30px; background-color: #EFEFEF; } .modal-foot input { margin-right: 10px; } .modal-field-description { clear: both; font-size: 93%; color: #777; } .modal-error, .modal-warning, .modal-notice { display: none; } textarea.width100 { width: 100%; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ -moz-box-sizing: border-box; /* Firefox, other Gecko */ box-sizing: border-box; /* Opera/IE 8+ */ } .property { margin-bottom: 10px; } .property h3 { float: none; max-width: 20em; } .property > th, .property > td { vertical-align: top; padding: 10px; } .property > th { text-align: right; } .property table.data { width: 480px; } .property textarea { vertical-align: text-top; } .property .note { margin-top: 5px; } /* ------------------- Accordion navigation styles ------------------- */ .accordion-item { border: 1px solid @barBorderColor; margin-bottom: 20px; } .accordion-item table.data { /* Fix an issue on Google Chrome to prevent the horizontal scroll to appear */ border-collapse : separate; } .accordion-item-body-medium { max-height: 200px; overflow: auto; } /* ------------------- Rule styles ------------------- */ .rule-search { display: inline-block; line-height: 16px; } div.rule-title { display: inline-block; float: left; clear: right; } #result_table .rule-desc { width: 100%; float: left; clear: right; } .rule-status, .rule-tags { display: inline-block; margin-left: 10px; float: right; padding: 3px 5px 0 0; font-size: 85%; color: #777; } .rule-tags a { color: inherit; text-decoration: none; } .rule-status span { text-transform: uppercase; } .rule-tags span { background-color: #eee; padding: 3px 4px; margin: 4px 2px; border-radius: 2px; box-shadow: 0px -1px 0px rgba(0, 0, 0, 0.12) inset; } /* ------------------- Role search styles ------------------- */ .project-search { display: inline-block; line-height: 16px; padding: 4px 2px; } .sonar-d3 { } .sonar-d3 .axis path { fill: none; stroke: #444; } .sonar-d3 .tick line { stroke: #444; } .sonar-d3 .tick text { fill: #444; } .sonar-d3 .plot { transition: all 0.2s ease; } .sonar-d3 .plot:hover .arc, .sonar-d3 .plot.hover .arc { opacity: 0.4; } .sonar-d3 .plot .arc:hover, .sonar-d3 .plot .arc.hover { opacity: 1; } .sonar-d3 .plot .line { fill: none; stroke: #000; stroke-width: 2; } .sonar-d3 .plot .line-marker { fill: #fff; stroke: #000; stroke-width: 2; opacity: 0; } .sonar-d3 .plot .scanner { stroke: #000; opacity: 0.25; } .sonar-d3 .arc, .sonar-d3 .bar rect { cursor: pointer; stroke: #fff; stroke-width: 1px; transition: all 0.2s ease; } .sonar-d3 .bar, .sonar-d3 .bar .legend-text, .sonar-d3 .pie-legend, .sonar-d3 .pie-legend .legend-text { cursor: pointer; } .sonar-d3 .legend { } .sonar-d3 .legend-bullet { transition: all 0.2s ease; } .sonar-d3 .legend-text { font-size: 12px; cursor: default; } .sonar-d3 .legend-active .legend-bullet { -webkit-transform: scale(1.4); -webkit-transform-origin: center; } .sonar-d3 .legend-html { margin-bottom: 10px; color: @secondFontColor; .legend-text + .legend-text { margin-left: 15px; } .legend-text-main { font-weight: 500; } } .sonar-d3 .details-color-indicator { fill: #fff; transition: fill 0.2s ease; } .sonar-d3 .details-metric { font-size: 12px; } .sonar-d3 .details-metric-main { font-weight: bold; } .sonar-d3 .info { } .sonar-d3 .info-text { font-size: 13px; } .sonar-d3 .info-text-bold { font-weight: bold; } .sonar-d3 .info-text-small { font-size: 12px; } .sonar-d3 .event-tick { fill: none; stroke: #000; stroke-width: 1px; transition: all 0.3s ease; } .sonar-d3.cloud-widget { text-align: center; } .sonar-d3 .cloud-word { display: inline-block; vertical-align: baseline; white-space: nowrap; margin-right: 14px; text-decoration: none; border-bottom: 1px solid transparent; &:hover { border-bottom: 1px solid; } } .sonar-d3 .max-results-reached-message { font-size: 12px; } .sonar-d3 div.max-results-reached-message { margin-top: 10px; color: #777; text-align: center; } .sonar-d3 text.max-results-reached-message { fill: #777; } .sonar-d3 .treemap-container { position: relative; } .sonar-d3 .treemap-cell { position: absolute; border-right: 1px solid #fff; border-bottom: 1px solid #fff; .box-sizing(border-box); text-align: center; } .sonar-d3 .treemap-cell-drilldown { cursor: pointer; .trans(opacity); &:hover { opacity: 0.8; } } .sonar-d3 .treemap-inner { display: inline-block; vertical-align: middle; line-height: 1.2; padding: 5px; .box-sizing(border-box); color: #fff; font-weight: 300; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sonar-d3 .treemap-link { position: absolute; z-index: 2; top: 5px; right: 5px; line-height: @iconSmallFontSize; color: #fff; opacity: 0.5; .link-no-underline; &:hover { opacity: 1; } } .sonar-d3 .treemap-link i, .sonar-d3 .treemap-link i:before { vertical-align: top; font-size: inherit; line-height: inherit; } .sonar-d3 .treemap-cell-small { .treemap-inner { display: none; } } .sonar-d3 .treemap-cell-very-small { .treemap-inner { display: none; } .treemap-link { display: none; } } .sonar-d3 .treemap-breadcrumbs { margin-top: 10px; padding-top: 7px; border-top: 1px solid #E6E6E6; } .sonar-d3 .treemap-breadcrumbs-item { color: @secondFontColor; & > [class^="icon-qualifier-"] { margin-right: 4px; } } .sonar-d3 .treemap-breadcrumbs-item + .treemap-breadcrumbs-item { margin-left: 10px; & > .icon-chevron-right { margin-right: 10px; } } /* ------------------- Admin pages ------------------- */ .admin-page-title { margin-bottom: 0px; } .admin-page-description { font-size: 85%; font-weight: normal; margin-bottom: 25px; } /* ------------------- Bubble popups ----------------- */ @popupArrowSize: 8px; .bubble-popup { position: absolute; z-index: 100; margin-top: -16px; margin-left: @popupArrowSize; padding: 10px; border: 1px solid @barBorderColor; border-radius: 3px; .box-sizing(border-box); background-color: @white; box-shadow: @defaultShadow; } .bubble-popup-arrow, .bubble-popup-arrow:after { position: absolute; display: block; .size(0, 0); border: @popupArrowSize solid transparent; } .bubble-popup-arrow { top: 15px; left: -@popupArrowSize; border-left-width: 0; border-right-color: @barBorderColor; &:after { content: " "; left: 1px; bottom: -@popupArrowSize; border-left-width: 0; border-right-color: @white; } } .bubble-popup-bottom { margin-top: @popupArrowSize; margin-left: -16px; .bubble-popup-arrow { top: -@popupArrowSize; left: 15px; border-left-width: @popupArrowSize; border-top-width: 0; border-right-color: transparent; border-bottom-color: @barBorderColor; &:after { left: -@popupArrowSize; bottom: -@popupArrowSize - 1px; border-left-width: @popupArrowSize; border-top-width: 0; border-right-color: transparent; border-bottom-color: @white; } } } .bubble-popup-bottom-right { .bubble-popup-bottom; margin-left: 0; margin-right: -8px; .bubble-popup-arrow { left: auto; right: 15px; } } .bubble-popup-container { max-width: 560px; max-height: 300px; overflow: auto; } .bubble-popup-title { margin-bottom: 5px; font-weight: 600; } .bubble-popup-section { width: 450px; padding-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; &.fluid { width: auto; max-width: 450px; } } .bubble-popup-section + .bubble-popup-section, .bubble-popup-section + .bubble-popup-title { margin-top: 10px; } .bubble-popup-list { margin-top: 5px; & > li { padding: 2px 0; } }