Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove old stylesheets and fix location drop down

  • Loading branch information...
commit 67ebb9eac06976a71cc5b6922ebed84c577b33cf 1 parent 6d48446
@drapergeek drapergeek authored
Showing with 4 additions and 2,126 deletions.
  1. +3 −1 app/models/location.rb
  2. +1 −1  app/views/items/_form.html.erb
  3. 0  public/stylesheets/.gitkeep
  4. +0 −67 public/stylesheets/custom_added.css
  5. +0 −33 public/stylesheets/formtastic_ie6.css
  6. +0 −23 public/stylesheets/formtastic_ie7.css
  7. +0 −28 public/stylesheets/print.css
  8. +0 −104 public/stylesheets/vt/columns.css
  9. +0 −6 public/stylesheets/vt/content-horizontal.css
  10. +0 −5 public/stylesheets/vt/content-vertical.css
  11. +0 −297 public/stylesheets/vt/default.css
  12. +0 −30 public/stylesheets/vt/fluid-horizontal.css
  13. +0 −26 public/stylesheets/vt/fluid-vertical.css
  14. +0 −6 public/stylesheets/vt/gateway-horizontal.css
  15. +0 −7 public/stylesheets/vt/gateway-vertical.css
  16. +0 −23 public/stylesheets/vt/home-horizontal.css
  17. +0 −11 public/stylesheets/vt/home-vertical.css
  18. +0 −64 public/stylesheets/vt/ie.css
  19. +0 −18 public/stylesheets/vt/ie6.css
  20. +0 −356 public/stylesheets/vt/layout.css
  21. +0 −171 public/stylesheets/vt/nav.css
  22. +0 −81 public/stylesheets/vt/print.css
  23. +0 −89 public/stylesheets/vt/search-box.css
  24. +0 −87 public/stylesheets/vt/sub-content.css
  25. +0 −194 public/stylesheets/vt/widgets.css
  26. +0 −397 public/stylesheets/web_app_theme.css
  27. +0 −1  public/stylesheets/web_app_theme_override.css
