tt-rss/lib/dijit/themes/dijit.css

2052 lines
46 KiB
CSS
Raw Normal View History

2011-11-08 17:40:44 +01:00
/*
Essential styles that themes can inherit.
In other words, works but doesn't look great.
*/
/****
GENERIC PIECES
****/
.dijitReset {
2011-11-08 17:40:44 +01:00
/* Use this style to null out padding, margin, border in your template elements
so that page specific styles don't break them.
- Use in all TABLE, TR and TD tags.
*/
margin:0;
border:0;
padding:0;
line-height:normal;
font: inherit;
color: inherit;
}
.dijit_a11y .dijitReset {
2011-11-08 17:40:44 +01:00
-moz-appearance: none; /* remove predefined high-contrast styling in Firefox */
}
2011-11-08 17:40:44 +01:00
.dijitInline {
2011-11-08 17:40:44 +01:00
/* To inline block elements.
Similar to InlineBox below, but this has fewer side-effects in Moz.
Also, apparently works on a DIV as well as a FIELDSET.
*/
display:inline-block; /* webkit and FF3 */
#zoom: 1; /* set hasLayout:true to mimic inline-block */
#display:inline; /* don't use .dj_ie since that increases the priority */
border:0;
padding:0;
vertical-align:middle;
2011-11-08 17:40:44 +01:00
#vertical-align: auto; /* makes TextBox,Button line up w/native counterparts on IE6 */
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
table.dijitInline {
/* To inline tables with a given width set */
display:inline-table;
box-sizing: content-box; -moz-box-sizing: content-box;
}
.dijitHidden {
2011-11-08 17:40:44 +01:00
/* To hide unselected panes in StackContainer etc. */
display: none !important;
}
2011-11-08 17:40:44 +01:00
.dijitVisible {
2011-11-08 17:40:44 +01:00
/* To show selected pane in StackContainer etc. */
display: block !important; /* override user's display:none setting via style setting or indirectly via class */
position: relative; /* to support setting width/height, see #2033 */
}
2011-11-08 17:40:44 +01:00
.dijitInputContainer {
2011-11-08 17:40:44 +01:00
/* for positioning of placeHolder */
#zoom: 1;
overflow: hidden;
2011-11-08 17:40:44 +01:00
float: none !important; /* needed by FF to squeeze the INPUT in */
position: relative;
vertical-align: middle;
#display: inline;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dj_ie input.dijitTextBox,
.dj_ie .dijitTextBox input {
font-size: 100%;
}
.dijitTextBox .dijitSpinnerButtonContainer,
.dijitTextBox .dijitArrowButtonContainer,
.dijitTextBox .dijitValidationContainer {
float: right;
text-align: center;
}
2012-08-14 16:59:10 +02:00
.dijitTextBox input.dijitInputField {
2011-11-08 17:40:44 +01:00
/* override unreasonable user styling of buttons and icons */
padding-left: 0 !important;
padding-right: 0 !important;
}
.dijitTextBox .dijitValidationContainer {
display: none;
}
2011-11-08 17:40:44 +01:00
.dijitTeeny {
font-size:1px;
line-height:1px;
}
2011-11-08 17:40:44 +01:00
.dijitOffScreen {
position: absolute;
left: 50%;
top: -10000px;
}
2011-11-08 17:40:44 +01:00
/*
* Popup items have a wrapper div (dijitPopup)
* with the real popup inside, and maybe an iframe too
*/
.dijitPopup {
position: absolute;
background-color: transparent;
margin: 0;
border: 0;
padding: 0;
}
2011-11-08 17:40:44 +01:00
.dijitPositionOnly {
2011-11-08 17:40:44 +01:00
/* Null out all position-related properties */
padding: 0 !important;
border: 0 !important;
background-color: transparent !important;
background-image: none !important;
height: auto !important;
width: auto !important;
}
2011-11-08 17:40:44 +01:00
.dijitNonPositionOnly {
2011-11-08 17:40:44 +01:00
/* Null position-related properties */
float: none !important;
position: static !important;
margin: 0 0 0 0 !important;
vertical-align: middle !important;
}
2011-11-08 17:40:44 +01:00
.dijitBackgroundIframe {
2011-11-08 17:40:44 +01:00
/* iframe used to prevent problems with PDF or other applets overlaying menus etc */
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: -1;
border: 0;
padding: 0;
margin: 0;
}
2011-11-08 17:40:44 +01:00
.dijitDisplayNone {
2011-11-08 17:40:44 +01:00
/* hide something. Use this as a class rather than element.style so another class can override */
display:none !important;
}
2011-11-08 17:40:44 +01:00
.dijitContainer {
2011-11-08 17:40:44 +01:00
/* for all layout containers */
overflow: hidden; /* need on IE so something can be reduced in size, and so scrollbars aren't temporarily displayed when resizing */
}
2011-11-08 17:40:44 +01:00
/****
A11Y
****/
.dijit_a11y .dijitIcon,
2012-08-14 16:59:10 +02:00
.dijit_a11y div.dijitArrowButtonInner, /* is this only for Spinner? if so, it should be deleted */
.dijit_a11y span.dijitArrowButtonInner,
.dijit_a11y img.dijitArrowButtonInner,
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitCalendarIncrementControl,
.dijit_a11y .dijitTreeExpando {
/* hide icon nodes in high contrast mode; when necessary they will be replaced by character equivalents
2012-08-14 16:59:10 +02:00
* exception for input.dijitArrowButtonInner, because the icon and character are controlled by the same node */
display: none;
}
2012-08-14 16:59:10 +02:00
.dijitSpinner div.dijitArrowButtonInner {
2011-11-08 17:40:44 +01:00
display: block; /* override previous rule */
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitA11ySideArrow {
2011-11-08 17:40:44 +01:00
display: inline !important; /* display text instead */
cursor: pointer;
}
2011-11-08 17:40:44 +01:00
/*
* Since we can't use shading in a11y mode, and since the underline indicates today's date,
* use a border to show the selected date.
* Avoid screen jitter when switching selected date by compensating for the selected node's
* border w/padding on other nodes.
*/
.dijit_a11y .dijitCalendarDateLabel {
padding: 1px;
2012-08-14 16:59:10 +02:00
border: 0px !important;
}
.dijit_a11y .dijitCalendarSelectedDate .dijitCalendarDateLabel {
2012-08-14 16:59:10 +02:00
border-style: solid !important;
border-width: 1px !important;
2011-11-08 17:40:44 +01:00
padding: 0;
}
.dijit_a11y .dijitCalendarDateTemplate {
2011-11-08 17:40:44 +01:00
padding-bottom: 0.1em !important; /* otherwise bottom border doesn't appear on IE */
2012-08-14 16:59:10 +02:00
border: 0px !important;
}
.dijit_a11y .dijitButtonNode {
2011-11-08 17:40:44 +01:00
border: black outset medium !important;
/* In claro, hovering a toolbar button reduces padding and adds a border.
* Not needed in a11y mode since Toolbar buttons always have a border.
*/
padding: 0 !important;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dijit_a11y .dijitButtonContents{
margin: 0.15em; /* Margin needed to make focus outline visible */
}
.dijit_a11y .dijitTextBoxReadOnly .dijitInputField,
.dijit_a11y .dijitTextBoxReadOnly .dijitButtonNode {
border-style: outset!important;
border-width: medium!important;
border-color: #999 !important;
color:#999 !important;
}
2011-11-08 17:40:44 +01:00
/* button inner contents - labels, icons etc. */
.dijitButtonNode * {
vertical-align: middle;
}
.dijitButtonNode .dijitArrowButtonInner {
2011-11-08 17:40:44 +01:00
/* the arrow icon node */
background: no-repeat center;
width: 12px;
height: 12px;
2011-11-08 17:40:44 +01:00
direction: ltr; /* needed by IE/RTL */
}
2011-11-08 17:40:44 +01:00
/****
3-element borders: ( dijitLeft + dijitStretch + dijitRight )
These were added for rounded corners on dijit.form.*Button but never actually used.
****/
.dijitLeft {
2011-11-08 17:40:44 +01:00
/* Left part of a 3-element border */
background-position:left top;
background-repeat:no-repeat;
}
2011-11-08 17:40:44 +01:00
.dijitStretch {
2011-11-08 17:40:44 +01:00
/* Middle (stretchy) part of a 3-element border */
white-space:nowrap; /* MOW: move somewhere else */
background-repeat:repeat-x;
}
2011-11-08 17:40:44 +01:00
.dijitRight {
2011-11-08 17:40:44 +01:00
/* Right part of a 3-element border */
#display:inline; /* IE7 sizes to outer size w/o this */
background-position:right top;
background-repeat:no-repeat;
}
2011-11-08 17:40:44 +01:00
/* Buttons */
2012-08-14 16:59:10 +02:00
.dj_gecko .dijit_a11y .dijitButtonDisabled .dijitButtonNode {
opacity: 0.5;
}
2011-11-08 17:40:44 +01:00
.dijitToggleButton,
.dijitButton,
.dijitDropDownButton,
.dijitComboButton {
2011-11-08 17:40:44 +01:00
/* outside of button */
margin: 0.2em;
2011-11-08 17:40:44 +01:00
vertical-align: middle;
}
2011-11-08 17:40:44 +01:00
.dijitButtonContents {
2011-11-08 17:40:44 +01:00
display: block; /* to make focus border rectangular */
}
td.dijitButtonContents {
2011-11-08 17:40:44 +01:00
display: table-cell; /* but don't affect Select, ComboButton */
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dijitButtonNode img {
2011-11-08 17:40:44 +01:00
/* make text and images line up cleanly */
vertical-align:middle;
2011-11-08 17:40:44 +01:00
/*margin-bottom:.2em;*/
}
2011-11-08 17:40:44 +01:00
.dijitToolbar .dijitComboButton {
2011-11-08 17:40:44 +01:00
/* because Toolbar only draws a border around the hovered thing */
border-collapse: separate;
}
2011-11-08 17:40:44 +01:00
.dijitToolbar .dijitToggleButton,
.dijitToolbar .dijitButton,
.dijitToolbar .dijitDropDownButton,
.dijitToolbar .dijitComboButton {
margin: 0;
}
2011-11-08 17:40:44 +01:00
.dijitToolbar .dijitButtonContents {
2011-11-08 17:40:44 +01:00
/* just because it used to be this way */
padding: 1px 2px;
}
2011-11-08 17:40:44 +01:00
.dj_webkit .dijitToolbar .dijitDropDownButton {
padding-left: 0.3em;
}
.dj_gecko .dijitToolbar .dijitButtonNode::-moz-focus-inner {
padding:0;
}
2011-11-08 17:40:44 +01:00
.dijitButtonNode {
2011-11-08 17:40:44 +01:00
/* Node that is acting as a button -- may or may not be a BUTTON element */
border:1px solid gray;
margin:0;
line-height:normal;
vertical-align: middle;
#vertical-align: auto;
text-align:center;
white-space: nowrap;
}
.dj_webkit .dijitSpinner .dijitSpinnerButtonContainer {
2011-11-08 17:40:44 +01:00
/* apparent WebKit bug where messing with the font coupled with line-height:normal X 2 (dijitReset & dijitButtonNode)
can be different than just a single line-height:normal, visible in InlineEditBox/Spinner */
line-height:inherit;
}
.dijitTextBox .dijitButtonNode {
border-width: 0;
}
2011-11-08 17:40:44 +01:00
.dijitButtonNode,
.dijitButtonNode * {
cursor: pointer;
}
2011-11-08 17:40:44 +01:00
.dj_ie .dijitButtonNode {
2011-11-08 17:40:44 +01:00
/* ensure hasLayout */
zoom: 1;
}
2011-11-08 17:40:44 +01:00
.dj_ie .dijitButtonNode button {
2011-11-08 17:40:44 +01:00
/*
disgusting hack to get rid of spurious padding around button elements
on IE. MSIE is truly the web's boat anchor.
*/
overflow: visible;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
div.dijitArrowButton {
float: right;
}
2011-11-08 17:40:44 +01:00
/******
TextBox related.
Everything that has an <input>
*******/
.dijitTextBox {
border: solid black 1px;
2011-11-08 17:40:44 +01:00
#overflow: hidden; /* #6027, #6067 */
width: 15em; /* need to set default size on outer node since inner nodes say <input style="width:100%"> and <td width=100%>. user can override */
vertical-align: middle;
}
2011-11-08 17:40:44 +01:00
.dijitTextBoxReadOnly,
.dijitTextBoxDisabled {
color: gray;
}
2012-08-14 16:59:10 +02:00
.dj_webkit .dijitTextBoxDisabled input {
2011-11-08 17:40:44 +01:00
color: #eee; /* because WebKit lightens disabled input/textarea no matter what color you specify */
}
2012-08-14 16:59:10 +02:00
.dj_webkit textarea.dijitTextAreaDisabled {
2011-11-08 17:40:44 +01:00
color: #333; /* because WebKit lightens disabled input/textarea no matter what color you specify */
}
2012-08-14 16:59:10 +02:00
.dj_gecko .dijitTextBoxReadOnly input.dijitInputField, /* disable arrow and validation presentation inputs but allow real input for text selection */
.dj_gecko .dijitTextBoxDisabled input {
2011-11-08 17:40:44 +01:00
-moz-user-input: none; /* prevent focus of disabled textbox buttons */
}
2011-11-08 17:40:44 +01:00
.dijitPlaceHolder {
2011-11-08 17:40:44 +01:00
/* hint text that appears in a textbox until user starts typing */
color: #AAAAAA;
font-style: italic;
position: absolute;
top: 0;
left: 0;
2011-11-08 17:40:44 +01:00
#filter: ""; /* make this showup in IE6 after the rendering of the widget */
}
2011-11-08 17:40:44 +01:00
.dijitTimeTextBox {
width: 8em;
}
2011-11-08 17:40:44 +01:00
/* rules for webkit to deal with fuzzy blue focus border */
2012-08-14 16:59:10 +02:00
.dijitTextBox input:focus {
2011-11-08 17:40:44 +01:00
outline: none; /* blue fuzzy line looks wrong on combobox or something w/validation icon showing */
}
.dijitTextBoxFocused {
2012-08-14 16:59:10 +02:00
outline: 5px -webkit-focus-ring-color;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dijitTextBox input {
2011-11-08 17:40:44 +01:00
float: left; /* needed by IE to remove secret margin */
}
.dijitInputInner {
2011-11-08 17:40:44 +01:00
/* for when an <input> is embedded inside an inline-block <div> with a size and border */
border:0 !important;
vertical-align:middle !important;
background-color:transparent !important;
width:100% !important;
2011-11-08 17:40:44 +01:00
/* IE dislikes horizontal tweaking combined with width:100% so punish everyone for consistency */
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
2012-08-14 16:59:10 +02:00
.dijit_a11y .dijitTextBox input {
margin: 0 !important;
}
2012-08-14 16:59:10 +02:00
.dijitTextBoxError input.dijitValidationInner,
.dijitTextBox input.dijitArrowButtonInner {
2011-11-08 17:40:44 +01:00
/* <input> used to display arrow icon/validation icon, or in arrow character in high contrast mode.
* The css below is a trick to hide the character in non-high-contrast mode
*/
text-indent: -1em !important;
direction: ltr !important;
text-align: left !important;
height: auto !important;
#text-indent: 0 !important;
#letter-spacing: -5em !important;
#text-align: right !important;
}
2012-08-14 16:59:10 +02:00
.dj_ie .dijitTextBox input,
.dj_ie input.dijitTextBox {
overflow-y: visible; /* inputs need help expanding when padding is added or line-height is adjusted */
2011-11-08 17:40:44 +01:00
line-height: normal; /* strict mode */
}
2012-08-14 16:59:10 +02:00
.dj_ie7 .dijitTextBox input.dijitValidationInner,
.dj_ie7 .dijitTextBox input.dijitArrowButtonInner {
2011-11-08 17:40:44 +01:00
line-height: 86%; /* IE7 problem where the icon is vertically too low w/o this - real input stays at normal */
}
2012-08-14 16:59:10 +02:00
.dj_ie6 .dijitTextBox input,
.dj_ie6 input.dijitTextBox,
.dj_iequirks .dijitTextBox input.dijitValidationInner,
.dj_iequirks .dijitTextBox input.dijitArrowButtonInner,
.dj_iequirks .dijitTextBox input.dijitSpinnerButtonInner,
.dj_iequirks .dijitTextBox input.dijitInputInner,
.dj_iequirks input.dijitTextBox {
2011-11-08 17:40:44 +01:00
line-height: 100%; /* IE7 problem where the icon is vertically way too low w/o this */
}
2012-08-14 16:59:10 +02:00
.dijit_a11y input.dijitValidationInner,
.dijit_a11y input.dijitArrowButtonInner {
2011-11-08 17:40:44 +01:00
/* (in high contrast mode) revert rules from above so character displays */
text-indent: 0 !important;
width: 1em !important;
#text-align: left !important;
}
.dijitTextBoxError .dijitValidationContainer {
display: inline;
cursor: default;
}
2011-11-08 17:40:44 +01:00
/* ComboBox & Spinner */
.dijitSpinner .dijitSpinnerButtonContainer,
.dijitComboBox .dijitArrowButtonContainer {
2011-11-08 17:40:44 +01:00
/* dividing line between input area and up/down button(s) for ComboBox and Spinner */
border-width: 0 0 0 1px !important; /* !important needed due to wayward ".theme .dijitButtonNode" rules */
}
.dijitToolbar .dijitComboBox .dijitArrowButtonContainer {
/* overrides above rule plus mirror-image rule in dijit_rtl.css to have no divider when ComboBox in Toolbar */
border-width: 0 !important;
}
.dijitComboBoxMenu {
/* Drop down menu is implemented as <ul> <li/> <li/> ... but we don't want circles before each item */
list-style-type: none;
}
.dijitSpinner .dijitSpinnerButtonContainer .dijitButtonNode {
2011-11-08 17:40:44 +01:00
/* dividing line between input area and up/down button(s) for ComboBox and Spinner */
border-width: 0;
}
.dj_ie .dijit_a11y .dijitSpinner .dijitSpinnerButtonContainer .dijitButtonNode {
2011-11-08 17:40:44 +01:00
clear: both; /* IE workaround */
}
2011-11-08 17:40:44 +01:00
.dj_ie .dijitToolbar .dijitComboBox {
2011-11-08 17:40:44 +01:00
/* make combobox buttons align properly with other buttons in a toolbar */
vertical-align: middle;
}
2011-11-08 17:40:44 +01:00
/* Spinner */
.dijitTextBox .dijitSpinnerButtonContainer {
width: 1em;
position: relative !important;
overflow: hidden;
}
.dijitSpinner .dijitSpinnerButtonInner {
width:1em;
2011-11-08 17:40:44 +01:00
visibility:hidden !important; /* just a sizing element */
overflow-x:hidden;
}
.dijitComboBox .dijitButtonNode,
.dijitSpinnerButtonContainer .dijitButtonNode {
border-width: 0;
}
.dijit_a11y .dijitSpinnerButtonContainer .dijitButtonNode {
border: 0 none !important;
}
.dijit_a11y .dijitTextBox .dijitSpinnerButtonContainer,
.dijit_a11y .dijitSpinner .dijitArrowButtonInner,
2012-08-14 16:59:10 +02:00
.dijit_a11y .dijitSpinnerButtonContainer input {
width: 1em !important;
}
.dijit_a11y .dijitSpinner .dijitArrowButtonInner {
2011-11-08 17:40:44 +01:00
margin: 0 auto !important; /* should auto-center */
}
.dj_ie .dijit_a11y .dijitSpinner .dijitArrowButtonInner .dijitInputField {
padding-left: 0.3em !important;
padding-right: 0.3em !important;
margin-left: 0.3em !important;
margin-right: 0.3em !important;
width: 1.4em !important;
}
.dj_ie7 .dijit_a11y .dijitSpinner .dijitArrowButtonInner .dijitInputField {
2011-11-08 17:40:44 +01:00
padding-left: 0 !important; /* manually center INPUT: character is .5em and total width = 1em */
padding-right: 0 !important;
width: 1em !important;
}
.dj_ie6 .dijit_a11y .dijitSpinner .dijitArrowButtonInner .dijitInputField {
margin-left: 0.1em !important;
margin-right: 0.1em !important;
width: 1em !important;
}
.dj_iequirks .dijit_a11y .dijitSpinner .dijitArrowButtonInner .dijitInputField {
margin-left: 0 !important;
margin-right: 0 !important;
width: 2em !important;
}
.dijitSpinner .dijitSpinnerButtonContainer .dijitArrowButton {
2011-11-08 17:40:44 +01:00
/* note: .dijitInputLayoutContainer makes this rule override .dijitArrowButton settings
* for dijit.form.Button
*/
padding: 0;
position: absolute !important;
right: 0;
float: none;
height: 50%;
width: 100%;
bottom: auto;
left: 0;
right: auto;
}
.dj_iequirks .dijitSpinner .dijitSpinnerButtonContainer .dijitArrowButton {
width: auto;
}
.dijit_a11y .dijitSpinnerButtonContainer .dijitArrowButton {
overflow: visible !important;
}
.dijitSpinner .dijitSpinnerButtonContainer .dijitDownArrowButton {
top: 50%;
border-top-width: 1px !important;
}
.dijitSpinner .dijitSpinnerButtonContainer .dijitUpArrowButton {
2011-11-08 17:40:44 +01:00
#bottom: 50%; /* otherwise (on some machines) top arrow icon too close to splitter border (IE6/7) */
top: 0;
}
.dijitSpinner .dijitArrowButtonInner {
margin: auto;
overflow-x: hidden;
height: 100% !important;
}
.dj_iequirks .dijitSpinner .dijitArrowButtonInner {
height: auto !important;
}
.dijitSpinner .dijitArrowButtonInner .dijitInputField {
-moz-transform: scale(0.5);
-moz-transform-origin: center top;
-webkit-transform: scale(0.5);
-webkit-transform-origin: center top;
-o-transform: scale(0.5);
-o-transform-origin: center top;
transform: scale(0.5);
transform-origin: left top;
padding-top: 0;
padding-bottom: 0;
padding-left: 0 !important;
padding-right: 0 !important;
width: 100%;
}
.dj_ie .dijitSpinner .dijitArrowButtonInner .dijitInputField {
2011-11-08 17:40:44 +01:00
zoom: 50%; /* emulate transform: scale(0.5) */
}
.dijitSpinner .dijitSpinnerButtonContainer .dijitArrowButtonInner {
overflow: hidden;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitSpinner .dijitSpinnerButtonContainer .dijitArrowButton {
width: 100%;
}
.dj_iequirks .dijit_a11y .dijitSpinner .dijitSpinnerButtonContainer .dijitArrowButton {
2011-11-08 17:40:44 +01:00
width: 1em; /* matches .dijit_a11y .dijitTextBox .dijitSpinnerButtonContainer rule - 100% is the whole screen width in quirks */
}
.dijitSpinner .dijitArrowButtonInner .dijitInputField {
visibility: hidden;
}
.dijit_a11y .dijitSpinner .dijitArrowButtonInner .dijitInputField {
vertical-align:top;
visibility: visible;
}
.dijit_a11y .dijitSpinnerButtonContainer {
width: 1em;
}
.dijit_a11y .dijitSpinnerButtonContainer .dijitButtonNode {
2011-11-08 17:40:44 +01:00
border-width: 1px 0 0 0;
border-style: solid !important;
}
2011-11-08 17:40:44 +01:00
/****
dijit.form.CheckBox
&
dijit.form.RadioButton
****/
.dijitCheckBox,
.dijitRadio,
.dijitCheckBoxInput {
padding: 0;
border: 0;
width: 16px;
height: 16px;
background-position:center center;
background-repeat:no-repeat;
overflow: hidden;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dijitCheckBox input,
.dijitRadio input {
margin: 0;
padding: 0;
display: block;
}
2011-11-08 17:40:44 +01:00
.dijitCheckBoxInput {
2011-11-08 17:40:44 +01:00
/* place the actual input on top, but all-but-invisible */
opacity: 0.01;
}
2011-11-08 17:40:44 +01:00
.dj_ie .dijitCheckBoxInput {
filter: alpha(opacity=0);
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitCheckBox,
.dijit_a11y .dijitRadio {
2011-11-08 17:40:44 +01:00
/* in a11y mode we display the native checkbox (not the icon), so don't restrict the size */
width: auto !important;
height: auto !important;
}
.dijit_a11y .dijitCheckBoxInput {
opacity: 1;
filter: none;
width: auto;
height: auto;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dijit_a11y .dijitFocusedLabel {
/* for checkboxes or radio buttons in high contrast mode, use border rather than outline to indicate focus (outline does not work in FF)*/
border: 1px dotted;
outline: 0px !important;
}
2011-11-08 17:40:44 +01:00
/****
dijit.ProgressBar
****/
.dijitProgressBarEmpty {
2011-11-08 17:40:44 +01:00
/* outer container and background of the bar that's not finished yet*/
position:relative;overflow:hidden;
2011-11-08 17:40:44 +01:00
border:1px solid black; /* a11y: border necessary for high-contrast mode */
z-index:0; /* establish a stacking context for this progress bar */
}
2011-11-08 17:40:44 +01:00
.dijitProgressBarFull {
2011-11-08 17:40:44 +01:00
/* outer container for background of bar that is finished */
position:absolute;
overflow:hidden;
z-index:-1;
top:0;
width:100%;
}
.dj_ie6 .dijitProgressBarFull {
height:1.6em;
}
2011-11-08 17:40:44 +01:00
.dijitProgressBarTile {
2011-11-08 17:40:44 +01:00
/* inner container for finished portion */
position:absolute;
overflow:hidden;
top:0;
left:0;
bottom:0;
right:0;
margin:0;
padding:0;
2012-08-14 16:59:10 +02:00
width: 100%; /* needed for IE/quirks */
height:auto;
background-color:#aaa;
background-attachment: fixed;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitProgressBarTile {
2011-11-08 17:40:44 +01:00
/* a11y: The border provides visibility in high-contrast mode */
border-width:2px;
border-style:solid;
background-color:transparent !important;
}
2011-11-08 17:40:44 +01:00
.dj_ie6 .dijitProgressBarTile {
2011-11-08 17:40:44 +01:00
/* width:auto works in IE6 with position:static but not position:absolute */
position:static;
2011-11-08 17:40:44 +01:00
/* height:auto or 100% does not work in IE6 */
height:1.6em;
}
2011-11-08 17:40:44 +01:00
.dijitProgressBarIndeterminate .dijitProgressBarTile {
2011-11-08 17:40:44 +01:00
/* animated gif for 'indeterminate' mode */
}
2011-11-08 17:40:44 +01:00
.dijitProgressBarIndeterminateHighContrastImage {
display:none;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitProgressBarIndeterminate .dijitProgressBarIndeterminateHighContrastImage {
display:block;
position:absolute;
top:0;
bottom:0;
margin:0;
padding:0;
width:100%;
height:auto;
}
2011-11-08 17:40:44 +01:00
.dijitProgressBarLabel {
display:block;
position:static;
width:100%;
text-align:center;
background-color:transparent !important;
}
2011-11-08 17:40:44 +01:00
/****
dijit.Tooltip
****/
.dijitTooltip {
position: absolute;
z-index: 2000;
display: block;
2011-11-08 17:40:44 +01:00
/* make visible but off screen */
left: 0;
top: -10000px;
overflow: visible;
}
2011-11-08 17:40:44 +01:00
.dijitTooltipContainer {
border: solid black 2px;
background: #b8b5b5;
color: black;
font-size: small;
}
2011-11-08 17:40:44 +01:00
.dijitTooltipFocusNode {
padding: 2px 2px 2px 2px;
}
2011-11-08 17:40:44 +01:00
.dijitTooltipConnector {
position: absolute;
}
.dijit_a11y .dijitTooltipConnector {
2011-11-08 17:40:44 +01:00
display: none; /* won't show b/c it's background-image; hide to avoid border gap */
}
2011-11-08 17:40:44 +01:00
.dijitTooltipData {
display:none;
}
2011-11-08 17:40:44 +01:00
/* Layout widgets. This is essential CSS to make layout work (it isn't "styling" CSS)
make sure that the position:absolute in dijitAlign* overrides other classes */
.dijitLayoutContainer {
position: relative;
display: block;
overflow: hidden;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dijitAlignTop,
.dijitAlignBottom,
.dijitAlignLeft,
.dijitAlignRight {
position: absolute;
overflow: hidden;
}
2011-11-08 17:40:44 +01:00
body .dijitAlignClient { position: absolute; }
2011-11-08 17:40:44 +01:00
/*
2012-08-14 16:59:10 +02:00
* BorderContainer
2011-11-08 17:40:44 +01:00
*
* .dijitBorderContainer is a stylized layout where panes have border and margin.
* .dijitBorderContainerNoGutter is a raw layout.
*/
.dijitBorderContainer, .dijitBorderContainerNoGutter {
position:relative;
overflow: hidden;
}
2011-11-08 17:40:44 +01:00
.dijitBorderContainerPane,
.dijitBorderContainerNoGutterPane {
2011-11-08 17:40:44 +01:00
position: absolute !important; /* !important to override position:relative in dijitTabContainer etc. */
z-index: 2; /* above the splitters so that off-by-one browser errors don't cover up border of pane */
}
2011-11-08 17:40:44 +01:00
.dijitBorderContainer > .dijitTextArea {
2011-11-08 17:40:44 +01:00
/* On Safari, for SimpleTextArea inside a BorderContainer,
don't want to display the grip to resize */
resize: none;
}
2011-11-08 17:40:44 +01:00
.dijitGutter {
2011-11-08 17:40:44 +01:00
/* gutter is just a place holder for empty space between panes in BorderContainer */
position: absolute;
2011-11-08 17:40:44 +01:00
font-size: 1px; /* needed by IE6 even though div is empty, otherwise goes to 15px */
}
2011-11-08 17:40:44 +01:00
/* SplitContainer
'V' == container that splits vertically (up/down)
'H' = horizontal (left/right)
*/
.dijitSplitter {
position: absolute;
overflow: hidden;
2011-11-08 17:40:44 +01:00
z-index: 10; /* above the panes so that splitter focus is visible on FF, see #7583*/
background-color: #fff;
border-color: gray;
border-style: solid;
border-width: 0;
}
.dj_ie .dijitSplitter {
2011-11-08 17:40:44 +01:00
z-index: 1; /* behind the panes so that pane borders aren't obscured see test_Gui.html/[14392] */
}
2011-11-08 17:40:44 +01:00
.dijitSplitterActive {
z-index: 11 !important;
}
2011-11-08 17:40:44 +01:00
.dijitSplitterCover {
position:absolute;
z-index:-1;
top:0;
left:0;
width:100%;
height:100%;
}
2011-11-08 17:40:44 +01:00
.dijitSplitterCoverActive {
z-index:3 !important;
}
2011-11-08 17:40:44 +01:00
/* #6945: stop mouse events */
.dj_ie .dijitSplitterCover {
background: white;
filter: alpha(opacity=0);
}
2011-11-08 17:40:44 +01:00
.dijitSplitterH {
height: 7px;
border-top:1px;
border-bottom:1px;
2012-08-14 16:59:10 +02:00
cursor: row-resize;
}
.dijitSplitterV {
width: 7px;
border-left:1px;
border-right:1px;
2012-08-14 16:59:10 +02:00
cursor: col-resize;
}
.dijitSplitContainer {
position: relative;
overflow: hidden;
display: block;
}
.dj_ff3 .dijit_a11y div.dijitSplitter:focus {
outline-style:dotted;
outline-width: 2px;
}
2011-11-08 17:40:44 +01:00
.dijitSplitPane {
position: absolute;
}
2011-11-08 17:40:44 +01:00
.dijitSplitContainerSizerH,
.dijitSplitContainerSizerV {
position:absolute;
font-size: 1px;
background-color: ThreeDFace;
border: 1px solid;
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
margin: 0;
}
2011-11-08 17:40:44 +01:00
.dijitSplitContainerSizerH .thumb, .dijitSplitterV .dijitSplitterThumb {
overflow:hidden;
position:absolute;
top:49%;
}
2011-11-08 17:40:44 +01:00
.dijitSplitContainerSizerV .thumb, .dijitSplitterH .dijitSplitterThumb {
position:absolute;
left:49%;
}
2011-11-08 17:40:44 +01:00
.dijitSplitterShadow,
.dijitSplitContainerVirtualSizerH,
.dijitSplitContainerVirtualSizerV {
font-size: 1px;
background-color: ThreeDShadow;
-moz-opacity: 0.5;
opacity: 0.5;
filter: Alpha(Opacity=50);
margin: 0;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dijitSplitContainerSizerH, .dijitSplitContainerVirtualSizerH {
cursor: col-resize;
}
2012-08-14 16:59:10 +02:00
.dijitSplitContainerSizerV, .dijitSplitContainerVirtualSizerV {
cursor: row-resize;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitSplitterH {
border-top:1px solid #d3d3d3 !important;
border-bottom:1px solid #d3d3d3 !important;
}
.dijit_a11y .dijitSplitterV {
border-left:1px solid #d3d3d3 !important;
border-right:1px solid #d3d3d3 !important;
}
2011-11-08 17:40:44 +01:00
/* ContentPane */
.dijitContentPane {
display: block;
2011-11-08 17:40:44 +01:00
overflow: auto; /* if we don't have this (or overflow:hidden), then Widget.resizeTo() doesn't make sense for ContentPane */
}
2011-11-08 17:40:44 +01:00
.dijitContentPaneSingleChild {
2011-11-08 17:40:44 +01:00
/*
* if the ContentPane holds a single layout widget child which is being sized to match the content pane,
* then the ContentPane should never get a scrollbar (but it does due to browser bugs, see #9449
*/
overflow: hidden;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dijitContentPaneLoading .dijitIconLoading,
.dijitContentPaneError .dijitIconError {
margin-right: 9px;
}
2011-11-08 17:40:44 +01:00
/* TitlePane */
.dijitTitlePane {
display: block;
overflow: hidden;
}
.dijitTitlePaneTitle {
cursor: pointer;
}
2011-11-08 17:40:44 +01:00
.dijitFixedOpen, .dijitFixedClosed {
/* TitlePane that cannot be toggled */
cursor: default;
}
.dijitTitlePaneTitle * {
vertical-align: middle;
}
.dijitTitlePane .dijitArrowNodeInner {
2011-11-08 17:40:44 +01:00
/* normally, hide arrow text in favor of icon */
display: none;
}
.dijit_a11y .dijitTitlePane .dijitArrowNodeInner {
2011-11-08 17:40:44 +01:00
/* ... except in a11y mode, then show text arrow */
display:inline !important;
2011-11-08 17:40:44 +01:00
font-family: monospace; /* because - and + are different widths */
}
.dijit_a11y .dijitTitlePane .dijitArrowNode {
2011-11-08 17:40:44 +01:00
/* ... and hide icon */
display:none;
}
2011-11-08 17:40:44 +01:00
.dj_ie6 .dijitTitlePaneContentOuter,
.dj_ie6 .dijitTitlePane .dijitTitlePaneTitle {
2011-11-08 17:40:44 +01:00
/* force hasLayout to ensure borders etc, show up */
zoom: 1;
}
2011-11-08 17:40:44 +01:00
/* Color Palette
* Sizes designed so that table cell positions match icons in underlying image,
* which appear at 20x20 intervals.
*/
.dijitColorPalette {
border: 1px solid #999;
background: #fff;
position: relative;
}
2011-11-08 17:40:44 +01:00
.dijitColorPalette .dijitPaletteTable {
2011-11-08 17:40:44 +01:00
/* Table that holds the palette cells, and overlays image file with color swatches.
* padding/margin to align table with image.
*/
padding: 2px 3px 3px 3px;
position: relative;
overflow: hidden;
outline: 0;
border-collapse: separate;
}
.dj_ie6 .dijitColorPalette .dijitPaletteTable,
.dj_ie7 .dijitColorPalette .dijitPaletteTable,
.dj_iequirks .dijitColorPalette .dijitPaletteTable {
2011-11-08 17:40:44 +01:00
/* using padding above so that focus border isn't cutoff on moz/webkit,
* but using margin on IE because padding doesn't seem to work
*/
padding: 0;
margin: 2px 3px 3px 3px;
}
2011-11-08 17:40:44 +01:00
.dijitColorPalette .dijitPaletteCell {
2011-11-08 17:40:44 +01:00
/* <td> in the <table> */
font-size: 1px;
vertical-align: middle;
text-align: center;
2011-11-08 17:40:44 +01:00
background: none;
}
.dijitColorPalette .dijitPaletteImg {
2011-11-08 17:40:44 +01:00
/* Called dijitPaletteImg for back-compat, this actually wraps the color swatch with a border and padding */
padding: 1px; /* white area between gray border and color swatch */
border: 1px solid #999;
2011-11-08 17:40:44 +01:00
margin: 2px 1px;
cursor: default;
2011-11-08 17:40:44 +01:00
font-size: 1px; /* prevent <span> from getting bigger just to hold a character */
}
2011-11-08 17:40:44 +01:00
.dj_gecko .dijitColorPalette .dijitPaletteImg {
padding-bottom: 0; /* workaround rendering glitch on FF, it adds an extra pixel at the bottom */
}
.dijitColorPalette .dijitColorPaletteSwatch {
/* the actual part where the color is */
width: 14px;
height: 12px;
}
.dijitPaletteTable td {
2011-11-08 17:40:44 +01:00
padding: 0;
}
2012-08-14 16:59:10 +02:00
.dijitColorPalette .dijitPaletteCell:hover .dijitPaletteImg {
2011-11-08 17:40:44 +01:00
/* hovered color swatch */
border: 1px solid #000;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dijitColorPalette .dijitPaletteCell:active .dijitPaletteImg,
.dijitColorPalette .dijitPaletteTable .dijitPaletteCellSelected .dijitPaletteImg {
border: 2px solid #000;
2011-11-08 17:40:44 +01:00
margin: 1px 0; /* reduce margin to compensate for increased border */
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitColorPalette .dijitPaletteTable,
.dijit_a11y .dijitColorPalette .dijitPaletteTable * {
2011-11-08 17:40:44 +01:00
/* table cells are to catch events, but the swatches are in the PaletteImg behind the table */
background-color: transparent !important;
}
2011-11-08 17:40:44 +01:00
/* AccordionContainer */
.dijitAccordionContainer {
border:1px solid #b7b7b7;
border-top:0 !important;
}
.dijitAccordionTitle {
cursor: pointer;
}
.dijitAccordionTitleSelected {
cursor: default;
}
2011-11-08 17:40:44 +01:00
/* images off, high-contrast mode styles */
.dijitAccordionTitle .arrowTextUp,
.dijitAccordionTitle .arrowTextDown {
display: none;
font-size: 0.65em;
font-weight: normal !important;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitAccordionTitle .arrowTextUp,
.dijit_a11y .dijitAccordionTitleSelected .arrowTextDown {
display: inline;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitAccordionTitleSelected .arrowTextUp {
display: none;
}
2011-11-08 17:40:44 +01:00
.dijitAccordionChildWrapper {
/* this is the node whose height is adjusted */
overflow: hidden;
}
2011-11-08 17:40:44 +01:00
/* Calendar */
.dijitCalendarContainer {
2011-11-08 17:40:44 +01:00
width: auto; /* in case user has specified a width for the TABLE nodes, see #10553 */
}
.dijitCalendarContainer th, .dijitCalendarContainer td {
padding: 0;
2011-11-08 17:40:44 +01:00
vertical-align: middle;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dijitCalendarYearLabel {
white-space: nowrap; /* make sure previous, current, and next year appear on same row */
}
.dijitCalendarNextYear {
margin:0 0 0 0.55em;
}
2011-11-08 17:40:44 +01:00
.dijitCalendarPreviousYear {
margin:0 0.55em 0 0;
}
2011-11-08 17:40:44 +01:00
.dijitCalendarIncrementControl {
vertical-align: middle;
}
2011-11-08 17:40:44 +01:00
.dijitCalendarIncrementControl,
.dijitCalendarDateTemplate,
.dijitCalendarMonthLabel,
.dijitCalendarPreviousYear,
.dijitCalendarNextYear {
cursor: pointer;
}
2011-11-08 17:40:44 +01:00
.dijitCalendarDisabledDate {
color: gray;
text-decoration: line-through;
cursor: default;
}
2011-11-08 17:40:44 +01:00
.dijitSpacer {
2011-11-08 17:40:44 +01:00
/* don't display it, but make it affect the width */
position: relative;
height: 1px;
overflow: hidden;
visibility: hidden;
}
2011-11-08 17:40:44 +01:00
/* Styling for month drop down list */
.dijitCalendarMonthMenu .dijitCalendarMonthLabel {
text-align:center;
}
/* Menu */
.dijitMenu {
border:1px solid black;
background-color:white;
}
.dijitMenuTable {
border-collapse:collapse;
border-width:0;
background-color:white;
}
2011-11-08 17:40:44 +01:00
/* workaround for webkit bug #8427, remove this when it is fixed upstream */
.dj_webkit .dijitMenuTable td[colspan="2"]{
border-right:hidden;
}
2011-11-08 17:40:44 +01:00
.dijitMenuItem {
text-align: left;
white-space: nowrap;
padding:.1em .2em;
cursor:pointer;
}
2011-11-08 17:40:44 +01:00
.dijitMenuPassive .dijitMenuItemHover,
.dijitMenuItemSelected {
2011-11-08 17:40:44 +01:00
/*
* dijitMenuItemHover refers to actual mouse over
* dijitMenuItemSelected is used after a menu has been "activated" by
* clicking it, tabbing into it, or being opened from a parent menu,
* and denotes that the menu item has focus or that focus is on a child
* menu
*/
background-color:black;
color:white;
}
2011-11-08 17:40:44 +01:00
.dijitMenuItemIcon, .dijitMenuExpand {
background-repeat: no-repeat;
}
2011-11-08 17:40:44 +01:00
.dijitMenuItemDisabled * {
2011-11-08 17:40:44 +01:00
/* for a disabled menu item, just set it to mostly transparent */
opacity:0.5;
cursor:default;
}
.dj_ie .dijit_a11y .dijitMenuItemDisabled,
.dj_ie .dijit_a11y .dijitMenuItemDisabled td,
.dj_ie .dijitMenuItemDisabled *,
.dj_ie .dijitMenuItemDisabled td {
color:gray !important;
filter: alpha(opacity=35);
}
2011-11-08 17:40:44 +01:00
.dijitMenuItemLabel {
position: relative;
vertical-align: middle;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitMenuItemSelected {
border: 1px dotted black !important;
}
.dj_ff3 .dijit_a11y .dijitMenuItem td {
2012-08-14 16:59:10 +02:00
padding: 0 !important;
background:none !important;
}
.dijit_a11y .dijitMenuItemSelected .dijitMenuItemLabel {
border-width: 1px;
border-style: solid;
}
.dj_ie8 .dijit_a11y .dijitMenuItemLabel {
position:static;
}
2011-11-08 17:40:44 +01:00
.dijitMenuExpandA11y {
display: none;
}
.dijit_a11y .dijitMenuExpandA11y {
display: inline;
}
2011-11-08 17:40:44 +01:00
.dijitMenuSeparator td {
border: 0;
padding: 0;
}
2011-11-08 17:40:44 +01:00
/* separator can be two pixels -- set border of either one to 0 to have only one */
.dijitMenuSeparatorTop {
height: 50%;
margin: 0;
margin-top:3px;
font-size: 1px;
}
2011-11-08 17:40:44 +01:00
.dijitMenuSeparatorBottom {
height: 50%;
margin: 0;
margin-bottom:3px;
font-size: 1px;
}
2011-11-08 17:40:44 +01:00
/* the checked menu item */
.dijitCheckedMenuItemIconChar {
vertical-align: middle;
visibility:hidden;
}
.dijitCheckedMenuItemChecked .dijitCheckedMenuItemIconChar {
visibility: visible;
}
.dijit_a11y .dijitCheckedMenuItemIconChar {
display:inline !important;
}
.dijit_a11y .dijitCheckedMenuItemIcon {
display: none;
}
.dj_ie .dijit_a11y .dijitMenuBar .dijitMenuItem {
2011-11-08 17:40:44 +01:00
/* so bottom border of MenuBar appears on IE7 in high-contrast mode */
margin: 0;
}
2011-11-08 17:40:44 +01:00
/* StackContainer */
.dijitStackController .dijitToggleButtonChecked * {
2011-11-08 17:40:44 +01:00
cursor: default; /* because pressing it has no effect */
}
2011-11-08 17:40:44 +01:00
/* TabContainer */
.dijitTabContainerNoLayout {
2011-11-08 17:40:44 +01:00
width: 100%; /* otherwise ScrollingTabController goes to 50K pixels wide */
}
2011-11-08 17:40:44 +01:00
.dijitTabContainerBottom-tabs,
.dijitTabContainerTop-tabs,
.dijitTabContainerLeft-tabs,
.dijitTabContainerRight-tabs {
2011-11-08 17:40:44 +01:00
overflow: visible !important; /* so tabs can cover up border adjacent to container */
}
2011-11-08 17:40:44 +01:00
.dijitTabContainerBottom-container,
.dijitTabContainerTop-container,
.dijitTabContainerLeft-container,
.dijitTabContainerRight-container {
z-index:0;
overflow: hidden;
border: 1px solid black;
}
.nowrapTabStrip {
width: 50000px;
display: block;
position: relative;
2012-08-14 16:59:10 +02:00
text-align: left; /* just in case ancestor has non-standard setting */
}
.dijitTabListWrapper {
overflow: hidden;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .tabStripButton img {
2011-11-08 17:40:44 +01:00
/* hide the icons (or rather the empty space where they normally appear) because text will appear instead */
display: none;
}
2011-11-08 17:40:44 +01:00
.dijitTabContainerTop-tabs {
border-bottom: 1px solid black;
}
.dijitTabContainerTop-container {
2011-11-08 17:40:44 +01:00
border-top: 0;
}
2011-11-08 17:40:44 +01:00
.dijitTabContainerLeft-tabs {
border-right: 1px solid black;
float: left;
}
.dijitTabContainerLeft-container {
2011-11-08 17:40:44 +01:00
border-left: 0;
}
2011-11-08 17:40:44 +01:00
.dijitTabContainerBottom-tabs {
border-top: 1px solid black;
}
.dijitTabContainerBottom-container {
2011-11-08 17:40:44 +01:00
border-bottom: 0;
}
2011-11-08 17:40:44 +01:00
.dijitTabContainerRight-tabs {
border-left: 1px solid black;
float: left;
}
.dijitTabContainerRight-container {
2011-11-08 17:40:44 +01:00
border-right: 0;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
div.dijitTabDisabled, .dj_ie div.dijitTabDisabled {
cursor: auto;
}
2011-11-08 17:40:44 +01:00
.dijitTab {
position:relative;
cursor:pointer;
white-space:nowrap;
z-index:3;
}
.dijitTab * {
2011-11-08 17:40:44 +01:00
/* make tab icons and close icon line up w/text */
vertical-align: middle;
}
.dijitTabChecked {
2011-11-08 17:40:44 +01:00
cursor: default; /* because clicking will have no effect */
}
2011-11-08 17:40:44 +01:00
.dijitTabContainerTop-tabs .dijitTab {
2011-11-08 17:40:44 +01:00
top: 1px; /* to overlap border on .dijitTabContainerTop-tabs */
}
.dijitTabContainerBottom-tabs .dijitTab {
2011-11-08 17:40:44 +01:00
top: -1px; /* to overlap border on .dijitTabContainerBottom-tabs */
}
.dijitTabContainerLeft-tabs .dijitTab {
2011-11-08 17:40:44 +01:00
left: 1px; /* to overlap border on .dijitTabContainerLeft-tabs */
}
.dijitTabContainerRight-tabs .dijitTab {
2011-11-08 17:40:44 +01:00
left: -1px; /* to overlap border on .dijitTabContainerRight-tabs */
}
2011-11-08 17:40:44 +01:00
.dijitTabContainerTop-tabs .dijitTab,
.dijitTabContainerBottom-tabs .dijitTab {
2011-11-08 17:40:44 +01:00
/* Inline-block */
display:inline-block; /* webkit and FF3 */
#zoom: 1; /* set hasLayout:true to mimic inline-block */
#display:inline; /* don't use .dj_ie since that increases the priority */
}
2011-11-08 17:40:44 +01:00
.dijitTabInnerDiv {
position:relative;
}
2011-11-08 17:40:44 +01:00
.tabStripButton {
z-index: 12;
}
2011-11-08 17:40:44 +01:00
.dijitTabButtonDisabled .tabStripButton {
display: none;
}
2011-11-08 17:40:44 +01:00
.dijitTabCloseButton {
margin-left: 1em;
}
2011-11-08 17:40:44 +01:00
.dijitTabCloseText {
display:none;
}
2011-11-08 17:40:44 +01:00
.dijitTab .tabLabel {
/* make sure tabs w/close button and w/out close button are same height, even w/small (<15px) font.
* assumes <=15px height for close button icon.
*/
min-height: 15px;
display: inline-block;
}
.dijitNoIcon {
/* applied to <img>/<span> node when there is no icon specified */
display: none;
}
.dj_ie6 .dijitTab .dijitNoIcon {
/* because min-height (on .tabLabel, above) doesn't work on IE6 */
display: inline;
height: 15px;
width: 1px;
}
/* images off, high-contrast mode styles */
.dijit_a11y .dijitTabCloseButton {
background-image: none !important;
width: auto !important;
height: auto !important;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitTabCloseText {
display: inline;
}
2011-11-08 17:40:44 +01:00
.dijitTabPane,
.dijitStackContainer-child,
.dijitAccordionContainer-child {
2011-11-08 17:40:44 +01:00
/* children of TabContainer, StackContainer, and AccordionContainer shouldn't have borders
* b/c a border is already there from the TabContainer/StackContainer/AccordionContainer itself.
*/
border: none !important;
}
2011-11-08 17:40:44 +01:00
/* InlineEditBox */
.dijitInlineEditBoxDisplayMode {
2011-11-08 17:40:44 +01:00
border: 1px solid transparent; /* so keyline (border) on hover can appear without screen jump */
cursor: text;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitInlineEditBoxDisplayMode,
.dj_ie6 .dijitInlineEditBoxDisplayMode {
2011-11-08 17:40:44 +01:00
/* except that IE6 doesn't support transparent borders, nor does high contrast mode */
border: none;
}
2011-11-08 17:40:44 +01:00
.dijitInlineEditBoxDisplayModeHover,
.dijit_a11y .dijitInlineEditBoxDisplayModeHover,
.dj_ie6 .dijitInlineEditBoxDisplayModeHover {
2011-11-08 17:40:44 +01:00
/* An InlineEditBox in view mode (click this to edit the text) */
background-color: #e2ebf2;
border: solid 1px black;
}
2011-11-08 17:40:44 +01:00
.dijitInlineEditBoxDisplayModeDisabled {
cursor: default;
}
2011-11-08 17:40:44 +01:00
/* Tree */
.dijitTree {
overflow: auto; /* for scrollbars when Tree has a height setting, and to prevent wrapping around float elements, see #11491 */
}
.dijitTreeIndent {
2011-11-08 17:40:44 +01:00
/* amount to indent each tree node (relative to parent node) */
width: 19px;
}
2011-11-08 17:40:44 +01:00
.dijitTreeRow, .dijitTreeContent {
white-space: nowrap;
}
2011-11-08 17:40:44 +01:00
.dijitTreeRow img {
2011-11-08 17:40:44 +01:00
/* make the expando and folder icons line up with the label */
vertical-align: middle;
}
2011-11-08 17:40:44 +01:00
.dijitTreeContent {
cursor: default;
}
2011-11-08 17:40:44 +01:00
.dijitExpandoText {
display: none;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitExpandoText {
display: inline;
padding-left: 10px;
padding-right: 10px;
font-family: monospace;
border-style: solid;
border-width: thin;
cursor: pointer;
}
2011-11-08 17:40:44 +01:00
.dijitTreeLabel {
2011-11-08 17:40:44 +01:00
margin: 0 4px;
}
2011-11-08 17:40:44 +01:00
/* Dialog */
.dijitDialog {
position: absolute;
z-index: 999;
2011-11-08 17:40:44 +01:00
overflow: hidden; /* override overflow: auto; from ContentPane to make dragging smoother */
}
2011-11-08 17:40:44 +01:00
.dijitDialogTitleBar {
cursor: move;
}
.dijitDialogFixed .dijitDialogTitleBar {
cursor:default;
}
.dijitDialogCloseIcon {
cursor: pointer;
}
.dijitDialogUnderlayWrapper {
position: absolute;
left: 0;
top: 0;
z-index: 998;
display: none;
background: transparent !important;
}
2011-11-08 17:40:44 +01:00
.dijitDialogUnderlay {
background: #eee;
opacity: 0.5;
}
2011-11-08 17:40:44 +01:00
.dj_ie .dijitDialogUnderlay {
filter: alpha(opacity=50);
}
2011-11-08 17:40:44 +01:00
/* images off, high-contrast mode styles */
.dijit_a11y .dijitSpinnerButtonContainer,
.dijit_a11y .dijitDialog {
opacity: 1 !important;
background-color: white !important;
}
2011-11-08 17:40:44 +01:00
.dijitDialog .closeText {
display:none;
2011-11-08 17:40:44 +01:00
/* for the onhover border in high contrast on IE: */
position:absolute;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitDialog .closeText {
display:inline;
}
2011-11-08 17:40:44 +01:00
/* Slider */
.dijitSliderMoveable {
z-index:99;
position:absolute !important;
display:block;
vertical-align:middle;
}
2011-11-08 17:40:44 +01:00
.dijitSliderMoveableH {
right:0;
}
.dijitSliderMoveableV {
right:50%;
}
2011-11-08 17:40:44 +01:00
2012-08-14 16:59:10 +02:00
.dijit_a11y div.dijitSliderImageHandle,
.dijitSliderImageHandle {
margin:0;
padding:0;
position:relative !important;
border:8px solid gray;
width:0;
height:0;
cursor: pointer;
}
.dj_iequirks .dijit_a11y .dijitSliderImageHandle {
font-size: 0;
}
.dj_ie7 .dijitSliderImageHandle {
2011-11-08 17:40:44 +01:00
overflow: hidden; /* IE7 workaround to make slider handle VISIBLE in non-a11y mode */
}
.dj_ie7 .dijit_a11y .dijitSliderImageHandle {
2011-11-08 17:40:44 +01:00
overflow: visible; /* IE7 workaround to make slider handle VISIBLE in a11y mode */
}
.dijit_a11y .dijitSliderFocused .dijitSliderImageHandle {
border:4px solid #000;
height:8px;
width:8px;
}
2011-11-08 17:40:44 +01:00
.dijitSliderImageHandleV {
top:-8px;
right: -50%;
}
2011-11-08 17:40:44 +01:00
.dijitSliderImageHandleH {
left:50%;
top:-5px;
vertical-align:top;
}
2011-11-08 17:40:44 +01:00
.dijitSliderBar {
border-style:solid;
border-color:black;
cursor: pointer;
}
2011-11-08 17:40:44 +01:00
.dijitSliderBarContainerV {
position:relative;
height:100%;
z-index:1;
}
2011-11-08 17:40:44 +01:00
.dijitSliderBarContainerH {
position:relative;
z-index:1;
}
2011-11-08 17:40:44 +01:00
.dijitSliderBarH {
height:4px;
border-width:1px 0;
}
2011-11-08 17:40:44 +01:00
.dijitSliderBarV {
width:4px;
border-width:0 1px;
}
2011-11-08 17:40:44 +01:00
.dijitSliderProgressBar {
background-color:red;
z-index:1;
}
2011-11-08 17:40:44 +01:00
.dijitSliderProgressBarV {
position:static !important;
2011-11-08 17:40:44 +01:00
height:0;
vertical-align:top;
text-align:left;
}
2011-11-08 17:40:44 +01:00
.dijitSliderProgressBarH {
position:absolute !important;
2011-11-08 17:40:44 +01:00
width:0;
vertical-align:middle;
overflow:visible;
}
2011-11-08 17:40:44 +01:00
.dijitSliderRemainingBar {
overflow:hidden;
background-color:transparent;
z-index:1;
}
2011-11-08 17:40:44 +01:00
.dijitSliderRemainingBarV {
height:100%;
text-align:left;
}
2011-11-08 17:40:44 +01:00
.dijitSliderRemainingBarH {
width:100% !important;
}
2011-11-08 17:40:44 +01:00
/* the slider bumper is the space consumed by the slider handle when it hangs over an edge */
.dijitSliderBumper {
overflow:hidden;
z-index:1;
}
2011-11-08 17:40:44 +01:00
.dijitSliderBumperV {
width:4px;
height:8px;
border-width:0 1px;
}
2011-11-08 17:40:44 +01:00
.dijitSliderBumperH {
width:8px;
height:4px;
border-width:1px 0;
}
2011-11-08 17:40:44 +01:00
.dijitSliderBottomBumper,
.dijitSliderLeftBumper {
background-color:red;
}
2011-11-08 17:40:44 +01:00
.dijitSliderTopBumper,
.dijitSliderRightBumper {
background-color:transparent;
}
2011-11-08 17:40:44 +01:00
.dijitSliderDecoration {
text-align:center;
}
2011-11-08 17:40:44 +01:00
.dijitSliderDecorationC,
.dijitSliderDecorationV {
position: relative; /* needed for IE+quirks+RTL+vertical (rendering bug) but add everywhere for custom styling consistency but this messes up IE horizontal sliders */
}
2011-11-08 17:40:44 +01:00
.dijitSliderDecorationH {
width: 100%;
}
2011-11-08 17:40:44 +01:00
.dijitSliderDecorationV {
height: 100%;
}
2011-11-08 17:40:44 +01:00
.dijitSliderButton {
font-family:monospace;
margin:0;
padding:0;
display:block;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitSliderButtonInner {
visibility:visible !important;
}
2011-11-08 17:40:44 +01:00
.dijitSliderButtonContainer {
text-align:center;
2011-11-08 17:40:44 +01:00
height:0; /* ??? */
}
.dijitSliderButtonContainer * {
cursor: pointer;
}
2011-11-08 17:40:44 +01:00
.dijitSlider .dijitButtonNode {
padding:0;
display:block;
}
2011-11-08 17:40:44 +01:00
.dijitRuleContainer {
position:relative;
overflow:visible;
}
2011-11-08 17:40:44 +01:00
.dijitRuleContainerV {
height:100%;
line-height:0;
float:left;
text-align:left;
}
2011-11-08 17:40:44 +01:00
.dj_opera .dijitRuleContainerV {
line-height:2%;
}
2011-11-08 17:40:44 +01:00
.dj_ie .dijitRuleContainerV {
line-height:normal;
}
2011-11-08 17:40:44 +01:00
.dj_gecko .dijitRuleContainerV {
2011-11-08 17:40:44 +01:00
margin:0 0 1px 0; /* mozilla bug workaround for float:left,height:100% block elements */
}
2011-11-08 17:40:44 +01:00
.dijitRuleMark {
position:absolute;
border:1px solid black;
line-height:0;
height:100%;
}
2011-11-08 17:40:44 +01:00
.dijitRuleMarkH {
width:0;
border-top-width:0 !important;
border-bottom-width:0 !important;
border-left-width:0 !important;
}
2011-11-08 17:40:44 +01:00
.dijitRuleLabelContainer {
position:absolute;
}
2011-11-08 17:40:44 +01:00
.dijitRuleLabelContainerH {
text-align:center;
display:inline-block;
}
2011-11-08 17:40:44 +01:00
.dijitRuleLabelH {
position:relative;
left:-50%;
}
2011-11-08 17:40:44 +01:00
.dijitRuleLabelV {
2011-11-08 17:40:44 +01:00
/* so that long labels don't overflow to multiple rows, or overwrite slider itself */
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
2011-11-08 17:40:44 +01:00
.dijitRuleMarkV {
height:0;
border-right-width:0 !important;
border-bottom-width:0 !important;
border-left-width:0 !important;
width:100%;
left:0;
}
2011-11-08 17:40:44 +01:00
.dj_ie .dijitRuleLabelContainerV {
margin-top:-.55em;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitSliderReadOnly,
.dijit_a11y .dijitSliderDisabled {
opacity:0.6;
}
.dj_ie .dijit_a11y .dijitSliderReadOnly .dijitSliderBar,
.dj_ie .dijit_a11y .dijitSliderDisabled .dijitSliderBar {
filter: alpha(opacity=40);
}
2011-11-08 17:40:44 +01:00
/* + and - Slider buttons: override theme settings to display icons */
2012-08-14 16:59:10 +02:00
.dijit_a11y .dijitSlider .dijitSliderButtonContainer div {
2011-11-08 17:40:44 +01:00
font-family: monospace; /* otherwise hyphen is larger and more vertically centered */
font-size: 1em;
line-height: 1em;
height: auto;
width: auto;
2011-11-08 17:40:44 +01:00
margin: 0 4px;
}
2011-11-08 17:40:44 +01:00
/* Icon-only buttons (often in toolbars) still display the text in high-contrast mode */
.dijit_a11y .dijitButtonContents .dijitButtonText,
.dijit_a11y .dijitTab .tabLabel {
display: inline !important;
}
2011-11-08 17:40:44 +01:00
/* TextArea, SimpleTextArea */
.dijitTextArea {
width:100%;
2011-11-08 17:40:44 +01:00
overflow-y: auto; /* w/out this IE's SimpleTextArea goes to overflow: scroll */
}
.dijitTextArea[cols] {
2011-11-08 17:40:44 +01:00
width:auto; /* SimpleTextArea cols */
}
.dj_ie .dijitTextAreaCols {
width:auto;
}
2011-11-08 17:40:44 +01:00
.dijitExpandingTextArea {
/* for auto exanding textarea (called Textarea currently, rename for 2.0) don't want to display the grip to resize */
resize: none;
}
/* Toolbar
* Note that other toolbar rules (for objects in toolbars) are scattered throughout this file.
*/
.dijitToolbarSeparator {
height: 18px;
width: 5px;
padding: 0 1px;
margin: 0;
}
2011-11-08 17:40:44 +01:00
/* Editor */
.dijitIEFixedToolbar {
position:absolute;
2011-11-08 17:40:44 +01:00
/* top:0; */
top: expression(eval((document.documentElement||document.body).scrollTop));
}
2011-11-08 17:40:44 +01:00
.dijitEditor {
2011-11-08 17:40:44 +01:00
display: block; /* prevents glitch on FF with InlineEditBox, see #8404 */
}
2011-11-08 17:40:44 +01:00
.dijitEditorDisabled,
.dijitEditorReadOnly {
color: gray;
}
2011-11-08 17:40:44 +01:00
/* TimePicker */
.dijitTimePickerItemInner {
text-align:center;
border:0;
padding:2px 8px 2px 8px;
}
2011-11-08 17:40:44 +01:00
.dijitTimePickerTick,
.dijitTimePickerMarker {
border-bottom:1px solid gray;
}
2011-11-08 17:40:44 +01:00
.dijitTimePicker .dijitDownArrowButton {
border-top: none !important;
}
2011-11-08 17:40:44 +01:00
.dijitTimePickerTick {
color:#CCC;
}
2011-11-08 17:40:44 +01:00
.dijitTimePickerMarker {
color:black;
background-color:#CCC;
}
2011-11-08 17:40:44 +01:00
.dijitTimePickerItemSelected {
font-weight:bold;
color:#333;
background-color:#b7cdee;
}
2011-11-08 17:40:44 +01:00
.dijitTimePickerItemHover {
background-color:gray;
color:white;
cursor:pointer;
}
.dijit_a11y .dijitTimePickerItemSelected .dijitTimePickerItemInner {
border: solid 4px black;
}
.dijit_a11y .dijitTimePickerItemHover .dijitTimePickerItemInner {
border: dashed 4px black;
}
2011-11-08 17:40:44 +01:00
.dijitToggleButtonIconChar {
2011-11-08 17:40:44 +01:00
/* character (instead of icon) to show that ToggleButton is checked */
display:none !important;
}
.dijit_a11y .dijitToggleButton .dijitToggleButtonIconChar {
display:inline !important;
visibility:hidden;
}
.dj_ie6 .dijitToggleButtonIconChar, .dj_ie6 .tabStripButton .dijitButtonText {
2011-11-08 17:40:44 +01:00
font-family: "Arial Unicode MS"; /* otherwise the a11y character (checkmark, arrow, etc.) appears as a box */
}
.dijit_a11y .dijitToggleButtonChecked .dijitToggleButtonIconChar {
2011-11-08 17:40:44 +01:00
display: inline !important; /* In high contrast mode, display the check symbol */
visibility:visible !important;
}
2011-11-08 17:40:44 +01:00
.dijitArrowButtonChar {
display:none !important;
}
.dijit_a11y .dijitArrowButtonChar {
display:inline !important;
}
2011-11-08 17:40:44 +01:00
.dijit_a11y .dijitDropDownButton .dijitArrowButtonInner,
.dijit_a11y .dijitComboButton .dijitArrowButtonInner {
display:none !important;
}
2011-11-08 17:40:44 +01:00
/* Select */
.dijitSelect {
margin: 0.2em;
border-collapse: collapse;
}
.dj_ie .dijitSelect,
.dj_ie7 .dijitSelect,
.dj_iequirks .dijitSelect {
2011-11-08 17:40:44 +01:00
vertical-align: middle; /* Set this back for what we hack in dijit inline */
}
.dj_ie8 .dijitSelect .dijitButtonText {
vertical-align: top;
}
.dijitToolbar .dijitSelect {
margin: 0;
}
.dj_webkit .dijitToolbar .dijitSelect {
padding-left: 0.3em;
}
.dijit_a11y .dijitSelectDisabled .dijitButtonNode {
border-style: outset!important;
border-width: medium!important;
border-color: #999 !important;
color:#999 !important;
}
.dijitSelect .dijitButtonContents {
2011-11-08 17:40:44 +01:00
padding: 0;
background: transparent none;
white-space: nowrap;
text-align: left;
}
.dijitSelectFixedWidth .dijitButtonContents {
width: 100%;
}
2011-11-08 17:40:44 +01:00
.dijitSelectMenu .dijitMenuItemIcon {
2011-11-08 17:40:44 +01:00
/* avoid blank area in left side of menu (since we have no icons) */
display:none;
}
.dj_ie6 .dijitSelectMenu .dijitMenuItemLabel,
.dj_ie7 .dijitSelectMenu .dijitMenuItemLabel {
2011-11-08 17:40:44 +01:00
/* Set back to static due to bug in ie6/ie7 - See Bug #9651 */
position: static;
}
2011-11-08 17:40:44 +01:00
/* Fix the baseline of our label (for multi-size font elements) */
.dijitSelectLabel *
{
vertical-align: baseline;
}
2011-11-08 17:40:44 +01:00
/* Styling for the currently-selected option (rich text can mess this up) */
.dijitSelectSelectedOption * {
font-weight: bold;
}
2011-11-08 17:40:44 +01:00
/* Fix the styling of the dropdown menu to be more combobox-like */
.dijitSelectMenu {
border-width: 1px;
}
2011-11-08 17:40:44 +01:00
/* Style the different areas of the button to look like a "real" dropdown */
/* Remove margins on the sub-table */
.dijitSelectMenu .dijitMenuTable {
2011-11-08 17:40:44 +01:00
margin: 0;
background-color: transparent;
}
2011-11-08 17:40:44 +01:00
/* Used in cases, such as FullScreen plugin, when we need to force stuff to static positioning. */
.dijitForceStatic {
position: static !important;
}
2011-11-08 17:40:44 +01:00
/**** Disabled cursor *****/
.dijitReadOnly *,
.dijitDisabled *,
.dijitReadOnly,
.dijitDisabled {
2011-11-08 17:40:44 +01:00
/* a region the user would be able to click on, but it's disabled */
cursor: default;
}