Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corners too round #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 139 additions & 0 deletions swatch/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -6238,12 +6238,62 @@ legend {
background: #000000 url('../img/flames.gif') 0 -30px repeat-x;
}

input.search-query {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.form-search .input-append .search-query {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.form-search .input-append .btn {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.form-search .input-prepend .search-query {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.form-search .input-prepend .btn {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.navbar-search .search-query {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.dropdown-menu {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.label {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.badge {
padding-right: 9px;
padding-left: 9px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.label-important,
.badge-important {
background-color: red;
Expand Down Expand Up @@ -6296,6 +6346,20 @@ legend {
background-color: black;
}

code,
pre {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.pager li > a,
.pager li > span {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.hero-unit,
.well {
background: #000000 url('../img/stars.gif') top left;
Expand All @@ -6306,19 +6370,94 @@ legend {
background: black;
}

.nav-tabs > li > a {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
background: black;
border-color: black;
}

.nav-tabs.nav-stacked > li:first-child > a {
-webkit-border-top-right-radius: 0;
border-top-right-radius: 0;
-webkit-border-top-left-radius: 0;
border-top-left-radius: 0;
-moz-border-radius-topright: 0;
-moz-border-radius-topleft: 0;
}

.nav-tabs.nav-stacked > li:last-child > a {
-webkit-border-bottom-right-radius: 0;
border-bottom-right-radius: 0;
-webkit-border-bottom-left-radius: 0;
border-bottom-left-radius: 0;
-moz-border-radius-bottomright: 0;
-moz-border-radius-bottomleft: 0;
}

.nav-tabs .dropdown-menu {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.nav-pills .dropdown-menu {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.tabs-below > .nav-tabs > li > a {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.tabs-left > .nav-tabs > li > a {
margin-right: -1px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.tabs-right > .nav-tabs > li > a {
margin-left: -1px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.progress .bar {
background: #c0c0c0 url('../img/progress.gif') top left repeat-x !important;
border: 1px solid #fff;
border-top: 1px solid #808080;
border-left: 1px solid #808080;
}

.navbar .btn-navbar .icon-bar {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.navbar .btn-navbar .icon-bar {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

.navbar .pull-right > li > .dropdown-menu,
.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}

@-webkit-keyframes blink {
0% {
opacity: 0;
Expand Down
2 changes: 1 addition & 1 deletion swatch/bootstrap.min.css

Large diffs are not rendered by default.

98 changes: 94 additions & 4 deletions swatch/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,27 @@ legend {
background: #000 url('../img/flames.gif') 0 -30px repeat-x;
}

input.search-query {
.border-radius(0);
}

.form-search .input-append .search-query {
.border-radius(0);
}
.form-search .input-append .btn {
.border-radius(0);
}
.form-search .input-prepend .search-query {
.border-radius(0);
}
.form-search .input-prepend .btn {
.border-radius(0);
}

.navbar-search .search-query {
.border-radius(0);
}

// DROPDOWNS
// -----------------------------------------------------
.dropdown-menu {
Expand All @@ -82,6 +103,15 @@ legend {

// ALERTS, LABELS, BADGES
// -----------------------------------------------------
.label {
.border-radius(0);
}
.badge {
padding-left: 9px;
padding-right: 9px;
.border-radius(0);
}

.label-important,
.badge-important {
background-color: red;
Expand Down Expand Up @@ -134,6 +164,22 @@ legend {
background-color: black;
}

// CODE
// -----------------------------------------------------
code,
pre {
.border-radius(0);
}

//
// Pager pagination
// --------------------------------------------------

.pager li > a,
.pager li > span {
.border-radius(0);
}

// MISC
// -----------------------------------------------------
.hero-unit, .well {
Expand All @@ -145,10 +191,41 @@ legend {
color: white;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
border-color: black;
background: black;
.nav-tabs > li > a {
.border-radius(0);
&:hover,
&:focus {
border-color: black;
background: black;
}
}

.nav-tabs.nav-stacked > li:first-child > a {
.border-top-radius(0);
}
.nav-tabs.nav-stacked > li:last-child > a {
.border-bottom-radius(0);
}

.nav-tabs .dropdown-menu {
.border-radius(0); // remove the top rounded corners here since there is a hard edge above the menu
}
.nav-pills .dropdown-menu {
.border-radius(0); // make rounded corners match the pills
}

.tabs-below > .nav-tabs > li > a {
.border-radius(0);
}

.tabs-left > .nav-tabs > li > a {
margin-right: -1px;
.border-radius(0);
}

.tabs-right > .nav-tabs > li > a {
margin-left: -1px;
.border-radius(0);
}

.progress .bar {
Expand All @@ -158,6 +235,19 @@ legend {
border-left: 1px solid #808080;
}

.navbar .btn-navbar .icon-bar {
.border-radius(0);
}

.navbar .btn-navbar .icon-bar {
.border-radius(0);
}

.navbar .pull-right > li > .dropdown-menu,
.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu {
.border-radius(0);
}

// ANIMATIONS
// -----------------------------------------------------
// Webkit
Expand Down