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

Timothy Gu timothygu99 at gmail.com
Thu Jul 24 02:20:29 CEST 2014


On Sun, Jul 20, 2014 at 10:03 AM, Timothy Gu <timothygu99 at gmail.com> wrote:
> Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
> ---
>  src/less/style.less | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)

Ping

>
> 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