From a31021fc4cf2a55b4730408d5d76843183ba4d50 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Sat, 13 Sep 2014 13:12:29 -0400 Subject: [PATCH 1/2] ribbon for irc --- root/inc/release-info.html | 2 +- root/static/images/noise.png | Bin 0 -> 561 bytes root/static/less/nav-list.less | 67 +++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 root/static/images/noise.png diff --git a/root/inc/release-info.html b/root/inc/release-info.html index 0be45ccc96f..708b6a24fea 100644 --- a/root/inc/release-info.html +++ b/root/inc/release-info.html @@ -49,7 +49,7 @@
Kwalitee
<% IF irc.web %> -
  • +
  • Chat with Maintainers
  • <% END %> diff --git a/root/static/images/noise.png b/root/static/images/noise.png new file mode 100644 index 0000000000000000000000000000000000000000..ed39360fcfb8fceef5c82ffa3cfcaa28ccd15228 GIT binary patch literal 561 zcmV-10?z%3P)@xybcLtt1Nq~3Au%oFVoYqi2uDL8j36rj(Q#5aG!8yS1m)220b z?BmVw=|VYJ@!bt{5Dp#l*fRN6q3`KBW4$7=ad_#tQ&UzNQnblmT75RoOttmRs8L_4VG-V zXat7QKFxwHul@0Zd#_tXP|3kv$Z~hMDEldsQ1EP>?J;X8W-{Wh5S+FroL`}7e1~$R zfEV!Zx>z#!Z)Q1*ZxU9XnCCE8fR(!A+$1CF0%a7Gv$9i(qP=l=bnEQYCEt#It^1Ei zt{#|&R^!zt@6FnA!nEPu08d`PabdpSLJSLMI*Y@edPKHrz^2VbR_1URr!QjjGD&qc zH$GFewsz^1geX$@B5WlJHxAbxAmEE-Nc!V9&kkyw5oboD00000NkvXXu0mjf)1L@H literal 0 HcmV?d00001 diff --git a/root/static/less/nav-list.less b/root/static/less/nav-list.less index 22a416555b3..a857ab05e41 100644 --- a/root/static/less/nav-list.less +++ b/root/static/less/nav-list.less @@ -125,3 +125,70 @@ text-shadow: 0 1px 0 rgba(255,255,255,.5); text-transform: uppercase; } + +.irc-chat { + @width: 155px; + @height: 36px; + @left: 10px; + @border-margin: 5px; + @background: #b80000; + + position: relative; + top: 0px; + height: @height; + width: @width; + left: 0 - @left; + + display: inline-block; + margin-bottom: 10px; + border-radius: 4px 0px 0px; + box-shadow: 0px 2px 2px -2px #000; + + a { + color: #fff; + font-weight: bold; + } + + /* dotted border */ + div { + display: inline-block; + margin: @border-margin 0; + padding-left: @left; + border-style: dotted; + border-color: darken(@background, 12.7%); + border-width: 1px 0; + width: @width - ( @border-margin / 2 ); + line-height: @height - ( @border-margin * 2 ) - 1; + } + + /* right triangle on ribbon */ + &:after { + @sides: @height / sqrt(2); + + content: ''; + position: absolute; + top: (@height - @sides) / 2; + left: @width - (@sides / 2); + width: @sides; + height: @sides; + .rotate(45deg); + z-index: -1; + } + + /* lower ribbon */ + &:before { + content: ''; + position: absolute; + top: @height; + left: 1px; + border-top: 9px solid darken(@background, 8%); + border-left: 9px solid transparent; + .scale(1.2, 1); + z-index: -1; + } + + &, &:after { + background-color: @background; + background-image: data-uri('../images/noise.png'); + } +} From 74806222040b37887e74ff6f6cc531833d9bf54d Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Sat, 13 Sep 2014 14:00:45 -0400 Subject: [PATCH 2/2] reword irc message --- root/inc/release-info.html | 2 +- root/static/less/nav-list.less | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/root/inc/release-info.html b/root/inc/release-info.html index 708b6a24fea..ceef14d4213 100644 --- a/root/inc/release-info.html +++ b/root/inc/release-info.html @@ -50,7 +50,7 @@ <% IF irc.web %>
  • - +
  • <% END %> <% IF release.license %> diff --git a/root/static/less/nav-list.less b/root/static/less/nav-list.less index a857ab05e41..a63c8f04922 100644 --- a/root/static/less/nav-list.less +++ b/root/static/less/nav-list.less @@ -127,7 +127,7 @@ } .irc-chat { - @width: 155px; + @width: 160px; @height: 36px; @left: 10px; @border-margin: 5px; @@ -146,7 +146,6 @@ a { color: #fff; - font-weight: bold; } /* dotted border */