_content.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. @import "globals";
  2. .content {
  3. background-color: $background-color;
  4. }
  5. .dashboard #content {
  6. width: 500px;
  7. }
  8. .small {
  9. font-size: 12px;
  10. }
  11. .changeform-object-tools {
  12. text-align: right;
  13. }
  14. ul.object-tools {
  15. @extend .clear-list;
  16. margin-bottom: 20px !important;
  17. li {
  18. margin-top: 10px;
  19. text-align: right;
  20. &:first-child {
  21. margin-top: 0;
  22. }
  23. a {
  24. display: inline-block;
  25. background-color: $button-background-color;
  26. padding: 8px;
  27. border-radius: 4px;
  28. &.addlink:before {
  29. @include font-icon;
  30. color: $button-text-color;
  31. font-size: 13px;
  32. content: $icon-add;
  33. }
  34. &, &:visited, &:hover {
  35. color: $button-text-color;
  36. }
  37. &:hover {
  38. background-color: $button-hover-background-color;
  39. color: $button-hover-text-color;
  40. &.addlink:before {
  41. color: $button-hover-text-color;
  42. }
  43. }
  44. &:active {
  45. background-color: $button-active-background-color;
  46. color: $button-active-text-color;
  47. &.addlink:before {
  48. color: $button-active-text-color;
  49. }
  50. }
  51. }
  52. }
  53. &.horizontal {
  54. line-height: 40px;
  55. li {
  56. display: inline;
  57. margin-top: 0;
  58. line-height: normal;
  59. }
  60. }
  61. }
  62. .content-sidebar {
  63. float: right;
  64. width: 24em;
  65. margin: 0 20px;
  66. }
  67. .dashboard .module table td a {
  68. display: inline !important;
  69. }
  70. .dialog-confirm {
  71. display: none;
  72. }
  73. .cleared {
  74. clear: both;
  75. }
  76. .loading-indicator {
  77. font-size: 32px;
  78. color: $button-hover-background-color;
  79. -webkit-animation: spin 4s linear infinite;
  80. -moz-animation: spin 4s linear infinite;
  81. animation: spin 4s linear infinite;
  82. &-wrapper {
  83. text-align: center;
  84. padding: 40px 0;
  85. }
  86. }
  87. @-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
  88. @-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
  89. @keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
  90. img[src$="admin/img/icon-yes.gif"], img[src$="admin/img/icon-no.gif"], img[src$="admin/img/icon-unknown.gif"] {
  91. @include font-icon;
  92. content: "";
  93. font-weight: bold;
  94. }
  95. img[src$="admin/img/icon-yes.gif"]:before {
  96. content: $icon-tick;
  97. color: $success-text-color;
  98. }
  99. img[src$="admin/img/icon-no.gif"]:before {
  100. content: $icon-cross;
  101. color: $warning-text-color;
  102. }
  103. img[src$="admin/img/icon-unknown.gif"]:before {
  104. content: $icon-question;
  105. }