padding: 2px 4px;
}
+// use `.alert.alert-warning` instead
.warning, .modal-warning {
margin: 0 0 8px;
padding: 5px 8px;
color: @orange;
}
+// use `.alert.alert-danger` instead
.error, .modal-error {
margin: 0 0 8px;
padding: 5px 8px;
color: @red;
}
+// use `.alert.alert-success` or `.alert.alert-info` instead
.notice, .modal-notice {
margin: 0 0 8px;
padding: 5px 8px;
- border: 2px solid @blue;
+ border: 2px solid @green;
background-color: @white;
- color: @blue;
+ color: @green;
}
.info {
cursor: default;
}
-.link-red {
- color: @red !important;
+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;
+}
+
+/* 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%;
}
.input-small {
width: 80px;
}
+
+em.mandatory {
+ color: #990000;
+ font-style: italic;
+}
@import (reference) "components/ui";
@import (reference) "components/typography";
-.ie-warn {
- color: #EEE;
- background: #FF5252;
- padding: 0 5px;
-}
-
-.ie-warn a {
- color: #EEE;
- text-decoration: underline;
-}
-
-/*
- GENERAL
-*/
-
-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;
-}
-
-/* ------------------- SETUP / MIGRATION PAGES ------------------- */
-.migration {
- background-image: url("../images/logo.png");
- background-repeat: no-repeat;
- background-position: top right;
-}
-
-/* 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;
<a href="http://redirect.sonarsource.com/doc/plugin-library.html" target="plugins">Plugins</a> -
<a href="<%= ApplicationController.root_context -%>/api_documentation">Web Service API</a>
<% unless DatabaseVersion.production? %>
- <br><br><span class="error big" id="evaluation_warning">Embedded database should be used for evaluation purpose only</span>
- <br><br><span class="error">The embedded database will not scale, it will not support upgrading to newer versions of SonarQube, and there is no support for migrating your data out of it into a different database engine.</span>
+ <div class="spacer-top alert alert-danger">
+ <p class="big" id="evaluation_warning">Embedded database should be used for evaluation purpose only</p>
+ <p>The embedded database will not scale, it will not support upgrading to newer versions of SonarQube, and there is no support for migrating your data out of it into a different database engine.</p>
+ </div>
<% end %>
</div>
- <!--[if lte IE 8 ]><br/><span class="ie-warn">IE 8 is not supported. Some widgets may not be properly displayed. Please switch to a <a target="_blank" href="http://redirect.sonarsource.com/doc/requirements.html">supported version or another supported browser</a>.</span><!--<![endif]-->
+ <!--[if lte IE 8 ]><p class="spacer-top alert alert-danger">IE 8 is not supported. Some widgets may not be properly displayed. Please switch to a <a target="_blank" href="http://redirect.sonarsource.com/doc/requirements.html">supported version or another supported browser</a>.</p><!--<![endif]-->
</div>
<% end %>