Permalink
Browse files

MINOR Moved ModelAdmin styles into separate file

  • Loading branch information...
chillu committed Jan 3, 2012
1 parent 8dd64bd commit 3202d1293367a7d70baf2c1c1139fa9e1126727b
Showing with 80 additions and 81 deletions.
  1. +14 −14 admin/css/screen.css
  2. +65 −0 admin/scss/_ModelAdmin.scss
  3. +0 −66 admin/scss/_style.scss
  4. +1 −1 admin/scss/screen.scss
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,65 @@
+/** --------------------------------------------
+ * ModelAdmin
+ * -------------------------------------------- */
+
+.ModelAdmin {
+ // Disable by default, will be replaced by more intuitive column selection in new data grid
+ .ResultAssemblyBlock {
+ display: none;
+ }
+ .cms-content-tools {
+ h3.cms-panel-header {
+ display:none;
+ }
+ #SearchForm_holder {
+ ul.ui-tabs-nav {
+ overflow:hidden;
+ li {
+ max-width:99%;
+ a {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow:ellipsis;
+ //above 3 lines can also be achieved with mixin below
+ //@include ellipsis;
+ max-width:85%;
+ }
+ }
+ }
+ #ModelClassSelector {
+ margin-bottom:2px;
+ select {
+ width:96%;
+ }
+ }
+ div.tab {
+ border:1px solid #aaa; //following color from the jquery smoothness theme
+ margin-top:-1px;
+ background:#fff; //backround is kept white to follow tabs
+ padding:$grid-horizontal;
+
+ h3 {
+ margin-top:16px;
+ margin-bottom:10px;
+ @include doubleborder(bottom, $color-light-separator, lighten($color-light-separator, 10%))
+ }
+
+ form {
+ input {
+ margin:0px;
+ }
+ .field {
+ border-bottom:0px;
+ margin-bottom:6px;
+ }
+ .Actions {
+ button.ss-ui-action-minor {
+ //removing the "clear search" button
+ display:none;
+ }
+ }
+ }
+ }
+ }
+ }
+}
View
@@ -281,72 +281,6 @@ html,body {
}
}
-/** --------------------------------------------
- * ModelAdmin
- * -------------------------------------------- */
-
-.ModelAdmin {
- // Disable by default, will be replaced by more intuitive column selection in new data grid
- .ResultAssemblyBlock {
- display: none;
- }
- .cms-content-tools {
- h3.cms-panel-header {
- display:none;
- }
- #SearchForm_holder {
- ul.ui-tabs-nav {
- overflow:hidden;
- li {
- max-width:99%;
- a {
- white-space: nowrap;
- overflow: hidden;
- text-overflow:ellipsis;
- //above 3 lines can also be achieved with mixin below
- //@include ellipsis;
- max-width:85%;
- }
- }
- }
- #ModelClassSelector {
- margin-bottom:2px;
- select {
- width:96%;
- }
- }
- div.tab {
- border:1px solid #aaa; //following color from the jquery smoothness theme
- margin-top:-1px;
- background:#fff; //backround is kept white to follow tabs
- padding:$grid-horizontal;
-
- h3 {
- margin-top:16px;
- margin-bottom:10px;
- @include doubleborder(bottom, $color-light-separator, lighten($color-light-separator, 10%))
- }
-
- form {
- input {
- margin:0px;
- }
- .field {
- border-bottom:0px;
- margin-bottom:6px;
- }
- .Actions {
- button.ss-ui-action-minor {
- //removing the "clear search" button
- display:none;
- }
- }
- }
- }
- }
- }
-}
-
/** --------------------------------------------
* "Add page" dialog
* -------------------------------------------- */
View
@@ -46,4 +46,4 @@
@import "style.scss";
@import "tree.scss";
@import "menu.scss";
-
+@import "ModelAdmin.scss";

0 comments on commit 3202d12

Please sign in to comment.