-
Notifications
You must be signed in to change notification settings - Fork 14
/
Common.styl
86 lines (79 loc) · 2.61 KB
/
Common.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/* ========= 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;
}
/* Drag and Drop */
.claro .dojoDndItem {
border-color: rgba(0,0,0,0); // rgba() instead of none to prevent flash on hover fade-in
transition-duration: .25s;
transition-property: background-color, border-color;
}
.claro .dojoDndItemOver {
// Hovered item. Matches dijitTreeRowHover.
background-color:$hovered-background-color;
standard-gradient();
padding: 1px; // reduce from 2px in dijit.css
border:solid 1px $hovered-border-color;
color:$hovered-text-color;
}
.claro .dojoDndItemAnchor,
.claro .dojoDndItemSelected {
// Selected items(s). Matches dijitTreeRowSelected.
background-color:$selected-background-color;
standard-gradient();
padding: 1px; // reduce from 2px in dijit.css
border:solid 1px $selected-border-color;
color:$selected-text-color;
}
.claro .dojoDndItemBefore,
.claro .dojoDndItemAfter {
// line to indicate that user is dropping before/after this dojoDndItem
border-color: $dnd-dropseparator-color;
}
.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($image-dnd);
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;
}