scratchx/sass/base/_base.scss
Ray Schamp b70f58a1f5 Update extension warning dialog to match others
Also clean up the unnecessary stuff in the dialog JS/CSS now that it's working better
2015-08-11 15:10:05 -04:00

130 lines
2.5 KiB
SCSS

// Bitters 1.0.0
// http://bitters.bourbon.io
// Copyright 2013-2015 thoughtbot, inc.
// MIT License
@import "normalize";
@import "mixins";
@import "icons";
@import "variables";
@import "buttons";
@import "forms";
@import "lists";
@import "tables";
@import "typography";
@import "modal";
dialog {
display: block;
position: static;
overflow: hidden;
border-radius: $base-border-radius;
text-align: center;
h2 {
text-align: center;
margin: 4 * $vertical-base 0 $vertical-base 0;
}
section {
background-color: $alt-background-color;
color: $alt-font-color;
padding: 2 * $vertical-base;
}
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;
text-align: center;
margin: $vertical-base * 4 0;
padding: $vertical-base * 2;
}
.warning {
background-color: $yellow;
color: $dark-gray;
}
.info {
background-color: $light-gray;
color: $dark-gray;
}
.success {
background-color: $green;
color: $white;
}
article header h1 {
text-align: center;
}
article header p {
text-align: center;
}
article header h1 + p {
font-size: 1.125em;
margin-bottom: 1.5em;
@include span-columns(10);
@include shift(1);
}
body > main > article > section {
ul {
@extend %default-ul;
}
}
.twitter, .github {
display: block;
float: left;
margin-right: 2 * $gutter;
span {
display: none;
}
}
.twitter {
@include icon(before, twitter, circular, false, 4 * $vertical-base){
display: inline-block;
line-height: 5 * $vertical-base;
width: 5 * $vertical-base;
height: 5 * $vertical-base;
border-radius: 2.5 * $vertical-base;
background-color: $blue;
color: $white;
}
}
.github {
@include icon(before, github, circular, false, 4 * $vertical-base){
display: inline-block;
line-height: 5 * $vertical-base;
width: 5 * $vertical-base;
height: 5 * $vertical-base;
border-radius: 2.5 * $vertical-base;
background-color: $blue;
color: $white;
}
}