Merge pull request #1609 from awesomerobot/master

some general simplification to modal, menus, etc
This commit is contained in:
Régis Hanol 2013-11-04 06:52:25 -08:00
commit b063c4326f
4 changed files with 7 additions and 20 deletions

View File

@ -56,7 +56,6 @@
*border: 1px solid #999; *border: 1px solid #999;
/* IE6-7 */ /* IE6-7 */
@include border-radius-all (6px);
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
background-clip: padding-box; background-clip: padding-box;
} }
@ -85,7 +84,6 @@
*border: 1px solid #999; *border: 1px solid #999;
/* IE6-7 */ /* IE6-7 */
@include border-radius-all (6px);
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
background-clip: padding-box; background-clip: padding-box;
} }
@ -110,8 +108,6 @@
margin: 0 15px; margin: 0 15px;
padding: 14px 0 15px; padding: 14px 0 15px;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
@include border-radius-all(0 0 6px 6px);
@include box-shadow (inset 0 1px 0 #ffffff);
*zoom: 1; *zoom: 1;
} }
.modal-footer:before, .modal-footer:before,
@ -134,8 +130,7 @@
margin-left: -1px; margin-left: -1px;
} }
.modal-header { .modal-header {
border-bottom: 1px solid #9baab2; border-bottom: 1px solid #ddd;
@include box-shadow((0 1px 3px rgba($black, 0.12), inset 0 -4px 4px -4px rgba($black, 0.3)));
h3 { h3 {
color: $nav-pills-background-color-active; color: $nav-pills-background-color-active;
font-size: 20px; font-size: 20px;

View File

@ -7,10 +7,9 @@
position: absolute; position: absolute;
left: 20px; left: 20px;
z-index: 990; z-index: 990;
@include border-radius-all(3px); box-shadow: 0 1px 5px rgba(70, 70, 70, .4);
@include box-shadow(1px 1px 5px $darkish_gray); background-color: #fff;
background-color: $light_gray; padding: 6px 10px 10px 10px;
padding: 3px 7px 6px 7px;
width: 300px; width: 300px;
display: none; display: none;
&.visible { &.visible {

View File

@ -772,12 +772,8 @@ button.show-replies {
margin: 1px 0 0; margin: 1px 0 0;
list-style: none; list-style: none;
background-color: #ffffff; background-color: #ffffff;
border: 1px solid #ccc; border: 1px solid #ddd;
border: 1px solid rgba(0, 0, 0, 0.2); box-shadow: 0 1px 5px rgba(70, 70, 70, .4);
*border-right-width: 2px;
*border-bottom-width: 2px;
border-radius: 5px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
background-clip: padding-box; background-clip: padding-box;
span {font-size: 12px;} span {font-size: 12px;}
.title {font-weight: bold; display: block; font-size: 14px;} .title {font-weight: bold; display: block; font-size: 14px;}

View File

@ -46,9 +46,7 @@
margin-left: 10px; margin-left: 10px;
} }
.docked #topic-progress {
box-shadow: 0 0 3px #aaa;
}
#topic-progress-wrapper { #topic-progress-wrapper {
position: fixed; position: fixed;
@ -82,7 +80,6 @@ a:hover.reply-new {
} }
#topic-progress { #topic-progress {
box-shadow: 0 0 3px #000;
position: relative; position: relative;
left: 302px; left: 302px;
&.hidden { &.hidden {