Skip to content
This repository
Browse code

ENHANCEMENT:removed border and added blue link color to page titles.

  • Loading branch information...
commit b26807058f3cce03d6ebef3d860f134f1d9858d8 1 parent 4a3a6d5
authored April 10, 2012
5  css/GridField.css
@@ -21,6 +21,7 @@
21 21
 .cms table.ss-gridfield-table tbody td.col-listChildrenLink .list-children-link { background: transparent url(../images/sitetree_ss_default_icons.png) no-repeat 12px -4px; display: block; }
22 22
 .cms table.ss-gridfield-table tbody td.col-Created { white-space: nowrap; }
23 23
 .cms table.ss-gridfield-table tbody td.col-LastEdited { white-space: nowrap; }
  24
+.cms table.ss-gridfield-table tbody td.col-getTreeTitle span.item { color: #1556b2; }
24 25
 .cms table.ss-gridfield-table tbody td.col-getTreeTitle span.badge { clear: both; text-transform: uppercase; display: inline-block; padding: 0px 3px; font-size: 0.75em; line-height: 1em; margin-left: 10px; margin-right: 6px; margin-top: -1px; -webkit-border-radius: 2px 2px; -moz-border-radius: 2px / 2px; -o-border-radius: 2px / 2px; -ms-border-radius: 2px / 2px; -khtml-border-radius: 2px / 2px; border-radius: 2px / 2px; }
25 26
 .cms table.ss-gridfield-table tbody td.col-getTreeTitle span.badge.modified { color: #7E7470; border: 1px solid #C9B800; background-color: #FFF0BC; }
26 27
 .cms table.ss-gridfield-table tbody td.col-getTreeTitle span.badge.addedtodraft { color: #7E7470; border: 1px solid #C9B800; background-color: #FFF0BC; }
@@ -49,14 +50,13 @@
49 50
 .cms table.ss-gridfield-table tr th div.fieldgroup, .cms table.ss-gridfield-table tr th div.fieldgroup-field { width: 100%; position: relative; }
50 51
 .cms table.ss-gridfield-table tr th div.fieldgroup { min-width: 200px; padding-right: 0; }
51 52
 .cms table.ss-gridfield-table tr th.extra, .cms table.ss-gridfield-table tr th.action { padding: 0; cursor: default; }
52  
-.cms table.ss-gridfield-table tr th.extra button.ss-ui-button, .cms table.ss-gridfield-table tr th.extra button:hover.ss-ui-button, .cms table.ss-gridfield-table tr th.action button.ss-ui-button, .cms table.ss-gridfield-table tr th.action button:hover.ss-ui-button { margin-left: .9em; color: #222; }
53 53
 .cms table.ss-gridfield-table tr th.main { white-space: nowrap; border-top: 1px solid rgba(0, 0, 0, 0.1); color: #fff; background: #9cb0b9; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
54 54
 .cms table.ss-gridfield-table tr th.main span { text-shadow: rgba(0, 0, 0, 0.3) 0px -1px 0; }
  55
+.cms table.ss-gridfield-table tr th.main.col-listChildrenLink { border-right: none; }
55 56
 .cms table.ss-gridfield-table tr th.extra { background: #bac8ce; padding: 5px; border-top: rgba(0, 0, 0, 0.3); }
56 57
 .cms table.ss-gridfield-table tr th.extra span { width: auto; display: inline; position: static; }
57 58
 .cms table.ss-gridfield-table tr th.extra span input { height: 28px; }
58 59
 .cms table.ss-gridfield-table tr th.extra button.ss-ui-button { padding: .3em; line-height: 1; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; position: relative; border-bottom-width: 0; -webkit-border-radius: 2px 2px; -moz-border-radius: 2px / 2px; -o-border-radius: 2px / 2px; -ms-border-radius: 2px / 2px; -khtml-border-radius: 2px / 2px; border-radius: 2px / 2px; }
59  
-.cms table.ss-gridfield-table tr th.action { border-right: 0; }
60 60
 .cms table.ss-gridfield-table tr th.first { -moz-border-radius-topleft: 7px; -webkit-border-top-left-radius: 7px; -o-border-top-left-radius: 7px; -ms-border-top-left-radius: 7px; -khtml-border-top-left-radius: 7px; border-top-left-radius: 7px; }
61 61
 .cms table.ss-gridfield-table tr th.last { -moz-border-radius-topright: 7px; -webkit-border-top-right-radius: 7px; -o-border-top-right-radius: 7px; -ms-border-top-right-radius: 7px; -khtml-border-top-right-radius: 7px; border-top-right-radius: 7px; }
62 62
 .cms table.ss-gridfield-table tr th button#action_gridfield_relationadd:hover { color: #444 !important; /* Not sure why IE think it needs this */ }
@@ -75,7 +75,6 @@
75 75
 .cms table.ss-gridfield-table tr th input.ss-gridfield-sort { padding: 2px; }
76 76
 .cms table.ss-gridfield-table tr th input.ss-gridfield-sort:focus { -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
77 77
 .cms table.ss-gridfield-table tr th span.non-sortable { padding: 1em 1em; display: block; }
78  
-.cms table.ss-gridfield-table tr th.col-listChildrenLink { border-right: none; }
79 78
 .cms table.ss-gridfield-table tr td { border-right: 1px solid rgba(0, 0, 0, 0.1); padding: 6.4px 12px; color: #666666; }
80 79
 .cms table.ss-gridfield-table tr td.bottom-all { -moz-border-radius-bottomleft: 7px; -webkit-border-bottom-left-radius: 7px; -o-border-bottom-left-radius: 7px; -ms-border-bottom-left-radius: 7px; -khtml-border-bottom-left-radius: 7px; border-bottom-left-radius: 7px; -moz-border-radius-bottomright: 7px; -webkit-border-bottom-right-radius: 7px; -o-border-bottom-right-radius: 7px; -ms-border-bottom-right-radius: 7px; -khtml-border-bottom-right-radius: 7px; border-bottom-right-radius: 7px; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b1c0c5), color-stop(100%, #7f9198)); background-image: -webkit-linear-gradient(#b1c0c5, #7f9198); background-image: -moz-linear-gradient(#b1c0c5, #7f9198); background-image: -o-linear-gradient(#b1c0c5, #7f9198); background-image: -ms-linear-gradient(#b1c0c5, #7f9198); background-image: linear-gradient(#b1c0c5, #7f9198); }
81 80
 .cms table.ss-gridfield-table tr td.bottom-all .datagrid-pagination { padding-top: 2px; position: absolute; left: 50%; margin-left: -116px; }
11  scss/GridField.scss
@@ -21,6 +21,7 @@ $gf_colour_border: rgba(0,0,0,.1);
21 21
 $gf_colour_zebra: #F0F4F7;
22 22
 $gf_colour_font: #666;
23 23
 $gf_colour_text_shadow: rgba(0,0,0,.3);
  24
+$color-text-blue-link:#1556B2 !default;
24 25
 $gf_border_radius:	7px;
25 26
 $gf_color_border_filter_button: #9A9A9A;
26 27
 $gf_color_button: #e6e6e6;
@@ -139,6 +140,9 @@ $gf_grid_x:	16px;
139 140
 				}
140 141
 
141 142
 				&.col-getTreeTitle {
  143
+					span.item {
  144
+						color:$color-text-blue-link;
  145
+					}
142 146
 					span.badge {
143 147
 						clear: both;
144 148
 						text-transform: uppercase;
@@ -310,6 +314,9 @@ $gf_grid_x:	16px;
310 314
 					span{
311 315
 						@include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0);
312 316
 					}
  317
+					&.col-listChildrenLink {
  318
+						border-right:none;
  319
+					}
313 320
 				}
314 321
 				&.extra {
315 322
 					background: $gf_colour_subheader;		
@@ -458,10 +465,6 @@ $gf_grid_x:	16px;
458 465
 					padding:1em 1em; 
459 466
 					display:block;
460 467
 				}
461  
-
462  
-				&.col-listChildrenLink {
463  
-					border-right:none;
464  
-				}
465 468
 			}
466 469
 
467 470
 			td {

0 notes on commit b268070

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