source: Dev/branches/rest-dojo-ui/client/rft/css/rftIcons.css @ 355

Last change on this file since 355 was 351, checked in by hendrikvanantwerpen, 13 years ago

Apache DB proxy setup included.

File size: 3.9 KB
Line 
1/* 
2    The icon's parent element class decides the icon size and url. (.rftLargeButton .rftIcon / .rftInlineButton .rftIcon, for example)
3    The icon gets two classes: .rftIcon (which sets general spacing/positioning, etc),
4    and an icon identifier such as .rftIconAccept (Which sets the background offset.
5*/
6.rftIcon {
7    display: inline-block;
8    margin: 0;
9    padding: 0;
10    border: none;
11    background-color: transparent;
12    background-repeat: no-repeat;
13}
14
15/* Settings for different icon sizes and contexts */
16.rftIcon.rftMainIcon {
17    float: left;
18    width: 32px;
19    height: 32px;
20    background-image: url('images/icons/rftIcons32.png');
21}
22
23/*  Specific icon indices
24    If extra icons are added to the spritesheets, make sure that shared icons retain the same index!
25    Also, if possible put common/shared icons at the start of the list to prevent excessively large spritesheets.
26*/
27
28/* Types */
29.rftIconApplication {
30    background-position: 0px 0px;
31}
32.rftIconDashboard {
33    background-position: -32px 0px;
34}
35.rftIconSession {
36    background-position: -64px 0px;
37}
38.rftIconSessionActive {
39    background-position: -96px 0px;
40}
41.rftIconSessionTemplate {
42    background-position: -128px 0px;
43}
44.rftIconSurvey {
45    background-position: -160px 0px;
46}
47.rftIconQuestion {
48    background-position: -192px 0px;
49}
50.rftIconQuestionFill {
51    background-position: -224px 0px;
52}
53.rftIconRespondent {
54    background-position: -256px 0px;
55}
56.rftIconAnswer {
57    background-position: -288px 0px;
58}
59.rftIconAnswerSet {
60    background-position: -320px 0px;
61}
62.rftIconGameData {
63    background-position: -352px 0px;
64}
65.rftIconUser {
66    background-position: -384px 0px;
67}
68/* Actions */
69.rftIconAccept {
70    background-position: -416px 0px;
71}
72.rftIconCancel {
73    background-position: -448px 0px;
74}
75.rftIconPlus {
76    background-position: -480px 0px;
77}
78.rftIconMinus {
79    background-position: -512px 0px;
80}
81.rftIconIncrease {
82    background-position: -544px 0px;
83}
84.rftIconDecrease {
85    background-position: -576px 0px;
86}
87.rftIconDelete {
88    background-position: -608px 0px;
89}
90.rftIconHome {
91    background-position: -640px 0px;
92}
93.rftIconPreview {
94    background-position: -672px 0px;
95}
96.rftIconSave {
97    background-position: -704px 0px;
98}
99.rftIconDiscard {
100    background-position: -736px 0px;
101}
102.rftIconProperties {
103    background-position: -768px 0px;
104}
105.rftIconUndo {
106    background-position: -800px 0px;
107}
108.rftIconRedo {
109    background-position: -832px 0px;
110}
111.rftIconBack {
112    background-position: -864px 0px;
113}
114.rftIconForward {
115    background-position: -896px 0px;
116}
117.rftIconRefresh {
118    background-position: -928px 0px;
119}
120.rftIconHelp {
121    background-position: -960px 0px;
122}
123.rftIconInspect {
124    background-position: -992px 0px;
125}
126.rftIconTag {
127    background-position: -1024px 0px;
128}
129.rftIconImage {
130    background-position: -1056px 0px;
131}
132.rftIconEdit {
133    background-position: -1088px 0px;
134}
135.rftIconLock {
136    background-position: -1120px 0px;
137}
138.rftIconUnlock {
139    background-position: -1152px 0px;
140}
141.rftIconPreset {
142    background-position: -1184px 0px;
143}
144.rftIconTextBlock {
145    background-position: -1216px 0px;
146}
147.rftIconPageBreak {
148    background-position: -1248px 0px;
149}
150.rftIconExternal {
151    background-position: -1280px 0px;
152}
153.rftIconInput {
154    background-position: -1312px 0px;
155}
156.rftIconPublish {
157    background-position: -1344px 0px;
158}
159
160/* Arrows */
161.rftIconFullArrowUp {
162    background-position: -1696px 0px;
163}
164.rftIconFullArrowDown {
165    background-position: -1728px 0px;
166}
167.rftIconFullArrowLeft {
168    background-position: -1760px 0px;
169}
170.rftIconFullArrowRight {
171    background-position: -1792px 0px;
172}
173.rftIconHalfArrowUp {
174    background-position: -1824px 0px;
175}
176.rftIconHalfArrowDown {
177    background-position: -1856px 0px;
178}
179.rftIconHalfArrowLeft {
180    background-position: -1888px 0px;
181}
182.rftIconHalfArrowRight {
183    background-position: -1920px 0px;
184}
185
186
187/* TODO: rftIcons24.png and rftIcons16.png have icons that are 1px too wide!
188 * Fix this in the .psd and re-export!
189 */
Note: See TracBrowser for help on using the repository browser.