Changeset 349 for Dev/branches/rest-dojo-ui/client/rft/css
- Timestamp:
- 06/29/12 19:56:22 (13 years ago)
- Location:
- Dev/branches/rest-dojo-ui/client/rft/css
- Files:
-
- 3 added
- 2 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/css/layout.css
r346 r349 275 275 width: 100px !important; 276 276 } 277 278 279 /* Question editor/Survey Advanced editor */ 280 .claro .QuestionEditor .PreviewWindow { 281 /* Nothing yet, put preview window styling options here after we've decided on a format to follow! */ 282 } 283 284 .claro .dijitAccordionContainer { 285 /* No styling for now, use this for margins and other layout-related business. This class does not affect the look of the AccordionContainer currently! */ 286 } 287 .claro .dijitAccordionInnerContainer { 288 /* This contains a title and a childWrapper. The two of these make up one "item" in the Accordion element */ 289 border: none; 290 border-color: #333333; 291 background-color: #0072bc; 292 margin-bottom: 0; 293 } 294 .claro .dijitAccordionInnerContainer { 295 background-color: transparent; 296 } 297 .claro .dijitAccordionTitle, .claro .dijitAccordionTitleSelected { 298 background-color: #0072bc; 299 background-image: none; 300 color: #ffffff; 301 } 302 .claro .dijitAccordionTitle .rftIcon { 303 width: 16px; 304 height: 16px; 305 background-image: url('images/icons/rftIcons16b.png'); 306 margin: 0 4px 2px 0; 307 } 308 .claro .dijitAccordionTitleSelected .rftIcon { 309 background-image: url('images/icons/rftIcons16.png'); 310 } 311 .claro .dijitAccordionContainer.blue .dijitAccordionTitle, .claro .dijitAccordionContainer.blue .dijitAccordionTitleSelected { 312 background-color: #0072bc; 313 } 314 .claro .dijitAccordionContainer.blue .dijitAccordionTitleHover { 315 background-color: #0794d1; 316 } 317 .claro .dijitAccordionContainer.orange .dijitAccordionTitle, .claro .dijitAccordionContainer.orange .dijitAccordionTitleSelected { 318 background-color: #ff5b12; 319 } 320 .claro .dijitAccordionContainer.orange .dijitAccordionTitleHover { 321 background-color: #ff9140; 322 } 323 .claro .dijitAccordionText { 324 color: #ffffff; 325 } 326 .claro .dijitAccordionContainer .dijitAccordionChildWrapper { 327 background-color: #444444; 328 border: none !important; 329 padding: 0; 330 margin: 0; 331 } 332 .claro .dijitAccordionContainer .dijitAccordionInnerContainerSelectedHover .dijitAccordionChildWrapper, 333 .claro .dijitAccordionContainer .dijitAccordionInnerContainerSelectedActive .dijitAccordionChildWrapper { 334 border: none; 335 box-shadow: none; 336 -moz-box-shadow: none; 337 -webkit-box-shadow: none; 338 /* Override the box shadow and offset on hover */ 339 } 340 341 342 /* THIS IS AN EXPERIMENT ! 343 * This will allow to set one top colour, then all the "objectBgColor" or "objectHlColor" objects below it will inherit that colour, and apply it to the relevant CSS property. 344 * Not applying these classes to an object will make it bypass the background settings. 345 */ 346 347 .claro div.blue.objectBgColor, 348 .claro .blue .objectBgColor { 349 background-color: #0072bc; 350 } 351 .claro div.lblue.objectBgColor, 352 .claro .lblue .objectBgColor { 353 background-color: #0794d1; 354 } 355 .claro div.orange.objectBgColor, 356 .claro .orange .objectBgColor { 357 background-color: #ff5b12; 358 } 359 .claro div.lorange.objectBgColor, 360 .claro .lorange .objectBgColor { 361 background-color: #ff9140; 362 } 363 .claro div.green.objectBgColor, 364 .claro .green .objectBgColor { 365 background-color: #3aa605; 366 } 367 .claro div.lgreen.objectBgColor, 368 .claro .lgreen .objectBgColor { 369 background-color: #79ca0a; 370 } 371 .claro div.purple.objectBgColor, 372 .claro .purple .objectBgColor { 373 background-color: #6529b7; 374 } 375 .claro div.lpurple.objectBgColor, 376 .claro .lpurple .objectBgColor { 377 background-color: #993dec; 378 } 379 .claro div.red.objectBgColor, 380 .claro .red .objectBgColor { 381 background-color: #8c0310; 382 } 383 .claro div.lred.objectBgColor, 384 .claro .lred .objectBgColor { 385 background-color: #bd0013; 386 } 387 /* TODO: Apply these classes to display elements that need to inherit the interface's object colour! 388 Remove/disable other references to these colours from files like rftButtons, rftLineWithButtons, etc to make sure it works properly. 389 Put these settings in a separate "colours.css" file to separate the concern of styling these objects from other layout-oriented properties. 390 When we add things like highlightColours, borders, etc, the list could become quite long, especially if more colours are added to the colour scheme in time. 391 */ 392 393 394 395 396 397 /* Dropdown menu on MenuBar*/ 398 .claro .dijitMenuPopup { 399 400 } 401 .claro .dijitMenuPopup .dijitMenu { 402 border: none; 403 background-color: #333333; 404 background-image: none; 405 color: #999999; 406 } 407 .claro .dijitMenuPopup .dijitMenu .dijitMenuItem { 408 color: #999999; 409 background-image: none; 410 background-color: transparent; 411 } 412 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover.blue, 413 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected.blue { 414 background-color: #0072bc; 415 } 416 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover.orange, 417 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected.orange { 418 background-color: #ff5b12; 419 } 420 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover.purple, 421 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected.purple { 422 background-color: #6529b7; 423 } 424 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover.green, 425 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected.green { 426 background-color: #3aa605; 427 } 428 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover.red, 429 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected.red { 430 background-color: #8c0310; 431 } 432 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover .dijitMenuItemLabel, 433 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemActive .dijitMenuItemLabel, 434 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected .dijitMenuItemLabel { 435 color: #ffffff; 436 } 437 .claro .dijitMenuPopup .dijitMenu .dijitMenuItem .rftIcon { 438 height: 16px; 439 width: 16px; 440 margin: 0; 441 margin-right: 4px; 442 background-image: url('images/icons/rftIcons16.png'); 443 } 444 .claro .dijitMenuPopup .dijitMenu .dijitMenuItemActive .rftIcon { 445 background-image: url('images/icons/rftIcons16b.png'); 446 } -
Dev/branches/rest-dojo-ui/client/rft/css/rftButtons.css
r346 r349 22 22 background-image: url('images/icons/rftIcons24.png'); 23 23 } 24 .claro .rftLargeButton.black .rftIcon { 25 background-image: url('images/icons/rftIcons24b.png'); 26 } 24 27 .claro .rftLargeButton .dijitButtonText { 25 28 line-height: 24px; … … 66 69 width: 16px !important; 67 70 background-image: url('images/icons/rftIcons16.png') !important; 68 margin-right: 4px !important; 71 } 72 .claro .rftBlockButton .rftIcon.black { 73 background-image: url('images/icons/rftIcons16b.png') !important; 69 74 } 70 75 .claro .rftBlockButton.rftBlockButtonHover .rftIcon { 71 background-image: url('images/icons/rftIcons16b lack.png') !important;76 background-image: url('images/icons/rftIcons16b.png') !important; 72 77 } 73 78 .claro .rftBlockButton.rftBlockButtonHover .dijitButtonNode { … … 145 150 } 146 151 .claro .rftInlineButton.black .rftIcon { 147 background-image: url('images/icons/rftIcons16black.png'); 152 background-image: url('images/icons/rftIcons16b.png'); 153 } 154 .claro .rftInlineButton .rftIcon.black { 155 background-image: url('images/icons/rftIcons16b.png'); 156 } 157 .claro .rftInlineButton .rftIcon.white { 158 background-image: url('images/icons/rftIcons16.png'); 148 159 } 149 160 .claro .rftInlineButton.rftInlineButtonHover .rftIcon { -
Dev/branches/rest-dojo-ui/client/rft/css/rftIcons.css
r344 r349 1 /*1 \/* 2 2 The icon's parent element class decides the icon size and url. (.rftLargeButton .rftIcon / .rftInlineButton .rftIcon, for example) 3 3 The icon gets two classes: .rftIcon (which sets general spacing/positioning, etc), … … 25 25 Also, if possible put common/shared icons at the start of the list to prevent excessively large spritesheets. 26 26 */ 27 28 /* Types */ 27 29 .rftIconApplication { 28 30 background-position: 0px 0px; … … 64 66 background-position: -384px 0px; 65 67 } 68 /* Actions */ 66 69 .rftIconAccept { 67 70 background-position: -416px 0px; … … 97 100 background-position: -736px 0px; 98 101 } 99 .rftIcon Settings {102 .rftIconProperties { 100 103 background-position: -768px 0px; 101 104 } … … 121 124 background-position: -992px 0px; 122 125 } 123 .rftIcon FullArrowUp{126 .rftIconTag { 124 127 background-position: -1024px 0px; 125 128 } 126 .rftIcon FullArrowDown{129 .rftIconImage { 127 130 background-position: -1056px 0px; 128 131 } 129 .rftIcon FullArrowLeft {132 .rftIconEdit { 130 133 background-position: -1088px 0px; 131 134 } 132 .rftIcon FullArrowRight{135 .rftIconLock { 133 136 background-position: -1120px 0px; 134 137 } 135 .rftIcon HalfArrowUp{138 .rftIconUnlock { 136 139 background-position: -1152px 0px; 137 140 } 138 .rftIcon HalfArrowDown{141 .rftIconPreset { 139 142 background-position: -1184px 0px; 140 143 } 141 .rftIcon HalfArrowLeft{144 .rftIconTextBlock { 142 145 background-position: -1216px 0px; 143 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 } 144 182 .rftIconHalfArrowRight { 145 background-position: -1 248px 0px;183 background-position: -1920px 0px; 146 184 } 147 185 -
Dev/branches/rest-dojo-ui/client/rft/css/rftLineWithButtons.css
r344 r349 44 44 } 45 45 .claro div.orange.rftLineWithButtons, 46 .claro .orange .ftLineWithButtons {46 .claro *.orange .rftLineWithButtons { 47 47 background-color: #ff5b12; 48 48 color: #ffffff;
Note: See TracChangeset
for help on using the changeset viewer.