From af3b655073096deafe177d4fc5fd4da65da04392 Mon Sep 17 00:00:00 2001 From: Janae Cram Date: Wed, 30 Jul 2014 09:12:06 -0700 Subject: [PATCH] Updated the dictionary table icons and the CSS to make the section more usable. --- src/Umbraco.Web.UI.Client/src/less/main.less | 35 +++++++++++++++++++ .../settings/DictionaryItemList.aspx.cs | 4 +-- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/main.less b/src/Umbraco.Web.UI.Client/src/less/main.less index b6887ee257..37c8541f8e 100644 --- a/src/Umbraco.Web.UI.Client/src/less/main.less +++ b/src/Umbraco.Web.UI.Client/src/less/main.less @@ -395,4 +395,39 @@ table thead a { position:relative; top:0; left:0; +} + +/* DICTIONARY */ +#dictionaryItems tr { + border-top:solid 1px @grayLight; +} + +#dictionaryItems thead tr { + border-top:none; + font-weight:bold; +} + +#dictionaryItems th { + text-align:left; + font-weight:normal; +} + +#dictionaryItems td { + text-align:center; + } + +#dictionaryItems thead td:first-of-type { + text-align: left; +} + +#dictioanryItems i { + font-size:18px; +} + +#dictionaryItems .icon-alert { + color:@red; +} + +#dictionaryItems .icon-check { + color:@green; } \ No newline at end of file diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/DictionaryItemList.aspx.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/DictionaryItemList.aspx.cs index 771cb252ad..8512051c05 100644 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/DictionaryItemList.aspx.cs +++ b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/DictionaryItemList.aspx.cs @@ -49,9 +49,9 @@ namespace umbraco.presentation.settings { lt_table.Text += ""; if (string.IsNullOrEmpty(di.Value(lang.id))) - lt_table.Text += ""; + lt_table.Text += ""; else - lt_table.Text += ""; + lt_table.Text += ""; lt_table.Text += ""; }