Skip to content

Commit

Permalink
fixes invisible close buttons, closes thomaspark#272
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Jul 2, 2014
1 parent 6921252 commit 655f3e5
Show file tree
Hide file tree
Showing 23 changed files with 263 additions and 152 deletions.
37 changes: 25 additions & 12 deletions cosmo/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -5329,14 +5329,14 @@ a.list-group-item-danger.active:focus {
font-size: 22.5px;
font-weight: bold;
line-height: 1;
color: #000000;
color: #ffffff;
text-shadow: 0 1px 0 #ffffff;
opacity: 0.2;
filter: alpha(opacity=20);
}
.close:hover,
.close:focus {
color: #000000;
color: #ffffff;
text-decoration: none;
cursor: pointer;
opacity: 0.5;
Expand Down Expand Up @@ -5389,7 +5389,7 @@ button.close {
position: relative;
background-color: #ffffff;
border: 1px solid #999999;
border: 1px solid rgba(0, 0, 0, 0.2);
border: 1px solid transparent;
border-radius: 0;
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
Expand Down Expand Up @@ -6260,23 +6260,22 @@ table .info a,
.dropdown-menu > li > a:focus {
background-image: none;
}
.alert {
border: none;
}
.alert .alert-link {
text-decoration: underline;
color: #fff;
}
.close {
color: #fff;
text-decoration: none;
text-shadow: none;
opacity: 0.4;
}
.close:hover,
.close:focus {
color: #fff;
opacity: 1;
}
.alert {
border: none;
}
.alert .alert-link {
text-decoration: underline;
color: #fff;
}
.label {
border-radius: 0;
}
Expand All @@ -6294,3 +6293,17 @@ table .info a,
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.panel-default .close {
color: #333333;
}
.modal-content {
border: none;
}
.modal-header {
background-color: #222222;
color: #fff;
}
.modal-body .close,
.modal-footer .close {
color: #333333;
}
2 changes: 1 addition & 1 deletion cosmo/bootstrap.min.css

Large diffs are not rendered by default.

46 changes: 35 additions & 11 deletions cosmo/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -135,27 +135,26 @@ table,

// Indicators =================================================================

.alert {
border: none;

.alert-link {
text-decoration: underline;
color: #fff;
}
}

.close {
color: #fff;
text-decoration: none;
text-shadow: none;
opacity: 0.4;

&:hover,
&:focus {
color: #fff;
opacity: 1;
}
}

.alert {
border: none;

.alert-link {
text-decoration: underline;
color: #fff;
}
}

.label {
border-radius: 0;
}
Expand All @@ -179,4 +178,29 @@ table,
border-top-right-radius: 0;
border-top-left-radius: 0;
}

&-default {
.close {
color: @text-color;
}
}
}

.modal {

&-content {
border: none;
}

&-header {
background-color: @navbar-default-bg;
color: #fff;
}

&-body,
&-footer {
.close {
color: @text-color;
}
}
}
4 changes: 2 additions & 2 deletions cosmo/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@
//** Background color of modal content area
@modal-content-bg: #fff;
//** Modal content border color
@modal-content-border-color: rgba(0,0,0,.2);
@modal-content-border-color: transparent;
//** Modal content border color **for IE8**
@modal-content-fallback-border-color: #999;

Expand Down Expand Up @@ -798,7 +798,7 @@
//##

@close-font-weight: bold;
@close-color: #000;
@close-color: #fff;
@close-text-shadow: 0 1px 0 #fff;


