[FFmpeg-devel] [PATCH 1/2] [WEB] style: add "warning" style similar to .info but has a red border

Timothy Gu timothygu99 at gmail.com
Mon Sep 1 04:53:30 CEST 2014


Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---

No changes.

 src/less/style.less | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/less/style.less b/src/less/style.less
index 6a26684..0c9ea03 100644
--- a/src/less/style.less
+++ b/src/less/style.less
@@ -15,6 +15,7 @@
 @Cseconddarkdark: darken(@Cseconddark, 10%);
 @Csecondlight: lighten(@Csecond, 15%);
 @Csecondlightlight: lighten(@Csecondlight, 20%);
+ at Cwarning: #ae4c4c;
 
 // ************************************************************************* //
 // SIZES
@@ -180,17 +181,24 @@ a.well {
     }
 }
 
-.info {
+.info, .warning {
     margin: 10px;
     padding: 10px;
     background-color: @Cmainlight;
-    border-left: 10px @Csecond solid;
     color: @Cinvert;
     code {
 	background-color: @Cmain;
     }
 }
 
+.info {
+    border-left: 10px @Csecond solid;
+}
+
+.warning {
+    border-left: 10px @Cwarning solid;
+}
+
 .with-icon {
     padding: 30px;
     .pull-left {
-- 
1.9.1



More information about the ffmpeg-devel mailing list