2011-04-15 01:27:23 +02:00
|
|
|
/**
|
|
|
|
* This file defines common styles for form elements used throughout the CMS interface.
|
|
|
|
* It is an addition to the base styles defined in sapphire/css/Form.css.
|
2011-07-29 05:10:14 +02:00
|
|
|
*
|
|
|
|
* @package sapphire
|
|
|
|
* @subpackage admin
|
2011-04-15 01:27:23 +02:00
|
|
|
*/
|
2011-07-29 05:10:14 +02:00
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** ----------------------------------------------------
|
|
|
|
* Basic form fields
|
|
|
|
* ---------------------------------------------------- */
|
|
|
|
|
2011-10-29 02:01:06 +02:00
|
|
|
/* CMS action button sprite mix-in (used for all the buttons in the bottom row */
|
2011-12-21 19:45:20 +01:00
|
|
|
@mixin actionButtonSprite($name) {
|
|
|
|
padding-left: 24px;
|
2011-10-29 02:01:06 +02:00
|
|
|
padding-right: 6px;
|
2011-12-21 19:45:20 +01:00
|
|
|
|
|
|
|
@include background($color-button-generic sprite($btn_icons, $name, 5px, 6px) no-repeat);
|
2012-01-23 09:01:30 +01:00
|
|
|
@include background(sprite($btn_icons, $name, 5px, 5px) no-repeat,
|
2011-10-29 02:01:06 +02:00
|
|
|
linear-gradient(color-stops(
|
|
|
|
lighten($color-button-generic, 10%),
|
|
|
|
darken($color-button-generic, 5%)
|
|
|
|
))
|
|
|
|
);
|
2012-01-23 09:01:30 +01:00
|
|
|
&.ui-state-hover, &:hover {
|
2011-12-21 19:45:20 +01:00
|
|
|
@include background(lighten($color-button-generic, 10%) sprite($btn_icons, $name, 5px, 6px) no-repeat);
|
2012-01-23 09:01:30 +01:00
|
|
|
@include background(sprite($btn_icons, $name, 5px, 5px) no-repeat,
|
2011-10-29 02:01:06 +02:00
|
|
|
linear-gradient(color-stops(
|
|
|
|
lighten($color-button-generic, 20%),
|
|
|
|
$color-button-generic
|
|
|
|
))
|
|
|
|
);
|
2012-01-23 09:01:30 +01:00
|
|
|
@include box-shadow(0 0 5px darken($color-button-generic, 20%));
|
|
|
|
}
|
|
|
|
&:active, &:focus, &.ui-state-active, &.ui-state-focus {
|
|
|
|
border: 1px solid darken($color-button-generic, 20%);
|
|
|
|
@include background(lighten($color-button-generic, 10%) sprite($btn_icons, $name, 5px, 6px) no-repeat);
|
|
|
|
@include background(sprite($btn_icons, $name, 5px, 5px) no-repeat,
|
|
|
|
linear-gradient(color-stops(
|
|
|
|
lighten($color-button-generic, 20%),
|
|
|
|
$color-button-generic
|
|
|
|
))
|
|
|
|
);
|
|
|
|
@include box-shadow(0 0 5px darken($color-button-generic, 30%) inset);
|
2011-10-29 02:01:06 +02:00
|
|
|
}
|
|
|
|
&.ui-state-disabled {
|
2012-01-23 09:01:30 +01:00
|
|
|
background-image: none;
|
|
|
|
@include background(lighten($color-button-generic, 20%) sprite($btn_icons, $name+_disabled, 5px, 6px) no-repeat);
|
|
|
|
@include background(sprite($btn_icons, $name+_disabled, 5px, 5px) no-repeat,
|
2011-10-29 02:01:06 +02:00
|
|
|
linear-gradient(color-stops(
|
|
|
|
lighten($color-button-generic, 20%),
|
|
|
|
$color-button-generic
|
|
|
|
))
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
2011-12-21 19:45:20 +01:00
|
|
|
|
|
|
|
@mixin actionButtonSpriteConstructive($name) {
|
|
|
|
background-image: none;
|
2012-01-23 09:01:30 +01:00
|
|
|
padding-left: 24px;
|
|
|
|
padding-right: 6px;
|
2011-12-21 19:45:20 +01:00
|
|
|
font-weight: bold;
|
|
|
|
margin-left: $grid-horizontal;
|
|
|
|
color: $color-text-light;
|
|
|
|
border-color: $color-button-constructive-border;
|
|
|
|
border-bottom-color: darken($color-button-constructive-border, 10%);
|
2012-01-23 09:01:30 +01:00
|
|
|
@include background($color-button-constructive sprite($btn_icons, $name, 5, 5) no-repeat);
|
|
|
|
@include background(sprite($btn_icons, $name, 5, 5) no-repeat,
|
2011-12-21 19:45:20 +01:00
|
|
|
linear-gradient(color-stops(
|
|
|
|
lighten($color-button-constructive, 10%),
|
|
|
|
darken($color-button-constructive, 5%)
|
|
|
|
))
|
|
|
|
);
|
|
|
|
|
|
|
|
@include text-shadow(darken($color-button-constructive, 10%) 0 1px 1px);
|
|
|
|
|
2012-01-23 09:01:30 +01:00
|
|
|
&.ui-state-hover, &:hover {
|
2011-12-21 19:45:20 +01:00
|
|
|
border-color: darken($color-button-constructive-border, 10%);
|
|
|
|
@include background(lighten($color-button-constructive, 10%) sprite($btn_icons, $name, 6, 6) no-repeat);
|
2012-01-23 09:01:30 +01:00
|
|
|
@include background(sprite($btn_icons, $name, 5, 5) no-repeat,
|
2011-12-21 19:45:20 +01:00
|
|
|
linear-gradient(color-stops(
|
|
|
|
lighten($color-button-constructive, 15%),
|
|
|
|
$color-button-constructive
|
|
|
|
))
|
|
|
|
);
|
|
|
|
}
|
2012-01-23 09:01:30 +01:00
|
|
|
&:active, &:focus, &.ui-state-active, &.ui-state-focus {
|
|
|
|
|
|
|
|
@include background(darken($color-button-constructive, 2%) sprite($btn_icons, $name, 5, 5) no-repeat);
|
2011-12-21 19:45:20 +01:00
|
|
|
@include box-shadow(inset 0 1px 3px rgb(23, 24, 26), 0 1px 0 rgba(255, 255, 255, .6));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-08-01 04:27:52 +02:00
|
|
|
form.nostyle {
|
|
|
|
@include clear-form-field-styles();
|
|
|
|
}
|
|
|
|
|
2011-04-30 06:48:57 +02:00
|
|
|
.field {
|
|
|
|
display: block;
|
2011-09-29 04:37:51 +02:00
|
|
|
padding: 10px 0;
|
2011-12-21 19:45:20 +01:00
|
|
|
border-bottom: 1px solid $color-shadow-light;
|
|
|
|
@include box-shadow(0 1px 0 lighten($color-shadow-light, 95%));
|
|
|
|
|
2011-09-29 04:37:51 +02:00
|
|
|
//TODO: use single border line with shadow instead:: http://daverupert.com/2011/06/two-tone-borders-with-css3/
|
|
|
|
//overflow: hidden;
|
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
|
2011-08-01 04:27:52 +02:00
|
|
|
// bottom padding accounts for the border and we have a negative
|
|
|
|
// margin with a postive padding to ensure the bottom border extends
|
|
|
|
// over the edges
|
2011-12-21 19:45:20 +01:00
|
|
|
padding: 0 0 $grid-vertical - 1 0;
|
|
|
|
margin: 0 0 $grid-vertical 0;
|
|
|
|
|
2011-08-05 05:46:57 +02:00
|
|
|
|
|
|
|
// using the legacy version as some of the more complex form fields
|
|
|
|
// need to use relative positioning and overflow hidden will not expand
|
|
|
|
// the containing boxes
|
|
|
|
@include legacy-pie-clearfix();
|
2011-07-06 15:22:13 +02:00
|
|
|
|
2012-01-03 17:38:11 +01:00
|
|
|
&.nolabel {
|
2011-08-01 04:27:52 +02:00
|
|
|
.middleColumn {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-08-05 06:06:23 +02:00
|
|
|
label {
|
2011-07-29 05:10:14 +02:00
|
|
|
|
2011-08-05 06:06:23 +02:00
|
|
|
&.left {
|
|
|
|
float: left;
|
2011-08-09 07:52:13 +02:00
|
|
|
display: block;
|
2012-01-06 20:44:34 +01:00
|
|
|
width: $grid-horizontal * 22;
|
2011-08-05 06:06:23 +02:00
|
|
|
padding: $grid-vertical $grid-horizontal $grid-vertical 0;
|
|
|
|
line-height: $grid-vertical * 2;
|
2011-12-21 19:45:20 +01:00
|
|
|
font-weight: bold;
|
|
|
|
@include text-shadow(1px 1px 0 $color-text-shadow);
|
2011-08-05 06:06:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
cursor: pointer;
|
2011-07-29 05:10:14 +02:00
|
|
|
}
|
2011-04-22 13:34:01 +02:00
|
|
|
}
|
|
|
|
|
2011-04-30 06:48:57 +02:00
|
|
|
.middleColumn {
|
2011-08-22 06:44:41 +02:00
|
|
|
margin-left: $grid-horizontal * 23;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.readonly {
|
|
|
|
padding-top: $grid-vertical;
|
|
|
|
line-height: $grid-vertical * 2;
|
|
|
|
display: block;
|
2011-04-17 09:57:36 +02:00
|
|
|
}
|
2011-08-01 04:27:52 +02:00
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
input.text,
|
|
|
|
textarea,
|
2011-08-05 05:46:57 +02:00
|
|
|
select,
|
|
|
|
.TreeDropdownField {
|
2012-01-03 14:49:35 +01:00
|
|
|
width: 100%;
|
2011-08-01 04:27:52 +02:00
|
|
|
max-width: $grid-horizontal * 64;
|
2012-01-03 14:49:35 +01:00
|
|
|
@include box-sizing(border-box);
|
2011-07-29 05:10:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input.text,
|
2011-08-01 04:27:52 +02:00
|
|
|
textarea,
|
|
|
|
.TreeDropdownField {
|
2011-07-29 05:10:14 +02:00
|
|
|
background: #fff;
|
|
|
|
border: 1px solid lighten($color-medium-separator, 20%);
|
2011-08-16 04:57:30 +02:00
|
|
|
padding: ($grid-vertical - 1) ($grid-horizontal - 1);
|
|
|
|
line-height: $grid-vertical * 2;
|
2011-07-29 05:10:14 +02:00
|
|
|
margin: 0;
|
2011-08-01 00:54:31 +02:00
|
|
|
outline: none;
|
2011-12-21 19:45:20 +01:00
|
|
|
@include transition(0.2s box-shadow ease-in);
|
|
|
|
@include transition(0.2s border ease-in);
|
2011-08-01 04:27:52 +02:00
|
|
|
@include border-radius(4px);
|
2012-02-01 02:06:06 +01:00
|
|
|
@include background-image(linear-gradient(#EAEAEA, #fff 10%));
|
2011-08-01 04:27:52 +02:00
|
|
|
|
|
|
|
&:focus {
|
2011-12-21 19:45:20 +01:00
|
|
|
border: 1px solid lighten($color-medium-separator, 10%);
|
|
|
|
border-top-color: $color-medium-separator;
|
|
|
|
@include box-shadow(0 1px 3px rgba(0,0,0,0.2) inset);
|
2011-08-01 00:54:31 +02:00
|
|
|
}
|
2011-08-01 04:27:52 +02:00
|
|
|
}
|
|
|
|
|
2011-11-14 12:23:59 +01:00
|
|
|
input[disabled],
|
|
|
|
textarea[disabled],
|
|
|
|
select[disabled] {
|
|
|
|
color: lighten($color-text, 20%);
|
|
|
|
background: #efefef;
|
|
|
|
@include background-image(linear-gradient(darken(#efefef, 20%), #efefef 10%, #fff 90%, darken(#efefef, 20%)));
|
|
|
|
border: 1px solid lighten($color-medium-separator, 20%);
|
|
|
|
}
|
2012-01-03 14:49:35 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
form.stacked .field, .field.stacked {
|
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
float: none;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
2011-11-14 12:23:59 +01:00
|
|
|
|
2012-01-03 14:49:35 +01:00
|
|
|
.middleColumn {
|
|
|
|
margin-left: 0px;
|
|
|
|
clear: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-02-03 00:38:21 +01:00
|
|
|
form.small .field, .field.small {
|
|
|
|
label {
|
|
|
|
&.left {
|
|
|
|
width: $grid-horizontal * 14;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.middleColumn {
|
|
|
|
margin-left: $grid-horizontal * 15;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.text,
|
|
|
|
textarea,
|
|
|
|
select,
|
|
|
|
.TreeDropdownField {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-01-03 14:49:35 +01:00
|
|
|
.field {
|
2011-08-01 04:27:52 +02:00
|
|
|
/* TreeDropdowns */
|
|
|
|
.TreeDropdownField {
|
2012-01-03 14:49:35 +01:00
|
|
|
padding: 0;
|
2011-08-01 04:27:52 +02:00
|
|
|
|
2011-08-09 07:52:13 +02:00
|
|
|
.treedropdownfield-panel {
|
2011-08-01 04:27:52 +02:00
|
|
|
border: 1px solid lighten($color-medium-separator, 20%);
|
|
|
|
border-top: none;
|
|
|
|
|
|
|
|
@include border-bottom-left-radius(4px);
|
|
|
|
@include border-bottom-right-radius(4px);
|
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
|
|
|
|
&.treedropdownfield-open-tree {
|
|
|
|
@include border-bottom-left-radius(0);
|
|
|
|
@include border-bottom-right-radius(0);
|
|
|
|
}
|
2011-08-01 04:27:52 +02:00
|
|
|
}
|
2011-07-29 05:10:14 +02:00
|
|
|
|
2011-08-05 05:46:57 +02:00
|
|
|
/* dropdowns */
|
|
|
|
.dropdown {
|
|
|
|
select {
|
|
|
|
margin-top: $grid-vertical;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* chzn override */
|
|
|
|
.chzn-container {
|
2011-08-05 06:06:23 +02:00
|
|
|
.chzn-results {
|
|
|
|
|
|
|
|
li {
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: $grid-vertical * 2;
|
|
|
|
padding: $grid-vertical / 2 $grid-horizontal / 2;
|
|
|
|
}
|
2011-08-05 05:46:57 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.chzn-container-active {
|
|
|
|
.chzn-single {
|
|
|
|
border: 1px solid lighten($color-medium-separator, 10%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chzn-container-single .chzn-single {
|
2012-02-01 02:06:06 +01:00
|
|
|
height: 26px;
|
|
|
|
line-height: 26px; /* not relative, as then we'd had to redo most of chzn */
|
2011-08-05 05:46:57 +02:00
|
|
|
font-size: $font-base-size;
|
|
|
|
|
|
|
|
@include background-image(linear-gradient(#efefef, #fff 10%, #fff 90%, #efefef));
|
|
|
|
|
|
|
|
|
|
|
|
&:hover, &:focus, &:active {
|
|
|
|
text-decoration: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
width: 24px;
|
|
|
|
|
|
|
|
b {
|
2012-02-01 02:06:06 +01:00
|
|
|
background-position: 4px 0px;
|
2011-08-05 05:46:57 +02:00
|
|
|
}
|
|
|
|
}
|
2011-07-29 05:10:14 +02:00
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
|
|
|
|
/* Date Fields */
|
|
|
|
input.hasDatepicker {
|
|
|
|
width: 50%;
|
|
|
|
max-width: ($grid-horizontal * 12);
|
|
|
|
}
|
2011-04-30 06:48:57 +02:00
|
|
|
}
|
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** ----------------------------------------------------
|
|
|
|
* Buttons
|
|
|
|
* ---------------------------------------------------- */
|
|
|
|
|
2011-07-21 20:14:33 +02:00
|
|
|
.Actions {
|
|
|
|
min-height: 30px;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-preview-toggle-link {
|
|
|
|
display: block;
|
|
|
|
float: right;
|
2011-12-17 03:56:34 +01:00
|
|
|
font-size: 12px;
|
|
|
|
text-decoration: none;
|
2012-02-01 02:06:06 +01:00
|
|
|
span.ui-button-text{
|
|
|
|
padding:0;
|
|
|
|
}
|
2011-07-21 20:14:33 +02:00
|
|
|
}
|
|
|
|
|
2012-01-03 17:38:11 +01:00
|
|
|
.cms {
|
2011-12-21 19:45:20 +01:00
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
input.loading,
|
|
|
|
input.ui-state-default.loading, .ui-widget-content input.ui-state-default.loading,
|
|
|
|
.ui-widget-header input.ui-state-default.loading {
|
|
|
|
padding-left: 24px;
|
|
|
|
color: lighten($color-text-dark, 20%);
|
|
|
|
background: $color-button-disabled url(../../images/network-save.gif) no-repeat 4px center;
|
|
|
|
border-color: darken($color-button-disabled, 10%);
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
@include text-shadow(none);
|
|
|
|
@include box-shadow(none);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-ui-button {
|
2012-01-23 09:01:30 +01:00
|
|
|
|
|
|
|
&.buttonset {
|
2012-01-23 10:23:49 +01:00
|
|
|
margin: 0 -1px; // hack to avoid double borders
|
2012-01-23 09:01:30 +01:00
|
|
|
}
|
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
/* all buttons */
|
2012-01-23 09:01:30 +01:00
|
|
|
padding: ($grid-vertical - 3) ($grid-horizontal + 4);
|
2011-08-22 06:44:41 +02:00
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
margin: 0;
|
|
|
|
line-height: $grid-vertical * 2;
|
|
|
|
color: lighten($color-text-dark, 10%);
|
|
|
|
background-color: $color-button-generic;
|
|
|
|
border: 1px solid $color-button-generic-border;
|
2011-12-21 19:45:20 +01:00
|
|
|
border-bottom: 1px solid darken($color-button-generic-border, 10%);
|
2012-01-23 09:01:30 +01:00
|
|
|
cursor: pointer;
|
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
@include text-shadow(lighten($color-button-generic, 20%) 0 1px 1px);
|
|
|
|
|
2011-12-21 19:45:20 +01:00
|
|
|
@include background($color-button-generic);
|
|
|
|
@include background(
|
2011-08-22 06:44:41 +02:00
|
|
|
linear-gradient(color-stops(
|
|
|
|
lighten($color-button-generic, 10%),
|
|
|
|
darken($color-button-generic, 5%)
|
|
|
|
))
|
|
|
|
);
|
2012-01-23 09:01:30 +01:00
|
|
|
&.ui-state-hover, &:hover {
|
2011-12-21 19:45:20 +01:00
|
|
|
@include background(lighten($color-button-generic, 10%));
|
|
|
|
@include background(
|
2011-08-04 02:02:39 +02:00
|
|
|
linear-gradient(color-stops(
|
2011-08-22 06:44:41 +02:00
|
|
|
lighten($color-button-generic, 20%),
|
2012-01-23 09:01:30 +01:00
|
|
|
$color-button-generic
|
2011-08-04 02:02:39 +02:00
|
|
|
))
|
|
|
|
);
|
2012-01-23 09:01:30 +01:00
|
|
|
@include box-shadow(0 0 5px darken($color-button-generic, 20%));
|
2011-08-22 06:44:41 +02:00
|
|
|
}
|
2012-01-23 09:01:30 +01:00
|
|
|
&:active, &:focus, &.ui-state-active, &.ui-state-focus {
|
|
|
|
border: 1px solid darken($color-button-generic, 20%);
|
|
|
|
@include background(lighten($color-button-generic, 10%) no-repeat);
|
2011-12-21 19:45:20 +01:00
|
|
|
@include background(
|
2011-08-22 06:44:41 +02:00
|
|
|
linear-gradient(color-stops(
|
2012-01-23 09:01:30 +01:00
|
|
|
lighten($color-button-generic, 20%),
|
|
|
|
$color-button-generic
|
2011-08-22 06:44:41 +02:00
|
|
|
))
|
2012-01-23 09:01:30 +01:00
|
|
|
);
|
|
|
|
@include box-shadow(0 0 5px darken($color-button-generic, 20%) inset);
|
2011-08-22 06:44:41 +02:00
|
|
|
}
|
2011-09-29 04:15:12 +02:00
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
/* constructive */
|
|
|
|
&.ss-ui-action-constructive {
|
2011-12-21 19:45:20 +01:00
|
|
|
@include actionButtonSpriteConstructive('accept');
|
|
|
|
}
|
2011-08-22 06:44:41 +02:00
|
|
|
|
2011-12-21 19:45:20 +01:00
|
|
|
&.cms-page-add-button {
|
|
|
|
@include actionButtonSpriteConstructive('add');
|
2012-02-01 02:06:06 +01:00
|
|
|
@include border-radius(4px);
|
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
}
|
|
|
|
/* destructive */
|
|
|
|
&.ss-ui-action-destructive {
|
|
|
|
color: $color-button-destructive;
|
|
|
|
background-color: $color-button-generic;
|
|
|
|
|
|
|
|
&.delete {
|
2011-12-21 19:45:20 +01:00
|
|
|
@include actionButtonSprite('decline');
|
2011-09-29 04:15:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.unpublish {
|
2011-12-21 19:45:20 +01:00
|
|
|
@include actionButtonSprite('unpublish');
|
2011-08-04 02:02:39 +02:00
|
|
|
}
|
2011-08-22 06:44:41 +02:00
|
|
|
}
|
|
|
|
|
2011-09-29 04:15:12 +02:00
|
|
|
/* generic action buttons */
|
|
|
|
&.save-draft {
|
2011-12-21 19:45:20 +01:00
|
|
|
@include actionButtonSprite('addpage');
|
2011-09-29 04:15:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.cms-preview-toggle-link {
|
2012-01-23 09:01:30 +01:00
|
|
|
padding-left: 24px !important;
|
2011-09-29 04:15:12 +02:00
|
|
|
margin-left: 4px !important;
|
2011-12-17 03:56:34 +01:00
|
|
|
text-decoration: none;
|
2011-12-21 19:45:20 +01:00
|
|
|
@include actionButtonSprite('preview');
|
2011-09-29 04:15:12 +02:00
|
|
|
}
|
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
&.ss-ui-button-small {
|
|
|
|
padding: ($grid-vertical/2) ($grid-horizontal/2);
|
|
|
|
}
|
2011-08-04 02:02:39 +02:00
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
&.ui-state-highlight {
|
|
|
|
background-color: $color-button-highlight;
|
|
|
|
border: 1px solid $color-button-highlight-border;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ss-ui-action-minor {
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
color: lighten($color-text-dark, 10%);
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
@include box-shadow(none);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
color: $color-text-dark;
|
2011-08-04 02:02:39 +02:00
|
|
|
}
|
2011-08-22 06:44:41 +02:00
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
text-decoration: none;
|
|
|
|
color: lighten($color-text-dark, 20%);
|
2011-08-04 02:02:39 +02:00
|
|
|
}
|
|
|
|
}
|
2011-07-07 08:01:25 +02:00
|
|
|
}
|
2011-04-30 06:48:57 +02:00
|
|
|
}
|
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
/** ----------------------------------------------------
|
|
|
|
* Grouped form fields
|
|
|
|
* ---------------------------------------------------- */
|
|
|
|
.fieldgroup {
|
|
|
|
.fieldgroup-field {
|
|
|
|
float: left;
|
|
|
|
display: block;
|
|
|
|
width: $grid-horizontal * 23;
|
|
|
|
padding-right: $grid-horizontal;
|
2011-08-09 07:52:13 +02:00
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
&.odd {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&.even {
|
|
|
|
|
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
|
|
|
|
.field {
|
|
|
|
border: none;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2011-04-17 09:57:36 +02:00
|
|
|
}
|
2011-07-29 05:10:14 +02:00
|
|
|
}
|
2011-08-01 00:54:31 +02:00
|
|
|
/** ----------------------------------------------------
|
|
|
|
* Checkbox Field
|
|
|
|
* ---------------------------------------------------- */
|
2012-01-03 14:49:35 +01:00
|
|
|
.field.checkbox {
|
|
|
|
padding-left: $grid-horizontal * 23;
|
|
|
|
margin-bottom: $grid-vertical;
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin-left: 0;
|
2011-08-01 04:27:52 +02:00
|
|
|
}
|
2011-08-01 00:54:31 +02:00
|
|
|
}
|
2012-01-06 20:44:34 +01:00
|
|
|
input.checkbox {
|
|
|
|
margin-left: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
/** ----------------------------------------------------
|
|
|
|
* Radiobutton Field
|
|
|
|
* ---------------------------------------------------- */
|
|
|
|
.field.radio {
|
|
|
|
padding-left: $grid-horizontal * 23;
|
|
|
|
margin-bottom: $grid-vertical;
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
input.radio {
|
|
|
|
margin-left: 0
|
|
|
|
}
|
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
/** ----------------------------------------------------
|
|
|
|
* Optionsets and Checkboxsets
|
|
|
|
* ---------------------------------------------------- */
|
|
|
|
.optionset {
|
2011-08-01 04:27:52 +02:00
|
|
|
padding-bottom: 8px;
|
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
display: block;
|
2011-08-01 04:27:52 +02:00
|
|
|
width: $grid-horizontal * 27;
|
2012-01-06 20:44:34 +01:00
|
|
|
padding-bottom: $grid-horizontal;
|
2011-08-01 00:54:31 +02:00
|
|
|
line-height: $grid-vertical * 2;
|
2011-07-29 05:10:14 +02:00
|
|
|
list-style: none;
|
2011-08-01 00:54:31 +02:00
|
|
|
|
|
|
|
input {
|
2012-01-06 20:44:34 +01:00
|
|
|
display: inline-block;
|
|
|
|
padding-right: 0;
|
|
|
|
margin-right: 0;
|
2011-08-01 00:54:31 +02:00
|
|
|
}
|
2011-07-29 05:10:14 +02:00
|
|
|
|
|
|
|
label {
|
2012-01-06 20:44:34 +01:00
|
|
|
display: inline;
|
2011-08-01 00:54:31 +02:00
|
|
|
cursor: pointer;
|
2012-01-06 20:44:34 +01:00
|
|
|
padding-left: $grid-vertical;
|
2011-07-29 05:10:14 +02:00
|
|
|
}
|
2011-07-21 20:14:33 +02:00
|
|
|
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
2011-07-21 20:14:33 +02:00
|
|
|
|
2011-04-30 06:48:57 +02:00
|
|
|
}
|
2011-08-01 04:27:52 +02:00
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** ----------------------------------------------------
|
2011-08-01 04:27:52 +02:00
|
|
|
* HTML Text
|
2011-07-07 07:34:55 +02:00
|
|
|
* ---------------------------------------------------- */
|
2011-06-10 04:56:55 +02:00
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
.htmleditor {
|
2011-12-14 16:54:52 +01:00
|
|
|
|
|
|
|
textarea {
|
|
|
|
visibility: hidden; // enabled by JS
|
|
|
|
}
|
|
|
|
|
2012-01-03 14:49:35 +01:00
|
|
|
.mceEditor {
|
|
|
|
input, select {
|
|
|
|
width: auto;
|
|
|
|
}
|
2011-07-07 07:34:55 +02:00
|
|
|
}
|
|
|
|
|
2011-06-10 04:56:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.action-hidden {
|
|
|
|
display: none;
|
2011-12-21 19:45:20 +01:00
|
|
|
}
|