Merged v3 into master
This commit is contained in:
commit
20d55874a9
69 changed files with 1305 additions and 593 deletions
54
assets/styles/base/_base.scss
Executable file
54
assets/styles/base/_base.scss
Executable file
|
@ -0,0 +1,54 @@
|
|||
body {
|
||||
color: $base-colour;
|
||||
font-family: $base-font-family;
|
||||
line-height: $base-line-height;
|
||||
text-size-adjust: none;
|
||||
@include font-size($base-font-size);
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
p,
|
||||
hr,
|
||||
ul,
|
||||
ol,
|
||||
dl {
|
||||
margin-bottom: $base-spacing-unit;
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Basic styles for links
|
||||
*/
|
||||
|
||||
a {
|
||||
color: $brand-colour;
|
||||
text-decoration: none;
|
||||
&:hover {
|
||||
color: $base-colour;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
a[href^="tel"] {
|
||||
font-size: inherit;
|
||||
font-family: inherit;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
font-style: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Rules
|
||||
*/
|
||||
|
||||
hr {
|
||||
height: 1px;
|
||||
background-color: $base-colour;
|
||||
}
|
3
assets/styles/base/_fonts.scss
Executable file
3
assets/styles/base/_fonts.scss
Executable file
|
@ -0,0 +1,3 @@
|
|||
/**
|
||||
* This file contains all @font-face declarations, if any.
|
||||
*/
|
76
assets/styles/base/_forms.scss
Executable file
76
assets/styles/base/_forms.scss
Executable file
|
@ -0,0 +1,76 @@
|
|||
*:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
background-color: $base-background-colour;
|
||||
border: solid 1px $base-colour;
|
||||
border-radius: 0;
|
||||
color: $base-colour;
|
||||
line-height: $base-spacing-unit * 1.5;
|
||||
height: $base-spacing-unit * 1.5;
|
||||
padding: 0 #{$base-spacing-unit / 2};
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
line-height: normal;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
line-height: normal;
|
||||
height: auto;
|
||||
padding: #{$base-spacing-unit / 4} #{$base-spacing-unit / 2};
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
input[disabled] {
|
||||
background-color: whitesmoke;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
select {
|
||||
line-height: normal;
|
||||
padding: 0;
|
||||
padding-left: $base-spacing-unit / 2;
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-height: $base-spacing-unit * 4;
|
||||
overflow: auto;
|
||||
vertical-align: top;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Form utility classes
|
||||
*/
|
||||
|
||||
.form--inline {
|
||||
.form__group {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.form {
|
||||
.form__group {
|
||||
display: block;
|
||||
margin-bottom: $base-spacing-unit;
|
||||
.form__label {
|
||||
display: block;
|
||||
margin-bottom: ($base-spacing-unit / 2);
|
||||
}
|
||||
}
|
||||
}
|
16
assets/styles/base/_images.scss
Executable file
16
assets/styles/base/_images.scss
Executable file
|
@ -0,0 +1,16 @@
|
|||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Responsive images
|
||||
*/
|
||||
|
||||
.is-fluid {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
16
assets/styles/base/_lists.scss
Executable file
16
assets/styles/base/_lists.scss
Executable file
|
@ -0,0 +1,16 @@
|
|||
ul,
|
||||
ol {
|
||||
margin-left: $base-spacing-unit;
|
||||
}
|
||||
|
||||
li {
|
||||
> ul,
|
||||
> ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.list--unstyled {
|
||||
margin-left: 0;
|
||||
list-style: none;
|
||||
}
|
17
assets/styles/base/_typography.scss
Executable file
17
assets/styles/base/_typography.scss
Executable file
|
@ -0,0 +1,17 @@
|
|||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
em {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: .75em;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue