Commit 38abc016 by marco

label on top of input field move

parent 6b4ab20d
...@@ -21,7 +21,7 @@ body.course.settings { ...@@ -21,7 +21,7 @@ body.course.settings {
font-size: 14px; font-size: 14px;
} }
.message-status { .message-status {
display: none; display: none;
@include border-top-radius(2px); @include border-top-radius(2px);
@include box-sizing(border-box); @include box-sizing(border-box);
......
...@@ -481,10 +481,10 @@ body.course.unit { ...@@ -481,10 +481,10 @@ body.course.unit {
@include white-button; @include white-button;
&.is-set { &.is-set {
background-color: $lightBluishGrey2; background-color: $white;
cursor: default; cursor: default;
linear-gradient: none; linear-gradient: none;
@include box-shadow(0 0 1px 1px rgba(0, 0, 0, .6) inset); @include box-shadow(0 0 1px 1px rgba(240, 240, 240, .1) inset);
} }
} }
...@@ -518,24 +518,22 @@ body.course.unit { ...@@ -518,24 +518,22 @@ body.course.unit {
.settings-row { .settings-row {
// general row sizing stuff // general row sizing stuff
background-color: $white; background-color: $white;
padding: 10px; padding: 10px 20px;
border-bottom: 1px solid $gray-l2; border-bottom: 1px solid $gray-l2;
opacity: .6; opacity: .8;
&:hover { &:hover {
opacity: 1; opacity: 1;
} }
&.is-set { &.is-set {
opacity: .9; opacity: 1;
background-color: $white; background-color: $white;
font-weight: 200; font-weight: 200;
} }
.setting-label { .setting-label {
font-weight: normal; font-weight: 500;
display: inline-block;
padding-left: 15px;
position: relative; position: relative;
left: 0; left: 0;
height: 50%; height: 50%;
...@@ -545,6 +543,7 @@ body.course.unit { ...@@ -545,6 +543,7 @@ body.course.unit {
.setting-input { .setting-input {
@include placeholder($gray-l4); @include placeholder($gray-l4);
border-radius: 2px; border-radius: 2px;
padding: 6px 8px 8px;
width: 200px; width: 200px;
height: auto; height: auto;
border: 1px solid $gray-l2; border: 1px solid $gray-l2;
...@@ -578,7 +577,9 @@ body.course.unit { ...@@ -578,7 +577,9 @@ body.course.unit {
&:hover { &:hover {
background-color: $blue-s3; background-color: $blue-s3;
border: 1px solid $blue-s3;
color: $white; color: $white;
@include box-shadow(0 1px 0 rgba(255, 255, 255, .3) inset, 0 1px 1px rgba(0, 0, 0, .15));
} }
&.inactive { &.inactive {
...@@ -588,11 +589,12 @@ body.course.unit { ...@@ -588,11 +589,12 @@ body.course.unit {
//SettingsHelp //SettingsHelp
.setting-help { .setting-help {
@include clearfix;
display: inline-block; display: inline-block;
@include font-size(12); @include font-size(12);
font-color: $gray-l6; font-color: $gray-l6;
padding-left: 20px; padding-left: 20px;
max-width: 40%; width: 65%;
} }
} }
...@@ -632,7 +634,7 @@ body.course.unit { ...@@ -632,7 +634,7 @@ body.course.unit {
.module-actions { .module-actions {
padding: 0 0 10px 10px; padding: 0 0 10px 10px;
box-shadow: 0 2px 1px rgba(182, 182, 182, 0.75) inset; box-shadow: 0 2px 1px rgba(182, 182, 182, 0.75) inset;
background-color: $gray-l4; background-color: $gray-l6;
.save-button { .save-button {
margin: 15px 8px 0 0; margin: 15px 8px 0 0;
......
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
<!--% for type in sorted(something.keys()):--> <!--% for type in sorted(something.keys()):-->
<!--is-set class applied when user sets value--> <!--is-set class applied when user sets value-->
<li class="settings-row is-set"> <li class="settings-row is-set">
<label class="setting-label" for="inputVariableHere">Setting 1</label> <label class="setting-label" for="setting-id-1">Setting 1</label>
<input class="setting-input" type="text" id="firstname"/> <input class="setting-input" type="text" id="setting-id-1"/>
<!--button clickable if is-set --> <!--button clickable if is-set -->
<button class="setting-clear" type="button" name="setting-clear" value="Clear" data-tooltip="Clear"> <button class="setting-clear" type="button" name="setting-clear" value="Clear" data-tooltip="Clear">
<i class="ss-icon ss-symbolicons-block undo">&#x21A9;</i> <i class="ss-icon ss-symbolicons-block undo">&#x21A9;</i>
...@@ -35,17 +35,17 @@ ...@@ -35,17 +35,17 @@
</li> </li>
<!--% showing second example mostly to see is-set style difference --> <!--% showing second example mostly to see is-set style difference -->
<li class="settings-row"> <li class="settings-row">
<label class="setting-label" for="setting-name-as-id">Setting 2</label> <label class="setting-label" for="setting-id-2">Setting 2</label>
<input class="setting-input" type="text" id="firstname"/> <input class="setting-input" type="text" id="setting-id-2"/>
<button class="setting-clear inactive" type="button" name="setting-clear" value="Clear" data-tooltip="Clear"> <button class="setting-clear inactive" type="button" name="setting-clear" value="Clear" data-tooltip="Clear">
<i class="ss-icon ss-symbolicons-block undo">&#x21A9;</i> <i class="ss-icon ss-symbolicons-block undo">&#x21A9;</i>
</button> </button>
<span class="setting-help">This is a more reasonable helpstring sentence that would alos wrap around. A second sentence in some cases may be necessary.</span> <div class="setting-help">This is a more reasonable helpstring sentence that would alos wrap around. A second sentence in some cases may be necessary.</div>
<!--% showing dropdown example --> <!--% showing dropdown example -->
<li class="settings-row"> <li class="settings-row">
<label class="setting-label" for="setting-name-as-id">Setting Display </label> <label class="setting-label" for="setting-id-3">Setting Display </label>
<select class="setting-input" name="type"> <select class="setting-input" id="setting-id-3" name="type">
<!--% for all in available options --> <!--% for all in available options -->
<option value="displayName1" selected>Closed</option> <option value="displayName1" selected>Closed</option>
<!--in case value already defaulted --> <!--in case value already defaulted -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment