agenda-libre-ruby/public/webshims/shims/styles/forms-ext.css

615 lines
16 KiB
CSS
Raw Normal View History

/* style picker api */
/* how to use:
*
Markup (good to style one input different than other):
<!-- simply use a placeholder as class on your input elment -->
<input type="date" class="show-week" />
CSS:
//replace the placeholder with .input-picker or (.input-date-picker)
.input-picker .ws-week {
display: table-cell;
}
SASS:
//use the placeholder(s) and go crazy
.input-picker {
@extend %show-week;
//@extend show-selectnav;
}
*
*/
/* btn api */
.hide-spinbtns + .input-buttons > .step-controls,
.hide-spinbtns .input-buttons > .step-controls {
display: none;
}
.hide-spinbtns::-webkit-inner-spin-button,
.hide-spinbtns ::-webkit-inner-spin-button {
display: none;
}
.hide-dropdownbtn + .input-buttons > .ws-popover-opener,
.hide-dropdownbtn .input-buttons > .ws-popover-opener {
display: none;
}
.hide-inputbtns + .input-buttons,
.hide-inputbtns .input-buttons {
display: none;
}
.hide-inputbtns::-webkit-inner-spin-button,
.hide-inputbtns ::-webkit-inner-spin-button {
display: none;
}
.a11yhide-inputbtns + .input-buttons,
.a11yhide-inputbtns .input-buttons {
width: 0;
margin: 0;
overflow: visible;
}
.a11yhide-inputbtns + .input-buttons > .step-controls,
.a11yhide-inputbtns .input-buttons > .step-controls {
display: none;
}
.a11yhide-inputbtns + .input-buttons > .ws-popover-opener,
.a11yhide-inputbtns .input-buttons > .ws-popover-opener {
height: 0;
width: 0;
overflow: hidden;
}
.a11yhide-inputbtns + .input-buttons > .ws-popover-opener:focus, .a11yhide-inputbtns + .input-buttons > .ws-popover-opener:active,
.a11yhide-inputbtns .input-buttons > .ws-popover-opener:focus,
.a11yhide-inputbtns .input-buttons > .ws-popover-opener:active {
height: 19px;
width: 19px;
}
.inputbtns-outside + span.input-buttons,
.inputbtns-outside span.input.input-buttons {
margin-left: 2px;
}
.inputbtns-outside + span.input-buttons.ws-is-rtl,
.inputbtns-outside span.input.input-buttons.ws-is-rtl {
margin-left: 0;
margin-right: 2px;
}
.show-ticklabels .ws-range-ticks[data-label]:after {
display: inline-block;
}
.show-tickvalues .ws-range-ticks:before {
display: inline-block;
}
.hide-ticks .ws-range-ticks {
display: none;
}
.show-valuetooltip span.ws-range-thumb > span,
.show-valuetooltip span.ws-range-thumb > span > span:after {
display: inline-block;
}
.show-valuetooltip span.ws-range-thumb > span > span:after {
content: attr(data-value) !important;
visibility: visible !important;
}
.ws-active.show-activevaluetooltip span.ws-range-thumb > span,
.ws-active.show-activevaluetooltip span.ws-range-thumb > span > span:after,
.show-activevaluetooltip .ws-range.ws-active span.ws-range-thumb > span,
.show-activevaluetooltip .ws-range.ws-active span.ws-range-thumb > span > span:after {
display: inline-block;
}
.ws-active.show-activevaluetooltip span.ws-range-thumb > span > span:after,
.show-activevaluetooltip .ws-range.ws-active span.ws-range-thumb > span > span:after {
content: attr(data-value) !important;
visibility: visible !important;
}
.show-labeltooltip span.ws-range-thumb > span,
.show-labeltooltip span.ws-range-thumb > span > span:before {
display: inline-block;
}
.show-labeltooltip span.ws-range-thumb > span > span:before {
content: attr(data-valuetext) !important;
visibility: visible !important;
}
.ws-active.show-activelabeltooltip span.ws-range-thumb > span,
.ws-active.show-activelabeltooltip span.ws-range-thumb > span > span:before,
.show-activelabeltooltip .ws-range.ws-active span.ws-range-thumb > span,
.show-activelabeltooltip .ws-range.ws-active span.ws-range-thumb > span > span:before {
display: inline-block;
}
.ws-active.show-activelabeltooltip span.ws-range-thumb > span > span:before,
.show-activelabeltooltip .ws-range.ws-active span.ws-range-thumb > span > span:before {
content: attr(data-valuetext) !important;
visibility: visible !important;
}
@font-face {
font-family: 'widget';
src: url("widget.eot");
}
@font-face {
font-family: 'widget';
src: url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AAAbMAAoAAAAABoQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAA08AAANPG9W6FE9TLzIAAAREAAAAYAAAAGAIIwcpY21hcAAABKQAAABUAAAAVPCu8JlnYXNwAAAE+AAAAAgAAAAIAAAAEGhlYWQAAAUAAAA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4KPhJKEk4eTi5UIi/gCBYuVj5OSkpKTlI6Viwivi4unBYuXkJaUlJSUlY+YiwidiwWYi5WHlIKUgpCAi38Ii2/3AouLpwWLl4+WlJSUlJaPl4sInosFl4uWh5SClIKPgIt/CItvsIsFlYuTiJODkoSOg4uBCA74lBT4lBWLDAoAAAMCAAGQAAUAAAFMAWYAAABHAUwBZgAAAPUAGQCEAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA8HMB4P/g/+AB4AAgAAAAAQAAAAAAAAAAAAAAIAAAAAAAAgAAAAMAAAAUAAMAAQAAABQABABAAAAADAAIAAIABAABACDwF/Bz//3//wAAAAAAIPAX8HP//f//AAH/4w/tD5IAAwABAAAAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAEAAG0trL5fDzz1AAsCAAAAAADPhX3EAAAAAM+FfcQAAP/bAdsB2wAAAAgAAgAAAAAAAAABAAAB4P/gAAACAAAAAAAB2wABAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAEAAAACAAAAAdwAAAAAUAAABgAAAAAADgCuAAEAAAAAAAEADAAAAAEAAAAAAAIADgBAAAEAAAAAAAMADAAiAAEAAAAAAAQADABOAAEAAAAAAAUAFgAMAAEAAAAAAAYABgAuAAEAAAAAAAoAKABaAAMAAQQJAAEADAAAAAMAAQQJAAIADgBAAAMAAQQJAAMADAAiAAMAAQQJAAQADABOAAMAAQQJAAUAFgAMAAMAAQQJAAYADAA0AAMAAQQJAAoAKABaAHcAaQBkAGcAZQB0AFYAZQByAHMAaQBvAG4AIAAxAC4AMAB3AGkAZABnAGUAdHdpZGdldAB3AGkAZABnAGUAdABSAGUAZwB1AGwAYQByAHcAaQBkAGcAZQB0AEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format("woff"), url("widget.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
.ws-popover-opener > span, .time-input-buttons .ws-popover-opener > span {
font-family: 'widget';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
zoom: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ws-popover-opener > span:before {
content: "\f073";
}
.time-input-buttons .ws-popover-opener > span:before {
content: "\f017";
}
.ws-range,
.ws-range-rail,
.ws-range span > span,
.input-buttons,
.step-controls,
.ws-popover-opener,
.step-control {
margin: 0;
padding: 0;
border: none;
width: auto;
background: transparent none;
}
/* spinner control for time, number (usable for date, datetime-local) */
.has-input-buttons,
html > body input.ws-inputreplace.has-input-buttons,
span.has-input-buttons {
display: inline-block;
vertical-align: middle;
}
.ws-inputreplace[readonly][aria-readonly="false"] {
cursor: pointer;
}
.ws-inputreplace[readonly][aria-readonly="false"][disabled] {
cursor: default;
cursor: not-allowed;
}
.input-buttons,
.step-controls,
.ws-popover-opener {
zoom: 1;
overflow: hidden;
display: inline-block;
vertical-align: middle;
margin-left: -18.5px;
}
.step-controls,
.ws-popover-opener {
position: relative;
float: left;
margin: 0;
height: 19px;
width: 15px;
}
.ws-is-rtl .step-controls, .ws-is-rtl
.ws-popover-opener {
float: right;
}
.ws-popover-opener {
position: relative;
zoom: 1;
overflow: visible;
margin: 0 0 0 2px;
width: 19px;
cursor: pointer;
background: #ccc;
font-size: 13px;
text-align: center;
outline-offset: -2px;
}
.ws-popover-opener:focus, .ws-popover-opener:active {
outline: 1px dotted #666;
}
.ws-popover-opener:hover {
outline: none;
}
.ws-is-rtl .ws-popover-opener {
margin: 0 2px 0 0;
}
.ws-popover-opener > span,
.ws-popover-opener .ws-color-indicator {
display: block;
position: absolute;
top: 50%;
left: 50%;
width: 16px;
height: 16px;
margin: -8px 0 0 -8px;
}
.color-input-buttons .ws-popover-opener > span {
background: url(color-picker.png) no-repeat 0 0;
}
.color-input-buttons .ws-popover-opener > span:before {
content: "";
}
.color-input-buttons .color-input-buttons .ws-popover-opener > span:before {
content: "";
}
.color-input-buttons .ws-popover-opener > span.ws-color-indicator-bg {
background: url(../jpicker/images/preview-opacity.png) no-repeat 0;
}
.time-input-buttons .ws-popover-opener > span {
margin: -7.5px 0 0 -7.5px;
}
input[type="color"] {
width: 7.5em;
}
.input-buttons {
text-align: left;
}
.input-buttons.color-input-buttons {
margin-left: 2px;
}
.input-buttons.ws-disabled {
opacity: 0.95;
}
.input-buttons.ws-disabled .ws-popover-opener,
.input-buttons.ws-disabled .step-control, .input-buttons.ws-readonly .ws-popover-opener,
.input-buttons.ws-readonly .step-control {
cursor: default;
}
.input-button-size-1.month-input-buttons, .input-button-size-1.date-input-buttons, .input-button-size-1.datetime-local-input-buttons {
margin-left: -24px;
}
.input-button-size-1.month-input-buttons.ws-is-rtl, .input-button-size-1.date-input-buttons.ws-is-rtl, .input-button-size-1.datetime-local-input-buttons.ws-is-rtl {
margin-left: 0;
margin-right: -24px;
}
.input-button-size-2 {
margin-left: -39px;
}
.input-button-size-2.ws-is-rtl {
margin-left: 0;
margin-right: -39px;
}
.input-button-size-2 .step-controls {
visibility: hidden;
opacity: 0;
}
:focus + .input-button-size-2 .step-controls, :hover + .input-button-size-2 .step-controls, :active + .input-button-size-2 .step-controls, .input-button-size-2:hover .step-controls {
opacity: 1;
visibility: visible;
}
.step-controls {
transition: all 300ms;
}
span.step-control {
position: absolute;
left: 0;
display: inline-block;
overflow: hidden;
margin: 0 !important;
padding: 0 !important;
width: 15px;
height: 9px;
cursor: pointer;
font-size: 0;
line-height: 0;
text-align: center;
transition: border-color 300ms, background-color 300ms;
}
span.step-control.step-down {
bottom: 0;
}
span.step-control:before {
position: absolute;
top: 50%;
left: 50%;
content: "";
display: inline-block;
width: 0px;
height: 0px;
border-style: solid;
margin: -2px 0 0 -4px;
transition: border-color 300ms, background-color 300ms;
}
span.step-control.step-up:before {
border-width: 0 4px 4px;
border-color: transparent transparent #999 transparent;
}
span.step-control.step-up:hover:before {
border-color: transparent transparent #666 transparent;
}
span.step-control.step-up.mousepress-ui:before {
border-color: transparent transparent #000 transparent;
}
.ws-disabled span.step-control.step-up:before {
border-color: transparent transparent #aaa transparent;
}
span.step-control.step-down:before {
border-width: 4px 4px 0;
border-color: #999 transparent transparent transparent;
}
span.step-control.step-down:hover:before {
border-color: #666 transparent transparent transparent;
}
span.step-control.step-down.mousepress-ui:before {
border-color: #000 transparent transparent transparent;
}
.ws-disabled span.step-control.step-down:before {
border-color: #aaa transparent transparent transparent;
}
/* helper classes to hide show/hide specific btn features features */
.ws-input {
letter-spacing: -0.31em;
word-spacing: -0.43em;
}
.ws-input > select,
.ws-input > input,
.ws-input > .ws-input-seperator {
text-align: center;
letter-spacing: normal;
word-spacing: normal;
}
.ws-input option {
text-align: left;
}
.ws-input .ws-input-seperator {
vertical-align: middle;
width: 2%;
overflow: hidden;
}
.ws-input + .input-buttons {
margin-left: 2px;
}
.ws-input input,
.ws-input .ws-input-seperator {
-moz-box-sizing: border-box;
box-sizing: border-box;
text-align: center;
display: inline-block;
}
span.ws-input {
display: inline-block;
}
.ws-date .mm,
.ws-date .dd {
width: 23.5%;
min-width: 10%;
}
.ws-date .yy {
width: 48%;
min-width: 20%;
}
.ws-date.ws-month-select .dd {
width: 22%;
min-width: 10%;
}
.ws-date.ws-month-select .mm {
width: 38%;
min-width: 17%;
}
.ws-date.ws-month-select .yy {
width: 36%;
min-width: 16%;
}
.ws-month .mm,
.ws-month .yy {
width: 47.9%;
min-width: 20%;
}
/* range */
.ws-range {
position: relative;
display: inline-block;
vertical-align: middle;
margin: 0.57692em 0;
zoom: 1;
border: none;
height: 0.61538em;
width: 155px;
background: #ddd;
cursor: pointer;
font-size: 13px;
outline: none;
transition: background-color 400ms, border-color 400ms;
background-color: #ddd;
letter-spacing: normal;
word-spacing: normal;
}
[list] + .ws-range {
margin: 0.19231em 0 0.96154em;
}
.ws-range .ws-range-thumb {
top: 0;
position: absolute;
display: block;
z-index: 4;
margin: -0.38462em 0 0 -1.15385em;
height: 1.38462em;
width: 2.30769em;
background: #ccc;
border: 0.07692em solid #aaaaaa;
cursor: pointer;
transition: background-color 400ms, border-color 400ms;
}
.ws-range .ws-range-thumb > span {
position: absolute;
margin: 0 0 3px -90px;
padding: 0;
border: 0;
left: 50%;
bottom: 1.46154em;
visibility: hidden;
width: 180px;
text-align: center;
background: none;
}
.ws-range .ws-range-thumb > span > span {
visibility: visible;
}
.ws-range .ws-range-thumb > span > span:after, .ws-range .ws-range-thumb > span > span:before {
content: "";
padding: 0.07692em 0.26923em;
text-align: center;
background: #fff;
border: 0.07692em solid #cccccc;
visibility: visible;
}
.ws-range.ws-focus .ws-range-thumb {
background: #eee;
border-color: #999;
}
.ws-range.ws-active .ws-range-thumb {
background: #efefef;
border-color: #666;
}
.ws-range[aria-disabled="true"], .ws-range[aria-readonly="true"] {
cursor: default;
opacity: 0.95;
}
.ws-range[aria-disabled="true"] .ws-range-thumb, .ws-range[aria-readonly="true"] .ws-range-thumb {
cursor: default;
}
.ws-range[aria-disabled="true"] .ws-range-thumb {
background: #ddd;
border-color: #ddd;
}
.ws-range .ws-range-rail {
position: absolute;
display: block;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
zoom: 1;
}
.ws-range .ws-range-progress {
position: absolute !important;
display: block;
margin: 0;
padding: 0;
top: 0;
height: 100%;
left: 0;
z-index: 1;
overflow: hidden;
background: #09c;
box-sizing: content-box;
}
.ws-range .ws-range-ticks {
position: absolute;
bottom: -0.76923em;
left: 0;
height: 0.61538em;
width: 0.07692em;
margin: 0 0 0 -0.07692em;
background: #ccc;
transition: background-color 400ms, color 400ms;
}
.ws-range .ws-range-ticks.ws-selected-option {
background: #09c;
color: #09c;
}
.ws-range.ws-is-rtl .ws-range-progress {
left: auto;
right: 0;
}
.ws-range.ws-is-rtl .ws-range-ticks {
left: auto;
right: 0;
}
.ws-range.vertical-range {
width: 0.61538em;
margin: 0 10px 0 5px;
}
.ws-range.vertical-range .ws-range-ticks {
bottom: auto;
left: auto;
margin: -0.05769em 0 0 0;
right: -0.57692em;
height: 0.11538em;
width: 0.52308em;
}
.ws-range.vertical-range .ws-range-progress {
top: auto;
bottom: 1px;
left: 0;
width: 100%;
height: 0;
}
.ws-range-ticks[data-label]:after,
.ws-range-ticks:before {
display: none;
content: attr(data-label);
font-size: 0.76923em;
min-width: 2em;
text-align: center;
margin: 0.69231em 0 0 -0.95em;
}
.ws-is-rtl .ws-range-ticks[data-label]:after, .ws-is-rtl
.ws-range-ticks:before {
margin: 0.69231em -0.95em 0 0;
}
.vertical-range .ws-range-ticks[data-label]:after, .vertical-range
.ws-range-ticks:before {
margin: 0 0 0 5px;
position: relative;
top: -0.7em;
left: 0.53846em;
min-width: 0;
}
.ws-range-ticks:before {
content: attr(data-value);
}
.ws-range-thumb > span,
.ws-range-thumb > span > span:after,
.ws-range-thumb > span > span:before {
display: none;
}
/* helper classes to hide show/hide specific range features features */
.ws-inline-picker,
div.ws-inline-picker,
.ws-popinline,
div.ws-popinline {
position: relative;
max-width: 100%;
z-index: 99;
}