Commit e5817f53 by Tom Giannattasio

fixed sass error for toast notifications

parent f7e20801
...@@ -37,6 +37,25 @@ ...@@ -37,6 +37,25 @@
} }
} }
@mixin dark-grey-button {
display: block;
height: 35px;
padding: 0 15px;
border-radius: 3px;
border: 1px solid #222;
background: -webkit-linear-gradient(top, #777, #555);
font-size: 13px;
font-weight: 700;
line-height: 32px;
color: #fff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 1px 1px rgba(0, 0, 0, .15);
&:hover {
background: -webkit-linear-gradient(top, #888, #666);
}
}
@mixin discussion-wmd-input { @mixin discussion-wmd-input {
width: 100%; width: 100%;
height: 240px; height: 240px;
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
// Course base / layout styles // Course base / layout styles
@import 'course/layout/courseware_header'; @import 'course/layout/courseware_header';
@import 'course/layout/footer'; @import 'course/layout/footer';
@import 'course/base/mixins';
@import 'course/base/base'; @import 'course/base/base';
@import 'course/base/extends'; @import 'course/base/extends';
@import 'module/module-styles.scss'; @import 'module/module-styles.scss';
......
...@@ -39,11 +39,6 @@ a { ...@@ -39,11 +39,6 @@ a {
} }
} }
form { form {
label { label {
display: block; display: block;
...@@ -132,6 +127,9 @@ img { ...@@ -132,6 +127,9 @@ img {
} }
} }
.test-class {
border: 1px solid #f00;
}
.toast-notification { .toast-notification {
...@@ -143,13 +141,16 @@ img { ...@@ -143,13 +141,16 @@ img {
padding: 15px 20px 17px; padding: 15px 20px 17px;
border-radius: 3px; border-radius: 3px;
border: 1px solid #333; border: 1px solid #333;
@include linear-gradient(top, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0)); background: -webkit-linear-gradient(top, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0)) rgba(30, 30, 30, .92);
background-color: rgba(30, 30, 30, .92); box-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 1px 0 rgba(255, 255, 255, .1) inset;
@include box-shadow(0 1px 3px rgba(0, 0, 0, .3), 0 1px 0 rgba(255, 255, 255, .1) inset);
font-size: 13px; font-size: 13px;
color: #fff; color: #fff;
opacity: 0; opacity: 0;
@include transition(all .2s); -webkit-transition: all .2s;
p, span {
color: #fff;
}
.error-icon { .error-icon {
display: block; display: block;
...@@ -192,4 +193,3 @@ img { ...@@ -192,4 +193,3 @@ img {
text-align: center; text-align: center;
} }
} }
\ No newline at end of file
...@@ -36,3 +36,22 @@ ...@@ -36,3 +36,22 @@
@include linear-gradient(top, #fff, #ddd); @include linear-gradient(top, #fff, #ddd);
} }
} }
@mixin dark-grey-button {
display: block;
height: 35px;
padding: 0 15px;
border-radius: 3px;
border: 1px solid #222;
background: -webkit-linear-gradient(top, #777, #555);
font-size: 13px;
font-weight: 700;
line-height: 32px;
color: #fff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 1px 1px rgba(0, 0, 0, .15);
&:hover {
background: -webkit-linear-gradient(top, #888, #666);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment