aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/sass/_admin.scss
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-08-17 13:28:47 +0100
committerDave Arter <davea@mysociety.org>2017-08-17 13:28:47 +0100
commitadfbe1c2ef9335e86e4f177db2eb2adfa6249e52 (patch)
treec110c92155be4cfeadd91d1d663df0684c341929 /web/cobrands/sass/_admin.scss
parentdd1cefa2d7751d3c7fb8ca4f3cb2f35efc2a8fd5 (diff)
parentfb03c300258b5d1dc419d7d08ecb3afa12a2fa5b (diff)
Merge branch '1743-report-extras-editing'
Diffstat (limited to 'web/cobrands/sass/_admin.scss')
-rw-r--r--web/cobrands/sass/_admin.scss38
1 files changed, 38 insertions, 0 deletions
diff --git a/web/cobrands/sass/_admin.scss b/web/cobrands/sass/_admin.scss
index 58917a8ce..8a16b3f00 100644
--- a/web/cobrands/sass/_admin.scss
+++ b/web/cobrands/sass/_admin.scss
@@ -163,3 +163,41 @@ $button_bg_col: #a1a1a1; // also search bar (tables)
float: left;
}
}
+
+.js-metadata-items {
+ margin: 0;
+
+ li {
+ list-style: none;
+ position: relative;
+ }
+
+ .js-metadata-item:nth-child(odd) {
+ background-color: #eee;
+ }
+
+ .js-metadata-options {
+ li {
+ list-style: none;
+
+ label, input[type=text] {
+ display: inline-block;
+ margin: 0;
+ padding: 0.25em;
+ }
+
+ &:nth-child(even) {
+ background-color: #ddd;
+ }
+ &:nth-child(odd) {
+ background-color: #ccc;
+ }
+ }
+ }
+
+ .js-metadata-item-remove {
+ position: absolute;
+ top: 0.25em;
+ right: 0.25em;
+ }
+}