From 0de81e316d99e8e3dea5078dc951cb2fb98184db Mon Sep 17 00:00:00 2001 From: webchick Date: Fri, 13 Feb 2015 12:51:40 -0800 Subject: [PATCH] Issue #2226189 by alvar0hurtad0, sivaji@knackforge.com, mherchel, emma.maria, LewisNyman, tmjoseantonio: Style the modal in Bartik --- core/themes/bartik/bartik.libraries.yml | 1 + .../bartik/css/components/ui-dialog.css | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 core/themes/bartik/css/components/ui-dialog.css diff --git a/core/themes/bartik/bartik.libraries.yml b/core/themes/bartik/bartik.libraries.yml index 30e83fcf1f3..6d71afb1664 100644 --- a/core/themes/bartik/bartik.libraries.yml +++ b/core/themes/bartik/bartik.libraries.yml @@ -40,6 +40,7 @@ global-styling: css/components/vertical-tabs.component.css: {} css/components/views.css: {} css/components/buttons.css: {} + css/components/ui-dialog.css: {} css/colors.css: {} css/print.css: { media: print } diff --git a/core/themes/bartik/css/components/ui-dialog.css b/core/themes/bartik/css/components/ui-dialog.css new file mode 100644 index 00000000000..f90091c3f0e --- /dev/null +++ b/core/themes/bartik/css/components/ui-dialog.css @@ -0,0 +1,34 @@ +/** + * @file + * Styles for Bartik's modal windows + */ + +.ui-widget-overlay { + background: #000; + opacity: 0.7; +} +.ui-dialog { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + border-radius: 0; +} +.ui-dialog input, +.ui-dialog select, +.ui-dialog textarea { + font-size: 0.9em; +} +.ui-dialog .button { + background-color: #fff; + background-image: -webkit-linear-gradient(top,#f3f3f3,#e8e8e8); + background-image: linear-gradient(to bottom,#f3f3f3,#e8e8e8); + border: 1px solid #e4e4e4; + border-bottom-color: #b4b4b4; + border-left-color: #d2d2d2; + border-right-color: #d2d2d2; + color: #3a3a3a; + cursor: pointer; + font-size: 0.929em; + font-weight: normal; + text-align: center; + padding: 0.250em 1.063em; + border-radius: 1em; +}