-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdijitCss14to15.sed
67 lines (55 loc) · 2.79 KB
/
dijitCss14to15.sed
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
#!/bin/sed -f
# Sed script for migration of custom CSS files against dijit 1.4 to run against dijit 1.5
# Usage:
# $ for file in $(find . -name '*.css' -print)
# do
# sed -f dijitCss14to15.sed -i .bak $file
# done
# Spinner
s/.dijitSpinnerUpArrowHover .dijitUpArrowButton/.dijitSpinner .dijitUpArrowButtonHover/
s/.dijitSpinnerUpArrowActive .dijitUpArrowButton/.dijitSpinner .dijitUpArrowButtonActive/
s/.dijitSpinnerDownArrowHover .dijitDownArrowButton/.dijitSpinner .dijitDownArrowButtonHover/
s/.dijitSpinnerDownArrowActive .dijitDownArrowButton/.dijitSpinner .dijitDownArrowButtonActive/
# ComboButton
s/.dijitComboButtonHover .dijitButtonContents/.dijitComboButton .dijitButtonContentsHover/
s/.dijitComboButtonActive .dijitButtonContents/.dijitComboButton .dijitButtonContentsActive/
s/.dijitComboButtonDownArrowHover .dijitArrowButton/.dijitComboButton .dijitDownArrowButtonHover/
s/.dijitComboButtonDownArrowActive .dijitArrowButton/.dijitComboButton .dijitDownArrowButtonActive/
s/.dijitComboButtonDownArrowHover .dijitDownArrowButton/.dijitComboButton .dijitDownArrowButtonHover/
s/.dijitComboButtonDownArrowActive .dijitDownArrowButton/.dijitComboButton .dijitDownArrowButtonActive/
# Accordion
s/.dijitAccordionFocused/.dijitAccordionTitleFocused/
s/.dijitAccordionTitle-hover/.dijitAccordionTitleHover/
s/.dijitAccordionTitle-selected/.dijitAccordionTitleSelected/
# TabContainer
s/.dijitTabBtnDisabled/.dijitTabDisabled/
# TabContainer tab close button
s/.dijitTab .closeButton/.dijitTabCloseButton/
s/.dijitTabCloseButton-hover/.dijitTabCloseButtonHover/
s/.dijitTabCloseButtonHover .closeImage/.dijitTabCloseButtonHover/
s/.dijitTab .closeImage/.dijitTabCloseButton/
s/.dijitTab .closeText/.dijitTabCloseText/
s/.dijitTabCloseButtonHover .dijitClosable .closeImage/.dijitTabCloseButtonHover/
s/.dijitTab .dijitClosable .closeImage/.dijitTabCloseButton/
s/.dijitTab .dijitClosable .closeText/.dijitTabCloseText/
# TabContainer: left/right/menu buttons
s/.tabStripButton img/.dijitTabStripIcon/
s/.tabStripMenuButton img/.dijitTabStripMenuIcon/
s/.tabStripSlideButtonLeft img/.dijitTabStripSlideLeftIcon/
s/.tabStripSlideButtonRight img/.dijitTabStripSlideRightIcon/
s/.tabStripButton IMG/.dijitTabStripIcon/
s/.tabStripMenuButton IMG/.dijitTabStripMenuIcon/
s/.tabStripSlideButtonLeft IMG/.dijitTabStripSlideLeftIcon/
s/.tabStripSlideButtonRight IMG/.dijitTabStripSlideRightIcon/
# Dialog
s/.dijitDialogCloseIcon-hover/.dijitDialogCloseIconHover/
# Tree
s/.dijitTreeNodeHover/.dijitTreeRowHover/
s/.dijitTreeNodeSelected/.dijitTreeRowSelected/
# TitlePane
s/.dijitTitlePaneTitle-hover/.dijitTitlePaneTitleHover/
# InlineEditBox
s/.dijitInlineEditBoxDisplayMode-hover/.dijitInlineEditBoxDisplayModeHover/
s/.dijitInlineEditBoxDisplayMode-disabled/.dijitInlineEditBoxDisplayModeDisabled/
# Editor
s/.RichTextEditable/.dijitEditor/