generators/dashboard/templates/dashboard.css in acts_as_dashboard-0.3.3 vs generators/dashboard/templates/dashboard.css in acts_as_dashboard-0.4.0
- old
+ new
@@ -1,66 +1,86 @@
-body {
- background-color: black;
- color: white;
-}
-
-.dashboard-clear {
- clear: both;
-}
-
-#dashboard {
- width: 100%;
-}
- #dashboard .widget {
- }
-
- #dashboard .dashboard-numbers {
- }
- #dashboard .dashboard-numbers .number-widget {
- float: left;
- padding: 0.5em;
- margin: 1em;
- text-align: center;
- }
- #dashboard .dashboard-numbers .number-widget .widget-title {
- font-weight: bold;
- font-size: 1em;
- }
- #dashboard .dashboard-numbers .number-widget .widget-data {
- font-size: 4em;
- }
-
- /* dashboard-short-message is not complete */
- #dashboard .dashboard-short-messages {
- }
- #dashboard .dashboard-short-messages .short-messages-widget {
- float: left;
- margin: 1em;
- }
- #dashboard .dashboard-short-messages .short-messages-widget .widget-title {
- border: 2px solid white;
- padding: 0.5em;
- text-align: center;
- font-weight: bold;
- }
- #dashboard .dashboard-short-messages .short-messages-widget .widget-data {
- margin: 0;
- padding: 0;
- }
- #dashboard .dashboard-short-messages .short-messages-widget .widget-data ul {
- margin: 0;
- padding: 0;
- }
- #dashboard .dashboard-short-messages .short-messages-widget .widget-data li {
- border: 1px solid white;
- margin-top: 4px;
- padding: 0.5em;
- list-style-type: none;
- font-size: 0.8em;
- }
-
- #dashboard .dashboard-line-graphs {
- }
- #dashboard .dashboard-line-graphs .line-graph-widget {
- float: left;
- margin: 1em;
- }
+body {
+ background-color: black;
+ color: white;
+}
+
+.dashboard-clear {
+ clear: both;
+}
+
+#dashboard {
+ width: 100%;
+}
+ #dashboard .widget {
+ }
+
+ #dashboard .dashboard-numbers {
+ }
+ #dashboard .dashboard-numbers .number-widget {
+ float: left;
+ margin: 1em;
+ text-align: center;
+ }
+ #dashboard .dashboard-numbers .number-widget .widget-title {
+ padding: 0.25em;
+ border-top: 1px solid #666666;
+ border-bottom: none;
+ border-left: 1px solid #666666;
+ border-right: 1px solid #666666;
+ }
+ #dashboard .dashboard-numbers .number-widget .widget-data {
+ font-size: 4em;
+ border-top: none;
+ border-bottom: 1px solid #666666;
+ border-left: 1px solid #666666;
+ border-right: 1px solid #666666;
+ }
+
+ /* dashboard-short-message is not complete */
+ #dashboard .dashboard-short-messages {
+ }
+ #dashboard .dashboard-short-messages .short-messages-widget {
+ float: left;
+ margin: 1em;
+ }
+ #dashboard .dashboard-short-messages .short-messages-widget .widget-title {
+ padding: 0.5em;
+ text-align: center;
+ font-weight: bold;
+ }
+ #dashboard .dashboard-short-messages .short-messages-widget .widget-data {
+ margin: 0;
+ padding: 0;
+ }
+ #dashboard .dashboard-short-messages .short-messages-widget .widget-data ul {
+ margin: 0;
+ padding: 0;
+ }
+ #dashboard .dashboard-short-messages .short-messages-widget .widget-data li {
+ margin-top: 4px;
+ padding: 0.25em;
+ list-style-type: none;
+ font-size: 0.8em;
+ }
+
+ #dashboard .dashboard-line-graphs {
+ }
+ #dashboard .dashboard-line-graphs .line-graph-widget {
+ float: left;
+ margin: 1em;
+ }
+ #dashboard .dashboard-line-graphs .line-graph-widget .widget-title {
+ text-align: center;
+ border-top: 1px solid #666666;
+ border-bottom: none;
+ border-left: 1px solid #666666;
+ border-right: 1px solid #666666;
+ }
+ #dashboard .dashboard-line-graphs .line-graph-widget .widget-data {
+ xborder: none;
+ border-top: none;
+ border-bottom: 1px solid #666666;
+ border-left: 1px solid #666666;
+ border-right: 1px solid #666666;
+ padding-right: 1.5em;
+ }
+