Browse Source

Convert settings to scss.

pull/29/head^2
Evan Theurer 12 years ago
parent
commit
0cce63e77e
  1. 45
      src/styles/components/_settings.scss
  2. 2
      src/styles/global/_variables.scss

45
src/styles/components/_settings.scss

@ -33,6 +33,22 @@
#settings.show { #settings.show {
right: 0; right: 0;
@include breakpt-only-screen($breakpoint-settings-medium) {
background: white;
left: 0;
width: auto;
}
.form-actions{
@include breakpt-only-screen($breakpoint-settings-medium) {
bottom: 0;
height: 60px;
left: 0;
margin-bottom: 0;
padding: 6px 0 6px 120px;
position: fixed;
right: 0;
}
}
} }
.settings { .settings {
@ -47,37 +63,28 @@
top: 0; top: 0;
} }
.settings .version { .settings {
.version {
color: #ccc; color: #ccc;
font-size: 10px; font-size: 10px;
position: absolute; position: absolute;
right: 10px; right: 10px;
top: 10px; top: 10px;
} }
.form-horizontal {
@media only screen and (max-width: 630px) { .controls {
.settings .form-horizontal .controls { @include breakpt-only-screen($breakpoint-settings-medium) {
margin-left: 110px; margin-left: 110px;
} }
.settings .form-horizontal .control-label { }
.control-label {
@include breakpt-only-screen($breakpoint-settings-medium) {
width: 100px; width: 100px;
word-wrap: break-word; word-wrap: break-word;
} }
.settings {
padding-bottom: 10px;
} }
#settings.show {
background: white;
left: 0;
width: auto;
} }
#settings.show .form-actions { @include breakpt-only-screen($breakpoint-settings-medium) {
bottom: 0; padding-bottom: 10px;
height: 60px;
left: 0;
margin-bottom: 0;
padding: 6px 0 6px 120px;
position: fixed;
right: 0;
} }
} }

2
src/styles/global/_variables.scss

@ -96,6 +96,8 @@ $breakpoint-video-medium: 630px;
$breakpoint-chat-small: 210px; $breakpoint-chat-small: 210px;
$breakpoint-settings-medium: 630px;
$font-sans-serif: "Helvetica Neue",Helvetica,Arial,sans-serif; $font-sans-serif: "Helvetica Neue",Helvetica,Arial,sans-serif;
// compass // compass

Loading…
Cancel
Save