Permalink
Browse files

Updated search form styles and added image alignment classes

  • Loading branch information...
1 parent 5ab750f commit 584664271834ffd917acd5eb3a65013269280c58 @rachelbaker committed Jul 18, 2012
Showing with 76 additions and 25 deletions.
  1. +34 −7 less/bootstrapwp.css
  2. +42 −18 less/bswp-overrides.less
View
@@ -9324,21 +9324,27 @@ h4.widget-title {
}
/* Search Form Styles
----------------------------------------------------------------------------------------*/
+#searchform {
+ display: inline-block;
+ margin-bottom: 0;
+ vertical-align: middle;
+}
#searchform input#s {
padding-left: 4px;
padding-right: 4px;
margin-right: 4px;
margin-bottom: 0;
- -webkit-border-radius: 14px;
- -moz-border-radius: 14px;
- border-radius: 14px;
+ -moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
+ background-color: #FFFFFF;
+ border: 1px solid #CCCCCC;
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
display: inline;
float: left;
}
#searchsubmit {
display: inline-block;
padding: 5px 10px 6px;
- font-size: 13px;
+ font-size: 14px;
line-height: normal;
color: #333;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
@@ -9486,9 +9492,9 @@ ol.comment-list li p.meta strong {
.reply .comment-reply-link {
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
color: white;
- padding: 4px 10px 4px;
- font-size: 13px;
- line-height: 18px;
+ padding: 5px 10px 5px;
+ font-size: 14px;
+ line-height: 20px;
text-align: center;
border: 1px solid #CCC;
border-bottom-color: #BBB;
@@ -9536,6 +9542,27 @@ ol.comment-list li p.meta strong {
position: relative;
top: 1px;
}
+/* Image Alignment
+----------------------------------------------------------------------------------------*/
+img.alignnone {
+ display: block;
+ position: relative;
+}
+img.alignright {
+ float: right;
+ margin: 5px;
+ display: inline;
+}
+img.alignleft {
+ float: left;
+ margin: 5px;
+ display: inline;
+}
+img.aligncenter {
+ display: block;
+ text-align: center;
+ margin: auto;
+}
/* Caption Styling
----------------------------------------------------------------------------------------*/
.wp-caption {
View
@@ -108,8 +108,6 @@ h4.widget-title {
}
/* Post Styles
----------------------------------------------------------------------------------------*/
-sticky {
-}
.entry-meta {
clear: both;
@@ -123,23 +121,27 @@ sticky {
/* Search Form Styles
----------------------------------------------------------------------------------------*/
-
-#searchform input#s {
- padding-left: 4px;
- padding-right: 4px;
- margin-right:4px;
- margin-bottom: 0;
- -webkit-border-radius: 14px;
- -moz-border-radius: 14px;
- border-radius: 14px;
- display: inline;
- float: left;
+#searchform {
+ display: inline-block;
+ margin-bottom: 0;
+ vertical-align: middle;
+ input#s {
+ padding-left: 4px;
+ padding-right: 4px;
+ margin-right:4px;
+ margin-bottom: 0;
+ -moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
+ background-color: #FFFFFF;
+ border: 1px solid #CCCCCC;
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
+ display: inline;
+ float: left;
+ }
}
-
#searchsubmit {
display: inline-block;
padding: 5px 10px 6px;
- font-size: 13px;
+ font-size: 14px;
line-height: normal;
color: #333;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
@@ -279,9 +281,9 @@ ol.comment-list li p.meta strong {
.button, #submit, .widget_search #searchsubmit, .reply .comment-reply-link {
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
color: white;
- padding: 4px 10px 4px;
- font-size: 13px;
- line-height: 18px;
+ padding: 5px 10px 5px;
+ font-size: 14px;
+ line-height: 20px;
text-align: center;
border: 1px solid #CCC;
border-bottom-color: #BBB;
@@ -322,6 +324,28 @@ ol.comment-list li p.meta strong {
}
.button:active, #submit:active, .widget_search #searchsubmit:active, .button.green:active {position: relative; top:1px;}
+/* Image Alignment
+----------------------------------------------------------------------------------------*/
+img.alignnone {
+ display: block;
+ position: relative;
+}
+img.alignright {
+ float: right;
+ margin: 5px;
+ display: inline;
+}
+img.alignleft {
+ float: left;
+ margin: 5px;
+ display: inline;
+}
+img.aligncenter {
+ display: block;
+ text-align: center;
+ margin: auto;
+}
+
/* Caption Styling
----------------------------------------------------------------------------------------*/
.wp-caption {

0 comments on commit 5846642

Please sign in to comment.