diff options
Diffstat (limited to 'www/css/fms.css')
-rw-r--r-- | www/css/fms.css | 789 |
1 files changed, 0 insertions, 789 deletions
diff --git a/www/css/fms.css b/www/css/fms.css deleted file mode 100644 index d4cedc5..0000000 --- a/www/css/fms.css +++ /dev/null @@ -1,789 +0,0 @@ -/* element styles */ - *{ - -webkit-user-select: none; - box-sizing:border-box; - } - - label{ - display:none; - } - - input, - select, - textarea{ - border:none; - width:100%; - padding: 0.5em; - border-radius:0; - -webkit-border-radius:0; - } - - input, - textarea, - select, - a, - .ui-btn { - pointer-events: all; - } - - input, - textarea, - select { - -webkit-user-select: auto; - } - - textarea{ - min-height: 10em; - } - - select{ - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - - background: none; - background-color: #fff; - - background-image: url(../images/dropdown-arrow.png); - background-image: url(../images/dropdown-arrow.svg); - background-size: auto 35%; - background-repeat: no-repeat; - background-position: 95% 50%; - } - -/* jquery mobile overrides */ - .ui-mobile-viewport { - background-color: #534741; - background-image: url('../images/mapbg.png'); - } - - .ui-icon-plus, - .ui-icon-minus, - .ui-icon-delete, - .ui-icon-arrow-r, - .ui-icon-arrow-l, - .ui-icon-arrow-u, - .ui-icon-arrow-d, - .ui-icon-check, - .ui-icon-gear, - .ui-icon-refresh, - .ui-icon-forward, - .ui-icon-back, - .ui-icon-grid, - .ui-icon-star, - .ui-icon-alert, - .ui-icon-info, - .ui-icon-home, - .ui-icon-bars, - .ui-icon-edit, - .ui-icon-search, - .ui-icon-searchfield::after, - .ui-icon-checkbox-off, - .ui-icon-checkbox-on, - .ui-icon-radio-off, - .ui-icon-radio-on { - background-size: 810px 54px; - } - - .ui-input-search { - background-image: none; - background-color: rgba(255,255,255,0.95); - } - - .ui-corner-all, - .ui-btn-corner-all { - -webkit-border-radius: 0px; - border-radius: 0px; - } - .ui-icon { - -webkit-border-radius: 0px; - border-radius: 0px; - background-color: rgba(0,0,0,0); - } - .ui-icon-shadow { - -webkit-box-shadow: none; - box-shadow: none; - } - .ui-li .ui-btn-up-c { - border-top-width: 0px; - border-bottom-width: 0px; - border-right-width: 0px; - border-left-width: 1px; - } - .ui-checkbox, - .ui-controlgroup .ui-checkbox - { - -webkit-border-radius: 0; - border-radius:0; - margin: 0 -1px; - } - .ui-icon.ui-icon-checkbox-on, - .ui-icon.ui-icon-checkbox-off - { - background-image: url(images/icons-18-white.png); - } - @media only screen and (min-resolution: 320dpi), - only screen and (-webkit-min-device-pixel-ratio: 2) { - .ui-icon.ui-icon-checkbox-on, - .ui-icon.ui-icon-checkbox-off - { - background-image: url(images/icons-36-white.png); - } - } - - div[data-role='header'] .ui-icon - { - background-image: url(images/icons-18-black.png); - } - @media only screen and (min-resolution: 320dpi), - only screen and (-webkit-min-device-pixel-ratio: 2) { - div[data-role='header'] .ui-icon - { - background-image: url(images/icons-36-black.png); - } - } - .ui-controlgroup-controls .ui-checkbox label, - .ui-controlgroup-controls .ui-checkbox label - { - border: none; border-width: 0; - } - - .ui-loader { - height: 100%; - width: 100%; - top: 0px !important; - left: 0px; - margin: 0px; - opacity: .58; - border-radius: 0px; - } - - .ui-loader .ui-icon-loading { - position: absolute; - top: 50%; - left: 50%; - margin-left: -23px; - margin-top: -23px; - width: 46px; - height: 46px; - background-size: 46px 46px; - opacity: 1; - background: url('images/ajax-loader.gif'); - } - - .ui-header .ui-title, - .ui-footer .ui-title - { - text-shadow:none; - } - - .ui-page { - background-image: none; - background-color: rgba(0,0,0,0); - } - -/* all app classes and selectors */ - - /* This is a bit of hackery as without it jquerymobile never sets the page - * to be other than display: none. Should work out why and fix at source */ - div[data-role="page"] { - display: block !important; - } - - div.jquerymobile { - pointer-events: none; - } - - #drafts, - div[data-role='content'] { - position: relative; - width: 95%; - margin: 20px auto; - background-color: rgba(255, 255, 255, 0.8); - } - - .notopmargin { - margin-top: 0em; - } - - .nodisplay { - display: none; - } - - #drafts h2, - div[data-role='content'] p.top, - div[data-role='content'] h2 { - margin-top: 0px; - } - -/* form styles */ - .inputcard { - font-size: 16px; - padding:0; - } - .inputcard .ui-checkbox, - .inputcard .ui-controlgroup .ui-checkboxo{ - margin: 0px; - } - .gmailstyletest{ - font-size: 16px; - padding:0; - border: none; - background: rgba(255, 255, 255, 0.7) !important; - } - .inputcard > div, - .gmailstyletest > div, - .ui-field-contain - { - border:none; - border-bottom: 1px solid #ccc; - } - .inputcard > div.noborder, - .gmailstyletest > div.noborder { - border:none; - } - .ui-field-contain{ - padding: 0; - } - - .gmailstyletest input, - .gmailstyletest input[type="password"], - .gmailstyletest input[type="search"], - .gmailstyletest input[type="email"], - .gmailstyletest textarea, - .gmailstyletest select, - .gmailstyletest input[type="range"] { - font-size: 16px; - background: rgba(255, 255, 255, 0.7) !important; - } - - @media only screen and (max-width: 800px) and (min-width: 600px) - and (min-resolution: 320dpi) { - .gmailstyletest input, - .gmailstyletest input[type="password"], - .gmailstyletest input[type="search"], - .gmailstyletest input[type="email"], - .gmailstyletest textarea, - .gmailstyletest select, - .gmailstyletest input[type="range"] { - font-size: 24px; - } - } - - select.noselection{ - color: #777; - } - -/* form errors */ - - ::-webkit-input-placeholder { /* WebKit browsers */ - color: #777; - } - :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #777; - } - ::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #777; - } - :-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #777; - } - - .error::-webkit-input-placeholder { /* WebKit browsers */ - color: red; - } - .error:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: red; - } - .error::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: red; - } - .error:-ms-input-placeholder { /* Internet Explorer 10+ */ - color: red; - } - input.form-error, - select.error { - border: 1px solid red; - } - - div.form-error { - color: red; - } -/* in progress report screen */ - #existing div[data-role='content'] { - background-color: white; - } - - #existing h3 { - margin-top: 0em; - } - - #existing_report h3 { - margin-bottom: 5px; - } - - #existing_report div.meta { - font-weight: italic; - font-size: 0.8em; - margin-bottom: 0.5em; - } - - #existing_report div.meta p { - margin-top: 0em; - margin-bottom: 0em; - } - - #existing_report div.photo { - text-align: right; - float: right; - margin: 0em 0em 0.5em 0em; - } - - #existing_report img.small { - width: 200px; - min-height: 0px; - } - - /* taken and modified from http://www.mobify.com/blog/multiline-ellipsis-in-pure-css/ */ - #existing_report div.details { - max-height: 200px; - overflow: hidden; - line-height: 20px; - } - - #existing_report div.details > *:first-child { - float: right; - width: 100%; - margin-left: -5px; - } - - #existing_report div.details:after { - content: "\02026"; - - box-sizing: content-box; - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - - position: relative; - top: 180px; left: 100%; - margin-left: -1em; - padding-right: 5px; - - text-align: right; - } - - #existing div.right { - clear: both; - margin-top: 0.5em; - } - -/* home screen */ - - #front-page div[data-role='content'] { - background-color: rgba(255, 255, 255, 0); - } - -/* map */ - - #map_box{ - background-color: rgba(0,0,0,0); - position: fixed; - top: 45px, left: 0, right: 0, bottom: 0; - padding: 0px; - display:block; - height: 100%; - width: 100%; - } - - #map{ - opacity: 0.85; - width: 100%; - height: 100%; - } - - .olControlPermalink, - #fms_pan_zoom { - display: none !important; - } - - .olControlAttribution { - left: 0; - right: 0 !important; - bottom: 0 !important; - font-size: 8px !important; - text-align:center; - background-color: rgba(255,255,255,0.5); - } - - .olControlAttribution img{ - max-height: 15px; - vertical-align:middle; - } - - #OpenLayers_Control_Crosshairs_crosshairs { - pointer-events: none; - background-image: url(../images/crosshairs.png); - background-size: 100px 100px; - } - - /* it seems the mobile safari doesn't support resolution */ - @media only screen and (min-resolution: 320dpi), - only screen and (-webkit-min-device-pixel-ratio: 2) { - #OpenLayers_Control_Crosshairs_crosshairs { - background-image: url(../images/crosshairs@x2.png); - } - } - -/* locating screen */ - - #load-screen, - #locating { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 3010; - text-align: center; - background: #F6BE41; - padding-top:40px; - color: white; - } - - #load-screen .radar, - #locating .radar { - background: transparent url('../images/radar.svg') no-repeat top center; - width: 100%; - height: 260px; - background-size: 260px 260px; - } - - #locating #progress { - margin-top: 1em; - width:100%; - height:15px; - background-color: #FFFF99; - } - - #locating #progress-bar { - width: 0%; - background-color: grey; - height: 15px; - } - - #locating p { - margin-left: 15px; - margin-right: 15px; - } - - #locating .ui-shadow { - -webkit-box-shadow: none; - box-shadow: none; - } - -/* around screen */ - #around-page div[data-role='content'] { - position: static; - margin: auto; - width: auto; - height: auto; - background-color: rgba(255, 255, 255, 0); - } - - .frontpage-menu{ - padding: 0px; - } - - #front-howto { - padding: 0.3em; - background-color: rgba(255,255,255,0.8); - } - - .map-bottom-btn { - position: absolute; - bottom: 20px; - left: 15px; - right: 15px; - } - - .bottom-btn { - position: absolute; - bottom: 5px; - left: 15px; - right: 15px; - } - - #confirm, - #confirm-map, - #reposition, - #view-my-reports, - #login-options, - #mark-here { - display: block; - z-index: 3000; - } - - #mark-here .ui-btn-text{ - font-size:1.2em; - padding: 0.5em 0; - display:block; - } - - #reposition { - bottom: 65px; - } - - #view-my-reports, - #login-options a.loggedin - { - text-align:left; - font-weight:normal; - } - - #view-my-reports strong{ - display:block; - margin-bottom: 0.25em; - } - - #view-my-reports .draft_count{ - -webkit-border-radius: 50%; - border-radius: 50%; - background-color: rgb(186,21,28); - padding: 0 0.4em; - color: #fff; - text-shadow: none; - font-weight: bold; - border: 1px solid #ffea3d; - min-width: 1em; - display: inline-block; - } - - #login-options a.loggedin .signout{ - display:block; - - } - - #relocate { - display: block; - height: 40px; - width: 40px; - padding: 5px; - margin: 0px; - background-color: rgba(248,248,248,0.8); - } - - #pc { - padding-left: 0.2em; - border-left: 1px solid #F6BE41; - } - - #postcodeForm .ui-icon-searchfield::after { - background-color: rgba(0,0,0,0); - height: 30px; - width: 30px; - left: 0px; - margin-top: -14px; - background-size: 30px 30px; - background-position: 0px 0px; - background-image: url(../images/search.png); - } - @media only screen and (min-resolution: 320dpi), - only screen and (-webkit-min-device-pixel-ratio: 2) { - #postcodeForm .ui-icon-searchfield::after { - background-image: url(../images/search@x2.png); - } - } - - #postcodeForm .ui-btn { - border: none; - -webkit-box-shadow: none; - box-shadow: none; - } - - #postcodeForm .ui-btn-up-c, - #postcodeForm .ui-btn-down-c { - background-image: none; - background-color: rgba(0,0,0,0); - } - - #postcodeForm .ui-icon { - background-image: url(images/icons-18-black.png); - } - @media only screen and (min-resolution: 320dpi), - only screen and (-webkit-min-device-pixel-ratio: 2) { - #postcodeForm .ui-icon { - background-image: url(images/icons-36-black.png); - } - } -/* drafts screen */ - - #drafts { - padding: 15px; - pointer-events: none; - } - - #drafts li.ui-li-has-alt > a .ui-btn { - border: 1px; - -webkit-box-shadow: none; - box-shadow: none; - } - #drafts li.ui-li-has-alt > a .ui-icon { - background-image: url(images/icons-18-black.png); - } - @media only screen and (min-resolution: 320dpi), - only screen and (-webkit-min-device-pixel-ratio: 2) { - #drafts li.ui-li-has-alt > a .ui-icon { - background-image: url(images/icons-36-black.png); - } - } - - #drafts li.ui-btn-down-c, - #drafts li.ui-btn-up-c { - border: none; - } - - #drafts .use_report { - text-align: left; - margin-left: 50px; - } - - #drafts .with_photo.with_location .use_report { - margin-left: 0px; - padding-left: 5px; - } - - #drafts li.with_photo.with_location:before { - content: url(../images/photos.png); - background-image: url(../images/pin.png); - background-size: 18px 18px; - background-repeat: no-repeat; - background-position: center left; - display: block; - float: left; - height: 18px; - width: 36px; - padding-left: 18px; - margin-top: 1.5em; - margin-left: 5px; - } - - #drafts li.with_photo:before { - content: url(../images/photos.png); - display: block; - float: left; - height: 18px; - width: 18px; - margin-top: 1.5em; - margin-left: 5px; - } - - #drafts li.with_location:before { - content: ''; - background-image: url(../images/pin.png); - display: block; - float: left; - background-size: 18px 18px; - background-repeat: no-repeat; - background-position: center left; - height: 18px; - width: 18px; - margin-top: 1.5em; - margin-left: 5px; - } - -/* photo screen */ - div.photo { - margin: 0.1em 0em; - text-align: center; - } - - img.small { - min-height: 45%; - max-width: 85%; - max-height: 70%; - } - - .ui-icon-fms-photo-existing, - .ui-icon-fms-photo-new { - position: static; - float: left; - background-size: 18px 18px; - } - div[data-role='header'] .ui-icon-fms-account { - background-image: url(../images/user.png); - background-size: 18px 18px; - } - .ui-icon-fms-photo-new { - background-image: url(../images/camera.png); - } - .ui-icon-fms-photo-existing { - background-image: url(../images/photos.png); - } - - @media only screen and (min-resolution: 320dpi), - only screen and (-webkit-min-device-pixel-ratio: 2) { - div[data-role='header'] .ui-icon-fms-account { - background-image: url(../images/user@x2.png); - } - .ui-icon-fms-photo-new { - background-image: url(../images/camera@x2.png); - } - .ui-icon-fms-photo-existing { - background-image: url(../images/photos@x2.png); - } - } -/* details screen */ - - #details-page div[data-role="content"] { - background-color: rgba(255, 255, 255, 0) !important; - } - - #details-page div[data-role='content'] { - position: static; - padding: 0px; - margin-bottom: 0px; - } - -/* open311 extra fields screen */ - - #details-extra-page div[data-role="content"] { - height: auto !important; - } - #category_meta { - margin: 0px 15px 15px 15px; - } - - #category_meta h4 { - display: none; - } - - #category_meta label, - #category_meta input, - #category_meta textarea, - #category_meta select { - display: block; - } - - #category_meta label:first { - padding-top: 1em; - } - #category_meta label { - padding-top: 0.5em; - } - -/* submission pages */ - - #errors { - display: none; - margin-bottom: 1em; - } - - #errors ul { - padding: 0px 0px 0px 20px; - } - - #errors li.plain { - font-weight: bold; - margin-left: -20px; - list-style: none; - } |