From 209faf5581d0874ad82d863934f6e97af2897f98 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 12 Jan 2010 13:59:54 -0800 Subject: added css --- css/angular-scenario.css | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 css/angular-scenario.css (limited to 'css/angular-scenario.css') diff --git a/css/angular-scenario.css b/css/angular-scenario.css new file mode 100644 index 00000000..ad263d21 --- /dev/null +++ b/css/angular-scenario.css @@ -0,0 +1,62 @@ +@charset "UTF-8"; +/* CSS Document */ + +#runner { + position: absolute; + top:5px; + left:10px; + right:10px; + height: 200px; +} + +#testView { + position: absolute; + bottom:10px; + top:210px; + left:10px; + right:10px; +} + +#testView iframe { + width: 100%; + height: 100%; +} + +.console { + display: block; + overflow: scroll; + height: 200px; + border: 1px solid black; +} + +.collapsed .log { + display: none; +} + +.run, .info, .error { + display: block; + padding: 0 1em; + font-family: monospace; + white-space: pre; +} + +.run { + background-color: lightgrey; + padding: 0 .2em; +} + +.run.pass { + background-color: lightgreen; +} + +.run.fail { + background-color: lightred; +} + +.name, .time, .state { + padding-right: 2em; +} + +error { + color: red; +} \ No newline at end of file -- cgit v1.2.3 From 5215e2095cfd42a0363eb02eded34e03fa2b0cd3 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 20 May 2010 15:55:41 -0700 Subject: basic end to end runner --- css/angular-scenario.css | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'css/angular-scenario.css') diff --git a/css/angular-scenario.css b/css/angular-scenario.css index ad263d21..70256a5a 100644 --- a/css/angular-scenario.css +++ b/css/angular-scenario.css @@ -2,18 +2,25 @@ /* CSS Document */ #runner { - position: absolute; - top:5px; - left:10px; + position: absolute; + top:5px; + left:10px; right:10px; height: 200px; } +.console { + display: block; + overflow: scroll; + height: 200px; + border: 1px solid black; +} + #testView { - position: absolute; - bottom:10px; - top:210px; - left:10px; + position: absolute; + bottom:10px; + top:230px; + left:10px; right:10px; } @@ -22,12 +29,8 @@ height: 100%; } -.console { - display: block; - overflow: scroll; - height: 200px; - border: 1px solid black; -} + +/////////////// .collapsed .log { display: none; -- cgit v1.2.3 From e3368e12a6207706d8a08b18f9958db3b86ca4e5 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 20 May 2010 16:55:47 -0700 Subject: semi working state --- css/angular-scenario.css | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'css/angular-scenario.css') diff --git a/css/angular-scenario.css b/css/angular-scenario.css index 70256a5a..3960c357 100644 --- a/css/angular-scenario.css +++ b/css/angular-scenario.css @@ -29,13 +29,24 @@ height: 100%; } +li.running > span { + background-color: yellow; +} -/////////////// +#runner span { + background-color: green; +} -.collapsed .log { +#runner .fail > span { + background-color: red; +} + +.collapsed > ul { display: none; } +////// + .run, .info, .error { display: block; padding: 0 1em; -- cgit v1.2.3