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
|
|
|
|
*
|
2012-04-12 08:02:46 +02:00
|
|
|
|
* @package framework
|
2011-09-28 05:06:06 +02:00
|
|
|
|
* @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";
|
2012-05-16 02:18:23 +02:00
|
|
|
|
@import "../admin/scss/themes/default";
|
2012-05-21 04:41:46 +02:00
|
|
|
|
@import "../admin/scss/_mixins";
|
2012-05-16 02:18:23 +02:00
|
|
|
|
@import "_elementMixins";
|
2011-09-28 05:06:06 +02:00
|
|
|
|
|
2016-05-02 07:37:03 +02:00
|
|
|
|
//$experimental-support-for-svg variable comes from
|
|
|
|
|
//imported compass/support file and enables svg gradients in IE9.
|
|
|
|
|
//This is needed for the background gradients to work as desired with
|
|
|
|
|
//multiple images.
|
|
|
|
|
$experimental-support-for-svg: true;
|
2012-04-23 02:29:57 +02:00
|
|
|
|
|
2012-06-11 06:02:33 +02:00
|
|
|
|
|
2016-05-02 07:37:03 +02:00
|
|
|
|
$gf_colour_gradient_dark: darken($color-base, 8%);
|
2012-05-16 02:18:23 +02:00
|
|
|
|
$gf_colour_header_border: $gf_colour_gradient_dark;
|
2012-05-21 09:38:02 +02:00
|
|
|
|
$gf_colour_subheader: saturate(lighten($color-base, 15%),5%);
|
2012-02-01 02:06:06 +01:00
|
|
|
|
$gf_colour_border: rgba(0,0,0,.1);
|
2012-05-21 09:38:02 +02:00
|
|
|
|
$gf_colour_zebra: #F0F4F7;
|
2012-02-01 02:06:06 +01:00
|
|
|
|
$gf_colour_font: #666;
|
2012-05-21 09:38:02 +02:00
|
|
|
|
$gf_colour_text_shadow: rgba(0,0,0,.2);
|
|
|
|
|
$gf_colour_text_shadow_dark: rgba(0,0,0,.4);
|
|
|
|
|
$gf_border_radius: 5px;
|
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
|
|
|
|
|
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-12-12 03:25:05 +01:00
|
|
|
|
margin-bottom: $gf_grid_y*3;
|
2012-05-17 03:22:24 +02:00
|
|
|
|
&.addNewGridFieldButton{
|
2012-12-13 10:09:30 +01:00
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
.action {
|
2012-11-21 22:01:02 +01:00
|
|
|
|
margin-bottom:$gf_grid_y;
|
2012-05-17 03:22:24 +02:00
|
|
|
|
}
|
2013-06-21 15:22:00 +02:00
|
|
|
|
}
|
|
|
|
|
&.ss-gridfield-buttonrow-before{
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
.action {
|
|
|
|
|
margin-bottom:$gf_grid_y;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
&.ss-gridfield-buttonrow-after{
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
.action {
|
|
|
|
|
margin-top:$gf_grid_y;
|
|
|
|
|
}
|
2012-02-07 20:56:40 +01:00
|
|
|
|
}
|
2012-11-21 22:01:02 +01:00
|
|
|
|
}
|
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
|
|
|
|
|
2016-05-02 07:37:03 +02:00
|
|
|
|
span button.action_gridfield_relationfind {
|
2012-03-12 02:40:45 +01:00
|
|
|
|
display:none; //hides find button - redundant functionality
|
|
|
|
|
}
|
|
|
|
|
|
2016-05-02 07:37:03 +02:00
|
|
|
|
p button.action_export {
|
2012-03-11 23:17:07 +01:00
|
|
|
|
span.btn-icon-download-csv {
|
|
|
|
|
height:17px; //exact height of icon
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-05-21 04:41:46 +02:00
|
|
|
|
.right {
|
|
|
|
|
float:right;
|
|
|
|
|
& > * {
|
|
|
|
|
float: right;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
margin-left:$gf_grid_x/2;
|
2012-05-21 04:41:46 +02:00
|
|
|
|
}
|
2012-09-25 05:55:59 +02:00
|
|
|
|
|
2012-12-13 10:09:30 +01:00
|
|
|
|
.pagination-records-number {
|
2012-09-25 05:55:59 +02:00
|
|
|
|
font-size: 1.0em;
|
|
|
|
|
padding: 6px 3px 6px 0;
|
|
|
|
|
color: $color-text-light;
|
|
|
|
|
@include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0);
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
2012-05-21 04:41:46 +02:00
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
.left {
|
2012-05-21 04:41:46 +02:00
|
|
|
|
float:left;
|
|
|
|
|
& > * {
|
2012-12-13 10:34:13 +01:00
|
|
|
|
margin-right:$gf_grid_x/2;
|
2012-05-21 04:41:46 +02:00
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-12-12 03:25:05 +01:00
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2012-03-09 04:50:05 +01:00
|
|
|
|
.ss-gridfield {
|
2012-05-07 03:40:41 +02:00
|
|
|
|
.grid-levelup {
|
|
|
|
|
text-indent: -9999em;
|
|
|
|
|
a.list-parent-link{
|
|
|
|
|
background: transparent url(../images/gridfield-level-up.png) no-repeat 0 0;
|
|
|
|
|
display:block;
|
|
|
|
|
}
|
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
}
|
2012-03-09 04:50:05 +01:00
|
|
|
|
.add-existing-autocompleter {
|
2013-10-22 17:44:28 +02:00
|
|
|
|
span {
|
2016-05-02 07:37:03 +02:00
|
|
|
|
float: left;
|
2012-12-13 10:50:08 +01:00
|
|
|
|
@include inline-block(top);
|
2012-12-13 10:09:30 +01:00
|
|
|
|
}
|
2012-03-09 04:50:05 +01:00
|
|
|
|
input.relation-search {
|
2013-10-22 17:44:28 +02:00
|
|
|
|
width: 270px; height: 32px;
|
2012-12-13 10:50:08 +01:00
|
|
|
|
margin-bottom: $gf_grid_y;
|
2013-10-22 17:44:28 +02:00
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
button.action_gridfield_relationadd {
|
2013-10-22 17:44:28 +02:00
|
|
|
|
height: 32px;
|
|
|
|
|
margin-left: 0; // Webkit needs this
|
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
|
border-left: none;
|
2012-03-09 04:50:05 +01:00
|
|
|
|
}
|
2012-04-04 03:46:04 +02:00
|
|
|
|
}
|
2012-12-13 10:09:30 +01:00
|
|
|
|
.grid-csv-button, .grid-print-button {
|
2013-06-21 15:22:00 +02:00
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
font-size: $font-base-size;
|
2012-12-13 10:50:08 +01:00
|
|
|
|
@include inline-block();
|
2012-04-04 03:46:04 +02:00
|
|
|
|
}
|
2012-11-21 22:01:02 +01:00
|
|
|
|
}
|
2012-02-23 15:17:39 +01:00
|
|
|
|
table.ss-gridfield-table {
|
2016-05-02 07:37:03 +02:00
|
|
|
|
display: table;
|
|
|
|
|
@include box-shadow-none;
|
2011-12-06 01:56:24 +01:00
|
|
|
|
padding: 0;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
border-collapse: separate;
|
|
|
|
|
border-bottom: 0 none;
|
2012-02-09 17:17:39 +01:00
|
|
|
|
width: 100%;
|
2015-09-11 01:22:30 +02:00
|
|
|
|
overflow: hidden;
|
2011-09-28 05:06:06 +02:00
|
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
|
thead {
|
2016-05-02 07:37:03 +02:00
|
|
|
|
color: darken($color-base, 50%);
|
2011-12-06 01:56:24 +01:00
|
|
|
|
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-04-16 05:30:34 +02:00
|
|
|
|
.fieldgroup-field {
|
|
|
|
|
padding:0;
|
|
|
|
|
}
|
2012-03-07 05:31:55 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
2012-04-11 03:45:37 +02:00
|
|
|
|
tr:first-child { //sets 7px border-radius on the top row in the thead - accounts for edgecase where there is no title row.
|
|
|
|
|
th:first-child {
|
|
|
|
|
@include border-top-left-radius($gf_border_radius);
|
|
|
|
|
}
|
|
|
|
|
th:last-child {
|
|
|
|
|
@include border-top-right-radius($gf_border_radius);
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
|
tbody {
|
|
|
|
|
background: #FFF;
|
2012-05-18 04:00:02 +02:00
|
|
|
|
tr {
|
|
|
|
|
// This lets iOS Safari know that these elements are clickable
|
|
|
|
|
// and so to send the click events.
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
|
td {
|
2012-10-16 23:33:18 +02:00
|
|
|
|
width: auto;
|
|
|
|
|
max-width: 500px; //This number is semi-arbitary. It is acting as a percentage limit, rather than actually constricting the width to 500px.
|
|
|
|
|
word-wrap:break-word;
|
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.
|
2016-05-02 07:37:03 +02:00
|
|
|
|
// Overwritten for IE7, which doesnt support this.
|
2012-03-27 16:11:05 +02:00
|
|
|
|
&.col-buttons {
|
2013-04-27 09:48:38 +02:00
|
|
|
|
width: 1px;
|
2012-05-21 09:38:02 +02:00
|
|
|
|
padding:0 $gf_grid_x/2;
|
2012-12-06 14:50:27 +01:00
|
|
|
|
text-align: right;
|
|
|
|
|
white-space: nowrap;
|
2012-03-27 16:11:05 +02:00
|
|
|
|
}
|
2012-04-10 02:19:53 +02:00
|
|
|
|
&.col-listChildrenLink {
|
2012-04-11 00:48:24 +02:00
|
|
|
|
width:$gf_grid_x;
|
2012-04-10 02:19:53 +02:00
|
|
|
|
border-right:none;
|
|
|
|
|
text-indent:-9999em;
|
|
|
|
|
padding:0;
|
|
|
|
|
.list-children-link {
|
2012-05-30 12:11:52 +02:00
|
|
|
|
background: transparent url(../images/sitetree_ss_default_icons.png) no-repeat 3px -4px;
|
2012-04-10 02:19:53 +02:00
|
|
|
|
display:block;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.col-getTreeTitle {
|
2012-04-10 03:36:02 +02:00
|
|
|
|
span.item {
|
|
|
|
|
color:$color-text-blue-link;
|
|
|
|
|
}
|
2012-04-10 02:19:53 +02:00
|
|
|
|
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;
|
|
|
|
|
@include border-radius(2px, 2px);
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2013-05-25 11:27:50 +02:00
|
|
|
|
span.badge.status-modified {
|
2012-04-10 02:19:53 +02:00
|
|
|
|
color: #7E7470;
|
|
|
|
|
border: 1px solid #C9B800;
|
|
|
|
|
background-color: #FFF0BC;
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2013-05-25 11:27:50 +02:00
|
|
|
|
span.badge.status-addedtodraft {
|
2012-04-10 02:19:53 +02:00
|
|
|
|
color: #7E7470;
|
|
|
|
|
border: 1px solid #C9B800;
|
|
|
|
|
background-color: #FFF0BC;
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2013-05-25 11:27:50 +02:00
|
|
|
|
span.badge.status-deletedonlive {
|
2012-04-10 02:19:53 +02:00
|
|
|
|
color: #636363;
|
|
|
|
|
border: 1px solid #E49393;
|
|
|
|
|
background-color: #F2DADB;
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2013-05-25 11:27:50 +02:00
|
|
|
|
span.badge.status-removedfromdraft {
|
2012-04-10 02:19:53 +02:00
|
|
|
|
color: #636363;
|
|
|
|
|
border: 1px solid #E49393;
|
|
|
|
|
background-color: #F2DADB;
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2013-05-25 11:27:50 +02:00
|
|
|
|
span.badge.status-workflow-approval {
|
2012-04-10 02:19:53 +02:00
|
|
|
|
color: #56660C;
|
|
|
|
|
border: 1px solid #7C8816;
|
|
|
|
|
background-color: #DAE79A;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
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;
|
2012-07-10 04:52:34 +02:00
|
|
|
|
padding: 1px 0;
|
2011-12-06 01:56:24 +01:00
|
|
|
|
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-05-21 09:38:02 +02:00
|
|
|
|
&.gridfield-button-delete {
|
|
|
|
|
width: 20px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
span.btn-icon-decline {
|
|
|
|
|
left: 2px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-29 03:30:40 +01:00
|
|
|
|
}
|
2012-05-11 09:44:39 +02:00
|
|
|
|
a.view-link, a.edit-link {
|
2012-02-29 03:30:40 +01:00
|
|
|
|
display:inline-block;
|
2012-05-21 09:38:02 +02:00
|
|
|
|
width:20px;
|
2012-03-08 22:33:17 +01:00
|
|
|
|
height:20px; //min height to fit the edit icon
|
2012-12-06 04:01:33 +01:00
|
|
|
|
text-indent:9999em;
|
2012-04-04 06:00:56 +02:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
vertical-align: middle;
|
2012-05-11 09:44:39 +02:00
|
|
|
|
}
|
|
|
|
|
a.view-link {
|
|
|
|
|
background: url(../admin/images/btn-icon/magnifier.png) no-repeat 0 1px;
|
|
|
|
|
}
|
|
|
|
|
a.edit-link {
|
2012-05-21 09:38:02 +02:00
|
|
|
|
background: url(../admin/images/btn-icon/document--pencil.png) no-repeat 2px 0px;
|
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 {
|
2012-05-21 09:38:02 +02:00
|
|
|
|
color: darken($color-base, 50%);
|
2011-12-06 01:56:24 +01:00
|
|
|
|
tr {
|
|
|
|
|
td {
|
2012-05-21 09:38:02 +02:00
|
|
|
|
background: $color-base;
|
2011-12-06 01:56:24 +01:00
|
|
|
|
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
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
|
|
|
|
tr {
|
2012-02-22 04:25:11 +01:00
|
|
|
|
&.title {
|
2011-12-06 01:56:24 +01:00
|
|
|
|
th {
|
2016-05-02 07:37:03 +02:00
|
|
|
|
position: relative;
|
2011-12-06 01:56:24 +01:00
|
|
|
|
background: $gf_colour_gradient_dark;
|
2012-05-21 09:38:02 +02:00
|
|
|
|
border-bottom: 1px solid darken($gf_colour_gradient_dark,5%);
|
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-05-21 09:38:02 +02:00
|
|
|
|
@include background-image(linear-gradient($color-base, $gf_colour_gradient_dark));
|
|
|
|
|
@include single-text-shadow($gf_colour_text_shadow_dark, 0px, -1px, 0);
|
2012-05-16 02:18:23 +02:00
|
|
|
|
h2{
|
2012-02-22 05:16:20 +01:00
|
|
|
|
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-05-22 06:00:31 +02:00
|
|
|
|
margin: 1px 8px 0;
|
2012-02-29 01:46:10 +01:00
|
|
|
|
display:inline-block;
|
2012-05-21 04:41:46 +02:00
|
|
|
|
float:left;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
}
|
|
|
|
|
&.sortable-header {
|
|
|
|
|
background: $gf_colour_subheader;
|
2012-02-29 01:46:10 +01:00
|
|
|
|
th{
|
2012-05-21 09:38:02 +02:00
|
|
|
|
padding: 0; // Should be padding: 0 1em; like td
|
2012-05-21 01:00:10 +02:00
|
|
|
|
font-weight: normal;
|
|
|
|
|
.ss-ui-button {
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
|
&:hover {
|
2015-04-20 05:12:48 +02:00
|
|
|
|
background: #FFFAD6;
|
2011-09-28 05:06:06 +02:00
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
|
&:first-child {
|
|
|
|
|
background: transparent;
|
2015-04-20 05:12:48 +02:00
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: #FFFAD6;
|
|
|
|
|
}
|
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;
|
|
|
|
|
}
|
2015-04-20 05:12:48 +02:00
|
|
|
|
&:hover {
|
|
|
|
|
background: #FFFAD6;
|
|
|
|
|
}
|
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;
|
2015-04-20 05:12:48 +02:00
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: #FFFAD6;
|
|
|
|
|
}
|
2012-02-01 02:06:06 +01:00
|
|
|
|
}
|
2016-05-02 07:37:03 +02: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;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
|
|
|
|
div {
|
2011-12-06 01:56:24 +01:00
|
|
|
|
&.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;
|
2012-05-16 02:18:23 +02:00
|
|
|
|
&.filter-buttons{
|
2013-04-27 09:48:38 +02:00
|
|
|
|
min-width:49px;
|
2012-11-22 04:30:50 +01:00
|
|
|
|
box-shadow: none;
|
|
|
|
|
border: none;
|
2012-05-16 02:18:23 +02:00
|
|
|
|
div{
|
|
|
|
|
width:auto;
|
|
|
|
|
display:inline;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 02:06:06 +01:00
|
|
|
|
&.main{
|
2012-04-10 02:19:53 +02:00
|
|
|
|
white-space:nowrap;
|
2012-05-21 09:38:02 +02:00
|
|
|
|
border-top: 1px solid darken($color-base,4%);
|
|
|
|
|
border-left: 1px solid darken($color-base,4%);
|
2012-02-01 02:06:06 +01:00
|
|
|
|
color:#fff;
|
2012-05-21 09:38:02 +02:00
|
|
|
|
background: $gf_colour_gradient_dark;
|
2012-02-22 04:25:11 +01:00
|
|
|
|
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);
|
2012-05-22 06:00:31 +02:00
|
|
|
|
padding-left: $gf_grid_x/2;
|
|
|
|
|
padding-right: $gf_grid_x/2;
|
2012-06-11 06:02:33 +02:00
|
|
|
|
@include hide-text-overflow; // Add ellipses to overflowing text
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
|
2012-02-01 02:06:06 +01:00
|
|
|
|
}
|
2012-04-10 03:36:02 +02:00
|
|
|
|
&.col-listChildrenLink {
|
|
|
|
|
border-right:none;
|
|
|
|
|
}
|
2012-02-01 02:06:06 +01:00
|
|
|
|
}
|
2012-05-16 02:18:23 +02:00
|
|
|
|
&.extra,&.action {
|
|
|
|
|
padding: 0;
|
|
|
|
|
cursor: default;
|
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
|
&.extra {
|
2012-05-16 02:18:23 +02:00
|
|
|
|
position:relative;
|
|
|
|
|
background:darken($color-dark-grey, 10%);
|
2016-05-02 07:37:03 +02:00
|
|
|
|
background: rgba(#000, 0.7);
|
|
|
|
|
padding: 5px;
|
2012-02-01 02:06:06 +01:00
|
|
|
|
border-top: $gf_colour_text_shadow;
|
2013-03-04 22:23:30 +01:00
|
|
|
|
|
2012-05-16 02:18:23 +02:00
|
|
|
|
input {
|
|
|
|
|
height:28px; //height of input field - to match design.
|
2011-12-06 01:56:24 +01:00
|
|
|
|
}
|
2013-03-04 22:23:30 +01:00
|
|
|
|
|
2012-02-01 02:06:06 +01:00
|
|
|
|
button.ss-ui-button {
|
|
|
|
|
padding: .3em;
|
|
|
|
|
line-height: 1;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
@include box-shadow-none;
|
2012-02-01 02:06:06 +01:00
|
|
|
|
position: relative;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
border-bottom-width: 0;
|
|
|
|
|
@include border-radius(2px, 2px);
|
2013-03-04 22:23:30 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
select {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
|
}
|
|
|
|
|
&.first {
|
|
|
|
|
@include border-top-left-radius($gf_border_radius);
|
|
|
|
|
}
|
|
|
|
|
&.last {
|
|
|
|
|
@include border-top-right-radius($gf_border_radius);
|
|
|
|
|
}
|
2012-05-16 02:18:23 +02:00
|
|
|
|
|
|
|
|
|
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2011-12-06 01:56:24 +01:00
|
|
|
|
button {
|
2016-05-02 07:37:03 +02:00
|
|
|
|
&.action_gridfield_relationadd:hover {
|
2012-03-12 23:12:35 +01:00
|
|
|
|
color: #444 !important; /* Not sure why IE think it needs this */
|
|
|
|
|
}
|
2011-12-06 01:56:24 +01:00
|
|
|
|
&:hover {
|
2016-05-02 07:37:03 +02:00
|
|
|
|
color: #ccc !important; /* Not sure why IE think it needs this */
|
2012-02-01 02:06:06 +01:00
|
|
|
|
}
|
|
|
|
|
&.ss-gridfield-sort:hover {
|
|
|
|
|
color: #fff !important;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
@include box-shadow-none;
|
2012-02-01 02:06:06 +01:00
|
|
|
|
}
|
|
|
|
|
&.ss-gridfield-sort {
|
2012-12-06 04:01:33 +01:00
|
|
|
|
background: transparent url(../images/arrows.png) no-repeat right 6px;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
border:none;
|
2012-02-01 02:06:06 +01:00
|
|
|
|
width:100%;
|
|
|
|
|
text-align: left;
|
2012-05-21 01:00:10 +02:00
|
|
|
|
padding: 2px 8px 2px 0; // Doesn't need to be so big now that filter has moved
|
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 {
|
2012-12-06 04:01:33 +01:00
|
|
|
|
background-position: right -34px;
|
2012-02-29 01:46:10 +01:00
|
|
|
|
}
|
2012-02-29 04:42:57 +01:00
|
|
|
|
&.ss-gridfield-sorted-desc {
|
2012-12-06 04:01:33 +01:00
|
|
|
|
background-position: right -72px;
|
2012-02-29 04:42:57 +01:00
|
|
|
|
}
|
|
|
|
|
&.ss-gridfield-sorted-asc {
|
2012-12-06 04:01:33 +01:00
|
|
|
|
background-position: right -116px;
|
2012-02-29 01:46:10 +01:00
|
|
|
|
}
|
2012-02-29 04:42:57 +01:00
|
|
|
|
}
|
2012-05-16 02:18:23 +02:00
|
|
|
|
|
|
|
|
|
&.ss-ui-button{
|
|
|
|
|
&.ss-gridfield-button-filter{
|
|
|
|
|
$bgImage: url(../images/icons/filter-icons.png) no-repeat;
|
|
|
|
|
background-color:lighten($color-menu-button,10%);
|
|
|
|
|
@include gridFieldButtons;
|
|
|
|
|
@include background(
|
2012-05-21 09:38:02 +02:00
|
|
|
|
$bgImage -15px 4px,
|
2012-05-16 02:18:23 +02:00
|
|
|
|
linear-gradient(
|
2016-05-02 07:37:03 +02:00
|
|
|
|
$color-menu-button,
|
2012-05-16 02:18:23 +02:00
|
|
|
|
darken($color-menu-button, 10%)
|
|
|
|
|
)
|
2016-05-02 07:37:03 +02:00
|
|
|
|
);
|
|
|
|
|
width: 26px;
|
|
|
|
|
border-top: 1px solid lighten($color-menu-button, 5%);
|
2012-05-16 02:18:23 +02:00
|
|
|
|
|
2016-05-02 07:37:03 +02:00
|
|
|
|
&.hover-alike:active, &:active, &.hover-alike, &:hover {
|
2012-05-16 02:18:23 +02:00
|
|
|
|
@include background (
|
2012-05-21 09:38:02 +02:00
|
|
|
|
$bgImage -15px 4px,
|
2012-05-16 02:18:23 +02:00
|
|
|
|
linear-gradient(
|
|
|
|
|
lighten($color-menu-button, 10%),
|
2016-05-02 07:37:03 +02:00
|
|
|
|
$color-menu-button
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.trigger{ //The magnifying glass before filter is opened
|
|
|
|
|
margin-left: $gf_grid_y;
|
|
|
|
|
border:none;
|
|
|
|
|
@include background ($bgImage -17px 6px);
|
2012-05-21 09:38:02 +02:00
|
|
|
|
padding-right: 46px;
|
|
|
|
|
margin: 0 $gf_grid_y/2;
|
2012-05-16 02:18:23 +02:00
|
|
|
|
|
|
|
|
|
span{ //this is the dropdown arrow
|
|
|
|
|
opacity: 0.4;
|
|
|
|
|
position:absolute;
|
|
|
|
|
width:10px;
|
|
|
|
|
left:30px;
|
|
|
|
|
top:40%;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
background: url(../admin/images/btn_arrow_down_grey.png) no-repeat 0px 0px;
|
2012-05-16 02:18:23 +02:00
|
|
|
|
}
|
|
|
|
|
&:hover{
|
2016-05-02 07:37:03 +02:00
|
|
|
|
@include background ($bgImage -17px -38px);
|
2012-05-22 06:00:31 +02:00
|
|
|
|
@include box-shadow-none;
|
2012-05-16 02:18:23 +02:00
|
|
|
|
span{//dropdown arrow
|
|
|
|
|
opacity:0.9;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2012-05-16 02:18:23 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
}
|
2012-03-01 02:09:07 +01:00
|
|
|
|
}
|
2012-05-16 02:18:23 +02:00
|
|
|
|
&.ss-gridfield-button-close{
|
|
|
|
|
$bgImage: url(../images/icons/filter-icons.png) no-repeat;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
@include background ($bgImage 8px -17px);
|
|
|
|
|
@include gridFieldButtons;
|
|
|
|
|
width:25px;
|
2012-05-16 02:18:23 +02:00
|
|
|
|
opacity:0.8;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
margin-right:-5px; //For IE
|
2012-05-16 02:18:23 +02:00
|
|
|
|
&.hover-alike:active, &:active, &.hover-alike, &:hover {
|
|
|
|
|
opacity:1;
|
|
|
|
|
@include background (
|
2012-05-21 09:38:02 +02:00
|
|
|
|
$bgImage 8px -17px,
|
2012-05-16 02:18:23 +02:00
|
|
|
|
linear-gradient(
|
|
|
|
|
rgba(#fff,0.1),
|
2016-05-02 07:37:03 +02:00
|
|
|
|
rgba(#fff,0.1)
|
|
|
|
|
)
|
2012-05-16 02:18:23 +02:00
|
|
|
|
);
|
2016-05-02 07:37:03 +02:00
|
|
|
|
}
|
2012-05-16 02:18:23 +02:00
|
|
|
|
|
2012-03-01 02:09:07 +01:00
|
|
|
|
}
|
2012-05-16 02:18:23 +02:00
|
|
|
|
&.ss-gridfield-button-reset{
|
2016-05-02 07:37:03 +02:00
|
|
|
|
@include gridFieldButtons;
|
2012-05-16 02:18:23 +02:00
|
|
|
|
position:absolute;
|
|
|
|
|
top: -21px;
|
|
|
|
|
right: -1px;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
width:20px;
|
|
|
|
|
height:20px;
|
|
|
|
|
display:none;
|
|
|
|
|
|
2012-05-16 02:18:23 +02:00
|
|
|
|
&.filtered{
|
|
|
|
|
display:block;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2012-05-16 02:18:23 +02:00
|
|
|
|
background: url(../admin/images/btn-icon/cross.png) no-repeat 0px 0px;
|
|
|
|
|
opacity:0.5;
|
|
|
|
|
&:hover{
|
|
|
|
|
opacity:0.8;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
}
|
2012-05-16 02:18:23 +02:00
|
|
|
|
&:active {
|
2016-05-02 07:37:03 +02:00
|
|
|
|
opacity:1;
|
2012-05-16 02:18:23 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02: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 {
|
2012-05-16 02:18:23 +02:00
|
|
|
|
height:25px;
|
2012-05-21 09:38:02 +02:00
|
|
|
|
padding: 4px;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
// Placeholder styling done with an each loop because when a browser
|
|
|
|
|
// doesn’t understand a selector, it invalidates the entire line of selectors.
|
2012-05-16 02:18:23 +02:00
|
|
|
|
// This avoids that, and keeps the scss tidy
|
|
|
|
|
$browserPlaceholder: "::-webkit-input-placeholder", ":-moz-placeholder", ":-ms-input-placeholder", ":placeholder";
|
2012-05-21 09:38:02 +02:00
|
|
|
|
border: 1px solid #313232;
|
2012-05-16 02:18:23 +02:00
|
|
|
|
|
|
|
|
|
@each $browser in $browserPlaceholder {
|
|
|
|
|
&#{$browser}{
|
|
|
|
|
font-style:italic;
|
|
|
|
|
color: lighten($color-dark-grey,30%);
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
}
|
|
|
|
|
|
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 04:37:45 +01:00
|
|
|
|
display:block;
|
2015-03-04 14:49:59 +01:00
|
|
|
|
padding: 6px 8px;
|
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-05-22 06:00:31 +02:00
|
|
|
|
padding: $gf_grid_x/2 $gf_grid_x/2;
|
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-05-21 09:38:02 +02:00
|
|
|
|
@include background-image(linear-gradient($color-base, $gf_colour_gradient_dark));
|
|
|
|
|
padding: $gf_grid_x/4 $gf_grid_y;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2012-04-12 06:13:47 +02:00
|
|
|
|
.datagrid-footer-message {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding-top: 6px;
|
|
|
|
|
color:$color-text-light;
|
|
|
|
|
}
|
2012-03-06 03:55:26 +01:00
|
|
|
|
.datagrid-pagination {
|
2012-05-21 09:38:02 +02:00
|
|
|
|
padding-top:1px;
|
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;
|
2013-06-15 10:05:03 +02:00
|
|
|
|
text-align: center;
|
2012-05-21 09:38:02 +02:00
|
|
|
|
@include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0);
|
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
|
2016-05-02 07:37:03 +02:00
|
|
|
|
height:18px;
|
2012-03-08 22:33:17 +01:00
|
|
|
|
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-05-21 09:38:02 +02:00
|
|
|
|
border: 1px solid darken($gf_colour_gradient_dark, 5%);
|
|
|
|
|
border-bottom: 1px solid lighten($gf_colour_gradient_dark, 5%);
|
2012-03-08 04:37:00 +01:00
|
|
|
|
}
|
2012-03-06 03:55:26 +01:00
|
|
|
|
}
|
2012-05-16 07:39:00 +02:00
|
|
|
|
z-index:5;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
button{
|
2012-03-06 03:55:26 +01:00
|
|
|
|
@include box-shadow-none;
|
|
|
|
|
border:none;
|
2012-03-08 21:07:11 +01:00
|
|
|
|
width:10px;
|
|
|
|
|
margin:0 10px;
|
2013-02-04 05:30:39 +01:00
|
|
|
|
display:inline;
|
|
|
|
|
float:none;
|
2012-03-06 03:55:26 +01:00
|
|
|
|
span {
|
|
|
|
|
text-indent:-9999em;
|
|
|
|
|
}
|
2012-05-16 07:39:00 +02:00
|
|
|
|
&.ss-gridfield-previouspage {
|
2012-05-21 09:38:02 +02:00
|
|
|
|
@include background (url(../images/icons/pagination-arrows.png) no-repeat -23px 8px);
|
2012-03-06 03:55:26 +01:00
|
|
|
|
}
|
2012-05-16 07:39:00 +02:00
|
|
|
|
&.ss-gridfield-nextpage {
|
2012-05-21 09:38:02 +02:00
|
|
|
|
@include background (url(../images/icons/pagination-arrows.png) no-repeat -47px 8px);
|
2012-03-07 02:57:15 +01:00
|
|
|
|
}
|
2012-05-16 07:39:00 +02:00
|
|
|
|
&.ss-gridfield-firstpage {
|
2012-05-21 09:38:02 +02:00
|
|
|
|
@include background (url(../images/icons/pagination-arrows.png) no-repeat 0px 8px);
|
2012-05-16 07:39:00 +02:00
|
|
|
|
}
|
|
|
|
|
&.ss-gridfield-lastpage {
|
2012-05-21 09:38:02 +02:00
|
|
|
|
@include background (url(../images/icons/pagination-arrows.png) no-repeat -73px 8px);
|
2012-05-16 07:39:00 +02:00
|
|
|
|
}
|
|
|
|
|
&.ssui-button-disabled{
|
|
|
|
|
z-index:-1;
|
2012-03-07 02:57:15 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
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;
|
2012-05-21 09:38:02 +02:00
|
|
|
|
@include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0);
|
2012-03-06 03:55:26 +01:00
|
|
|
|
}
|
2011-09-28 05:06:06 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2016-05-02 07:37:03 +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-05-16 02:18:23 +02:00
|
|
|
|
td:first-child{
|
2012-02-01 02:06:06 +01:00
|
|
|
|
border-left: 1px solid $gf_colour_border;
|
|
|
|
|
}
|
2012-05-16 02:18:23 +02:00
|
|
|
|
td:last-child{
|
|
|
|
|
border-right: 1px solid $gf_colour_border;
|
|
|
|
|
}
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2015-07-28 00:08:25 +02:00
|
|
|
|
// Thumbnails e.g. in File admin, UploadField and HtmlEditorField file selection
|
|
|
|
|
td.col-StripThumbnail {
|
|
|
|
|
padding: 2px 4px;
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
2016-05-02 07:37:03 +02:00
|
|
|
|
|
2015-07-28 00:08:25 +02:00
|
|
|
|
img {
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-09-28 05:06:06 +02:00
|
|
|
|
}
|
2012-04-04 06:00:56 +02:00
|
|
|
|
}
|