Expand Down
24 changes: 17 additions & 7 deletions darkly/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -5329,14 +5329,14 @@ a.list-group-item-danger.active:focus {
font-size: 22.5px;
font-weight: bold;
line-height: 1;
color: #000000;
color: #ffffff;
text-shadow: none;
opacity: 0.2;
filter: alpha(opacity=20);
}
.close:hover,
.close:focus {
color: #000000;
color: #ffffff;
text-decoration: none;
cursor: pointer;
opacity: 0.5;
Expand Down Expand Up @@ -6364,14 +6364,19 @@ textarea:focus {
.breadcrumb a {
color: #fff;
}
.alert a,
.close {
text-decoration: none;
text-shadow: none;
opacity: 0.4;
}
.close:hover,
.close:focus {
opacity: 1;
}
.alert .alert-link {
color: #fff;
text-decoration: underline;
}
.alert .close {
text-decoration: none;
}
.progress {
height: 10px;
-webkit-box-shadow: none;
Expand All @@ -6385,10 +6390,15 @@ textarea:focus {
-webkit-box-shadow: none;
box-shadow: none;
}
.popover,
.modal {
color: #ffffff;
}
.modal-header {
background-color: #375a7f;
}
.popover {
color: #ffffff;
}
.panel-default > .panel-heading {
background-color: #464545;
}
2 changes: 1 addition & 1 deletion darkly/bootstrap.min.css

Large diffs are not rendered by default.

26 changes: 19 additions & 7 deletions darkly/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -238,17 +238,22 @@ textarea {

// Indicators =================================================================

.alert {
.close {
text-decoration: none;
text-shadow: none;
opacity: 0.4;

a,
&:hover,
&:focus {
opacity: 1;
}
}

.alert {
.alert-link {
color: #fff;
text-decoration: underline;
}

.close {
text-decoration: none;
}
}

// Progress bars ==============================================================
Expand All @@ -268,9 +273,16 @@ textarea {
.box-shadow(none);
}

.popover,
.modal {
color: @text-color;

&-header {
background-color: @navbar-default-bg;
}
}

.popover {
color: @text-color;
}

.panel-default > .panel-heading {
Expand Down
2 changes: 1 addition & 1 deletion darkly/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@
//##

@close-font-weight: bold;
@close-color: #000;
@close-color: #fff;
@close-text-shadow: none;


Expand Down
23 changes: 15 additions & 8 deletions flatly/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -6339,14 +6339,6 @@ input:focus {
.pager .disabled > span {
background-color: #3be6c4;
}
.alert a,
.alert .alert-link {
color: #fff;
text-decoration: underline;
}
.alert .close {
text-decoration: none;
}
.close {
color: #fff;
text-decoration: none;
Expand All @@ -6357,6 +6349,10 @@ input:focus {
color: #fff;
opacity: 1;
}
.alert .alert-link {
color: #fff;
text-decoration: underline;
}
.progress {
height: 10px;
-webkit-box-shadow: none;
Expand All @@ -6370,3 +6366,14 @@ input:focus {
-webkit-box-shadow: none;
box-shadow: none;
}
.panel-default .close {
color: #2c3e50;
}
.modal-header {
background-color: #2c3e50;
color: #fff;
}
.modal-body .close,
.modal-footer .close {
color: #2c3e50;
}
2 changes: 1 addition & 1 deletion flatly/bootstrap.min.css

Large diffs are not rendered by default.

43 changes: 30 additions & 13 deletions flatly/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -209,19 +209,6 @@ input, {

// Indicators =================================================================

.alert {

a,
.alert-link {
color: #fff;
text-decoration: underline;
}

.close {
text-decoration: none;
}
}

.close {
color: #fff;
text-decoration: none;
Expand All @@ -234,6 +221,14 @@ input, {
}
}

.alert {

.alert-link {
color: #fff;
text-decoration: underline;
}
}

// Progress bars ==============================================================

.progress {
Expand All @@ -250,3 +245,25 @@ input, {
.well {
.box-shadow(none);
}

.panel {
&-default {
.close {
color: @text-color;
}
}
}

.modal {
&-header {
background-color: @navbar-default-bg;
color: #fff;
}

&-body,
&-footer {
.close {
color: @text-color;
}
}
}
Loading

0 comments on commit 655f3e5

Please sign in to comment.