Mon, 22 Apr 2013 22:00:43 +0200
Import pristine sources of new project OTPWCalc.
michael@0 | 1 | /* |
michael@0 | 2 | * OTPWCalc - One time password challenge response calculator client |
michael@0 | 3 | * Copyright © 2013 Michael Schloh von Bennewitz <michael@schloh.com> |
michael@0 | 4 | * |
michael@0 | 5 | * OTPWCalc is free software: you can redistribute it and/or modify |
michael@0 | 6 | * it under the terms of the European Union Public Licence, either |
michael@0 | 7 | * version 1.1 of the license, or (at your option) any later version. |
michael@0 | 8 | * |
michael@0 | 9 | * OTPWCalc is distributed in the hope that it will be useful, |
michael@0 | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty |
michael@0 | 11 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See |
michael@0 | 12 | * the European Union Public License for more details. |
michael@0 | 13 | * |
michael@0 | 14 | * You should have received a copy of the European Union Public |
michael@0 | 15 | * Licence along with OTPWCalc. If not, please refer to |
michael@0 | 16 | * <http://joinup.ec.europa.eu/software/page/eupl/>. |
michael@0 | 17 | * |
michael@0 | 18 | * This file is part of project OTWPCalc, a one time password challenge |
michael@0 | 19 | * response calculator client and is found at http://otpwcalc.europalab.com/ |
michael@0 | 20 | * |
michael@0 | 21 | * main.css: W3C CSS design |
michael@0 | 22 | */ |
michael@0 | 23 | |
michael@0 | 24 | /* CSS media queries */ |
michael@0 | 25 | |
michael@0 | 26 | /* Basic desktop/screen width */ |
michael@0 | 27 | @media only screen and (min-width : 1224px) { |
michael@0 | 28 | /* placeholder */ |
michael@0 | 29 | } |
michael@0 | 30 | /* Traditional iPhone width */ |
michael@0 | 31 | @media |
michael@0 | 32 | only screen and (-webkit-min-device-pixel-ratio : 1.5), |
michael@0 | 33 | only screen and (min-device-pixel-ratio : 1.5) { |
michael@0 | 34 | /* placeholder */ |
michael@0 | 35 | } |
michael@0 | 36 | /* Diverse orientations */ |
michael@0 | 37 | @media screen and (orientation:portrait) { |
michael@0 | 38 | /* placeholder */ |
michael@0 | 39 | } |
michael@0 | 40 | @media screen and (orientation:landscape) { |
michael@0 | 41 | /* placeholder */ |
michael@0 | 42 | } |
michael@0 | 43 | |
michael@0 | 44 | /* Custom icons */ |
michael@0 | 45 | |
michael@0 | 46 | .ui-icon-otpwcalc-seepass { |
michael@0 | 47 | background-image: url("img/seeye-sd.png"); |
michael@0 | 48 | } |
michael@0 | 49 | .ui-icon-otpwcalc-email { |
michael@0 | 50 | background-image: url("img/email-sd.png"); |
michael@0 | 51 | } |
michael@0 | 52 | .ui-icon-otpwcalc-question { |
michael@0 | 53 | background-image: url("img/question-sd.png"); |
michael@0 | 54 | } |
michael@0 | 55 | .ui-icon-otpwcalc-document { |
michael@0 | 56 | background-image: url("img/document-sd.png"); |
michael@0 | 57 | } |
michael@0 | 58 | .ui-icon-otpwcalc-security { |
michael@0 | 59 | background-image: url("img/security-sd.png"); |
michael@0 | 60 | } |
michael@0 | 61 | .ui-icon-otpwcalc-manpage { |
michael@0 | 62 | background-image: url("img/manpage-sd.png"); |
michael@0 | 63 | } |
michael@0 | 64 | .ui-icon-otpwcalc-qstart { |
michael@0 | 65 | background-image: url("img/quickstart-sd.png"); |
michael@0 | 66 | } |
michael@0 | 67 | @media only screen and (-webkit-min-device-pixel-ratio: 2) { |
michael@0 | 68 | .ui-icon-otpwcalc-seepass { |
michael@0 | 69 | background-image: url("img/seeye-hd.png"); |
michael@0 | 70 | background-size: 18px 18px; |
michael@0 | 71 | } |
michael@0 | 72 | .ui-icon-otpwcalc-email { |
michael@0 | 73 | background-image: url("img/email-hd.png"); |
michael@0 | 74 | background-size: 18px 18px; |
michael@0 | 75 | } |
michael@0 | 76 | .ui-icon-otpwcalc-question { |
michael@0 | 77 | background-image: url("img/question-hd.png"); |
michael@0 | 78 | background-size: 18px 18px; |
michael@0 | 79 | } |
michael@0 | 80 | .ui-icon-otpwcalc-document { |
michael@0 | 81 | background-image: url("img/document-hd.png"); |
michael@0 | 82 | background-size: 18px 18px; |
michael@0 | 83 | } |
michael@0 | 84 | .ui-icon-otpwcalc-security { |
michael@0 | 85 | background-image: url("img/security-hd.png"); |
michael@0 | 86 | background-size: 18px 18px; |
michael@0 | 87 | } |
michael@0 | 88 | .ui-icon-otpwcalc-manpage { |
michael@0 | 89 | background-image: url("img/manpage-hd.png"); |
michael@0 | 90 | background-size: 18px 18px; |
michael@0 | 91 | } |
michael@0 | 92 | .ui-icon-otpwcalc-qstart { |
michael@0 | 93 | background-image: url("img/quickstart-hd.png"); |
michael@0 | 94 | background-size: 18px 18px; |
michael@0 | 95 | } |
michael@0 | 96 | } |
michael@0 | 97 | /* Trying to stretch buttons (not working) */ |
michael@0 | 98 | /*.ui-controlgroup-controls |
michael@0 | 99 | { |
michael@0 | 100 | width:100%; |
michael@0 | 101 | } |
michael@0 | 102 | .ui-radio { |
michael@0 | 103 | width:33%; |
michael@0 | 104 | }*/ |
michael@0 | 105 | /* HTML5 validation */ |
michael@0 | 106 | /*input:required:invalid, input:focus:invalid { |
michael@0 | 107 | background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAeVJREFUeNqkU01oE1EQ/mazSTdRmqSxLVSJVKU9RYoHD8WfHr16kh5EFA8eSy6hXrwUPBSKZ6E9V1CU4tGf0DZWDEQrGkhprRDbCvlpavan3ezu+LLSUnADLZnHwHvzmJlvvpkhZkY7IqFNaTuAfPhhP/8Uo87SGSaDsP27hgYM/lUpy6lHdqsAtM+BPfvqKp3ufYKwcgmWCug6oKmrrG3PoaqngWjdd/922hOBs5C/jJA6x7AiUt8VYVUAVQXXShfIqCYRMZO8/N1N+B8H1sOUwivpSUSVCJ2MAjtVwBAIdv+AQkHQqbOgc+fBvorjyQENDcch16/BtkQdAlC4E6jrYHGgGU18Io3gmhzJuwub6/fQJYNi/YBpCifhbDaAPXFvCBVxXbvfbNGFeN8DkjogWAd8DljV3KRutcEAeHMN/HXZ4p9bhncJHCyhNx52R0Kv/XNuQvYBnM+CP7xddXL5KaJw0TMAF8qjnMvegeK/SLHubhpKDKIrJDlvXoMX3y9xcSMZyBQ+tpyk5hzsa2Ns7LGdfWdbL6fZvHn92d7dgROH/730YBLtiZmEdGPkFnhX4kxmjVe2xgPfCtrRd6GHRtEh9zsL8xVe+pwSzj+OtwvletZZ/wLeKD71L+ZeHHWZ/gowABkp7AwwnEjFAAAAAElFTkSuQmCC'); |
michael@0 | 108 | background-position: right top; |
michael@0 | 109 | background-repeat: no-repeat; |
michael@0 | 110 | -moz-box-shadow: none; |
michael@0 | 111 | }*/ |
michael@0 | 112 | /*input:required:valid { |
michael@0 | 113 | background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAepJREFUeNrEk79PFEEUx9/uDDd7v/AAQQnEQokmJCRGwc7/QeM/YGVxsZJQYI/EhCChICYmUJigNBSGzobQaI5SaYRw6imne0d2D/bYmZ3dGd+YQKEHYiyc5GUyb3Y+77vfeWNpreFfhvXfAWAAJtbKi7dff1rWK9vPHx3mThP2Iaipk5EzTg8Qmru38H7izmkFHAF4WH1R52654PR0Oamzj2dKxYt/Bbg1OPZuY3d9aU82VGem/5LtnJscLxWzfzRxaWNqWJP0XUadIbSzu5DuvUJpzq7sfYBKsP1GJeLB+PWpt8cCXm4+2+zLXx4guKiLXWA2Nc5ChOuacMEPv20FkT+dIawyenVi5VcAbcigWzXLeNiDRCdwId0LFm5IUMBIBgrp8wOEsFlfeCGm23/zoBZWn9a4C314A1nCoM1OAVccuGyCkPs/P+pIdVIOkG9pIh6YlyqCrwhRKD3GygK9PUBImIQQxRi4b2O+JcCLg8+e8NZiLVEygwCrWpYF0jQJziYU/ho2TUuCPTn8hHcQNuZy1/94sAMOzQHDeqaij7Cd8Dt8CatGhX3iWxgtFW/m29pnUjR7TSQcRCIAVW1FSr6KAVYdi+5Pj8yunviYHq7f72po3Y9dbi7CxzDO1+duzCXH9cEPAQYAhJELY/AqBtwAAAAASUVORK5CYII='); |
michael@0 | 114 | background-position: right top; |
michael@0 | 115 | background-repeat: no-repeat; |
michael@0 | 116 | }*/ |