From 9795bd83e78d3322af1ebf77890d5a36c49ed6af Mon Sep 17 00:00:00 2001 From: Kálmán Viktor <kviktor@cloud.bme.hu> Date: Tue, 28 Oct 2014 14:52:47 +0100 Subject: [PATCH] dashboard: move inline css --- circle/dashboard/static/dashboard/dashboard.less | 25 +++++++++++++++++++++++++ circle/dashboard/templates/dashboard/node-list/column-monitor.html | 25 ------------------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/circle/dashboard/static/dashboard/dashboard.less b/circle/dashboard/static/dashboard/dashboard.less index cbf3a9e..3c616dc 100644 --- a/circle/dashboard/static/dashboard/dashboard.less +++ b/circle/dashboard/static/dashboard/dashboard.less @@ -1118,3 +1118,28 @@ textarea[name="new_members"] { -o-box-sizing: content-box; box-sizing: content-box; } + +.node-list-table .monitor { + .progress { + position: relative; + width: 150px; + height: 16px; + margin-bottom: 4px; + margin-top: 0px; + background-image: linear-gradient(to bottom, #BBEBEB 0px, #F5F5F5 100%); + } + .progress-bar-text { + position: absolute; + top: -1px; + display: block; + width: 100%; + color: white; + /* outline */ + text-shadow: + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 0 #000; + font-size: 13px; + } +} diff --git a/circle/dashboard/templates/dashboard/node-list/column-monitor.html b/circle/dashboard/templates/dashboard/node-list/column-monitor.html index f955db2..9d18481 100644 --- a/circle/dashboard/templates/dashboard/node-list/column-monitor.html +++ b/circle/dashboard/templates/dashboard/node-list/column-monitor.html @@ -32,28 +32,3 @@ </span> </div> </div> -<style> - .progress { - position: relative; - width: 150px; - height: 16px; - margin-bottom: 4px; - margin-top: 0px; - background-image: linear-gradient(to bottom, #BBEBEB 0px, #F5F5F5 100%); - } - .progress-bar-text { - position: absolute; - display: block; - width: 100%; - color: white; - /* outline */ - text-shadow: - -1px -1px 0 #000, - 1px -1px 0 #000, - -1px 1px 0 #000, - 1px 1px 0 #000; - font-size: 13px; - } -</style> - - -- libgit2 0.26.0