Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Button overflow contained to max 100% + outcommented instructions on …

…how button styling can be increased for Webkit & IE9

Last changes & comments
  • Loading branch information...
commit 0fd8482be66c28ef20e0d393b97b1c22fa875f02 1 parent 448c5fd
@anselmdk anselmdk authored
Showing with 14 additions and 0 deletions.
  1. +1 −0  admin/css/screen.css
  2. +13 −0 admin/scss/_ModelAdmin.scss
View
1  admin/css/screen.css
@@ -570,6 +570,7 @@ li.class-ErrorPage > a .jstree-pageicon { background-position: 0 -112px; }
.ModelAdmin .cms-content-tools #SearchForm_holder div.tab h3 { margin-top: 16px; margin-bottom: 10px; border-bottom: 1px solid rgba(201, 205, 206, 0.8); -webkit-box-shadow: 0 1px 0 rgba(228, 230, 230, 0.8); -moz-box-shadow: 0 1px 0 rgba(228, 230, 230, 0.8); -o-box-shadow: 0 1px 0 rgba(228, 230, 230, 0.8); box-shadow: 0 1px 0 rgba(228, 230, 230, 0.8); }
.ModelAdmin .cms-content-tools #SearchForm_holder div.tab form input { margin: 0px; }
.ModelAdmin .cms-content-tools #SearchForm_holder div.tab form .field { border-bottom: 0px; margin-bottom: 6px; }
+.ModelAdmin .cms-content-tools #SearchForm_holder div.tab form .Actions { max-width: 100%; overflow: hidden; }
.ModelAdmin .cms-content-tools #SearchForm_holder div.tab form .Actions button.ss-ui-action-minor { display: none; }
.SecurityAdmin .cms-edit-form .cms-content-header h2 { display: none; }
View
13 admin/scss/_ModelAdmin.scss
@@ -53,10 +53,23 @@
margin-bottom:6px;
}
.Actions {
+ max-width:100%;
+ overflow:hidden;
button.ss-ui-action-minor {
//removing the "clear search" button
display:none;
}
+ input.action {
+ //experimenting with text-overlow:ellipsis on action buttons
+ //currently disabled as this ignores padding-left on the buttons in Firefox
+ //and makes the text appear in front of the icon in Firefox 10
+ //See a screenshot here: http://db.tt/iBi39rRt
+
+ //white-space: nowrap;
+ //overflow: hidden;
+ //text-overflow:ellipsis;
+ //max-width:100%;
+ }
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.