tt-rss/lib/dijit/themes/claro/Common.less
2011-11-08 20:40:44 +04:00

76 lines
2.3 KiB
Text

/* ========= Styling rules to affect widgets ========= */
@import "variables";
.claro .dijitPopup {
.box-shadow(0 1px 5px rgba(0,0,0,0.25));
}
.claro .dijitTooltipDialogPopup {
/* exception popups: do not use a shadow on these because they aren't rectangular */
.box-shadow(none);
}
/* The highlight is shown in the ComboBox menu. TODO: move to form/Common.less */
.claro .dijitComboBoxHighlightMatch {
background-color: @select-matchedtext-background-color;
}
.claro .dijitFocusedLabel {
/* for checkboxes or radio buttons, hatch border around the corresponding label, to indicate focus */
outline: 1px dotted @focus-outline-color;
}
.claro .dijitContentPaneLoading {
background:url('images/loadingAnimation.gif') no-repeat left center;
padding-left:25px;
}
/* .dijitContentPaneError icon renders in a dialog box with the error messsage when there is an error in a HREF url */
.claro .dijitContentPaneError {
background:url('../../icons/images/commonIconsObjActEnabled.png') no-repeat left center;
background-position: -496px;
padding-left:25px;
}
/* Drag and Drop */
.claro .dojoDndItemBefore,
.claro .dojoDndItemAfter{
border-top: 1px solid @dnd-dropseparator-color;
}
.claro .dojoDndItemOver {
cursor:pointer;
}
.claro table.dojoDndAvatar {
border: 1px solid @border-color;
border-collapse: collapse;
background-color: @dnd-avatar-background-color;
.box-shadow(0 1px 3px rgba(0, 0, 0, .25));
}
.claro .dojoDndAvatarHeader td {
height: 20px;
padding-left:21px;
}
.claro.dojoDndMove .dojoDndAvatarHeader, .claro.dojoDndCopy .dojoDndAvatarHeader {
background-image: url(images/dnd.png);
background-repeat: no-repeat;
background-position:2px -122px;
}
.claro .dojoDndAvatarItem td {
padding: 5px;
}
.claro.dojoDndMove .dojoDndAvatarHeader {
background-color: @dnd-avatar-header-background-color;
background-position:2px -103px;
}
.claro.dojoDndCopy .dojoDndAvatarHeader {
background-color: @dnd-avatar-header-background-color;
background-position:2px -68px;
}
.claro.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {
background-color: @dnd-avatar-candrop-header-background-color;
background-position:2px -33px;
}
.claro.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {
background-color: @dnd-avatar-candrop-header-background-color;
background-position:2px 2px;
}