aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/sass/_layout.scss
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-09-25 15:17:58 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-09-25 15:17:58 +0100
commit7a4260e7d4c892b452b6c319959a03ee747ce9a6 (patch)
treefe43873021d67e6171cc2e3e59227ca02dc4a8cb /web/cobrands/sass/_layout.scss
parent993e4e9ae3b8f64ce69b0db2478b5152817255a8 (diff)
Remove .general-sidebar-notes, inline text instead
This removes all "hanging on" sidebars apart from the main reporting a problem one, interspersing the text in the form instead.
Diffstat (limited to 'web/cobrands/sass/_layout.scss')
-rw-r--r--web/cobrands/sass/_layout.scss41
1 files changed, 5 insertions, 36 deletions
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 05b4b6d85..4f8b9597f 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -743,7 +743,7 @@ textarea.form-error {
@include border-radius(0 0 0.25em 0.25em);
}
-#report-a-problem-sidebar, .general-sidebar-notes {
+#report-a-problem-sidebar {
position: absolute;
left: 29em;
width: 15em;
@@ -764,13 +764,12 @@ textarea.form-error {
}
}
.ie6, .ie7 {
- #report-a-problem-sidebar, .general-sidebar-notes {
+ #report-a-problem-sidebar {
left: 28.5em; // 0.5em left margin gone on .content in IE6/7, so reduce this accordingly.
z-index: 1;
}
}
-.no-js .general-sidebar-notes,
.no-js #report-a-problem-sidebar {
position: static;
width: auto;
@@ -781,26 +780,9 @@ textarea.form-error {
}
}
-// More general sidebar notes
-.general-sidebar-notes {
- p {
- background:#eeeeee;
- font-size:0.75em;
- padding:0.75em;
- margin:0;
- &.dark {
- background:#333333;
- color:#ffffff;
- }
- }
-}
-
-/* Adjust the above so text flow can be different from display */
-#forgotten-pw {
- position: relative;
- left: 26.5em;
- top: -7em;
- margin-bottom: -7em; // So no gap in main flow
+// More general notes
+.general-notes {
+ font-size: 0.75em;
}
// Frontpage
@@ -1176,19 +1158,6 @@ $button_bg_col: #a1a1a1; // also search bar (tables)
width:auto;
}
- //put the RAP notes into the main copy area
- // Note: Also used for the non-JS case.
- #report-a-problem-sidebar,
- .general-sidebar-notes {
- position: static;
- width: auto;
- @include box-shadow(rgba(0, 0, 0, 0) 0 0 0);
- .sidebar-tips,
- .sidebar-notes {
- font-size:1em;
- }
- }
-
//Revert to mobile use of the .full-width class
.full-width{
width: auto;