Skip to content

Commit

Permalink
More CSS tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
tumes committed Mar 23, 2011
1 parent b3b34a7 commit 7fa1fd9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
6 changes: 4 additions & 2 deletions app/views/run_logs/new.html.haml
Expand Up @@ -6,11 +6,13 @@
= f.hidden_field :chromatographic_column_id, :value => params[:column]
= f.input :run_date
%p
Pressure and flow rate:
%label
Pressure and flow rate:
= f.text_field :pressure, :as => :string, :size => 3
@
= f.text_field :flow_rate, :as => :string, :size => 3
mL/min

= render :partial => 'run_logs/calibration_level', :collection => @levels, :locals => { :f => f }


= @run_log.errors
23 changes: 17 additions & 6 deletions public/stylesheets/layout.css
Expand Up @@ -458,20 +458,21 @@ div.nested-fields label{
font-size: 1.3em;
}

input[type="text"] {
input[type="text"], input[type="password"] {
font-size: 1.7em;
font-weight: bold;
padding: 0.2em;
border-style: solid;
border-color: black;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-moz-box-shadow: 2px 2px #999;
-webkit-box-shadow: 2px 2px #999;
}

input[type="password"] {
font-size: 1.7em;
.big-text{
font-size: 1em;
font-weight: bold;
padding: 0.2em;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
}

input[type="submit"] {
Expand Down Expand Up @@ -502,8 +503,18 @@ input[type="submit"] {
p textarea {
width: 98%;
font-size: 10pt;
border-style: solid;
border-color: black;
border-width: 2px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-moz-box-shadow: 2px 2px #999;
-webkit-box-shadow: 2px 2px #999;
}

select {
font-size: 1.7em;
border-style: solid;
border-color: black;
border-width: 2px;
}

0 comments on commit 7fa1fd9

Please sign in to comment.