From c842a5fc7c7b3e6fc6068e1462d83f2ecbcdfa5c Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 3 May 2013 00:33:58 -0700 Subject: [PATCH] plugged in more pseudo code for various css class states necessary as well as examples for dropdown case and extra logic required there --- cms/static/sass/views/_unit.scss | 17 +++++++++++++++-- cms/templates/component.html | 25 ++++++++++++++++++++++--- 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/cms/static/sass/views/_unit.scss b/cms/static/sass/views/_unit.scss index ae45c29fb5..b4352f413d 100644 --- a/cms/static/sass/views/_unit.scss +++ b/cms/static/sass/views/_unit.scss @@ -502,15 +502,28 @@ body.course.unit { //SettingsLabel li > label { //Text all aligned left + display: inline-block; //this sets height of .settings-row to allow for long help strings. } //SettingsInput - li > input { + li > input, li > select { + @include placeholder($gray-l4); + @include font-size(16); + @include size(100%,100%); width: 100px; + height: auto; //TO-DO - + &:focus { + //TO-DO + } + } + + //SettingsClear + li > button { + border-radius: 20px; //maybe a % calc from input box height + margin-left: 15px; } //SettingsHelp diff --git a/cms/templates/component.html b/cms/templates/component.html index 95e5d6915b..b6c537e036 100644 --- a/cms/templates/component.html +++ b/cms/templates/component.html @@ -20,17 +20,36 @@