diff --git a/admin/themes/default/template/intro.tpl b/admin/themes/default/template/intro.tpl
index 0aa0721bd..b4677fb8c 100644
--- a/admin/themes/default/template/intro.tpl
+++ b/admin/themes/default/template/intro.tpl
@@ -37,43 +37,6 @@ jQuery().ready(function(){
{/footer_script}
{html_style}
-.stat-boxes {
- text-align:left;
- margin:10px;
-}
-
-.stat-box {
- display:inline-block;
- width:200px;
- margin:10px;
- color:#777;
-}
-
-div.stat-box {
- cursor:help;
-}
-
-.stat-box:hover {
- color:#ff7700;
-}
-
-.stat-box i {
- font-size:50px;
- float:left;
- margin-right:5px;
-}
-
-.stat-box .number, .stat-box .caption {
- display:inline-block;
- width:120px;
- text-align:left;
-}
-
-.stat-box .number {
- margin-top:10px;
- font-size:20px;
-}
-
.eiw .messages ul li {
list-style-type:none !important;
}
@@ -88,75 +51,75 @@ div.stat-box {
{if $NB_PHOTOS > 1}
-
+
{$NB_PHOTOS|number_format}{'Photos'|translate}
{/if}
{if $NB_ALBUMS > 1}
-
+
{$NB_ALBUMS}{'Albums'|translate}
{/if}
{if $NB_TAGS > 1}
-
+
{$NB_TAGS}{'Tags'|translate}
{/if}
{if $NB_USERS > 2}
-
+
{$NB_USERS}{'Users'|translate}
{/if}
{if $NB_GROUPS > 0}
-
+
{$NB_GROUPS}{'Groups'|translate}
{/if}
{if $NB_COMMENTS > 1}
-
+
{$NB_COMMENTS}{'Comments'|translate}
{/if}
{if $NB_RATES > 0}
-
+
{$NB_RATES}{'Rating'|translate}
{/if}
{if $NB_VIEWS > 0}
-
+
{$NB_VIEWS}{'Pages seen'|translate}
{/if}
{if $NB_PLUGINS > 0}
-
+
{$NB_PLUGINS}{'Plugins'|translate}
{/if}
-
+
{$STORAGE_USED}{'Storage used'|translate}
{if $NB_PHOTOS > 1}
-
+
{$first_added_age}{'First photo added'|translate}
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css
index be5852a10..7ccde88c1 100644
--- a/admin/themes/default/theme.css
+++ b/admin/themes/default/theme.css
@@ -491,6 +491,71 @@ FORM.properties SPAN.property {
padding: 0 0.5em 0 0;
}
+/* Dashboard */
+.stat-boxes {
+ text-align:left;
+ margin:40px 10px;
+}
+
+.stat-box {
+ display:inline-block;
+ width:200px;
+ margin:10px 10px 40px 10px;
+ color:#3b3b3b;
+ text-align: center;
+}
+
+div.stat-box {
+ cursor:help;
+}
+
+.stat-box i {
+ display: inline-block;
+ background-color: #ffcfcf;
+ color: #ff5252;
+ border-radius: 50%;
+ font-size: 37px;
+ padding: 20px;
+ margin-bottom: 15px;
+}
+
+.stat-box-yellow i {
+ color:#ffa744;
+ background-color: #ffe9cf;
+}
+.stat-box-red i {
+ background-color: #ffcfcf;
+ color: #ff5252;
+}
+.stat-box-purple i {
+ background-color: #e0daf4;
+ color: #896af3;
+}
+.stat-box-green i {
+ background-color: #d6ffcf;
+ color: #6ece5e;
+}
+.stat-box-blue i {
+ background-color: #cfebff;
+ color: #2883c3;
+}
+
+.stat-box .number, .stat-box .caption {
+ display:block;
+ font-size: 16px;
+ font-weight: 600;
+ text-align: center;
+}
+
+.stat-box .number {
+ font-size: 29px;
+}
+
+a.stat-box:hover {
+ text-decoration: none;
+ color:#777;
+}
+
#configContent fieldset {
border:none;
padding-left:20px;
diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css
index 5ee1c54a5..d5bf7bc75 100644
--- a/admin/themes/roma/theme.css
+++ b/admin/themes/roma/theme.css
@@ -214,6 +214,37 @@ position:relative; z-index: 50;}
display:block; height:85px; left:225px; position:relative; top:-42px; width:313px; z-index:99; padding:0;
color:transparent;}
.bigbutton input:hover { cursor:pointer; background:transparent url(images/transparent.gif) repeat scroll left top; border:0; padding:0;color:transparent;}
+
+/* dashboard */
+.stat-box {
+ color:#777;
+}
+
+a.stat-box:hover {
+ color:#aeaeae;
+}
+
+.stat-box-yellow i {
+ color:#9b5200;
+ background-color: #ffa744;
+}
+.stat-box-red i {
+ background-color: #c64444;
+ color: #650101;
+}
+.stat-box-purple i {
+ background-color: #ce4baa;
+ color: #52003b;
+}
+.stat-box-green i {
+ background-color: #4ac641;
+ color: #014400;
+}
+.stat-box-blue i {
+ background-color: #379bbc;
+ color: #003751;
+}
+
/* hacks */
* html[lang="en"] body .content h2 , *+html[lang="en"] body .content h2 { text-transform:capitalize; } /* IE */
*+html .bigtext { left: 70px; }