app/assets/stylesheets/calagator/mobile.scss in calagator-1.0.0.rc2 vs app/assets/stylesheets/calagator/mobile.scss in calagator-1.0.0.rc3

- old
+ new

@@ -72,23 +72,21 @@ border-radius: 4px; right: 10px; top: 10px; } + + #search_form { + right: 15px; + } + #search_form label { display: none; } - #search_form input { - background: transparent; - -webkit-appearance: none; - border: none; - outline: none - } - #search_field { - width: 150px; + width: 121px; } .sidebar { padding: 1em; margin-bottom: 1em; @@ -99,17 +97,17 @@ width: inherit; margin-top: 0px; width: 90%; } - .standard_form input[type="text"], - .standard_form input[type="url"], - .standard_form input[type="number"], - .standard_form input[type="email"], - .standard_form input[type="tel"], - .standard_form textarea, - .standard_form .text textarea + .standard-form input[type="text"], + .standard-form input[type="url"], + .standard-form input[type="number"], + .standard-form input[type="email"], + .standard-form input[type="tel"], + .standard-form textarea, + .standard-form .text textarea { width: 170px; } textarea { @@ -175,22 +173,108 @@ padding: 0.25em; padding-right: 0; text-align: left; margin-right: -1em; } - .events_change {} - .events_change #event_times input[type="text"] { - width: 70px; } - .events_change #event_times .to { - clear: both; - text-align: right; - font-weight: bold; - width: 7em; } - .events_change #time_start, - .events_change #date_end { - margin: 0; } .events_show #google_map, .venues_show #google_map { display: none; } +/************************ + * New, Import, and Edit form styles + ************************/ + #event_form, + #source_form, + #venue_form{ + input, label, textarea{ + display: block; + width: 90%; + } + input, textarea{ + border: 1px solid darkgrey; + border-radius: 3px; + } + .actions{ + padding-left:5%; + } + label{ + margin-left:0; + text-align:left; + } + .inline-hints{ + width: 90%; + margin: 0 2.5%; + } + } + + #event_form{ + #date_start, #time_start, + #date_end, #time_end{ + display: inline; + margin-left:0; + margin-right:0; + width: 37%; + min-width: 70px; + } + .at{ + position:relative; + top:4px; + font-weight:bold; + margin-right:2%; + margin-left: 2%; + } + .to{ + display:block; + text-align:left; + font-weight:bold; + width: 90%; + } + #event_submit_action{ + width:46.5%; + input{ + height:30px; + max-width:112.633px; + } + } + } + + #source_form{ /*Event Import Form*/ + #source_submit_action{ + width:46.5%; + input{ + height:30px; + max-width:112.633px; + } + margin-left:25%; + } + } + + #venue_form{ + #venue_wifi_input{ + width:100%; + label{ + display:inline; + padding-left:0; + } + input{ + display:inline; + width:20px; + position:relative; + top:3px; + } + #venue_submit_action{ + margin-left:25%; + width:46.5%; + input{ + height:30px; + max-width:112.633px; + } + } + } + } + + .appropriateness_message{ margin-right: 10px; } + /* Venues index page */ + .venues_index #content{ margin-right: 10px; } + .events_index #content{ margin-right: 10px; } }