From 84d01e16e7cf97ea24d46cf7ae4dcbc229bed40c Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Thu, 1 Mar 2018 00:22:51 +0530 Subject: [PATCH] header btn style fix --- datacenterlight/cms_models.py | 3 ++- .../migrations/0012_dclcalculatorpluginmodel.py | 2 +- .../static/datacenterlight/css/header-slider.css | 8 ++++++++ .../static/datacenterlight/css/landing-page.css | 1 + 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/datacenterlight/cms_models.py b/datacenterlight/cms_models.py index 3db5b969..3a5c4e88 100644 --- a/datacenterlight/cms_models.py +++ b/datacenterlight/cms_models.py @@ -85,7 +85,8 @@ class DCLSectionIconPluginModel(CMSPlugin): max_length=30, help_text=mark_safe( 'Name of the fontawesome icon to use. ' - 'Refer docs.' + '' + 'Refer docs.' ) ) diff --git a/datacenterlight/migrations/0012_dclcalculatorpluginmodel.py b/datacenterlight/migrations/0012_dclcalculatorpluginmodel.py index 4c238718..5b9bab61 100644 --- a/datacenterlight/migrations/0012_dclcalculatorpluginmodel.py +++ b/datacenterlight/migrations/0012_dclcalculatorpluginmodel.py @@ -108,7 +108,7 @@ class Migration(migrations.Migration): ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='cms.CMSPlugin')), ('fontawesome_icon_name', models.CharField( - help_text='Name of the fontawesome icon to use. Refer docs.', max_length=30)), + help_text='Name of the fontawesome icon to use. Refer docs.', max_length=30)), ], options={ 'abstract': False, diff --git a/datacenterlight/static/datacenterlight/css/header-slider.css b/datacenterlight/static/datacenterlight/css/header-slider.css index 0aeaecd8..3c31adcf 100644 --- a/datacenterlight/static/datacenterlight/css/header-slider.css +++ b/datacenterlight/static/datacenterlight/css/header-slider.css @@ -162,3 +162,11 @@ height: 100%; } } + +.btn-trans { + color: #fff; + border: 2px solid #fff; + padding: 4px 18px; + letter-spacing: 0.6px; + background: rgba(0,0,0,0.35); +} \ No newline at end of file diff --git a/datacenterlight/static/datacenterlight/css/landing-page.css b/datacenterlight/static/datacenterlight/css/landing-page.css index b970cff4..cd1bb8ff 100755 --- a/datacenterlight/static/datacenterlight/css/landing-page.css +++ b/datacenterlight/static/datacenterlight/css/landing-page.css @@ -426,6 +426,7 @@ textarea { .section-figure { display: flex; flex-wrap: wrap; + justify-content: center; } .section-figure .cms-plugin {