View
4 app/models/location.rb
@@ -4,6 +4,7 @@ class Location < ActiveRecord::Base
belongs_to :building
has_many :items, :dependent=>:nullify
default_scope :include=>:building, :order=>["buildings.name, locations.name"]
+
def full_name
if building
building.name + " - " + name
@@ -15,7 +16,8 @@ def full_name
def short_location
building.name[0,1].upcase + " - " + name
end
+
def to_s
- full_name
+ name
end
end
View
2  app/views/items/_form.html.erb
@@ -10,7 +10,7 @@
<%= f.input :vt_tag %>
<%= f.input :os, :collection=>OperatingSystem.all, :label => "OS" %>
<%= f.input :type_of_item, :collection => Item::ITEM_TYPES %>
- <%= f.association :location %>
+ <%= f.association :location, :collection => Building.all, :as => :grouped_select, :group_method => :locations %>
<%= f.association :user %>
<%= f.input :info %>
<%= f.input :in_use %>
View
0  public/stylesheets/.gitkeep
No changes.
View
67 public/stylesheets/custom_added.css
@@ -1,67 +0,0 @@
-#user_nav{
- font-size: 14px;
-}
-
-.formtastic legend span{
- color: #7A1818;
- font-size: 22px;
-}
-
-.formtastic ol {
- padding-left: 30px;
- padding-top: 5px;
-}
-
-#flash_notice, #flash_error {
- padding: 5px 8px;
- margin: 10px 35% 10px 25px;
-}
-
-#flash_notice {
- background-color: #CFC;
- border: solid 1px #6C6;
-}
-
-#flash_error {
- background-color: #FCC;
- border: solid 1px #C66;
-}
-li.model_item{
- margin-left: 15px;
-
-}
-
-/* application.css */
-.pretty th .current {
- padding-right: 12px;
- background-repeat: no-repeat;
- background-position: right center;
-}
-
-.pretty th a{
- color: white;
-
-}
-.pretty th .asc {
- color: #9ebafb;
-}
-.pretty th .desc {
- color: #f9bfbf;
-}
-div.sortingblock{
- border: 1px solid maroon;
- padding-left: 5px;
-}
-.sortingblock ul{
- padding-left: 20px;
- padding-bottom: 5px;
-}
-h1.title{
- color: black;
- font-size: 30px;
-}
-.wat-cf{
- padding-top: 10px;
-}
-
-
View
33 public/stylesheets/formtastic_ie6.css
@@ -1,33 +0,0 @@
-/* additional stylesheets only for IE6, if you wish to support it */
-
-/* legend labels apper to have a left margin or padding I couldn't get rid of cleanly in main stylesheet */
-.formtastic .input fieldset legend.label {
- margin-left:-7px;
-}
-
-/* checkbox and radio inputs appear to have a margin around them that I couldn't remove in main stylesheet */
-.formtastic .choice label input,
-.formtastic .boolean label input {
- position:relative;
- left:-1px;
- size:15px;
- margin-left:0;
- margin-right:0;
-}
-
-/* inline hints and errors appear a few pixel too far over to the left */
-.formtastic .inline-hints,
-.formtastic .inline-errors {
- padding-left:3px;
-}
-
-/* fragment (eg year, month, day) appear a few pixels too far to the left*/
-.formtastic .fragment {
- padding-left:3px;
-}
-
-.formtastic .buttons,
-.formtastic .inputs,
-.formtastic .input {
- zoom:1;
-}
View
23 public/stylesheets/formtastic_ie7.css
@@ -1,23 +0,0 @@
-/* additional stylesheets only for IE7, if you wish to support it */
-
-/* legend labels apper to have a left margin or padding I couldn't get rid of cleanly in main stylesheet */
-.formtastic .input fieldset legend.label {
- margin-left:-7px;
-}
-
-/* checkbox and radio inputs appear to have a margin around them that I couldn't remove in main stylesheet */
-.formtastic .choice label input,
-.formtastic .boolean label input {
- position:relative;
- left:-4px;
- right:-4px;
- size:15px;
- margin-left:0;
- margin-right:0;
-}
-
-.formtastic .buttons,
-.formtastic .inputs,
-.formtastic .input {
- zoom:1;
-}
View
28 public/stylesheets/print.css
@@ -1,28 +0,0 @@
-#menu,#header, #main-navigation, .secondary-navigation, #user-navigation, .navigation,.noprint, .flash, #footer{
- display: none;
- }
-
-#wrapper, #content {
- width: auto;
- border: 0;
- margin: 0 5%;
- padding: 0;
- float: none !important;
- font-size: 12px;
-}
-p{
- padding: 0;
- margin: 1px 4px 4px;
-}
-
-div.sortingblock{
- border-style: none;
- padding: 0;
- margin: 0;
-}
-h3{
-
- size: 22px;
- padding-bottom: 0;
- margin-bottom: 2px;
-}
View
104 public/stylesheets/vt/columns.css
@@ -1,104 +0,0 @@
-/* =COLUMNS
--------------------------------------------------
-
--------------------------------------------------*/
-
-.col-group {
- padding: 10px 0;
- width: 100%;
- clear: both;
- }
-
-.fluid .col-group {
- background: none;
- }
-
-.col {
- overflow: hidden;
- display: inline;
- }
-
-.col h2 {
- margin-top: 5px;
- }
-
-.col table {
- margin-left: 18px;
- margin-right: 15px;
- width: auto;
- }
-
-/* =TWO COLUMNS
--------------------------------------------------
-
--------------------------------------------------*/
-
-.two-col {
- background: transparent url(../img/two_col_bg.gif) repeat-y 50% 0%;
- }
-
-.fluid .two-col {
- background: none;
- }
-
-.two-col .first-col {
- float: left;
- width: 49%;
- }
-
-.two-col .last-col {
- float: right;
- width: 49%;
- }
-
-/* =THREE COLUMNS
--------------------------------------------------
-
--------------------------------------------------*/
-
-.three-col {
- background: transparent url(../img/three_col_bg.gif) repeat-y 50% 0;
- }
-
-.fluid .three-col {
- background: none;
- }
-
-.three-col .col {
- float: left;
- width: 33%;
- }
-
-.three-col .first-col {
- float: left;
- width: 33%;
- }
-
-.three-col .last-col {
- float: right;
- width: 33%;
- }
-
-/* =RELATED LINKS
--------------------------------------------------
-
--------------------------------------------------*/
-
-.related-links {
- padding-top: 5px;
- clear: both;
- background: #edeada url(../img/related_links_top.gif) no-repeat top left;
- }
-
-.related-links-inside {
- padding: 5px 0 15px 0;
- background: transparent url(../img/related_links_left.gif) repeat-y top left;
- }
-
-.related-links .two-col {
- background: transparent none;
- }
-
-.related-links h2 {
- color: #333;
- }
View
6 public/stylesheets/vt/content-horizontal.css
@@ -1,6 +0,0 @@
-@import url('default.css');
-@import url('widgets.css');
-@import url('layout.css');
-@import url('nav.css');
-@import url('search-box.css');
-
View
5 public/stylesheets/vt/content-vertical.css
@@ -1,5 +0,0 @@
-@import url('default.css');
-@import url('widgets.css');
-@import url('layout.css');
-@import url('nav.css');
-@import url('search-box.css');
View
297 public/stylesheets/vt/default.css
@@ -1,297 +0,0 @@
-/* =BODY
------------------------------------------------------
-Also see layout.css for special backgrounds and positioning.
------------------------------------------------------*/
-
-body {
- margin: 0 20px;
- padding: 0;
- border: 0;
- color: #000;
- background: #fff;
- line-height: normal; /* Peekaboo safety net for pages with broken links to ie.css. See Position is Everything, http://www.positioniseverything.net/explorer/peekaboo.html */
- font-size: 80%;
- font-family: Arial, Verdana, sans-serif;
- }
-
-/* =ANCHORS and IMAGES
------------------------------------------------------
-
------------------------------------------------------*/
-
-a:link {
- color: #600;
- text-decoration: none;
- }
-
-a:visited {
- color: #930;
- text-decoration: none;
- }
-
-a:hover {
- color: #600;
- text-decoration: underline;
- }
-
-a:active {
- color: #600;
- text-decoration: none;
- }
-
-#main-content a,
-#sub-content a {
- text-decoration: underline;
- }
-
-#main-content a:hover,
-#sub-content a:hover {
- text-decoration: none;
- }
-
-#main-content a:active,
-#sub-content a:active {
- text-decoration: underline;
- }
-
-img {
- margin: 0;
- padding: 2px;
- border: 1px solid #9d9879;
- display: block;
- background-color: #fff;
- }
-
-/* =HEADERS
------------------------------------------------------
-
------------------------------------------------------*/
-
-h1, h2, h3, h4, h5, h6 {
- margin: 15px 15px 5px 18px;
- padding: 0;
- border: 0;
- clear: left;
- color: #600;
- font-family: Times, 'Times New Roman', serif;
- font-weight: normal;
- }
-
-h1 {
- font-size: 1.8em; /* equivalent to 180% */
- }
-
-h2 {
- font-size: 1.4em; /* equivalent to 140% */
- }
-
-h3 {
- font-size: 1.3em; /* equivalent to 130% */
- }
-
-h4, h5, h6 {
- margin-bottom: 0;
- color: #333;
- font-size: 1.2em; /* equivalent to 120% */
- }
-
-/* =DIVISIONS, PARAGRAPHS, LISTS, AND BLOCKQUOTES
------------------------------------------------------
-
------------------------------------------------------*/
-
-div, p, ul, ol, li, dl, dt, dd, blockquote {
- margin: 0;
- padding: 0;
- border: 0;
- }
-
-/* Paragraphs and Lists */
-
-p, ul, ol, dl {
- margin: 5px 15px 10px 18px;
- }
-
-p, li, dt, dd {
- line-height: 1.5em;
- }
-
-/* Unordered and Ordered Lists */
-
-ul ul, ol ol, ul ol, ol ul,
-ul h1, ul h2, ul h3, ul h4, ul h5, ul h6, ul p,
-ol h1, ol h2, ol h3, ol h4, ol h5, ol h6, ol p {
- margin-left: 0;
- margin-right: 0;
- }
-
-ul, ol {
- list-style: none;
- }
-
-ul {
- list-style-image: url(../img/list_bullet_fw.gif);
- }
-
-ul ul {
- margin-bottom: 0;
- }
-
-ol ul {
- list-style-type: none;
- list-style-image: url(../img/list_bullet_fw.gif);
- }
-
-ol {
- list-style-type: decimal;
- }
-
-ol ol {
- list-style-type: lower-alpha;
- margin-bottom: 0;
- }
-
-ol ol ol {
- list-style-type: lower-roman;
- }
-
-ul ol {
- list-style-image: none;
- list-style-type: decimal;
- }
-
-li {
- margin-bottom: 5px;
- margin-left: 15px; /* List margin safety net for pages with broken links to ie.css. */
- }
-
-ul>li {
- margin: 0 0 5px 15px; /* Also see ie.css. */
- }
-
-ol>li {
- margin: 0 0 5px 18px; /* Also see ie.css. */
- }
-
-/* Definition Lists */
-
-dl dt {
- margin: 5px 0 0 0;
- font-style: italic;
- }
-
-dl dd {
- margin: 0 0 5px 15px;
- }
-
-dd ul, dd p, dd table {
- margin-left: 0;
- }
-
-/* Blockquotes */
-
-blockquote {
- margin: 5px 15px 10px 40px;
- }
-
-/* =TABLES
------------------------------------------------------
-Also see the striped tables section in widgets.css.
------------------------------------------------------*/
-
-table, tr, th, td {
- margin: 0;
- padding: 0;
- border: 0;
- }
-
-table {
- margin: 10px 0 15px 18px;
- padding: 0px;
- border-collapse: collapse;
- border-spacing: 0;
- width: 90%;
- font-size: 90%;
- }
-
-tr, th, td {
- vertical-align: top;
- }
-
-th, td {
- padding: 5px;
- border-bottom: 1px solid #c2c1ba;
- }
-
-th {
- background: #d7d1ae;
- color: #333;
- text-align: left;
- font-weight: bold;
- }
-
-td h1, td h2, td h3, td h4, td h5, td h6,
-td p, td ul, td ol, td dl {
- margin-left: 0;
- }
-
-/* =FORMS
------------------------------------------------------
-Also see the pretty forms section in widgets.css.
------------------------------------------------------*/
-
-form {
- margin: 15px 15px 10px 18px;
- padding: 0;
- border: 0;
- }
-
-form fieldset {
- margin: 0;
- margin-bottom: 10px;
- padding: 5px;
- border: 1px #c2c1ba solid;
- clear: both;
- }
-
-form fieldset legend {
- margin: 0;
- padding: 0 5px;
- clear: both;
- color: #333;
- font-size: 1.2em;
- font-family: Times, 'Times New Roman', serif;
- }
-
-form p,
-form ul,
-form ol {
- margin: 0 15px 5px 5px;
- }
-
-form p {
- clear: both;
- }
-
-form ul,
-form ol {
- list-style: none;
- list-style-image: none;
- list-style-type: none;
- }
-
-form li {
- margin: 0 0 3px 0;
- }
-
-/* =HORIZONTAL RULES
------------------------------------------------------
-Also see the lines section in widgets.css.
------------------------------------------------------*/
-
-hr {
- margin: 15px 15px 10px 18px;
- border-color: #c2c1ba;
- position: relative;
- clear: both;
- }
View
30 public/stylesheets/vt/fluid-horizontal.css
@@ -1,30 +0,0 @@
-@import url('default.css');
-@import url('widgets.css');
-@import url('columns.css');
-@import url('layout.css');
-@import url('search-box.css');
-
-#fluid-horizontal #nav {
- margin-top: -10px;
- padding: 10px 0;
- width: 100%;
- float: none;
- clear: both;
- background: transparent url(../img/main_nav_fluid_corner.gif) no-repeat top left;
- }
-
-#fluid-horizontal #nav ul {
- margin: 0;
- padding: 0 0 0 20px;
- float: left;
- width: auto;
- list-style: none;
- }
-
-#fluid-horizontal #nav li {
- margin: 0 15px 0 0;
- padding-left: 12px;
- float: left;
- text-align: center;
- background: transparent url(../img/list_bullet_fw.gif) no-repeat 0 50%;
- }
View
26 public/stylesheets/vt/fluid-vertical.css
@@ -1,26 +0,0 @@
-@import url('default.css');
-@import url('widgets.css');
-@import url('columns.css');
-@import url('layout.css');
-@import url('search-box.css');
-
-#fluid-vertical #nav {
- margin-top: -10px;
- padding: 10px 0;
- width: 23%;
- float: left;
- clear: both;
- background: transparent url(../img/main_nav_fluid_corner.gif) no-repeat top left;
- }
-
-#fluid-vertical #nav ul {
- padding-bottom: 5px;
- }
-
-#fluid-vertical #content {
- border-left: 1px #ccc solid;
- width: 73%;
- float: right;
- clear: none;
- background: none;
- }
View
6 public/stylesheets/vt/gateway-horizontal.css
@@ -1,6 +0,0 @@
-@import url('default.css');
-@import url('widgets.css');
-@import url('columns.css');
-@import url('layout.css');
-@import url('nav.css');
-@import url('search-box.css');
View
7 public/stylesheets/vt/gateway-vertical.css
@@ -1,7 +0,0 @@
-@import url('default.css');
-@import url('widgets.css');
-@import url('columns.css');
-@import url('layout.css');
-@import url('nav.css');
-@import url('search-box.css');
-
View
23 public/stylesheets/vt/home-horizontal.css
@@ -1,23 +0,0 @@
-@import url('default.css');
-@import url('widgets.css');
-@import url('columns.css');
-@import url('layout.css');
-@import url('nav.css');
-@import url('search-box.css');
-
-#home-horizontal #page-area {
- background: #f5f5eB url(../img/pgarea_hnav_home.gif) repeat-y top left;
- }
-
-#home-horizontal #main-content {
- clear: both;
- background: transparent url(../img/mainc_hnav_home_top.gif) no-repeat top left;
- }
-
-#home-horizontal .three-col {
- background: none;
- }
-
-#home-horizontal #sub-footer {
- width: 758px;
- }
View
11 public/stylesheets/vt/home-vertical.css
@@ -1,11 +0,0 @@
-@import url('default.css');
-@import url('widgets.css');
-@import url('columns.css');
-@import url('layout.css');
-@import url('nav.css');
-@import url('search-box.css');
-
-#home-vertical #main-content {
- padding-top: 5px;
- }
-
View
64 public/stylesheets/vt/ie.css
@@ -1,64 +0,0 @@
-/* Import Columns. Believe it or not, IE can handle these much better than FF in print. */
-
-@media print {
- @import url('columns.css');
- }
-
-/* Lists */
-
-ul, ol ul {
- list-style-image: url(../img/list_bullet_fw_ie.gif);
- }
-
-ul li {
- margin-bottom: 5px;
- margin-left: 18px;
- }
-
-ol li {
- margin-bottom: 5px;
- margin-left: 25px;
- }
-
-#sub-content .sub-section ul li {
- margin-left: 18px;
- }
-
-#sub-content .sub-section ol li {
- margin-left: 25px;
- }
-
-/* Forms */
-
-form ul.checkbox,
-form ul.radio {
- float: none;
- }
-
-/* Images */
-
-#main-content .image-left {
- margin-right: 25px;
- padding-right: 0;
- }
-
-#main-content .image-right {
- padding-left: 10px;
- }
-
-/* Page Wrapper 2 */
-
-#page-wrapper2 {
- height: 100%; /* The old standby. Keeps the background on this div from disappearing in IE. */
- }
-
-/* Main Content and Sub Content */
-
-#main-content,
-#sub-content {
- overflow: hidden; /* Keeps IE from kicking one or both of these divs down the page. */
- }
-
-#home-vertical #main-content {
- padding-top: 10px;
- }
View
18 public/stylesheets/vt/ie6.css
@@ -1,18 +0,0 @@
-/* Body */
-
-body {
- line-height: 1.2; /* Fixes the peekaboo bug. See Position is Everything, http://www.positioniseverything.net/explorer/peekaboo.html */
- }
-
-/* Main Nav and Sub Nav */
-
-#main-nav,
-#sub-nav {
- height: 1px; /* The old standby. Keeps the background on this div from disappearing in IE. */
- }
-
-/* Main Content and Sub Content */
-
-#sub-header {
- height: 1px;
- }
View
356 public/stylesheets/vt/layout.css
@@ -1,356 +0,0 @@
-/* =BODY
------------------------------------------------------
-Also see default.css for font sizes and colors.
------------------------------------------------------*/
-
-body {
- margin: 0;
- background: #9D9879 url(../img/body_bg.jpg) repeat-x top left;
- }
-
-/* =PAGE WRAPPERS
------------------------------------------------------
-
------------------------------------------------------*/
-
-#page-wrapper1 {
- background: transparent url(../img/page_wrapper1.gif) repeat-y top center;
- }
-
-#page-wrapper2 {
- background: transparent url(../img/page_wrapper2.jpg) no-repeat top center;
- }
-
-#page-wrapper3 {
- background: transparent url(../img/page_wrapper3.jpg) no-repeat bottom center;
- }
-
-#page-wrapper4 {
- background: transparent none;
- }
-
-.fluid #page-wrapper1,
-.fluid #page-wrapper2,
-.fluid #page-wrapper3,
-.fluid #page-wrapper4 {
- background: none;
- }
-
-/* =PAGE AREA
------------------------------------------------------
-
------------------------------------------------------*/
-
-#page-area {
- margin: 0px auto;
- padding: 0px;
- border: 3px solid #fff;
- border-top: 0px;
- width: 758px;
- background: #f5f5eB url(../img/pgarea_vnav.gif) repeat-y top left;
- }
-
-.horizontal #page-area {
- background: #f5f5eB url(../img/pgarea_hnav.gif) repeat-y top left;
- }
-
-.fluid #page-area {
- background: #f5f5eB url(../img/pgarea_hnav.gif) repeat-y top left;
- width: 90%;
- }
-
-/* =HEADER
------------------------------------------------------
-
------------------------------------------------------*/
-
-#header {
- padding: 10px;
- border-bottom: 1px #fff solid;
- width: 738px;
- height: 77px;
- position: relative;
- background: #5e0000 url(../../images/unit_header_screen.jpg) no-repeat top left;
- color: #fff;
- }
-
-.fluid #header {
- padding: 0;
- width: auto;
- height: 97px;
- background: #5e0000 url(../img/unit_header_fluid_bg.jpg) repeat-x 105px 0;
- overflow: hidden;
- }
-
-.fluid #header-inside {
- padding: 10px;
- width: auto;
- height: 77px;
- background: transparent url(../../images/unit_header_screen.jpg) no-repeat top left;
- }
-
-#header ul,
-#header li {
- margin: 0;
- padding: 0;
- list-style-image: none;
- }
-
-#header a {
- color: #fff;
- }
-
-#header img {
- margin: 0;
- padding: 0;
- border: 0;
- }
-
-/* VT and Unit Header */
-
-#vt-header,
-#unit-header {
- position: absolute;
- top: 33px;
- overflow: hidden;
- background: #5e0000;
- }
-
-#vt-header a,
-#unit-header a {
- color: #600;
- }
-
-#vt-header-screen,
-#unit-header-screen {
- display: block;
- position: absolute;
- }
-
-/* VT Header */
-
-#vt-header {
- left: 30px;
- width: 172px;
- height: 39px;
- }
-
-#vt-header-screen {
- top: -33px;
- left: -30px;
- }
-
-/* Unit Header */
-
-#unit-header {
- left: 252px;
- width: 476px;
- height: 39px;
- }
-
-#unit-header-screen {
- top: -33px;
- left: -252px;
- }
-
-#unit-header-print {
- display: none;
- }
-
-/* =SUB-HEADER
------------------------------------------------------
-
------------------------------------------------------*/
-
-#sub-header {
- border-bottom: 1px #fff solid;
- background: #666;
- color: #fff;
- }
-
-.horizontal #sub-header {
- float: left;
- display: inline;
- background: #3c5b6f url(../img/search_bg.jpg) repeat-y top left;
- }
-
-.fluid #sub-header {
- padding-bottom: 10px;
- border: 0;
- width: 100%;
- float: none;
- display: block;
- background: transparent url(../img/sub_header_fluid_shadow.gif) repeat-x bottom left;
- }
-
-.horizontal #sub-header-inside {
- border-left: 1px solid #fff;
- float: right;
- }
-
-.fluid #sub-header-inside {
- border-left: 0;
- border-bottom: 1px #fff solid;
- float: none;
- background: #666 url(../img/sub_header_fluid_bg.jpg) repeat-x top left;
- }
-
-#sub-header p {
- margin: 0;
- padding: .6em 10px;
- letter-spacing: 1px;
- text-align: right;
- font-size: 2.0em;
- font-family: Times, 'Times New Roman', serif;
- font-weight: normal;
- }
-
-#sub-header a {
- color: #fff;
- }
-
-#sub-header img {
- border: 0;
- padding: 0;
- display: block;
- }
-
-/* =NAV (See nav.css.) */
-
-/* =CONTENT and MAIN CONTENT
------------------------------------------------------
-
------------------------------------------------------*/
-
-#content {
- width: 566px;
- float: right;
- }
-
-.horizontal #content,
-.fluid #content {
- float: none;
- clear: both;
- }
-
-.horizontal #content {
- width: 758px;
- }
-
-.fluid #content {
- margin-bottom: 10px;
- width: 100%;
- }
-
-#main-content {
- padding-top: 1px; /* Makes Firefox and Netscape 7 happy. */
- width: 566px;
- clear: both;
- background: transparent url(../img/mainc_top.gif) no-repeat top left;
- }
-
-.horizontal #main-content {
- width: 758px;
- }
-
-.fluid #main-content {
- width: 100%;
- background: none;
- }
-
-/* =SUB-CONTENT (See sub-content.css.) */
-
-/* =FOOTER and SUB FOOTER
------------------------------------------------------
-
------------------------------------------------------*/
-
-#footer,
-#sub-footer {
- clear: both;
- text-align: center;
- font-size: 90%;
- font-weight: bold;
- }
-
-#footer {
- margin: 0 auto 0 auto;
- padding: 15px 0;
- width: 782px;
- background: transparent url(../img/footer_top.jpg) no-repeat top left;
- color: #333;
- font-weight: bold;
- }
-
-.fluid #footer {
- background: none;
- width: 90%;
- }
-
-#sub-footer {
- padding-top: 5px;
- width: 566px;
- background: #edeada url(../img/related_links_top.gif) no-repeat top left;
- color: #666;
- }
-
-.horizontal #sub-footer {
- width: 758px;
- }
-
-.fluid #sub-footer {
- width: 100%;
- background: none;
- }
-
-#sub-footer-inside {
- padding: 5px 0 10px 0;
- background: transparent url(../img/related_links_left.gif) repeat-y top left;
- }
-
-.fluid #sub-footer-inside {
- background: none;
- }
-
-#footer ul,
-#footer p,
-#sub-footer ul,
-#sub-footer p {
- margin: 0;
- padding: 3px 0;
- }
-
-#footer ul li,
-#sub-footer ul li {
- margin: 0;
- padding: 0px 6px;
- border-right: 1px #333 solid;
- display: inline;
- list-style: none;
- }
-
-#footer ul li {
- border-right: 1px #333 solid;
- }
-
-#sub-footer ul li {
- border-right: 1px #666 solid;
- }
-
-#footer li.last,
-#sub-footer li.last {
- border-right: 0;
- }
-
-#footer a,
-#sub-footer a {
- white-space: nowrap;
- }
-
-#footer a {
- color: #333;
- }
-
-#sub-footer a {
- color: #666;
- }
View
171 public/stylesheets/vt/nav.css
@@ -1,171 +0,0 @@
-/* =NAV
--------------------------------------------------
-Also see search_box.css.
--------------------------------------------------*/
-
-/* Nav */
-
-#nav {
- width: 191px;
- float: left;
- display: inline;
- background: #42657b url(../img/nav_bg.gif) repeat-y top left;
- color: #fff;
- }
-
-.horizontal #nav {
- width: 758px;
- float: none;
- clear: both;
- }
-
-/* Headers */
-
-#nav h2, #nav h3, #nav h4,
-#nav h5, #nav h6 {
- color: #fff;
- }
-
-/* Lists */
-
-#nav ul {
- margin: 0 0 0 8px;
- padding: 10px 10px 5px;
- list-style-image: none;
- }
-
-.horizontal #nav ul {
- margin: 0;
- padding: 0 0 0 20px;
- float: left;
- clear: both;
- width: auto;
- }
-
-#nav ul li {
- margin: 0;
- padding: 0 0 5px;
- line-height: 1.1em;
- }
-
-.horizontal #nav ul li {
- margin-right: 15px;
- padding: 0;
- float: left;
- width: auto;
- display: inline;
- line-height: 2.5em;
- text-align: center;
- }
-
-/* Anchors */
-
-#nav a {
- color: #fff;
- }
-
-#nav ul li a {
- margin: 0;
- padding-left: 12px;
- display: block;
- background: transparent url(../img/nav_bullet_fw.gif) no-repeat 0px 2px;
- text-decoration: none;
- }
-
-.horizontal #nav ul li a {
- padding-left: 10px;
- background-position: 0 50%;
- }
-
-#nav ul li a:hover {
- background: transparent url(../img/nav_bullet_fw_hv.gif) no-repeat 0px 2px;
- }
-
-.horizontal #nav ul li a:hover {
- background-position: 0 50%;
- }
-
-#nav .back a:link,
-#nav .back a:visited {
- background: transparent url(../img/nav_bullet_bk.gif) no-repeat 2px 2px;
- }
-
-#nav .back a:hover,
-#nav .back a:active {
- background: transparent url(../img/nav_bullet_bk_hv.gif) no-repeat 0px 2px;
- }
-
-.vertical #nav .back .last a:link,
-.vertical #nav .back .last a:visited {
- background: transparent url(../img/nav_bullet_dn.gif) no-repeat 0px 4px;
- }
-
-.vertical #nav .back .last a:hover,
-.vertical #nav .back .last a:active {
- background: transparent url(../img/nav_bullet_dn_hv.gif) no-repeat 0px 4px;
- }
-
-/* =MAIN NAV
--------------------------------------------------
-
--------------------------------------------------*/
-
-#main-nav {
- background: #497381 url(../img/main_nav_vnav.jpg) repeat-y top left;
- clear: both;
- }
-
-.horizontal #main-nav {
- border-bottom: 1px #fff solid;
- float: left;
- width: 100%;
- background: #557082 url(../img/main_nav_hnav.gif) repeat-x top left;
- }
-
-#main-nav ul {
- background: transparent url(../img/nav_separator.jpg) no-repeat top right;
- }
-
-.horizontal #main-nav ul {
- background: none;
- }
-
-/* =SUB NAV
--------------------------------------------------
-
--------------------------------------------------*/
-
-.sub-nav {
- margin: 0;
- padding: 0;
- overflow: hidden;
- color: #12252C;
- background: #93a7b3 url(../img/sub_nav.gif) repeat-y top left;
- }
-
-.sub-nav-top {
- background: transparent url(../img/sub_nav_top.gif) repeat-x 0px 0px;
- }
-
-.sub-nav-mid {
- background: transparent url(../img/sub_nav_mid.gif) no-repeat top left;
- }
-
-.sub-nav-bot {
- padding-left: 8px;
- background: transparent url(../img/sub_nav_bot.gif) no-repeat bottom left;
- }
-
-#main-nav .sub-nav ul {
- margin-left: 0;
- background: transparent url(../img/sub_nav_separator.gif) no-repeat top right;
- }
-
-#main-nav .sub-nav a {
- color: #12252C;
- background: transparent url(../img/sub_nav_bullet_fw.gif) no-repeat 0px 2px;
- }
-
-#main-nav .sub-nav a:hover {
- background: transparent url(../img/nav_bullet_fw_hv.gif) no-repeat 0px 2px;
- }
View
81 public/stylesheets/vt/print.css
@@ -1,81 +0,0 @@
-@import url('default.css');
-@import url('widgets.css');
-
-body {
- background: none;
- margin: 0px;
- padding: 0px;
- font-family: Arial, Verdana, sans-serif;
- font-size: 80%;
- }
-
-table {
- width: 100%;
- }
-
-th, td {
- width: auto;
- }
-
-#main-content .related-links {
- background: none;
- }
-
-#vt-header-screen,
-#unit-header-screen {
- display: none;
- }
-
-#unit-header-print {
- margin-bottom: 10px;
- padding: 0;
- border: 0;
- display: block;
- }
-
-#nav,
-#search,
-#footer {
- display: none;
- }
-
-#page-wrapper1,
-#page-wrapper2,
-#page-wrapper3,
-#page-wrapper4,
-#page-area,
-#main,
-#content,
-#main-content,
-#sub-content {
- background: none;
- margin: 0;
- padding: 0;
- border: 0;
- float: none;
- width: auto; /* Hacked in global-ie.css for IE */
- }
-
-#sub-header {
- margin-left: 18px;
- margin-bottom: 20px;
- }
-
-.fluid #sub-header {
- margin: 0;
- font-family: Times, 'Times New Roman', serif;
- font-size: 2.0em;
- }
-
-#sub-header img {
- background: none;
- padding: 2px;
- border: 1px solid #9d9879;
- display: block;
- }
-
-#sub-content,
-#sub-footer {
- margin-top: 20px;
- border-top: 1px #999 solid;
- }
View
89 public/stylesheets/vt/search-box.css
@@ -1,89 +0,0 @@
-/* =SEARCH
--------------------------------------------
-
--------------------------------------------*/
-
-#search {
- margin: 0;
- padding: 7px 0 10px 20px;
- background: #3c5b6f url(../img/search_bg.jpg) repeat-y top left;
- color: #fff;
- font-size: 85%;
- }
-
-.horizontal #search {
- width: 171px;
- float: left;
- }
-
-.fluid #search {
- margin-top: 2.0em;
- padding: 0 0 2.0em 20px;
- float: left;
- width: 40%;
- display: inline;
- background: none;
- }
-
-#search-criteria input {
- margin-bottom: 5px;
- float: left;
- }
-
-#search-criteria label {
- float: left;
- margin-top: 4px;
- }
-
-#search form {
- margin: 0;
- color: #fff;
- }
-
-#search fieldset {
- margin: 0;
- padding: 0;
- border: 0;
- }
-
-.fluid #search fieldset {
- margin-right: 10px;
- float: left;
- clear: none;
- display: inline;
- }
-
-#search input {
- vertical-align: middle;
- }
-
-#search input#search-query {
- padding: 2px;
- border: 1px solid #e3e3e3;
- width: 125px;
- font-size: 90%;
- }
-
-#search ul {
- margin: 0;
- padding: 5px 0 0 0;
- height: 1.1em;
- list-style: none;
- }
-
-#search li {
- margin: 0;
- float: left;
- line-height: 1.1em;
- font-size: .9em;
- }
-
-#main #search ul li a {
- padding: 0 7px;
- background: transparent url(../img/search_bullet.gif) no-repeat 0px 3px;
- color: #fff;
- }
-
-#main #search ul li a:hover {
- text-decoration: none;
- }
View
87 public/stylesheets/vt/sub-content.css
@@ -1,87 +0,0 @@
-/* =PAGE AREA and MAIN CONTENT
--------------------------------------------------
-
--------------------------------------------------*/
-
-#page-area {
- background: #f5f5eB url(../img/pgarea_vnav_subc.gif) repeat-y 100% 0;
- }
-
-.horizontal #page-area {
- background: #f5f5eB url(../img/pgarea_hnav_subc.gif) repeat-y 100% 0;
- }
-
-#main-content {
- width: 405px;
- float: left;
- clear: none;
- }
-
-.horizontal #main-content {
- width: 596px;
- float: left;
- }
-
-#sub-footer {
- width: 405px;
- }
-
-.horizontal #sub-footer {
- width: 596px;
- }
-
-/* =SUB CONTENT
--------------------------------------------------
-
--------------------------------------------------*/
-
-#sub-content {
- float: right;
- width: 161px;
- }
-
-/* =SUB SECTION
--------------------------------------------------
-
--------------------------------------------------*/
-
-.sub-section {
- background: transparent url(../img/subc_left.gif) no-repeat top left;
- padding: 0px 0px 8px 8px;
- }
-
-.sub-section * {
- margin-right: 8px;
- margin-left: 3px;
- }
-
-.sub-section * * {
- margin-right: 0;
- margin-left: 0;
- }
-
-.sub-section h2 {
- margin: 0;
- padding: 10px 10px 10px 3px;
- line-height: 1.1em;
- background: transparent url(../img/subc_header.gif) repeat-x top left;
- font-size: 1.3em;
- font-weight: bold;
- }
-
-.sub-section h3,
-.sub-section h4,
-.sub-section h5,
-.sub-section h6 {
- line-height: 1.1em;
- font-size: 1.1em;
- font-weight: bold;
- }
-
-.sub-section ul li {
- margin-left: 15px;
- }
-
-.sub-section ol li {
- margin-left: 18px;
- }
View
194 public/stylesheets/vt/widgets.css
@@ -1,194 +0,0 @@
-/* =IMAGES
--------------------------------------------------
-
--------------------------------------------------*/
-
-/* Just in case someone slaps a naked image into a page... */
-
-#main-content img {
- margin: 5px 15px 5px 18px;
- }
-
-#sub-content img {
- margin: 0 8px 0 3px;
- }
-
-/* Styles for not-naked images... */
-
-#content .image {
- padding-top: 5px;
- padding-bottom: 10px;
- }
-
-#content .image img {
- margin: 0;
- display: block;
- }
-
-#content .image p {
- margin: 5px;
- line-height: normal;
- color: #333;
- text-align: center;
- font-style: italic;
- }
-
-#content .image p a {
- margin-left: -5px;
- padding-left: 10px;
- background: transparent url(../img/list_bullet_fw_sm.gif) no-repeat 3px 5px;
- text-decoration: none;
- font-style: normal;
- }
-
-#content .image p a:hover {
- text-decoration: underline;
- }
-
-#content .image-center {
- clear: both;
- }
-
-#content .image-center img {
- margin: 0 auto 0 auto;
- }
-
-#main-content .image-left {
- padding-right: 20px;
- padding-left: 18px;
- float: left;
- display: inline;
- }
-
-#main-content .image-right {
- padding-right: 15px;
- padding-left: 15px;
- float: right;
- display: inline;
- }
-
-/* =LINES
--------------------------------------------------
- An alternative to the horizontal rule.
--------------------------------------------------*/
-
-.line {
- margin: 15px 15px 10px 18px;
- border-color: #c2c1ba;
- position: relative;
- clear: both;
- }
-
-/* =PRETTY FORMS
--------------------------------------------------
- Extra classes for pretty forms.
--------------------------------------------------*/
-
-form p.instructions {
- color: #333;
- font-weight: bold;
- }
-
-form p.text br,
-form p.textarea br,
-form p.select br {
- display: none;
- }
-
-form p.text label,
-form p.textarea label,
-form p.checkbox,
-form p.radio,
-form p.select label {
- margin: 0;
- margin-bottom: 15px;
- width: 28%;
- float: left;
- display: block;
- text-align: right;
- }
-
-form p.text input,
-form p textarea,
-form ul.checkbox,
-form ul.radio,
-form p select {
- margin: 0;
- margin-bottom: 15px;
- width: 68%;
- float: right;
- display: block;
- text-align: left;
- }
-
-form ul.radio input,
-form ul.checkbox input {
- margin: 3px 3px 0 0;
- padding: 0;
- }
-
-/* =PULL OUTS
--------------------------------------------------
- For random quotations etc.
--------------------------------------------------*/
-
-.pull-out {
- margin: 5px;
- width: 150px;
- line-height: normal;
- text-align: center;
- color: #600;
- font-size: 120%;
- font-family: 'Times New Roman', serif;
- font-style: italic;
- }
-
-.pull-out-left {
- margin: 0;
- padding: 5px 7px 5px 18px;
- float: left;
- }
-
-.pull-out-right {
- margin: 0;
- padding: 5px 15px 5px 7px;
- float: right;
- text-align: right;
- }
-
-/* =STRIPED TABLES
--------------------------------------------------
- To be used with the tableStripe function in widgets.js.
--------------------------------------------------*/
-
-#main-content tr.odd td {
- background: #e3dfc6;
- }
-
-/* =UTILITY CLASSES - DO NOT TOUCH
--------------------------------------------------
- THE FOLLOWING STYLES ARE USED TO MAINTAIN STRUCTURAL CONSISTANCY AND AID ACCESSIBILITY
--------------------------------------------------*/
-
-/* Clear */
-
-.clear {
- height: 0;
- clear: both;
- background: transparent none;
- }
-
-.clear span {
- display: none;
- }
-
-/* Hide, Skip */
-
-.hide, .skip {
- position: absolute;
- left: 0px;
- top: -500px;
- width: 1px;
- height: 1px;
- overflow: hidden;
- }
View
397 public/stylesheets/web_app_theme.css
@@ -1,397 +0,0 @@
-* {margin:0;padding:0}
-.clear { clear: both; height: 0; }
-
-.wat-cf:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
-}
-
-.wat-cf {display: inline-block;}
-
-/* Hides from IE-mac \*/
-* html .wat-cf {height: 1%;}
-.wat-cf {display: block;}
-/* End hide from IE-mac */
-
-h1 { margin: 15px 0; font-size: 22px; font-weight: normal; }
-h2 { font-size: 22px; margin: 15px 0; font-weight: normal;}
-h3 { font-size: 18px; margin: 10px 0; font-weight: normal;}
-h4 { font-size: 16px; margin: 10px 0; font-weight: normal;}
-hr {height: 1px; border: 0; }
-p { margin: 15px 0;}
-a img { border: none; }
-
-body {
- font-size: 12px;
- font-family: sans-serif;
-}
-
-#container {
- min-width: 960px;
-}
-
-#header, #wrapper {
- padding: 0 20px;
-}
-
-#header {
- position: relative;
- padding-top: 1px;
-}
-
-#header h1 {
- margin: 0;
- padding: 10px 0;
- font-size: 26px;
-}
-
-#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
- text-decoration: none;
-}
-
-#main {
- width: 70%;
- float: left;
-}
-
-.actions-bar {
- padding: 10px 1px;
-}
-
-.actions-bar .actions {
- float: left;
-}
-
-
-.actions-bar .pagination {
- float: right;
- padding: 1px 0;
-}
-
-#sidebar {
- width: 25%;
- float: right;
-}
-
-#sidebar h3 {
- padding: 10px 15px;
- margin: 0;
- font-size: 13px;
-}
-
-#sidebar .block {
- margin-bottom: 20px;
- padding-bottom: 10px;
-}
-
-#sidebar .block .content {
- padding: 0 15px;
-}
-
-#sidebar ul.navigation li a:link, #sidebar ul.navigation li a:visited {
- display: block;
- padding: 10px 15px;
-}
-
-#sidebar .block .sidebar-block, #sidebar .notice {
- padding:10px;
-}
-
-#wrapper {
- padding-top: 20px;
-}
-
-#main .block {
- margin-bottom: 20px;
- padding-top: 1px;
-}
-
-#main .block .content .inner {
- padding: 0 15px 15px;
-}
-
-#main .main p.first {
- margin-top: 0;
-}
-
-#user-navigation {
- position: absolute;
- top: 0px;
- right: 20px;
-}
-
-#main-navigation {
- width: 100%;
-}
-
-#user-navigation ul, #main-navigation ul, .secondary-navigation ul, #sidebar ul.navigation {
- margin: 0;
- padding: 0;
- list-style-type: none;
-}
-
-#user-navigation ul li, #main-navigation ul li, .secondary-navigation ul li {
- float: left;
-}
-
-#main-navigation ul li {
- margin-right: 5px;
-}
-
-#user-navigation ul li {
- padding: 5px 10px;
-}
-
-#main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
-.secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
-#user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
- text-decoration: none;
-}
-
-#main-navigation ul li a {
- font-size: 14px;
- line-height: 14px;
- display: block;
- padding: 8px 15px;
-}
-
-.secondary-navigation {
- font-size: 13px;
- border-bottom-width: 10px;
- border-bottom-style: solid;
-}
-
-.secondary-navigation ul li a {
- display: block;
- padding: 10px 15px;
-}
-
-#footer {
- padding-bottom: 20px;
-}
-
-/* pagination */
-
-.pagination a, .pagination span {
- padding: 2px 5px;
- margin-right: 5px;
- display: block;
- float: left;
- border-style: solid;
- border-width: 1px;
-}
-
-.pagination span.current {
- font-weight: bold;
-}
-
-.pagination a {
- text-decoration: none;
-}
-
-/* tables */
-.table {
- width: 100%;
- border-collapse: collapse;
- margin-bottom: 15px;
-}
-
-.table th {
- padding: 10px;
- font-weight: bold;
- text-align: left;
-}
-
-.table th.first {
- width: 30px;
-}
-
-.table th.last {
- width: 200px;
-}
-
-.table .checkbox {
- margin-left: 10px;
-}
-
-.table td {
- padding: 10px;
-}
-
-.table td.last {
- text-align: right;
-}
-
-/* forms */
-
-input.checkbox {
- margin: 0;
- padding: 0;
-}
-
-.form .group {
- margin-bottom: 15px;
-}
-
-.form div.left {
- width: 20%;
- float: left;
-}
-
-.form div.right {
- width: 75%;
- float: right;
-}
-
-.form .columns .column {
- width: 48%;
-}
-
-.form .columns .left {
- float: left;
-}
-
-.form .columns .right {
- float: right;
-}
-
-.form label.label, .form input.text_field, .form textarea.text_area {
- font-size: 1.2em;
- padding: 1px 0;
- margin: 0;
-}
-
-.form label.right {
- text-align: right;
-}
-
-.form input.checkbox, .form input.radio {
- margin-right: 5px;
-}
-
-.form label.checkbox, .form label.radio {
- line-height: 1.5em;
-}
-
-.form label.label {
- display: block;
- padding-bottom: 2px;
- font-weight: bold;
-}
-
-.form div.fieldWithErrors label.label {
- display: inline;
-}
-
-.form .fieldWithErrors .error {
- color: red;
-}
-
-.form input.text_field, .form textarea.text_area {
- width: 100%;
- border-width: 1px;
- border-style: solid;
-}
-
-/* lists */
-
-ul.list {
- margin: 0;
- padding: 0;
- list-style-type: none;
-}
-
-ul.list li {
- clear: left;
- padding-bottom: 5px;
-}
-
-ul.list li .left {
- float: left;
-}
-
-ul.list li .left .avatar {
- width: 50px;
- height: 50px;
-}
-
-ul.list li .item {
- margin-left: 80px;
-}
-
-ul.list li .item .avatar {
- float: left;
- margin: 0 5px 5px 0;
- width: 30px;
- height: 30px;
-}
-
-/* box */
-
-#box {
- width: 500px;
- margin: 50px auto;
-}
-
-#box .block {
- margin-bottom: 20px;
-}
-
-#box .block h2 {
- padding: 10px 15px;
- margin: 0;
-}
-
-#box .block .content {
- padding: 10px 20px;
-}
-
-/* Inspired by http://particletree.com/features/rediscovering-the-button-element */
-
-a.button:link, a.button:visited, a.button:hover, a.button:active, button.button {
- color: #222;
- display:block;
- float:left;
- margin:0 7px 0 0;
- background-color: #eee;
- border:1px solid #bfbfbf;
- font-size: 1em;
- line-height: 1.3em;
- font-weight:bold;
- cursor:pointer;
- padding:5px 10px 6px 7px;
- text-decoration: none;
-}
-
-button.button {
- width:auto;
- overflow:visible;
- padding:4px 10px 3px 7px; /* IE6 */
-}
-button.button[type] {
- padding:5px 10px 5px 7px; /* Firefox */
- line-height:17px; /* Safari */
-}
-
-*:first-child+html button.button[type] {
- padding:4px 10px 3px 7px; /* IE7 */
-}
-
-button.button img, a.button img {
- margin:0 3px -3px 0 !important;
- padding:0;
- border:none;
- width:16px;
- height:16px;
-}
-
-button.button:hover, a.button:hover {
- background-color:#dedede;
-}
-
-button.button:active, a.button:active {
- background-color:#e5e5e5;
-}
View
1  public/stylesheets/web_app_theme_override.css
@@ -1 +0,0 @@
-/* Override here any style definide by web-app-theme */

0 comments on commit 67ebb9e

Please sign in to comment.
Something went wrong with that request. Please try again.