Skip to content
This repository
Browse code

MINOR: Remove unnecessarily repeated mixins

  • Loading branch information...
commit 7db0e32f9cc6f24c93a43b4ba4de9277c6840fb1 1 parent da7935e
Naomi Guyer authored June 20, 2012
2  css/GridField.css
@@ -71,7 +71,7 @@
71 71
 .cms table.ss-gridfield-table tr th div.fieldgroup.filter-buttons { min-width: 0; }
72 72
 .cms table.ss-gridfield-table tr th div.fieldgroup.filter-buttons div { width: auto; display: inline; }
73 73
 .cms table.ss-gridfield-table tr th.main { white-space: nowrap; border-top: 1px solid #a4b4bf; border-left: 1px solid #a4b4bf; color: #fff; background: #98aab6; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
74  
-.cms table.ss-gridfield-table tr th.main span { text-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0; padding-left: 8px; padding-right: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; o-text-overflow: ellipsis; margin-right: 8px; }
  74
+.cms table.ss-gridfield-table tr th.main span { text-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0; padding-left: 8px; padding-right: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; -o-text-overflow: ellipsis; margin-right: 8px; }
75 75
 .cms table.ss-gridfield-table tr th.main.col-listChildrenLink { border-right: none; }
76 76
 .cms table.ss-gridfield-table tr th.extra, .cms table.ss-gridfield-table tr th.action { padding: 0; cursor: default; }
77 77
 .cms table.ss-gridfield-table tr th.extra { position: relative; background: #637276; background: rgba(0, 0, 0, 0.7); padding: 5px; border-top: rgba(0, 0, 0, 0.2); }
11  scss/GridField.scss
@@ -35,17 +35,6 @@ $gf_border_radius:	5px;
35 35
 $gf_grid_y:	12px;
36 36
 $gf_grid_x:	16px;
37 37
 
38  
-@mixin box-shadow-none {
39  
-	-moz-box-shadow: none;
40  
-	-webkit-box-shadow: none;
41  
-	box-shadow: none;
42  
-}
43  
-@mixin hide-text-overflow {
44  
-	overflow: hidden;
45  
-	white-space: nowrap;
46  
-	text-overflow: ellipsis;
47  
-	o-text-overflow: ellipsis;
48  
-}
49 38
 
50 39
 .cms {
51 40
 	.ss-gridfield {
61  scss/_mixins.scss
... ...
@@ -1,61 +0,0 @@
1  
-/**
2  
- * This file contains mixins relating to specific functionality
3  
- *
4  
- * Mixins should be stored here rather than individual files
5  
- */
6  
-
7  
-
8  
-/*Mixin generates the generic button styling for the gridfield*/
9  
-@mixin gridFieldButtons{
10  
-	border:none;			
11  
-	display:block;
12  
-	text-indent:-9999em;
13  
-	width:30px; 
14  
-	height:25px; //match the height of the input field
15  
-}
16  
-
17  
-
18  
-/**
19  
-	Mixin creates a transparent button with a dropdown arrow, 
20  
-	as is used for files in the files up-load area. The arrows 
21  
-	themselves are added in the _style file
22  
-**/
23  
-@mixin ss-uploadfield-editButton{
24  
-	&.ss-uploadfield-item-edit {
25  
-		opacity:0.9;
26  
-		padding-top: 3px;
27  
-		padding-bottom: 0;
28  
-		height:100%;
29  
-		@include border-radius(0);
30  
-		&.ui-state-hover{
31  
-			background:none;		
32  
-			opacity:1;
33  
-			span.toggle-details{
34  
-				opacity:1;
35  
-			}	
36  
-		}
37  
-		span.toggle-details{
38  
-			opacity:0.9;
39  
-			margin-left:3px;
40  
-			display: inline-block;
41  
-			width: 5px;
42  
-			height: 100%;
43  
-			cursor: pointer;
44  
-			.toggle-details-icon {
45  
-				margin-top:1px;
46  
-				display: inline-block;
47  
-				width: 8px;
48  
-				height: 8px;
49  
-				vertical-align: middle;
50  
-				&.opened {	
51  
-					margin-top:0;
52  
-				}
53  
-			}
54  
-		}
55  
-
56  
-	}
57  
-
58  
-	.ui-icon {
59  
-		display: none;
60  
-	}	
61  
-}

0 notes on commit 7db0e32

Please sign in to comment.
Something went wrong with that request. Please try again.