scratchx/sass/base/_base.scss

84 lines
1.5 KiB
SCSS
Raw Normal View History

2015-05-01 09:39:03 -04:00
// Bitters 1.0.0
// http://bitters.bourbon.io
// Copyright 2013-2015 thoughtbot, inc.
// MIT License
@import "normalize";
2015-05-05 13:06:47 -04:00
@import "mixins";
@import "icons";
2015-05-01 09:39:03 -04:00
@import "variables";
@import "buttons";
@import "forms";
@import "lists";
@import "tables";
@import "typography";
dialog {
display: block;
position: static;
2015-05-05 13:06:47 -04:00
h2 {
text-align: center;
margin: 4 * $vertical-base 0 $vertical-base 0;
}
section {
background-color: $alt-background-color;
color: $alt-font-color;
/* Kill margin collapse */
padding: 1px;
}
section:last-child {
background-color: $base-background-color;
padding: 2 * $vertical-base;
color: $base-font-color;
}
button {
display: inline-block;
line-height: normal;
width: 100%;
padding: $vertical-base;
/*
Needed so that all buttons are the same height
as text inputs
*/
border: 1px solid;
}
}
.message {
border-radius: $base-border-radius;
line-height: 49px;
text-align: center;
margin: $vertical-base * 4 0;
}
.warning {
@extend .message;
background-color: $yellow;
color: $dark-gray;
}
.info {
@extend .message;
background-color: $light-gray;
color: $dark-gray;
}
2015-05-05 13:07:05 -04:00
article header h1 {
2015-05-05 13:06:47 -04:00
text-align: center;
}
article header p {
text-align: center;
}
2015-05-05 13:07:05 -04:00
article header h1 + p {
2015-05-05 13:06:47 -04:00
@include span-columns(10);
@include shift(1);
}