Permalink
Browse files

small indenting improvements

  • Loading branch information...
1 parent 0c69656 commit 70bb177c9f8e1611e523b5084e9450f8b3f0a303 @aristath committed Feb 11, 2013
Showing with 150 additions and 153 deletions.
  1. +150 −153 assets/css/global.less
View
@@ -63,12 +63,25 @@
// Utility classes
@import "../less/utilities.less"; // Has to be last to override when necessary
-@font-face {
- font-family: 'OpenWeb Icons';
- src: url("../font/openwebicons.eot");
- src: url("../font/openwebicons.eot?#iefix") format("embedded-opentype"), url("../font/openwebicons.woff") format("woff"), url("../font/openwebicons.ttf") format("truetype"), url("../font/openwebicons.svg#openweb_iconsregular") format("svg");
- font-weight: normal;
- font-style: normal;
+body,
+div.sidebar-name h3,
+#menu-management .nav-tab,
+#dashboard_plugins h5,
+a.rsswidget,
+#dashboard_right_now td.b,
+#dashboard-widgets h4,
+.tool-box .title,
+#poststuff h3,
+.metabox-holder h3,
+.pressthis a,
+#your-profile legend,
+.inline-edit-row fieldset span.title,
+.inline-edit-row fieldset span.checkbox-title,
+.tablenav .displaying-num,
+.widefat th,
+.quicktags,
+.search {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#adminmenu a,
@@ -90,8 +103,10 @@ table.widefat {
}
.widefat {border: 0; .table; .table-bordered;
- tr {border: 0;
- td {border: 0;
+ tr {
+ border: 0;
+ td {
+ border: 0;
}
}
}
@@ -101,10 +116,10 @@ table.wp-list-table.widefat {
.table-bordered () !important;
.table-striped () !important;
.table-hover () !important;
- td.thumbnail {
- .box-shadow(0 0 0);
- .border-radius(0);
- }
+ td.thumbnail {
+ .box-shadow(0 0 0);
+ .border-radius(0);
+ }
}
input, textarea {
@@ -231,75 +246,75 @@ li.wp-menu-separator {
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
box-shadow: 0 1px 4px rgba(0,0,0,.065);
- li {
- a.menu-top {
- font-weight: normal;
- }
- &.wp-has-submenu.wp-menu-open {
- .wp-submenu {
- border-right: 1px solid #e5e5e5;
- border-left: 1px solid #e5e5e5;
- margin: 0 -2px -1px
- }
+ li {
+ a.menu-top {
+ font-weight: normal;
+ }
+ &.wp-has-submenu.wp-menu-open {
+ .wp-submenu {
+ border-right: 1px solid #e5e5e5;
+ border-left: 1px solid #e5e5e5;
+ margin: 0 -2px -1px
}
- &.menu-top {
- a.menu-top {
- font-size: 14px;
- }
+ }
+ &.menu-top {
+ a.menu-top {
+ font-size: 14px;
}
- &.menu-top:hover > a,
- &.menu-top.focused > a,
- &.menu-top > a:focus,
- &.wp-has-current-submenu a.wp-has-current-submenu,
- &.current a.menu-top {
+ }
+ &.menu-top:hover > a,
+ &.menu-top.focused > a,
+ &.menu-top > a:focus,
+ &.wp-has-current-submenu a.wp-has-current-submenu,
+ &.current a.menu-top {
+ background: #08c;
+ color: #fff
+ }
+ &.menu-top:hover > a,
+ &.menu-top.focused > a,
+ &.menu-top > a:focus,
+ &.wp-has-current-submenu a.wp-has-current-submenu,
+ &.current a.menu-top {
+ border-top-color: #e5e5e5;
+ border-right-color: #08c;
+ }
+ }
+ > li {
+ > a.menu-top {
+ border: 1px solid #E5E5E5;
+ margin: 0 0 -1px;
+ }
+ &:first-child > a.menu-top {
+ -webkit-border-radius: 6px 6px 0 0;
+ -moz-border-radius: 6px 6px 0 0;
+ border-radius: 6px 6px 0 0;
+ }
+ &:last-child {
+ -webkit-border-radius: 0 0 6px 6px;
+ -moz-border-radius: 0 0 6px 6px;
+ border-radius: 0 0 6px 6px;
+ border: 1px solid #e5e5e5;
+ }
+ }
+ .wp-has-current-submenu {
+ .wp-submenu {
+ .wp-submenu-head {
background: #08c;
- color: #fff
- }
- &.menu-top:hover > a,
- &.menu-top.focused > a,
- &.menu-top > a:focus,
- &.wp-has-current-submenu a.wp-has-current-submenu,
- &.current a.menu-top {
border-top-color: #e5e5e5;
border-right-color: #08c;
+ text-shadow: none;
+ text-shadow: 0;
}
}
- > li {
- > a.menu-top {
- border: 1px solid #E5E5E5;
- margin: 0 0 -1px;
- }
- &:first-child > a.menu-top {
- -webkit-border-radius: 6px 6px 0 0;
- -moz-border-radius: 6px 6px 0 0;
- border-radius: 6px 6px 0 0;
- }
- &:last-child {
- -webkit-border-radius: 0 0 6px 6px;
- -moz-border-radius: 0 0 6px 6px;
- border-radius: 0 0 6px 6px;
- border: 1px solid #e5e5e5;
- }
- }
- .wp-has-current-submenu {
- .wp-submenu {
- .wp-submenu-head {
- background: #08c;
- border-top-color: #e5e5e5;
- border-right-color: #08c;
- text-shadow: none;
- text-shadow: 0;
- }
- }
+ }
+ h3.popover-title {
+ div.wp-menu-image {
+ height: 15px;
}
- h3.popover-title {
- div.wp-menu-image {
- height: 15px;
- }
- .wp-menu-name {
- padding: 0;
- }
+ .wp-menu-name {
+ padding: 0;
}
+ }
}
.widefat th#thumbnail { width: 90px !important; }
@@ -309,7 +324,10 @@ th#sales.column-sales { width: 95px !important; }
body.folded .wp-menu-image {
display: block;
}
-#product_category-adder h4 { font-size: 15px; }
+
+#product_category-adder h4 {
+ font-size: 15px;
+}
#adminmenu li.menu-top.wp-not-current-submenu .wp-submenu {
display: none !important;
@@ -330,35 +348,35 @@ body.folded .wp-menu-image {
padding: 30px 10px 20px 10px;
margin-bottom: 20px;
background: #f8f8f8;
+ .hndle {
+ position: absolute;
+ top: -1px;
+ left: -1px;
+ padding: 3px 7px;
+ font-size: 14px;
+ font-weight: bold;
+ background-color: #f5f5f5;
+ border: 1px solid #ddd;
+ color: #9da0a4;
+ -webkit-border-radius: 4px 0 4px 0;
+ -moz-border-radius: 4px 0 4px 0;
+ border-radius: 4px 0 4px 0;
+ line-height: 16px;
+ }
+ .handlediv {
+ position: absolute;
+ top: 2px;
+ right: 0;
+ }
+ &.closed {
.hndle {
- position: absolute;
- top: -1px;
- left: -1px;
- padding: 3px 7px;
- font-size: 14px;
- font-weight: bold;
- background-color: #f5f5f5;
- border: 1px solid #ddd;
- color: #9da0a4;
- -webkit-border-radius: 4px 0 4px 0;
- -moz-border-radius: 4px 0 4px 0;
- border-radius: 4px 0 4px 0;
- line-height: 16px;
- }
- .handlediv {
- position: absolute;
- top: 2px;
- right: 0;
- }
- &.closed {
- .hndle {
- top: 0;
- left: 0;
- }
- }
- h3 {
- font-size: 13px;
+ top: 0;
+ left: 0;
}
+ }
+ h3 {
+ font-size: 13px;
+ }
}
.widget-holder .widget-title h4, .widget-title h4 {
@@ -424,27 +442,6 @@ ul.subsubsub li.active a {
width: 100%;
}
-body,
-div.sidebar-name h3,
-#menu-management .nav-tab,
-#dashboard_plugins h5,
-a.rsswidget,
-#dashboard_right_now td.b,
-#dashboard-widgets h4,
-.tool-box .title,
-#poststuff h3,
-.metabox-holder h3,
-.pressthis a,
-#your-profile legend,
-.inline-edit-row fieldset span.title,
-.inline-edit-row fieldset span.checkbox-title,
-.tablenav .displaying-num,
-.widefat th,
-.quicktags,
-.search {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
-}
-
#update-nag,
.update-nag,
div.updated,
@@ -552,31 +549,31 @@ label {display: inline-block;}
margin-right: 5px;
position: relative;
padding-left: 15px;
- a {
- position: absolute;
- left: 4px;
- color: #468847;
- display: block;
- background: none;
- margin: 0;
- width: 15px;
- height: 15px;
- text-indent: 0px;
- &:before {
- color: #fff;
- font-family: 'Elusive-Icons';
- content: "\e04e";
- font-weight: normal;
- font-style: normal;
- display: inline-block;
- text-decoration: none;
- }
- &:hover {
- &:before {
- content: "\e04c";
- }
- }
+ a {
+ position: absolute;
+ left: 4px;
+ color: #468847;
+ display: block;
+ background: none;
+ margin: 0;
+ width: 15px;
+ height: 15px;
+ text-indent: 0px;
+ &:before {
+ color: #fff;
+ font-family: 'Elusive-Icons';
+ content: "\e04e";
+ font-weight: normal;
+ font-style: normal;
+ display: inline-block;
+ text-decoration: none;
+ }
+ &:hover {
+ &:before {
+ content: "\e04c";
+ }
}
+ }
}
}
}
@@ -664,14 +661,14 @@ a.wp-menu-open .wp-menu-image:before, .current .wp-menu-image:before {color: #ff
position: absolute;
top: 8px;
left: 7px;
- &:before {
- margin-right: 5px;
- font-family: 'Elusive-Icons';
- font-size: 16px;
- }
- img{
- display: none;
- }
+ &:before {
+ margin-right: 5px;
+ font-family: 'Elusive-Icons';
+ font-size: 16px;
+ }
+ img{
+ display: none;
+ }
}
div.wp-menu-name {
padding-left: 30px !important;

0 comments on commit 70bb177

Please sign in to comment.