Converting application less to sass.
This commit is contained in:
parent
b30be955ca
commit
fec6b6caa5
26 changed files with 1140 additions and 0 deletions
13
app/assets/sass/views/_about.scss
Normal file
13
app/assets/sass/views/_about.scss
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
.about {
|
||||
@extend .row;
|
||||
|
||||
&-main {
|
||||
@include make-sm-column(8);
|
||||
}
|
||||
|
||||
&-reference {
|
||||
@include make-sm-column(4);
|
||||
}
|
||||
}
|
||||
|
||||
43
app/assets/sass/views/_landingpage.scss
Normal file
43
app/assets/sass/views/_landingpage.scss
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
|
||||
// ----------------------------------
|
||||
// Feature section
|
||||
// ----------------------------------
|
||||
|
||||
.feature-section {
|
||||
@extend .section;
|
||||
|
||||
> div + div {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
.steps {
|
||||
@extend .row;
|
||||
|
||||
.steps-img {
|
||||
@extend .center-block;
|
||||
width: 270px;
|
||||
height: 220px;
|
||||
}
|
||||
|
||||
.steps-step1 .steps-img {
|
||||
background-image: url(#{$image-path}/step1.png);
|
||||
}
|
||||
.steps-step2 .steps-img {
|
||||
background-image: url(#{$image-path}/step2.png);
|
||||
}
|
||||
.steps-step3 .steps-img {
|
||||
background-image: url(#{$image-path}/step3.png);
|
||||
}
|
||||
|
||||
.steps-step1,
|
||||
.steps-step2,
|
||||
.steps-step3 {
|
||||
@include make-md-column(4);
|
||||
@extend .text-center;
|
||||
}
|
||||
}
|
||||
|
||||
.call-to-action {
|
||||
@extend .text-center;
|
||||
}
|
||||
}
|
||||
24
app/assets/sass/views/_login.scss
Normal file
24
app/assets/sass/views/_login.scss
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
|
||||
.login-container {
|
||||
@extend .center-block;
|
||||
width: 400px;
|
||||
|
||||
h3 {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.oauth > a {
|
||||
|
||||
font-size: $font-size-large;
|
||||
width: 100%;
|
||||
margin-bottom: 4px;
|
||||
text-align: center;
|
||||
|
||||
.icon {
|
||||
@include icon-vcenter();
|
||||
font-size: 24px;
|
||||
margin-right: .2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
6
app/assets/sass/views/_register.scss
Normal file
6
app/assets/sass/views/_register.scss
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
.register {
|
||||
@extend .section;
|
||||
@include center-block();
|
||||
width: 60%;
|
||||
}
|
||||
Reference in a new issue