You are here

asset_bonus.css in Asset 5.2

Same filename and directory in other branches
  1. 6 contrib/asset_bonus/asset_bonus.css
/* Farbtastic placement */
#asset-bonus-admin-mp3player{
  max-width: 50em;
  position: relative;
}
#placeholder {
  position: absolute;
  top: 0;
  right: 0;
}
#color-map {
  position: absolute;
  top: 200px;
  right: 0;
}
/* Palette */
.color-form .form-item {
  height: 2em;
  line-height: 2em;
  padding-left: 1em;
  margin: 0.5em 0;
}
.color-form label {
  float: left;
  clear: left;
  width: 10em;
}
.color-form .form-text, .color-form .form-select {
  float: left;
}
.color-form .form-text {
  text-align: center;
  margin-right: 5px;
  cursor: pointer;
}

#palette .hook {
  float: left;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}
#palette .down, #palette .up, #palette .both {
  background: url(images/hook.png) no-repeat 100% 0;
}
#palette .up {
  background-position: 100% -27px;
}
#palette .both {
  background-position: 100% -54px;
}

#palette .lock {
  float: left;
  position: relative;
  top: -1.4em;
  left: -10px;
  width: 20px;
  height: 25px;
  background: url(images/lock.png) no-repeat 50% 2px;
  cursor: pointer;
}
#palette .unlocked {
  background-position: 50% -22px;
}
#palette .form-item {
  width: 20em;
}
#palette .item-selected {
  background: #eee;
}

/* Preview */
#preview {
  display: none;
}
html.js #preview {
  display: block;
  position: relative;
  float: left;
}

File

contrib/asset_bonus/asset_bonus.css
View source
  1. /* Farbtastic placement */
  2. #asset-bonus-admin-mp3player{
  3. max-width: 50em;
  4. position: relative;
  5. }
  6. #placeholder {
  7. position: absolute;
  8. top: 0;
  9. right: 0;
  10. }
  11. #color-map {
  12. position: absolute;
  13. top: 200px;
  14. right: 0;
  15. }
  16. /* Palette */
  17. .color-form .form-item {
  18. height: 2em;
  19. line-height: 2em;
  20. padding-left: 1em;
  21. margin: 0.5em 0;
  22. }
  23. .color-form label {
  24. float: left;
  25. clear: left;
  26. width: 10em;
  27. }
  28. .color-form .form-text, .color-form .form-select {
  29. float: left;
  30. }
  31. .color-form .form-text {
  32. text-align: center;
  33. margin-right: 5px;
  34. cursor: pointer;
  35. }
  36. #palette .hook {
  37. float: left;
  38. margin-top: 3px;
  39. width: 16px;
  40. height: 16px;
  41. }
  42. #palette .down, #palette .up, #palette .both {
  43. background: url(images/hook.png) no-repeat 100% 0;
  44. }
  45. #palette .up {
  46. background-position: 100% -27px;
  47. }
  48. #palette .both {
  49. background-position: 100% -54px;
  50. }
  51. #palette .lock {
  52. float: left;
  53. position: relative;
  54. top: -1.4em;
  55. left: -10px;
  56. width: 20px;
  57. height: 25px;
  58. background: url(images/lock.png) no-repeat 50% 2px;
  59. cursor: pointer;
  60. }
  61. #palette .unlocked {
  62. background-position: 50% -22px;
  63. }
  64. #palette .form-item {
  65. width: 20em;
  66. }
  67. #palette .item-selected {
  68. background: #eee;
  69. }
  70. /* Preview */
  71. #preview {
  72. display: none;
  73. }
  74. html.js #preview {
  75. display: block;
  76. position: relative;
  77. float: left;
  78. }