Add base CSUI styles:

-Login

-Main header

-Main UI container

-Logo
This commit is contained in:
Brian Federle 2013-09-23 11:19:12 -07:00
parent 382723d5c2
commit 0728316d39
13 changed files with 165 additions and 0 deletions

View File

@ -0,0 +1,22 @@
@mixin csui-button {
@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;
}
@mixin csui-button-cta {
@include csui-button;
@include linear-gradient(darkgray, lighten(black, 15%));
color: white;
font-weight: bold;
text-shadow: 0px 1px 1px black;
}

View File

@ -0,0 +1,17 @@
// External libs
@import "../lib/normalize";
@import "../lib/animate";
@import "../lib/bourbon/bourbon";
@import "../lib/neat/neat";
// Core style
html, body {
height: 100%;
font-family: Segoe UI,Trebuchet MS,Tahoma,Arial,sans-serif;
}
// Sub-components
@import "login";
@import "button";
@import "form";
@import "header";

View File

@ -0,0 +1,27 @@
@mixin csui-dropdown {
-webkit-appearance: button;
-moz-appearance: none;
@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;
}
@mixin csui-dropdown-dark {
@include csui-dropdown;
@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;
}

View File

@ -0,0 +1,29 @@
@mixin csui-header {
@include background(
url(csui/img/overlay-pattern.png) repeat,
url(csui/img/header/gradient.png) no-repeat
);
background-size: auto, cover;
.logo {
background: url(csui/img/logo-main.png) no-repeat left;
width: 1280px;
height: 100px;
margin: auto;
background-size: 300px;
}
.controls {
@include linear-gradient(#525252, #262626);
@include row;
width: 1280px;
height: 75px;
padding-top: 14px;
margin: auto;
color: white;
border: 1px solid gray;
border-radius: 4px 4px 0 0;
}
}

View File

@ -0,0 +1,70 @@
@mixin csui-login {
height: 100%;
min-height: 630px;
@include background(
url(csui/img/login/brand-logo.png),
url(csui/img/login/bottom-bar.png),
url(csui/img/login/overlay-pattern.png),
url(csui/img/login/gradient.png)
);
background-repeat: no-repeat, repeat-x, repeat, no-repeat;
background-size: auto, auto, auto, cover;
background-position: center bottom 25px, bottom, center, center;
form {
@include row;
background: rgba(#000812, 0.8);
padding-top: 60px;
padding-bottom: 60px;
position: relative;
top: 15%;
height: 400px;
.logo {
@include shift(2);
@include span-columns(4);
background: url(csui/img/logo-main.png) no-repeat top center;
background-size: contain;
float: left;
height: 500px;
}
.fields {
@include shift(3);
@include span-columns(3);
margin: auto;
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;
}
}
input[type=submit] {
@include csui-button-cta;
}
select {
@include csui-dropdown-dark;
width: 100%;
margin-top: 20px;
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB