Permalink
Browse files

Merge pull request #551 from adrexia/scss-tidy

MINOR: Remove unnecessarily repeated mixins
  • Loading branch information...
2 parents 578f6a1 + 7db0e32 commit 5eab25cdbc9ebc611a84c0590f78ff792e9ee698 @chillu chillu committed Jun 21, 2012
Showing with 1 addition and 73 deletions.
  1. +1 −1 css/GridField.css
  2. +0 −11 scss/GridField.scss
  3. +0 −61 scss/_mixins.scss
View

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

Oops, something went wrong.
View
@@ -35,17 +35,6 @@ $gf_border_radius: 5px;
$gf_grid_y: 12px;
$gf_grid_x: 16px;
-@mixin box-shadow-none {
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-@mixin hide-text-overflow {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- o-text-overflow: ellipsis;
-}
.cms {
.ss-gridfield {
View
@@ -1,61 +0,0 @@
-/**
- * This file contains mixins relating to specific functionality
- *
- * Mixins should be stored here rather than individual files
- */
-
-
-/*Mixin generates the generic button styling for the gridfield*/
-@mixin gridFieldButtons{
- border:none;
- display:block;
- text-indent:-9999em;
- width:30px;
- height:25px; //match the height of the input field
-}
-
-
-/**
- Mixin creates a transparent button with a dropdown arrow,
- as is used for files in the files up-load area. The arrows
- themselves are added in the _style file
-**/
-@mixin ss-uploadfield-editButton{
- &.ss-uploadfield-item-edit {
- opacity:0.9;
- padding-top: 3px;
- padding-bottom: 0;
- height:100%;
- @include border-radius(0);
- &.ui-state-hover{
- background:none;
- opacity:1;
- span.toggle-details{
- opacity:1;
- }
- }
- span.toggle-details{
- opacity:0.9;
- margin-left:3px;
- display: inline-block;
- width: 5px;
- height: 100%;
- cursor: pointer;
- .toggle-details-icon {
- margin-top:1px;
- display: inline-block;
- width: 8px;
- height: 8px;
- vertical-align: middle;
- &.opened {
- margin-top:0;
- }
- }
- }
-
- }
-
- .ui-icon {
- display: none;
- }
-}

0 comments on commit 5eab25c

Please sign in to comment.