summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Eskola2017-10-11 05:58:22 (GMT)
committerLauri Eskola2017-10-11 05:58:22 (GMT)
commita2a199a737cd2aed364dbe73ec836d2662eb94c1 (patch)
tree4919d46ff05a17e5d8c22ec04b59a56840458bb9
parent4997192be0c16d2d597718bdb384951580083bb0 (diff)
Issue #2236789 by singh_haneet, Neograph734, petruk.dmitriy, idebr, herom, joelpittet, LewisNyman, xjm: Styling of inline radios broken: inappropriate trailing colons (breaks EditorImageDialog)
-rw-r--r--core/themes/seven/css/components/container-inline.css15
-rw-r--r--core/themes/seven/css/components/container-inline.module.css9
-rw-r--r--core/themes/seven/seven.libraries.yml2
3 files changed, 26 insertions, 0 deletions
diff --git a/core/themes/seven/css/components/container-inline.css b/core/themes/seven/css/components/container-inline.css
new file mode 100644
index 0000000..a1968dc
--- /dev/null
+++ b/core/themes/seven/css/components/container-inline.css
@@ -0,0 +1,15 @@
+/**
+ * @file
+ * Inline items.
+ */
+
+.container-inline .form-radios label:after {
+ content: '';
+}
+.container-inline .form-radios .form-type-radio {
+ margin-right: 1em;
+}
+[dir="rtl"] .container-inline .form-radios .form-type-radio {
+ margin-right: 0;
+ margin-left: 1em;
+}
diff --git a/core/themes/seven/css/components/container-inline.module.css b/core/themes/seven/css/components/container-inline.module.css
new file mode 100644
index 0000000..d384425
--- /dev/null
+++ b/core/themes/seven/css/components/container-inline.module.css
@@ -0,0 +1,9 @@
+/**
+ * @file
+ * Inline items.
+ */
+
+.container-inline div,
+.container-inline label {
+ display: inline-block;
+}
diff --git a/core/themes/seven/seven.libraries.yml b/core/themes/seven/seven.libraries.yml
index 75e8c1a..508c0fe 100644
--- a/core/themes/seven/seven.libraries.yml
+++ b/core/themes/seven/seven.libraries.yml
@@ -8,6 +8,8 @@ global-styling:
component:
css/components/admin-list.css: {}
css/components/content-header.css: {}
+ css/components/container-inline.css: {}
+ css/components/container-inline.module.css: {}
css/components/breadcrumb.css: {}
css/components/buttons.css: {}
css/components/messages.css: {}