From 32f79abd9fb4628c0ac2e5c3a102860588339fb5 Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Thu, 6 Sep 2012 11:27:46 -0400 Subject: [PATCH] added sidebar styling for staff posts and responses --- lms/static/images/staff-icons.png | Bin 0 -> 1126 bytes lms/static/sass/_discussion.scss | 39 +++++++++++++++++++++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 lms/static/images/staff-icons.png diff --git a/lms/static/images/staff-icons.png b/lms/static/images/staff-icons.png new file mode 100644 index 0000000000000000000000000000000000000000..7efb9a8cd1dc844c5dca05dc1b6a19211b47ab7f GIT binary patch literal 1126 zcmaJ=TWHfz7>-W1IaGY`IvgG|2Tp9$v`yNEb=}%zTV)xgD>~eROOvxTY`K`6*>3Ei z^M><59EeZiU38*?iVrH@u!-ohvGTIqb{rT9O#vGoaFRwAJTwHw_iD_M|eRE#tPaZT!hNhm1;+aAF> zf+$(5raDlE*viR<=9U~EcTO`gnjq>TIa88*Ap&XGqv~Pu`;FTqP?a#bnGrpr8G{+M zWzd4{gKa5!uvZQ#WTYO{sMUD(5A59mnBxpcd_$iPEewp0_Th7KG?DQ)zlFo~5;rl6VA zw7NZ2CR{KoCz%xO_BbgO9Yyi~u9`OOZKEXot9M3XJ2hZJDhX|)-;#0Tx~rW~CKt1y zgbXWX7=6VmCNc&x?2KW8SUU^WiIS}9j-hq}A&OjFw~?gFFwTcb%;8p5g$vP4s7YW1 zA<6`3TA+h`faQa1fbn^K!6rIX#PWvRuR$FZu?og|f_|Q*V}2nT@Xv^KhCwrNWFA`T zcBnL2h6W~*=G57>#AeqriB)FMGL;8EE0)4yD5tgmw7O`*^W$u%2NxfvM<42V-Yq=X z_qyNi#Fye_oNr9!UZ;PLk4H*EVCY@s#EXk4o$gxmVDW({nV-8ja;IkG>8|la>-n0p zAGKZSW2^3L7(H`Z_;TpYybtx@bMxkh(c^;e+0cp7`%fDB$_lH;KAq&jt>MCLqHyfs zsj|X_LTOd?l8+@%hhNTrPv2DyXST&aaHl%F5awK!LtaI+A&Ru$W%lpi6Zp+#I n%g$BbOw?RnyW;Tf^$qzsg!(qIuJY*fea_8~3vK+xXxENE?tye$ literal 0 HcmV?d00001 diff --git a/lms/static/sass/_discussion.scss b/lms/static/sass/_discussion.scss index 110dd9b11a..3c914d42db 100644 --- a/lms/static/sass/_discussion.scss +++ b/lms/static/sass/_discussion.scss @@ -906,7 +906,7 @@ body.discussion { position: relative; display: block; height: 36px; - padding: 0 10px; + padding: 0 10px 0 18px; margin-bottom: 1px; margin-right: -1px; @include linear-gradient(top, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); @@ -917,6 +917,35 @@ body.discussion { background-color: #eee; } + &.staff-post.staff-response { + .staff-post-icon { + top: 5px; + } + + .staff-response-icon { + top: 18px; + } + } + + .staff-post-icon, + .staff-response-icon { + position: absolute; + top: 11px; + left: 3px; + width: 13px; + height: 13px; + background: url(../images/staff-icons.png) no-repeat; + } + + .staff-post-icon { + left: 2px; + background-position: 0 0; + } + + .staff-response-icon { + background-position: -13px 0; + } + .title { font-size: 13px; font-weight: 700; @@ -958,6 +987,14 @@ body.discussion { color: #333; } + .staff-post-icon { + background-position: 0 -13px; + } + + .staff-response-icon { + background-position: -13px -13px; + } + .votes-count, .comments-count { @include linear-gradient(top, #3994c7, #4da7d3);