From d02ecdb8ed3bcefbb8fe520cafa1e2faf7f5e72b Mon Sep 17 00:00:00 2001 From: LeandroNunes Date: Fri, 6 Jul 2007 14:09:47 +0000 Subject: [PATCH] ActionItem0: adding sample layout and css to make box tests --- app/views/layouts/application.rhtml | 30 ++++++++++++++++++++++++++++++ public/stylesheets/default.css | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 0 deletions(-) create mode 100644 app/views/layouts/application.rhtml create mode 100644 public/stylesheets/default.css diff --git a/app/views/layouts/application.rhtml b/app/views/layouts/application.rhtml new file mode 100644 index 0000000..648f690 --- /dev/null +++ b/app/views/layouts/application.rhtml @@ -0,0 +1,30 @@ + + + <%= javascript_include_tag :defaults %> + <%= stylesheet_link_tag 'default' %> + + + + <%= image_tag 'loading.gif', :id=>'spinner', :style=>"display:none; float:right;" %> +
+ +
+
+ +
+
+ +
+ + + diff --git a/public/stylesheets/default.css b/public/stylesheets/default.css new file mode 100644 index 0000000..e12fb21 --- /dev/null +++ b/public/stylesheets/default.css @@ -0,0 +1,35 @@ +.hover { + background-color: pink; + border: 2px dotted black; +} + +.hover ul li { + border: 2px dotted black; +} + + +#box_1 ul li, #box_2 ul li, #box_3 ul li { + list-style: none; + cursor: -moz-grab; + border: 1px solid black; + margin: 20px; +} + +#box_1, #box_2, #box_3 { + border: 1px solid green; +} + +#box_1 { + width: 200px; + float: left; +} +#box_2 { + width: 600px; + float: left; + margin: 0px 10px 0px 10px; +} +#box_3 { + width: 400px; + + float: left; +} -- libgit2 0.21.2