2011-09-28 05:06:06 +02:00
|
|
|
/**
|
2011-09-30 00:59:44 +02:00
|
|
|
* Core styles for the basic GridField form field without any specific style.
|
2011-09-28 05:06:06 +02:00
|
|
|
*
|
|
|
|
* @package sapphire
|
|
|
|
* @subpackage scss
|
2011-12-06 01:56:24 +01:00
|
|
|
* @todo Add radial gradient to default delete button state
|
|
|
|
* @todo Create SASS mixin-function to simply swap the from/to, to to/from colours in grsdient mixins?
|
2011-09-28 05:06:06 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
@import "compass/css3";
|
2012-02-01 02:06:06 +01:00
|
|
|
@import "compass/css3/images";
|
|
|
|
@import "compass/css3/text-shadow";
|
|
|
|
@import "compass/css3/border-radius";
|
2011-09-28 05:06:06 +02:00
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
$gf_colour_gradient_light: #B1C0C5;
|
|
|
|
$gf_colour_gradient_dark: #7F9198;
|
|
|
|
$gf_colour_base: #95a5ab;
|
|
|
|
$gf_colour_header_border: #819198;
|
2012-02-01 02:06:06 +01:00
|
|
|
$gf_colour_subheader: #BAC8CE;
|
|
|
|
$gf_colour_border: rgba(0,0,0,.1);
|
|
|
|
$gf_colour_zebra: #F0F4F7;
|
|
|
|
$gf_colour_font: #666;
|
|
|
|
$gf_colour_text_shadow: rgba(0,0,0,.3);
|
2011-12-06 01:56:24 +01:00
|
|
|
$gf_border_radius: 7px;
|
2012-03-01 02:09:07 +01:00
|
|
|
$gf_color_border_filter_button: #9A9A9A;
|
|
|
|
$gf_color_button: #e6e6e6;
|
|
|
|
$gf_color_button_filter_hover: #338DC1;
|
|
|
|
$gf_color_button_reset_hover: #FF0000;
|
2012-03-06 03:55:26 +01:00
|
|
|
$color-text-light: white;
|
2011-09-28 05:06:06 +02:00
|
|
|
|
2012-02-29 01:46:10 +01:00
|
|
|
$gf_grid_y: 12px;
|
|
|
|
$gf_grid_x: 16px;
|
2012-02-01 02:06:06 +01:00
|
|
|
|
2012-01-09 01:46:06 +01:00
|
|
|
@mixin box-shadow-none {
|
|
|
|
-moz-box-shadow: none;
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
.cms {
|
2012-02-23 15:17:39 +01:00
|
|
|
.ss-gridfield {
|
2012-02-07 20:56:40 +01:00
|
|
|
& > div {
|
2012-03-08 22:33:17 +01:00
|
|
|
margin-bottom: $gf_grid_y*3;
|
2012-02-07 20:56:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&[data-selectable] {
|
|
|
|
tr.ui-selected, tr.ui-selecting {
|
|
|
|
background: #FFFAD6 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
2012-03-11 23:17:07 +01:00
|
|
|
|
2012-03-12 02:40:45 +01:00
|
|
|
span button#action_gridfield_relationfind {
|
|
|
|
display:none; //hides find button - redundant functionality
|
|
|
|
}
|
|
|
|
|
2012-03-11 23:17:07 +01:00
|
|
|
p button#action_export {
|
|
|
|
margin-top:$gf_grid_y;
|
|
|
|
span.btn-icon-download-csv {
|
|
|
|
height:17px; //exact height of icon
|
|
|
|
}
|
|
|
|
span.ui-button-text {
|
|
|
|
padding-left:26px; //to accomodate wider export icon
|
|
|
|
}
|
|
|
|
}
|
2012-01-29 21:26:39 +01:00
|
|
|
}
|
2012-03-09 04:50:05 +01:00
|
|
|
|
|
|
|
.ss-gridfield {
|
|
|
|
.add-existing-autocompleter {
|
|
|
|
input.relation-search {
|
|
|
|
width: 380px;
|
|
|
|
}
|
|
|
|
width: 500px;
|
|
|
|
}
|
2012-04-04 03:46:04 +02:00
|
|
|
.grid-print-button{
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.grid-csv-button{
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2012-03-09 04:50:05 +01:00
|
|
|
}
|
2012-02-07 20:56:40 +01:00
|
|
|
|
2012-02-23 15:17:39 +01:00
|
|
|
table.ss-gridfield-table {
|
2012-02-09 17:17:39 +01:00
|
|
|
display: table;
|
2012-01-09 20:38:58 +01:00
|
|
|
box-shadow: none;
|
2011-12-06 01:56:24 +01:00
|
|
|
padding: 0;
|
|
|
|
border-collapse: separate;
|
|
|
|
border-bottom: 0 none;
|
2012-02-09 17:17:39 +01:00
|
|
|
width: 100%;
|
2011-09-28 05:06:06 +02:00
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
thead {
|
|
|
|
color: darken($gf_colour_base, 50%);
|
|
|
|
background: transparent;
|
2012-03-07 05:31:55 +01:00
|
|
|
tr.filter-header {
|
|
|
|
.fieldgroup {
|
2012-03-08 22:33:17 +01:00
|
|
|
max-width:$gf_grid_x*32; //max width 512px
|
2012-03-07 05:31:55 +01:00
|
|
|
}
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
background: #FFF;
|
|
|
|
td {
|
2012-03-27 16:11:05 +02:00
|
|
|
// Give browser some hints on which cols take priority:
|
|
|
|
// The last column (buttons) should always shrink to fit.
|
|
|
|
// Overwritten for IE7, which doesn't support this.
|
|
|
|
width: 100%;
|
|
|
|
&.col-buttons {
|
|
|
|
width: auto;
|
|
|
|
text-align: right;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2012-04-05 05:27:52 +02:00
|
|
|
&.col-description {
|
|
|
|
width: auto;
|
|
|
|
white-space:nowrap;
|
|
|
|
}
|
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
button {
|
2012-01-09 17:16:07 +01:00
|
|
|
border: none;
|
|
|
|
background: none;
|
2012-03-08 21:07:11 +01:00
|
|
|
margin: 0 0 0 2px;
|
2011-12-06 01:56:24 +01:00
|
|
|
padding: 0;
|
|
|
|
width: auto;
|
|
|
|
text-shadow: none;
|
2012-03-08 21:33:56 +01:00
|
|
|
&.ui-state-hover {
|
2012-03-07 02:25:32 +01:00
|
|
|
background:none;
|
|
|
|
@include box-shadow-none;
|
|
|
|
}
|
2012-03-08 21:33:56 +01:00
|
|
|
&.ui-state-active {
|
2012-03-08 00:45:09 +01:00
|
|
|
border:none;
|
|
|
|
@include box-shadow-none;
|
|
|
|
}
|
2012-02-29 03:30:40 +01:00
|
|
|
}
|
|
|
|
a.edit-link {
|
|
|
|
display:inline-block;
|
2012-03-08 22:33:17 +01:00
|
|
|
width:$gf_grid_x;
|
|
|
|
height:20px; //min height to fit the edit icon
|
2012-03-27 16:11:05 +02:00
|
|
|
text-indent:9999em;
|
2012-04-04 06:00:56 +02:00
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: middle;
|
2012-02-29 04:38:53 +01:00
|
|
|
background: url(../images/icons/document--pencil.png) no-repeat 0 1px;
|
2012-04-04 06:00:56 +02:00
|
|
|
}
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
2011-09-28 05:06:06 +02:00
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
tfoot {
|
|
|
|
color: darken($gf_colour_base, 50%);
|
|
|
|
tr {
|
|
|
|
td {
|
|
|
|
background: $gf_colour_base;
|
|
|
|
padding: .7em;
|
2012-02-01 02:06:06 +01:00
|
|
|
border-bottom: 1px solid rgba(0,0,0,.1);
|
2011-09-28 05:06:06 +02:00
|
|
|
}
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
|
|
|
|
2012-02-22 04:25:11 +01:00
|
|
|
tr {
|
|
|
|
&.title {
|
|
|
|
@include border-top-radius($gf_border_radius);
|
2011-12-06 01:56:24 +01:00
|
|
|
th {
|
2012-02-22 04:25:11 +01:00
|
|
|
position: relative;
|
2011-12-06 01:56:24 +01:00
|
|
|
background: $gf_colour_gradient_dark;
|
2012-02-22 04:25:11 +01:00
|
|
|
border-top: 1px solid $gf_colour_border;
|
2012-02-22 05:16:20 +01:00
|
|
|
padding: 5px;
|
2012-03-08 22:33:17 +01:00
|
|
|
min-height: 40px; //this is to accomodate the add new button.
|
2012-02-22 04:25:11 +01:00
|
|
|
@include background-image(linear-gradient($gf_colour_gradient_light, $gf_colour_gradient_dark));
|
|
|
|
@include border-top-radius($gf_border_radius);
|
|
|
|
@include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0);
|
2012-02-22 05:16:20 +01:00
|
|
|
h2{
|
|
|
|
padding: 0px;
|
2012-02-29 01:46:10 +01:00
|
|
|
font-size: $gf_grid_y*1.4;
|
2012-02-22 05:16:20 +01:00
|
|
|
color:#fff;
|
2012-03-08 21:07:11 +01:00
|
|
|
margin:3px 8px 0;
|
2012-02-29 01:46:10 +01:00
|
|
|
display:inline-block;
|
2012-02-22 05:16:20 +01:00
|
|
|
}
|
2012-03-09 04:49:18 +01:00
|
|
|
.right > * {
|
2012-02-22 05:16:20 +01:00
|
|
|
float: right;
|
2012-03-09 04:49:18 +01:00
|
|
|
font-size: $gf_grid_y*1.2;
|
|
|
|
}
|
|
|
|
.left > * {
|
|
|
|
float: left;
|
|
|
|
font-size: $gf_grid_y*1.2;
|
2012-02-22 04:25:11 +01:00
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
2012-02-22 04:25:11 +01:00
|
|
|
}
|
|
|
|
&.sortable-header {
|
|
|
|
background: $gf_colour_subheader;
|
2012-02-29 01:46:10 +01:00
|
|
|
th{
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background: #FFFAD6 !important;
|
2011-09-28 05:06:06 +02:00
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
&:first-child {
|
|
|
|
background: transparent;
|
2011-09-28 05:06:06 +02:00
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
&.ss-gridfield-even {
|
|
|
|
background: $gf_colour_zebra;
|
2011-09-28 05:06:06 +02:00
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
&.ss-gridfield-last {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2011-09-28 05:06:06 +02:00
|
|
|
}
|
2012-02-01 02:06:06 +01:00
|
|
|
&.even {
|
2012-02-06 22:39:49 +01:00
|
|
|
background: $gf_colour_zebra;
|
2012-02-01 02:06:06 +01:00
|
|
|
}
|
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
th {
|
|
|
|
font-weight: bold;
|
2012-02-29 01:46:10 +01:00
|
|
|
font-size: $gf_grid_y;
|
2011-12-06 01:56:24 +01:00
|
|
|
color: #FFF;
|
2012-02-01 02:06:06 +01:00
|
|
|
padding: 5px;
|
|
|
|
border-right: 1px solid $gf_colour_border;
|
|
|
|
&.main:first-child{
|
2012-02-22 04:25:11 +01:00
|
|
|
//@include border-top-left-radius($gf_border_radius);
|
2012-02-01 02:06:06 +01:00
|
|
|
}
|
|
|
|
&.main:last-child{
|
2012-02-22 04:25:11 +01:00
|
|
|
//@include border-top-right-radius($gf_border_radius);
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
|
|
|
div {
|
|
|
|
&.fieldgroup,&.fieldgroup-field {
|
2012-03-01 02:09:07 +01:00
|
|
|
width: 100%;
|
|
|
|
position:relative;
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
|
|
|
&.fieldgroup {
|
2012-03-06 03:55:26 +01:00
|
|
|
min-width: $gf_grid_x*12.5;
|
2012-02-01 02:06:06 +01:00
|
|
|
padding-right:0;
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.extra,&.action {
|
|
|
|
padding: 0;
|
|
|
|
cursor: default;
|
|
|
|
button,button:hover {
|
|
|
|
&.ss-ui-button {
|
|
|
|
margin-left: .9em;
|
|
|
|
color: #222;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-02-01 02:06:06 +01:00
|
|
|
&.main{
|
|
|
|
border-top: 1px solid $gf_colour_border;
|
|
|
|
color:#fff;
|
2012-02-22 04:25:11 +01:00
|
|
|
background: darken($gf_colour_subheader,10%);
|
|
|
|
border-bottom: 1px solid $gf_colour_border;
|
2012-02-01 02:06:06 +01:00
|
|
|
span{
|
|
|
|
@include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0);
|
|
|
|
}
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
&.extra {
|
2012-02-01 02:06:06 +01:00
|
|
|
background: $gf_colour_subheader;
|
|
|
|
padding: 5px;
|
|
|
|
border-top: $gf_colour_text_shadow;
|
2011-12-06 01:56:24 +01:00
|
|
|
span {
|
|
|
|
width: auto;
|
|
|
|
display: inline;
|
|
|
|
position: static;
|
2012-03-01 02:09:07 +01:00
|
|
|
input {
|
2012-03-08 22:33:17 +01:00
|
|
|
height:28px; //height of input field - to match design.
|
2012-03-01 02:09:07 +01:00
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
2012-02-01 02:06:06 +01:00
|
|
|
button.ss-ui-button {
|
|
|
|
padding: .3em;
|
|
|
|
line-height: 1;
|
|
|
|
@include box-shadow-none;
|
|
|
|
position: relative;
|
|
|
|
border-bottom-width: 0;
|
|
|
|
@include border-radius(2px, 2px);
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
|
|
|
&.action {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
&.first {
|
|
|
|
@include border-top-left-radius($gf_border_radius);
|
|
|
|
}
|
|
|
|
&.last {
|
|
|
|
@include border-top-right-radius($gf_border_radius);
|
|
|
|
}
|
2012-02-01 02:06:06 +01:00
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
button {
|
2012-03-12 23:12:35 +01:00
|
|
|
&#action_gridfield_relationadd:hover {
|
|
|
|
color: #444 !important; /* Not sure why IE think it needs this */
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
&:hover {
|
2012-02-01 02:06:06 +01:00
|
|
|
color: #ccc !important; /* Not sure why IE think it needs this */
|
|
|
|
}
|
|
|
|
&.ss-gridfield-sort:hover {
|
|
|
|
color: #fff !important;
|
|
|
|
@include box-shadow-none;
|
|
|
|
}
|
|
|
|
&.ss-gridfield-sort {
|
2012-02-29 01:46:10 +01:00
|
|
|
background: transparent url(../images/arrows.png) no-repeat right 6px;
|
2012-02-01 02:06:06 +01:00
|
|
|
border:none;
|
|
|
|
width:100%;
|
|
|
|
text-align: left;
|
2012-04-05 05:27:52 +02:00
|
|
|
padding: 4px 8px 4px 0;
|
2012-02-01 02:06:06 +01:00
|
|
|
@include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0);
|
|
|
|
color: #fff;
|
2012-02-04 11:32:24 +01:00
|
|
|
@include border-radius(0);
|
2012-02-29 01:46:10 +01:00
|
|
|
&:hover {
|
|
|
|
background-position: right -34px;
|
|
|
|
}
|
2012-02-29 04:42:57 +01:00
|
|
|
&.ss-gridfield-sorted-desc {
|
|
|
|
background-position: right -72px;
|
|
|
|
}
|
|
|
|
&.ss-gridfield-sorted-asc {
|
2012-02-29 01:46:10 +01:00
|
|
|
background-position: right -116px;
|
|
|
|
}
|
2012-02-29 04:42:57 +01:00
|
|
|
}
|
2012-03-01 02:09:07 +01:00
|
|
|
&.ss-gridfield-button-filter.ss-ui-button{
|
|
|
|
position:absolute;
|
2012-03-08 22:33:17 +01:00
|
|
|
right:5px; //positions filter button in correct position on top of input field
|
2012-03-08 21:07:11 +01:00
|
|
|
top:-28px;
|
2012-03-01 02:09:07 +01:00
|
|
|
display:block;
|
|
|
|
text-indent:-9999em;
|
2012-03-08 22:33:17 +01:00
|
|
|
width:30px;
|
|
|
|
height:28px; //match the height of the input field
|
2012-03-01 02:09:07 +01:00
|
|
|
border: {
|
|
|
|
top-left-radius:0px;
|
|
|
|
bottom-left-radius:0px;
|
|
|
|
top-right-radius:4px;
|
|
|
|
bottom-right-radius:4px;
|
|
|
|
bottom-width:1px;
|
|
|
|
color:$gf_color_border_filter_button;
|
|
|
|
}
|
|
|
|
@include background (url(../images/icons/filter-icons.png) no-repeat -40px 6px,
|
|
|
|
linear-gradient(
|
|
|
|
lighten($gf_color_button, 10%),
|
|
|
|
darken($gf_color_button, 5%)
|
|
|
|
));
|
2012-03-06 03:55:26 +01:00
|
|
|
&.hover-alike:active {
|
2012-03-01 02:09:07 +01:00
|
|
|
@include background (url(../images/icons/filter-icons.png) no-repeat -16px 6px,
|
|
|
|
linear-gradient(
|
|
|
|
lighten($gf_color_button_filter_hover, 5%),
|
|
|
|
darken($gf_color_button_filter_hover, 5%)
|
|
|
|
));
|
2012-03-06 03:55:26 +01:00
|
|
|
@include box-shadow(inset 0 1px 3px rgb(23, 24, 26), 0 1px 0 rgba(255, 255, 255, .6));
|
2012-03-01 02:09:07 +01:00
|
|
|
}
|
2012-03-06 03:55:26 +01:00
|
|
|
&.hover-alike {
|
2012-03-05 01:35:39 +01:00
|
|
|
@include background (url(../images/icons/filter-icons.png) no-repeat -16px 6px,
|
2012-03-01 02:09:07 +01:00
|
|
|
linear-gradient(
|
|
|
|
lighten($gf_color_button_filter_hover, 5%),
|
|
|
|
darken($gf_color_button_filter_hover, 5%)
|
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.ss-gridfield-button-reset.ss-ui-button{
|
|
|
|
position:absolute;
|
2012-03-08 22:33:17 +01:00
|
|
|
right:34px; //positions reset button in correct position on top of input field and to the left of the filter button
|
2012-03-08 21:07:11 +01:00
|
|
|
top:-28px;
|
2012-03-01 02:09:07 +01:00
|
|
|
display:block;
|
|
|
|
text-indent:-9999em;
|
2012-03-08 21:07:11 +01:00
|
|
|
width:30px;
|
2012-03-08 22:33:17 +01:00
|
|
|
height:28px; //match the height of the input field
|
2012-03-01 02:09:07 +01:00
|
|
|
float:right;
|
|
|
|
border: {
|
|
|
|
radius:0px;
|
|
|
|
bottom-width:1px;
|
|
|
|
color:$gf_color_border_filter_button;
|
|
|
|
}
|
|
|
|
@include background (url(../images/icons/filter-icons.png) no-repeat 8px 5px,
|
|
|
|
linear-gradient(color-stops(
|
|
|
|
lighten($gf_color_button, 10%),
|
|
|
|
darken($gf_color_button, 5%)
|
|
|
|
))
|
|
|
|
);
|
2012-03-06 03:55:26 +01:00
|
|
|
&.filtered:hover {
|
2012-03-01 02:09:07 +01:00
|
|
|
@include background (url(../images/icons/filter-icons.png) no-repeat 8px -17px,
|
|
|
|
linear-gradient(
|
|
|
|
$gf_color_button_reset_hover,
|
|
|
|
darken($gf_color_button_reset_hover, 10%)
|
|
|
|
));
|
|
|
|
}
|
2012-03-06 03:55:26 +01:00
|
|
|
&.filtered:active {
|
2012-03-01 02:09:07 +01:00
|
|
|
@include background (url(../images/icons/filter-icons.png) no-repeat 8px -17px,
|
|
|
|
linear-gradient(
|
|
|
|
$gf_color_button_reset_hover,
|
|
|
|
darken($gf_color_button_reset_hover, 10%)
|
|
|
|
));
|
|
|
|
@include box-shadow(inset 0 1px 3px rgb(23, 24, 26), 0 1px 0 rgba(255, 255, 255, .6));
|
|
|
|
}
|
2012-02-01 02:06:06 +01:00
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
2012-03-01 02:09:07 +01:00
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
input {
|
|
|
|
&.ss-gridfield-sort {
|
|
|
|
padding: 2px;
|
2012-01-09 01:46:06 +01:00
|
|
|
&:focus {
|
|
|
|
@include box-shadow-none;
|
|
|
|
}
|
2012-02-29 01:46:10 +01:00
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
|
|
|
}
|
2012-03-01 23:46:35 +01:00
|
|
|
|
|
|
|
span.non-sortable {
|
2012-03-08 22:33:17 +01:00
|
|
|
padding:1em 1em;
|
2012-03-08 04:37:45 +01:00
|
|
|
display:block;
|
2012-03-01 23:46:35 +01:00
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
}
|
2012-03-01 02:09:07 +01:00
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
td {
|
|
|
|
border-right: 1px solid $gf_colour_border;
|
2012-02-29 01:55:48 +01:00
|
|
|
padding: $gf_grid_x/2.5 $gf_grid_y;
|
2012-02-01 02:06:06 +01:00
|
|
|
color: $gf_colour_font;
|
2011-12-06 01:56:24 +01:00
|
|
|
&.bottom-all {
|
|
|
|
@include border-bottom-radius($gf_border_radius);
|
2012-03-06 03:55:26 +01:00
|
|
|
@include background-image(linear-gradient($gf_colour_gradient_light, $gf_colour_gradient_dark));
|
|
|
|
.datagrid-pagination {
|
2012-03-08 05:21:26 +01:00
|
|
|
padding-top:2px;
|
2012-03-06 03:55:26 +01:00
|
|
|
position:absolute;
|
|
|
|
left:50%;
|
2012-03-08 22:33:17 +01:00
|
|
|
margin-left:-116px; //half the width of .datagrid-pagination - centers pagination
|
2012-03-06 03:55:26 +01:00
|
|
|
.pagination-page-number {
|
|
|
|
color:$color-text-light;
|
2012-03-08 04:37:00 +01:00
|
|
|
input {
|
2012-03-08 22:33:17 +01:00
|
|
|
width:35px; //exact width so that a four digit number can be entered
|
|
|
|
height:18px;
|
|
|
|
margin-bottom:-6px; //moves input field up to be aligned with the pagination buttons
|
2012-03-08 04:37:00 +01:00
|
|
|
padding:0px;
|
|
|
|
}
|
2012-03-06 03:55:26 +01:00
|
|
|
}
|
|
|
|
button.ss-gridfield-previouspage {
|
|
|
|
@include background (url(../images/icons/pagination-arrows.png) no-repeat -23px 7px);
|
|
|
|
@include box-shadow-none;
|
|
|
|
border:none;
|
2012-03-08 21:07:11 +01:00
|
|
|
width:10px;
|
|
|
|
margin:0 10px;
|
2012-03-06 03:55:26 +01:00
|
|
|
span {
|
|
|
|
text-indent:-9999em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
button.ss-gridfield-nextpage {
|
|
|
|
@include background (url(../images/icons/pagination-arrows.png) no-repeat -47px 7px);
|
|
|
|
@include box-shadow-none;
|
|
|
|
border:none;
|
2012-03-08 21:07:11 +01:00
|
|
|
width:10px;
|
|
|
|
margin:0 10px;
|
2012-03-06 03:55:26 +01:00
|
|
|
span {
|
|
|
|
text-indent:-9999em;
|
|
|
|
}
|
|
|
|
}
|
2012-03-07 02:57:15 +01:00
|
|
|
button.ss-gridfield-firstpage {
|
|
|
|
@include background (url(../images/icons/pagination-arrows.png) no-repeat 0px 7px);
|
|
|
|
@include box-shadow-none;
|
|
|
|
border:none;
|
2012-03-08 21:07:11 +01:00
|
|
|
width:10px;
|
|
|
|
margin:0 10px;
|
2012-03-07 02:57:15 +01:00
|
|
|
span {
|
|
|
|
text-indent:-9999em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
button.ss-gridfield-lastpage {
|
|
|
|
@include background (url(../images/icons/pagination-arrows.png) no-repeat -73px 7px);
|
|
|
|
@include box-shadow-none;
|
|
|
|
border:none;
|
2012-03-08 21:07:11 +01:00
|
|
|
width:10px;
|
|
|
|
margin:0 10px;
|
2012-03-07 02:57:15 +01:00
|
|
|
span {
|
|
|
|
text-indent:-9999em;
|
|
|
|
}
|
|
|
|
}
|
2012-03-06 03:55:26 +01:00
|
|
|
}
|
|
|
|
.pagination-records-number {
|
|
|
|
float:right;
|
2012-03-08 22:33:17 +01:00
|
|
|
padding:6px 0;
|
2012-03-06 03:55:26 +01:00
|
|
|
color:$color-text-light;
|
|
|
|
}
|
2011-09-28 05:06:06 +02:00
|
|
|
}
|
|
|
|
}
|
2012-01-10 00:58:48 +01:00
|
|
|
&.last td {
|
|
|
|
border-bottom: 0 none;
|
|
|
|
}
|
2011-09-28 05:06:06 +02:00
|
|
|
}
|
2012-02-01 02:06:06 +01:00
|
|
|
td:first-child, th:first-child{
|
|
|
|
border-left: 1px solid $gf_colour_border;
|
|
|
|
}
|
2011-09-28 05:06:06 +02:00
|
|
|
}
|
2012-04-04 06:00:56 +02:00
|
|
|
}
|