Fix indentation

This commit is contained in:
Brian Federle 2013-09-24 15:29:25 -07:00
parent 2b1b16f9af
commit 6a45de82db
6 changed files with 138 additions and 138 deletions

View File

@ -63,7 +63,7 @@ body {
.project-switcher {
@include span-columns(3);
@include row;
padding: 5px;
top: 10px;
@ -71,7 +71,7 @@ body {
@include csui-label;
@include span-columns(3);
}
select {
@include csui-dropdown;
@include span-columns(8);
@ -91,21 +91,21 @@ body {
text-decoration: underline;
}
}
.icon {
@include span-columns(3 of 16);
@include csui-sprite(142, 390);
height: 30px;
}
.title {
@include span-columns(11 of 16);
@include shift(1);
@include csui-label;
text-align: left;
;
;
}
}
@ -201,9 +201,9 @@ body {
}
.ui-dialog, .notification-box, #user-options {
@include dialog;
@include dialog;
}
#user-options {
display: none;
display: none;
}

View File

@ -1,27 +1,27 @@
@mixin csui-button {
@include linear-gradient(#fff, darken(#ccc, 30%));
@include linear-gradient(#fff, darken(#ccc, 30%));
display: block;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 12px;
padding-right: 12px;
min-width: 92px;
font-size: 12px;
border-radius: 3px;
border: 1px solid black;
display: block;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 12px;
padding-right: 12px;
min-width: 92px;
font-size: 12px;
border-radius: 3px;
border: 1px solid black;
&:hover {
box-shadow: inset 0 0 10px black;
}
&:hover {
box-shadow: inset 0 0 10px black;
}
}
@mixin csui-button-cta {
@include csui-button;
@include linear-gradient(darkgray, lighten(black, 15%));
@include csui-button;
@include linear-gradient(darkgray, lighten(black, 15%));
background-color: #2e2e2e;
color: white;
font-weight: bold;
text-shadow: 0px 1px 1px black;
background-color: #2e2e2e;
color: white;
font-weight: bold;
text-shadow: 0px 1px 1px black;
}

View File

@ -6,20 +6,20 @@
// Custom main UI font
@font-face {
font-family: 'Noto Sans';
src: url('../fonts/Noto_Sans/NotoSans-Regular.ttf');
font-family: 'Noto Sans';
src: url('../fonts/Noto_Sans/NotoSans-Regular.ttf');
}
@font-face {
font-family: 'Noto Sans';
src: url('../fonts/Noto_Sans/NotoSans-Bold.ttf');
font-weight: bold;
font-family: 'Noto Sans';
src: url('../fonts/Noto_Sans/NotoSans-Bold.ttf');
font-weight: bold;
}
// Core style
html, body {
height: 100%;
font-family: 'Noto Sans', sans-serif;
font-size: 13px;
height: 100%;
font-family: 'Noto Sans', sans-serif;
font-size: 13px;
}
// Sub-components

View File

@ -1,27 +1,27 @@
@mixin dialog {
background: white;
box-shadow: 0px 2px 10px black;
position: absolute;
padding: 20px;
background: white;
box-shadow: 0px 2px 10px black;
position: absolute;
padding: 20px;
.ui-dialog-titlebar {
@include row;
.ui-dialog-titlebar {
@include row;
width: 100%;
background-color: white;
padding: 10px;
}
width: 100%;
background-color: white;
padding: 10px;
}
.ui-dialog-content {
overflow: auto;
}
.ui-dialog-content {
overflow: auto;
}
.ui-dialog-title {
float: left;
font-weight: bold;
}
.ui-dialog-title {
float: left;
font-weight: bold;
}
.ui-dialog-titlebar-close {
float: right;
}
.ui-dialog-titlebar-close {
float: right;
}
}

View File

@ -1,36 +1,36 @@
@mixin csui-dropdown {
-webkit-appearance: none;
-moz-appearance: none;
text-indent: 0.01px;
text-overflow: '';
-webkit-appearance: none;
-moz-appearance: none;
text-indent: 0.01px;
text-overflow: '';
@include background(
url(csui/img/form/dropdown-arrow.png) no-repeat right 8px center,
linear-gradient(#fff, #b6b6b6)
);
@include background(
url(csui/img/form/dropdown-arrow.png) no-repeat right 8px center,
linear-gradient(#fff, #b6b6b6)
);
border-radius: 3px;
border: 1px solid black;
font-size: 14px;
height: 30px;
text-indent: 8px;
width: 105%;
overflow: hidden;
border-radius: 3px;
border: 1px solid black;
font-size: 14px;
height: 30px;
text-indent: 8px;
width: 105%;
overflow: hidden;
}
@mixin csui-dropdown-dark {
@include csui-dropdown;
@include csui-dropdown;
background-color: #333333;
background-color: #333333;
@include background(
url(csui/img/form/dropdown-arrow-white.png) no-repeat right 8px center,
linear-gradient(#4e4e4e, #242424)
);
@include background(
url(csui/img/form/dropdown-arrow-white.png) no-repeat right 8px center,
linear-gradient(#4e4e4e, #242424)
);
color: white;
font-weight: bold;
text-shadow: 0px 1px 1px black;
color: white;
font-weight: bold;
text-shadow: 0px 1px 1px black;
}
@mixin csui-label {

View File

@ -1,73 +1,73 @@
@mixin csui-login {
height: 100%;
min-height: 630px;
height: 100%;
min-height: 630px;
background-color: #385770;
background-color: #385770;
@include background(
url(csui/img/login/brand-logo.png),
url(csui/img/login/bottom-bar.png),
url(csui/img/overlay-pattern.png),
url(csui/img/login/gradient.png)
);
@include background(
url(csui/img/login/brand-logo.png),
url(csui/img/login/bottom-bar.png),
url(csui/img/overlay-pattern.png),
url(csui/img/login/gradient.png)
);
background-repeat: no-repeat, repeat-x, repeat, no-repeat;
background-size: 300px, auto, auto, cover;
background-position: center bottom 10px, bottom, center, center;
background-repeat: no-repeat, repeat-x, repeat, no-repeat;
background-size: 300px, auto, auto, cover;
background-position: center bottom 10px, bottom, center, center;
form {
@include row;
form {
@include row;
background-color: #000812;
background: rgba(#000812, 0.8);
padding-top: 60px;
padding-bottom: 60px;
position: relative;
top: 15%;
background-color: #000812;
background: rgba(#000812, 0.8);
padding-top: 60px;
padding-bottom: 60px;
position: relative;
top: 15%;
.logo {
@include shift(2);
@include span-columns(4);
.logo {
@include shift(2);
@include span-columns(4);
background: url(csui/img/login/logo.png) no-repeat top center;
float: left;
height: 300px;
}
.fields {
@include span-columns(3);
color: white;
input[type=text],
input[type=password] {
font-size: 13px;
width: 100%;
padding: 10px;
margin-top: 10px;
margin-bottom: 10px;
border: 2px solid gray;
&:focus {
border: 2px solid #6aa6e9;
outline: none;
background: url(csui/img/login/logo.png) no-repeat top center;
float: left;
height: 300px;
}
}
input[type=submit] {
@include csui-button-cta;
}
.fields {
@include span-columns(3);
select {
@include csui-dropdown-dark;
color: white;
width: 100%;
margin-top: 50px;
}
input[type=text],
input[type=password] {
font-size: 13px;
width: 100%;
padding: 10px;
margin-top: 10px;
margin-bottom: 10px;
border: 2px solid gray;
label {
font-size: 12px;
}
&:focus {
border: 2px solid #6aa6e9;
outline: none;
}
}
input[type=submit] {
@include csui-button-cta;
}
select {
@include csui-dropdown-dark;
width: 100%;
margin-top: 50px;
}
label {
font-size: 12px;
}
}
}
}
}