diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-07-18 14:38:26 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-07-25 20:21:20 +0200 |
commit | 94459a7435354e2453e24753c7ab54d126be2187 (patch) | |
tree | 326c2c5cd2ba8af4e820320b9cbbfc6f161f4af2 /server/sonar-docs/src/templates/page.css | |
parent | 1e1472ca428aba286c40d86cb7ee409ab10a98c3 (diff) | |
download | sonarqube-94459a7435354e2453e24753c7ab54d126be2187.tar.gz sonarqube-94459a7435354e2453e24753c7ab54d126be2187.zip |
SONAR-10869 add custom syntax for warning/info messages (#519)
Diffstat (limited to 'server/sonar-docs/src/templates/page.css')
-rw-r--r-- | server/sonar-docs/src/templates/page.css | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/server/sonar-docs/src/templates/page.css b/server/sonar-docs/src/templates/page.css new file mode 100644 index 00000000000..cf8ff3dd405 --- /dev/null +++ b/server/sonar-docs/src/templates/page.css @@ -0,0 +1,34 @@ +.alert { + display: block; + margin: 0 -1em 1.5rem; + padding: 1em; + border: 1px solid #777; +} + +.alert > p { + margin: 0; +} + +.alert-danger { + border-color: #ebccd1; + background-color: #f2dede; + color: #a94442; +} + +.alert-warning { + border-color: #faebcc; + background-color: #fcf8e3; + color: #8a6d3b; +} + +.alert-info { + border-color: #bce8f1; + background-color: #d9edf7; + color: #31708f; +} + +.alert-success { + border-color: #d6e9c6; + background-color: #dff0d8; + color: #3c763d; +} |