From fbaed2e28b772cf82d45c2b5b032d8d346f5e5be Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 3 May 2013 00:00:10 -0700 Subject: [PATCH] added shell of css and html organization --- cms/static/sass/views/_unit.scss | 58 +++++++++++++++++++++++++++----- cms/templates/component.html | 39 ++++++++++----------- 2 files changed, 70 insertions(+), 27 deletions(-) diff --git a/cms/static/sass/views/_unit.scss b/cms/static/sass/views/_unit.scss index 7a9cc42af3..ae45c29fb5 100644 --- a/cms/static/sass/views/_unit.scss +++ b/cms/static/sass/views/_unit.scss @@ -456,27 +456,69 @@ body.course.unit { //Component Name h3 { - //TO-DO ? + //TO-DO + //determine proper h-level } //Nav-Edit Modes .nav-edit-modes { - //TODO + list-style: none; + //move to the right, - .tab { - display: inline; + li { + //TO-DO + //inherit button styling + //no idea what it currently inherits... + + &:hover { + //TO-DO + //opacity change + } + + &.is-active { + //TO-DO + //inherit button styling + } } + } } - // Module Editors + // Editor Wrapper .editor-wrapper{ - //TO-DO ? + //TO-DO } - // Module Settings + // Settings Wrapper .settings-wrapper{ - //TO-DO ? + //TO-DO + + .settings-row { + // general row sizing stuff + width: 100%; + padding: 10px; + border-bottom: 1px solid $gray; + + //SettingsLabel + li > label { + //Text all aligned left + //this sets height of .settings-row to allow for long help strings. + } + + //SettingsInput + li > input { + width: 100px; + //TO-DO + + + } + + //SettingsHelp + li > span { + //Text all aligned left + } + + } } //OLD Meta-data Styling diff --git a/cms/templates/component.html b/cms/templates/component.html index 1782c41b7c..95e5d6915b 100644 --- a/cms/templates/component.html +++ b/cms/templates/component.html @@ -1,36 +1,37 @@
-

Name of Component

- - +
${editor} +
- - - - - - - - - - - - - - +
    + +
  • + + + ${helpstring} +
  • + +
  • + + + ${helpstring} +
  • ≈ +
Setting LabelSetting InputSetting Help
Example DropdownInput/Form stuff to be children here. Example Numerical Input