diff options
Diffstat (limited to 'server/sonar-web/src/main/less/components/ui.less')
-rw-r--r-- | server/sonar-web/src/main/less/components/ui.less | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/server/sonar-web/src/main/less/components/ui.less b/server/sonar-web/src/main/less/components/ui.less index 8d4efa32d67..5515bc26485 100644 --- a/server/sonar-web/src/main/less/components/ui.less +++ b/server/sonar-web/src/main/less/components/ui.less @@ -20,90 +20,6 @@ @import (reference) "../variables"; @import (reference) "../mixins"; - -/* - * Display Maintainability Rating (also used by the SQALE plugin) - */ - -.rating { - display: inline-block; - width: 1em; - height: 1.3em; - line-height: 1.3; - color: #fff; - font-weight: 300; - text-align: center; - - a > & { - margin-bottom: -1px; - border-bottom: 1px solid; - transition: all 0.2s ease; - - &:hover { opacity: 0.8; } - } -} - -.rating-A { - background-color: #00AA00; - a & { border-bottom-color: #00AA00; } -} - -.rating-B { - background-color: #80CC00; - a & { border-bottom-color: #80CC00; } -} - -.rating-C { - background-color: #FFEE00; - color: @baseFontColor; - a & { border-bottom-color: #FFEE00; } -} - -.rating-D { - background-color: #F77700; - a & { border-bottom-color: #F77700; } -} - -.rating-E { - background-color: #EE0000; - a & { border-bottom-color: #EE0000; } -} - -.level { - display: inline-block; - height: 1.6em; - line-height: 1.7; - margin: -0.3em 0; - padding: 0 0.5em; - border-radius: 3px; - color: #fff; - letter-spacing: 0.02em; - font-weight: 400; - text-align: center; - text-shadow: 0 0 1px rgba(0, 0, 0, 0.35); - - a > & { - margin-bottom: -1px; - border-bottom: 1px solid; - transition: all 0.2s ease; - - &:hover { opacity: 0.8; } - } -} - -.level-OK { - background-color: @green; -} - -.level-WARN { - background-color: @orange; -} - -.level-ERROR { - background-color: @red; -} - - .processes-container { position: fixed; z-index: @process-container-z-index; |