From ab31400fce251aa4a025816101293acf404f8970 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 16:12:06 -0400 Subject: [PATCH 01/14] simplify startprefs Instead of a fetch() call to get the startup config, let's load the JSON file using ES import syntax. (Rename the file to startupConfig.default.json in the process, get rid of the .sample) While here, we can tidy this code with async/await instead of promises. I also noticed that this function doesn't return the consent status; returning it simplifies every place where this is invoked. --- www/__tests__/startprefs.test.ts | 13 ++---- www/js/onboarding/onboardingHelper.ts | 8 +--- www/js/splash/pushNotifySettings.ts | 21 ++++----- www/js/splash/startprefs.ts | 44 +++++++++---------- www/js/splash/storeDeviceSettings.ts | 25 +++++------ ...Config.json => startupConfig.default.json} | 0 www/json/startupConfig.json.sample | 5 --- 7 files changed, 47 insertions(+), 69 deletions(-) rename www/json/{startupConfig.json => startupConfig.default.json} (100%) delete mode 100644 www/json/startupConfig.json.sample diff --git a/www/__tests__/startprefs.test.ts b/www/__tests__/startprefs.test.ts index 75ed707dc..9e39814a7 100644 --- a/www/__tests__/startprefs.test.ts +++ b/www/__tests__/startprefs.test.ts @@ -1,9 +1,4 @@ -import { - markConsented, - isConsented, - readConsentState, - getConsentDocument, -} from '../js/splash/startprefs'; +import { markConsented, readConsentState, getConsentDocument } from '../js/splash/startprefs'; import { mockBEMUserCache, mockBEMDataCollection } from '../__mocks__/cordovaMocks'; import { mockLogger } from '../__mocks__/globalMocks'; @@ -31,9 +26,9 @@ global.fetch = (url: string) => }) as any; it('checks state of consent before and after marking consent', async () => { - expect(await readConsentState().then(isConsented)).toBeFalsy(); - let marked = await markConsented(); - expect(await readConsentState().then(isConsented)).toBeTruthy(); + expect(await readConsentState()).toBeFalsy(); + await markConsented(); + expect(await readConsentState()).toBeTruthy(); expect(await getConsentDocument()).toEqual({ approval_date: '2016-07-14', protocol_id: '2014-04-6267', diff --git a/www/js/onboarding/onboardingHelper.ts b/www/js/onboarding/onboardingHelper.ts index 89e05d9e7..efc7485d0 100644 --- a/www/js/onboarding/onboardingHelper.ts +++ b/www/js/onboarding/onboardingHelper.ts @@ -3,7 +3,7 @@ import { getConfig, resetDataAndRefresh } from '../config/dynamicConfig'; import { storageGet, storageSet } from '../plugin/storage'; import { logDebug } from '../plugin/logger'; import { EVENTS, publish } from '../customEventHandler'; -import { readConsentState, isConsented } from '../splash/startprefs'; +import { readConsentState } from '../splash/startprefs'; export const INTRO_DONE_KEY = 'intro_done'; @@ -39,7 +39,7 @@ export let registerUserDone = false; export const setRegisterUserDone = (b) => (registerUserDone = b); export function getPendingOnboardingState(): Promise { - return Promise.all([getConfig(), readConsented(), readIntroDone()]).then( + return Promise.all([getConfig(), readConsentState(), readIntroDone()]).then( ([config, isConsented, isIntroDone]) => { let route: OnboardingRoute; @@ -73,10 +73,6 @@ export function getPendingOnboardingState(): Promise { ); } -async function readConsented() { - return readConsentState().then(isConsented) as Promise; -} - export async function readIntroDone() { return storageGet(INTRO_DONE_KEY).then((read_val) => Boolean(read_val)) as Promise; } diff --git a/www/js/splash/pushNotifySettings.ts b/www/js/splash/pushNotifySettings.ts index 5613867fb..d392412bd 100644 --- a/www/js/splash/pushNotifySettings.ts +++ b/www/js/splash/pushNotifySettings.ts @@ -16,7 +16,7 @@ import { updateUser } from '../services/commHelper'; import { logDebug, displayError, logWarn } from '../plugin/logger'; import { publish, subscribe, EVENTS } from '../customEventHandler'; -import { isConsented, readConsentState } from './startprefs'; +import { readConsentState } from './startprefs'; import { readIntroDone } from '../onboarding/onboardingHelper'; import { AlertManager } from '../components/AlertBar'; @@ -224,17 +224,14 @@ function onIntroEvent(event, data) { * startup code - * @function registers push if consented, subscribes event listeners for local handline */ -export function initPushNotify() { - readConsentState() - .then(isConsented) - .then((consentState) => { - if (consentState == true) { - logDebug('already consented, signing up for remote push'); - registerPush(); - } else { - logDebug('no consent yet, waiting to sign up for remote push'); - } - }); +export async function initPushNotify() { + const consentState = await readConsentState(); + if (consentState == true) { + logDebug('already consented, signing up for remote push'); + registerPush(); + } else { + logDebug('no consent yet, waiting to sign up for remote push'); + } subscribe(EVENTS.CLOUD_NOTIFICATION_EVENT, (event) => onCloudEvent(event, event.detail)); subscribe(EVENTS.CONSENTED_EVENT, (event) => onConsentEvent(event, event.detail)); diff --git a/www/js/splash/startprefs.ts b/www/js/splash/startprefs.ts index 5e1edd188..13d32330e 100644 --- a/www/js/splash/startprefs.ts +++ b/www/js/splash/startprefs.ts @@ -1,6 +1,7 @@ import { storageGet, storageSet } from '../plugin/storage'; import { logInfo, logDebug, displayErrorMsg } from '../plugin/logger'; import { EVENTS, publish } from '../customEventHandler'; +import startupConfig from '../../json/startupConfig.default.json'; // data collection consented protocol: string, represents the date on // which the consented protocol was approved by the IRB @@ -43,10 +44,11 @@ export function markConsented() { } /** - * @function checking for consent locally - * @returns {boolean} if the consent is marked in the local var + * @description checks for consent locally + * @returns boolean of consent status, considering whether consent is + * marked and whether the approval date matches the requirement */ -export function isConsented() { +function isConsented(): boolean { logDebug('curr consented is' + JSON.stringify(_curr_consented)); if ( _curr_consented == null || @@ -62,27 +64,23 @@ export function isConsented() { } /** - * @function reads the consent state from the file and populates it - * @returns nothing, just reads into local variables + * @description reads the consent state from the file and populates it + * @returns the current consent state */ -export function readConsentState() { - return fetch('json/startupConfig.json') - .then((response) => response.json()) - .then((startupConfigResult) => { - _req_consent = startupConfigResult.emSensorDataCollectionProtocol; - logDebug('required consent version = ' + JSON.stringify(_req_consent)); - return storageGet(DATA_COLLECTION_CONSENTED_PROTOCOL); - }) - .then((kv_store_consent) => { - _curr_consented = kv_store_consent; - console.assert( - _req_consent != undefined && _req_consent != null, - 'in readConsentState $rootScope.req_consent', - JSON.stringify(_req_consent), - ); - // we can just launch this, we don't need to wait for it - checkNativeConsent(); - }); +export async function readConsentState() { + console.log(startupConfig); + _req_consent = startupConfig.emSensorDataCollectionProtocol; + logDebug('required consent version = ' + JSON.stringify(_req_consent)); + const kvStoreConsent = await storageGet(DATA_COLLECTION_CONSENTED_PROTOCOL); + _curr_consented = kvStoreConsent; + console.assert( + _req_consent != undefined && _req_consent != null, + 'in readConsentState $rootScope.req_consent', + JSON.stringify(_req_consent), + ); + // we can just launch this, we don't need to wait for it + checkNativeConsent(); + return isConsented(); } /** diff --git a/www/js/splash/storeDeviceSettings.ts b/www/js/splash/storeDeviceSettings.ts index 7492b35b8..8857de8a7 100644 --- a/www/js/splash/storeDeviceSettings.ts +++ b/www/js/splash/storeDeviceSettings.ts @@ -1,5 +1,5 @@ import { updateUser } from '../services/commHelper'; -import { isConsented, readConsentState } from './startprefs'; +import { readConsentState } from './startprefs'; import i18next from 'i18next'; import { displayError, logDebug } from '../plugin/logger'; import { readIntroDone } from '../onboarding/onboardingHelper'; @@ -61,19 +61,16 @@ async function onIntroEvent(event) { * @function initializes store device: subscribes to events * stores settings if already consented */ -export function initStoreDeviceSettings() { - readConsentState() - .then(isConsented) - .then(async (consentState) => { - logDebug(`found consent: ${consentState}`); - if (consentState == true) { - await storeDeviceSettings(); - } else { - logDebug('no consent yet, waiting to store device settings in profile'); - } - subscribe(EVENTS.CONSENTED_EVENT, onConsentEvent); - subscribe(EVENTS.INTRO_DONE_EVENT, onIntroEvent); - }); +export async function initStoreDeviceSettings() { + const consentState = await readConsentState(); + logDebug(`found consent: ${consentState}`); + if (consentState == true) { + await storeDeviceSettings(); + } else { + logDebug('no consent yet, waiting to store device settings in profile'); + } + subscribe(EVENTS.CONSENTED_EVENT, onConsentEvent); + subscribe(EVENTS.INTRO_DONE_EVENT, onIntroEvent); logDebug('storedevicesettings startup done'); } diff --git a/www/json/startupConfig.json b/www/json/startupConfig.default.json similarity index 100% rename from www/json/startupConfig.json rename to www/json/startupConfig.default.json diff --git a/www/json/startupConfig.json.sample b/www/json/startupConfig.json.sample deleted file mode 100644 index f4d2f434c..000000000 --- a/www/json/startupConfig.json.sample +++ /dev/null @@ -1,5 +0,0 @@ -{ - "emSensorDataCollectionProtocol": { - "approval_date": "YYYY-MM-DD" - } -} From c53d09078b608035c7bb1e71db629f47a064c9af Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 16:14:17 -0400 Subject: [PATCH 02/14] import label-options.default.json instead of using fetch() we can use ES import here. Need to rename to *.json, so calling it label-options.default.json --- www/js/survey/multilabel/confirmHelper.ts | 9 +++------ ...el-options.json.sample => label-options.default.json} | 0 2 files changed, 3 insertions(+), 6 deletions(-) rename www/json/{label-options.json.sample => label-options.default.json} (100%) diff --git a/www/js/survey/multilabel/confirmHelper.ts b/www/js/survey/multilabel/confirmHelper.ts index c3a5417dd..38d498cd2 100644 --- a/www/js/survey/multilabel/confirmHelper.ts +++ b/www/js/survey/multilabel/confirmHelper.ts @@ -5,6 +5,7 @@ import { logDebug } from '../../plugin/logger'; import { LabelOption, LabelOptions, MultilabelKey, InputDetails } from '../../types/labelTypes'; import { CompositeTrip, InferredLabels, TimelineEntry } from '../../types/diaryTypes'; import { UserInputMap } from '../../TimelineContext'; +import defaultLabelOptions from '../../../json/label-options.default.json'; let appConfig; export let labelOptions: LabelOptions; @@ -21,13 +22,9 @@ export async function getLabelOptions(appConfigParam?) { labelOptions = JSON.parse(labelOptionsJson) as LabelOptions; } } else { - const defaultLabelOptionsURL = 'json/label-options.json.sample'; logDebug(`No label_options found in config, using default label options - at ${defaultLabelOptionsURL}`); - const defaultLabelOptionsJson = await fetchUrlCached(defaultLabelOptionsURL); - if (defaultLabelOptionsJson) { - labelOptions = JSON.parse(defaultLabelOptionsJson) as LabelOptions; - } + from /json/label-options.default.sample`); + labelOptions = defaultLabelOptions as LabelOptions; } /* fill in the translations to the 'text' fields of the labelOptions, according to the current language */ diff --git a/www/json/label-options.json.sample b/www/json/label-options.default.json similarity index 100% rename from www/json/label-options.json.sample rename to www/json/label-options.default.json From 5232c84b813d3b151d44830d6f55350688218198 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 18:37:05 -0400 Subject: [PATCH 03/14] remove global css; use scoped styles for LeafletView and EnketoModal --- enketoStyles.css.map | 1 + www/js/components/LeafletView.tsx | 3 + www/js/survey/enketo/EnketoModal.tsx | 3 + www/js/survey/enketo/enketoStyles.css | 5537 +++++++++++++++++ www/js/survey/enketo/enketoStyles.css.map | 1 + .../survey/enketo/enketoStyles.scss} | 23 +- 6 files changed, 5555 insertions(+), 13 deletions(-) create mode 100644 enketoStyles.css.map create mode 100644 www/js/survey/enketo/enketoStyles.css create mode 100644 www/js/survey/enketo/enketoStyles.css.map rename www/{css/style.scss => js/survey/enketo/enketoStyles.scss} (69%) diff --git a/enketoStyles.css.map b/enketoStyles.css.map new file mode 100644 index 000000000..76195806b --- /dev/null +++ b/enketoStyles.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["www/js/survey/enketo/enketoStyles.scss","node_modules/enketo-core/src/sass/formhub/_mixins.scss","node_modules/enketo-core/src/sass/core/_main.scss","node_modules/enketo-core/src/widget/range/range-widget.scss","node_modules/enketo-core/src/widget/select-autocomplete/jquery.relevant-dropdown.scss","node_modules/enketo-core/src/widget/geo/geopicker.scss","node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css","node_modules/enketo-core/src/widget/date/datepicker-extended.scss","node_modules/enketo-core/src/widget/time/timepicker.scss","node_modules/enketo-core/src/widget/draw/draw-widget.scss","node_modules/enketo-core/src/sass/formhub/_form-controls.scss","node_modules/enketo-core/src/sass/core/_reset.scss","node_modules/enketo-core/src/sass/core/_mixins.scss","node_modules/enketo-core/src/sass/formhub/_variables.scss","node_modules/enketo-core/src/sass/core/_variables.scss","node_modules/enketo-core/src/sass/core/_utilities.scss","node_modules/enketo-core/src/sass/core/_icons.scss","node_modules/enketo-core/src/sass/core/_layout.scss","node_modules/enketo-core/src/sass/core/_buttons.scss","node_modules/enketo-core/src/sass/core/_pages.scss","node_modules/enketo-core/src/widget/select-desktop/selectpicker.scss","node_modules/enketo-core/src/widget/select-mobile/selectpicker.scss","node_modules/enketo-core/src/widget/select-autocomplete/autocomplete.scss","node_modules/enketo-core/src/widget/table/tablewidget.scss","node_modules/enketo-core/src/widget/time/timepicker-extended.scss","node_modules/enketo-core/src/widget/datetime/datetimepicker-extended.scss","node_modules/enketo-core/src/widget/file/filepicker.scss","node_modules/enketo-core/src/widget/select-likert/likertitem.scss","node_modules/enketo-core/src/widget/columns/columns.scss","node_modules/enketo-core/src/widget/analog-scale/analog-scalepicker.scss","node_modules/enketo-core/src/widget/big-image/image-viewer.scss","node_modules/enketo-core/src/widget/comment/commentwidget.scss","node_modules/enketo-core/src/widget/image-map/image-map.scss","node_modules/enketo-core/src/widget/rank/rank-widget.scss","node_modules/enketo-core/src/widget/url/url-widget.scss","node_modules/enketo-core/src/widget/rating/rating.scss","node_modules/enketo-core/src/sass/core/_responsive.scss","node_modules/enketo-core/src/sass/core/_dropdown.scss","node_modules/enketo-core/src/sass/formhub/_radiocheck.scss","node_modules/enketo-core/src/sass/formhub/_widgets.scss","node_modules/enketo-core/src/sass/formhub/_main.scss"],"names":[],"mappings":";AAAA;AACA;AACA;ACFA;AAoCA;AClCA;AAmEA;AC2LA;AChQA;AAAA;AAAA;AAAA;AAAA;ACqrBA;AA8BA;AAMA;AAaA;AAEA;AAqDA;AAqDA;AA0DA;AA+CA;AA6BA;AAkBA;AAoBA;AAMA;AAgEA;AAaA;AA8DA;AAMA;AAwEA;AAuGA;AAOA;AAEA;AAkCA;AC/2CA;AAAA;AAAA;AAAA;AAAA;ACEA;ACFA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoJA;ACpJA;AAAA;AAAA;AAAA;AC+DA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EVxDE;EACA;;AWRF;EC+DI,oBD9DoB;EC+DpB,iBD/DoB;ECgEpB,YDhEoB;;AAGxB;AAAA;EC2DI,oBDzDoB;EC0DpB,iBD1DoB;EC2DpB,YD3DoB;;AAGxB;EACI;EACA;;AAGJ;ECbI;EACA;EACA;EDcA,WEfa;EFgBb,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A;EACI;;AAGJ;EACI;EACA;EACA;EACA,SAjBE;EAkBF;;AACA;EACI;EACA,OArBF;EAsBE,QAtBF;;AAwBF;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGR;EACI;EACA;EACA;EACA;EACA;EACA;;AAEJ;EnB9CA;EACA;EACA;EmB+CI;EACA;;AAEJ;EACI;EACA;;AAEJ;AAAA;EAEI;;AAIJ;AAAA;AAAA;EAGI;;AAEJ;AAAA;AAAA;EAGI;;AAIR;EACI;;AASA;EnBpEA;EACA;EmBqEI,OjBgBe;;AiBff;EACI;;AAMR;EACI;EACA;;AAII;EACI;EACA,MAvGN;;AAyGE;EACI;EACA;;AAGR;EAEI;EACA;;AAEJ;EACI;EACA;;ACnHR;EAEI;;AAGJ;EAEI;;AAQQ;AAAA;AAAA;EACI;;AAShB;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAMA;AAAA;AAAA;EACI;EACA;;AAKZ;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA,OlB/BL;EkBgCK;;AAEA;EACI;;AAKZ;EpB6NA;EACA;EACA;EACA,OE7LgB;;AmBtGpB;EACI;EACA;;AAMI;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIZ;EACI;;AAEJ;EACI;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;;AAEJ;EACI;;AAGR;EACI;;AAEJ;EACI;EACA;;ACzDR;EACI;;ACDJ;AAiCI;;AAhCA;EACI;EACA;EACA;;AAIA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;;AAKR;AAAA;AAAA;AAAA;EAMI;;ACxCR;EAII;IACI;IACA;;EAGJ;IACI;IACA;;EAGJ;IACI;;EAGJ;IACI;IACA;;EAIJ;IACI;IAC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;EACA;ErCIA,cYfyB;EyB4BrB;;AAnCJ;ErCEA;;AAkFA;EAfA;EWbA,oBXeA;EWdA,YXcA;;AqClCI;ErCXJ,cYlBuB;EZmBvB;;AAyDA;EAfA;EWbA,oBXeA;EWdA,YXcA;;AqC3BA;E1BwFA,YAJoB;EAKpB,iBALoB;EAMpB,oBANoB;EAOpB,gBAPoB;E0BvHpB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ErCZA,cYCyB;;AyBPzB;ErCEA;;AAkFA;EAfA;EWbA,oBXeA;EWdA,YXcA;;AqClBI;ErCxCJ,cYLuB;EZMvB;EAGA;EACA;;AAkEA;EAfA;EWbA,oBXeA;EWdA,YXcA;;AqCPI;EAEI;;AASJ;AAAA;AAAA;AAAA;EAEI;EACA;;AAQJ;EACI;;ACtFJ;EACI;;AAIJ;EACI;;ACLZ;EACI;;AxCKF;EACE;;AAEF;EACE;;AAEF;AAAA;AAAA;AAAA;EAIE;EACA;EACA","file":"enketoStyles.css"} \ No newline at end of file diff --git a/www/js/components/LeafletView.tsx b/www/js/components/LeafletView.tsx index 978028dac..367e73445 100644 --- a/www/js/components/LeafletView.tsx +++ b/www/js/components/LeafletView.tsx @@ -5,6 +5,9 @@ import L, { Map as LeafletMap } from 'leaflet'; import { GeoJSONData, GeoJSONStyledFeature } from '../types/diaryTypes'; import useLeafletCache from './useLeafletCache'; +// styles for Leaflet +import 'leaflet/dist/leaflet.css'; + const mapSet = new Set(); // open the URL in the system browser & prevent any other effects of the click event diff --git a/www/js/survey/enketo/EnketoModal.tsx b/www/js/survey/enketo/EnketoModal.tsx index f8b503407..67733665d 100644 --- a/www/js/survey/enketo/EnketoModal.tsx +++ b/www/js/survey/enketo/EnketoModal.tsx @@ -7,6 +7,9 @@ import { useTranslation } from 'react-i18next'; import { SurveyOptions, fetchSurvey, getInstanceStr, saveResponse } from './enketoHelper'; import { displayError, displayErrorMsg, logDebug } from '../../plugin/logger'; +// styles for Enketo, plus some of our own overrides +import './enketoStyles.css'; + type Props = Omit & { surveyName: string; onResponseSaved: (response: any) => void; diff --git a/www/js/survey/enketo/enketoStyles.css b/www/js/survey/enketo/enketoStyles.css new file mode 100644 index 000000000..ad0e0e331 --- /dev/null +++ b/www/js/survey/enketo/enketoStyles.css @@ -0,0 +1,5537 @@ +@charset "UTF-8"; +/* + If you make changes to these styles, run: + npx sass www/js/survey/enketo/enketoStyles.scss www/js/survey/enketo/enketoStyles.css + to regenerate the CSS file (used by EnketoModal). +*/ +/* Scoped styles for Enketo */ +/* if we don't contain them here, they will leak into the rest of the app */ +.enketo-plugin { + /** The next styles are meant to easily customize the background and border of radiobuttons and checkboxes, not their size! */ + /** end radiobuttons and checkboxes */ + /** hide stuff **/ + /** hints **/ + /* distress flavor of vertical range widget*/ + /* + CSS-Tricks Example + by Chris Coyier + http://css-tricks.com + */ + /* required styles for Leaflet (unchanged from https://github.com/Leaflet/Leaflet/blob/master/dist/leaflet.css) */ + /* Safari renders non-retina tile on retina better with this, but Chrome is worse */ + /* hack that prevents hw layers "stretching" when loading new tiles */ + /* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ + /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ + /* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ + /* control positioning */ + /* zoom and fade animations */ + /* cursors */ + /* marker & overlays interactivity */ + /* visual tweaks */ + /* general typography */ + /* general toolbar styles */ + /* zoom control */ + /* layers control */ + /* Default icon URLs */ + /* attribution and scale controls */ + /* popup */ + /* div icon */ + /* Tooltip */ + /* Base styles for the element that has a tooltip */ + /* Directions */ + /*! + * Datepicker for Bootstrap v1.9.0 (https://github.com/uxsolutions/bootstrap-datepicker) + * + * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) + */ + /** fixes by martijn **/ + /*! + * Timepicker + * + * Forked from https://github.com/jdewit/bootstrap-timepicker: + * + * Copyright 2013 Joris de Wit and timepicker contributors + * + * Contributors https://github.com/jdewit/bootstrap-timepicker/graphs/contributors + * Contributors https://github.com/enketo/timepicker-basic/graphs/contributors + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + /** Removed media query adjustment here to fix print issue (MvdR) */ + /* + * To save headaches with resizing canvases, it is important to maintain fixed aspect + * ratios at all times: + */ + /*legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: $line-height-computed; + font-size: $font-size-base * 1.5; + line-height: inherit; + color: $legend-color; + border: 0; + border-bottom: 1px solid $legend-border-color; + }*/ + flex: 1; + font-family: "OpenSans", Arial, sans-serif; +} +.enketo-plugin * { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.enketo-plugin *:before, +.enketo-plugin *:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.enketo-plugin html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} +.enketo-plugin body { + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + font-size: 15px; + line-height: 1.42857; + color: #333333; + background-color: white; +} +.enketo-plugin input, +.enketo-plugin button, +.enketo-plugin select, +.enketo-plugin textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} +.enketo-plugin a { + color: #006ea0; +} +.enketo-plugin a:hover, .enketo-plugin a:focus { + color: #003953; +} +.enketo-plugin a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.enketo-plugin figure { + margin: 0; +} +.enketo-plugin img { + vertical-align: middle; +} +.enketo-plugin hr { + margin-top: 21px; + margin-bottom: 21px; + border: 0; + border-top: 1px solid #eeeeee; +} +.enketo-plugin strong { + font-weight: bold; +} +.enketo-plugin h1 { + font-size: 41.25px; +} +.enketo-plugin h2 { + font-size: 33.75px; +} +.enketo-plugin h3 { + font-size: 26.25px; +} +.enketo-plugin h4 { + font-size: 18.75px; +} +.enketo-plugin h5, .enketo-plugin .or-analog-scale-initialized .show-value__box { + font-size: 15px; +} +.enketo-plugin h6 { + font-size: 12.75px; +} +.enketo-plugin h2, +.enketo-plugin h3, +.enketo-plugin h4 { + font-weight: bold; +} +.enketo-plugin input, +.enketo-plugin select, +.enketo-plugin textarea { + font-weight: normal; +} +.enketo-plugin .clearfix:before, .enketo-plugin .clearfix:after { + content: " "; + display: table; +} +.enketo-plugin .clearfix:after { + clear: both; +} +.enketo-plugin .center-block { + display: block; + margin-left: auto; + margin-right: auto; +} +.enketo-plugin .pull-right { + float: right !important; +} +.enketo-plugin .pull-left { + float: left !important; +} +.enketo-plugin .hide { + display: none !important; +} +.enketo-plugin .show { + display: block !important; +} +.enketo-plugin .invisible { + visibility: hidden; +} +.enketo-plugin .text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} +.enketo-plugin .hidden { + display: none !important; + visibility: hidden !important; +} +.enketo-plugin .affix { + position: fixed; +} +.enketo-plugin .icon, .enketo-plugin .glyphicon-chevron-down, .enketo-plugin .glyphicon-chevron-up, .enketo-plugin .enketo-geopoint-marker { + width: 15px; + height: 15px; + display: inline-block; + font-style: normal; + font-weight: normal; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.enketo-plugin .icon-refresh { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAaCAYAAABCfffNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbn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4gPD94cGFja2V0IGVuZD0iciI/PsJbPswAAAFNSURBVHjavFaLEYIwDKUsIBvIBjICI7CBjMAIjsAIsAEj6AaOUDZgg5po8dKY1qLV3L07hTQvH/paZYzJUptSqoS4+vkASUIAawADABcZBm3fNcS/B1ydGG+CS4F9QN+O/C+DJDY78yW6NZ7iM4F+IsGRtXkGTBbUGou9MJoLxK5fZiJUsNCMAq2dPNUUTrtsRpygiiCoAi1rOYneShCYH64/OyRCFW0MQSykbHRKAkROvpLVhgQ7/gQwFnol2RGfcwJluZLf+xx1hjksCUicGHn2B8sdtXxYkSBuIVUyk2d1AhIaY1Y/Ok800bMxS70nmNybe1XkZWs/30WQiSGSoGLrNdeuziNyW4SSJ1hzktJDMkW2iBP04qEFA8OdehBmufXQGiFuK14kAi3bgl5UYc8B1H1wkai9Us+I0Pn06ZVIgnSRKAWp+cpuAgwAPkkCh0r98rYAAAAASUVORK5CYII=) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%; + background-size: 100% 100%; +} +.enketo-plugin .icon-crosshairs { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZ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gnPvRAveGhCR0IYROQhxjhI1wEYHBPeKa1hV5BHIFm8MOOEmME9AR604BRNo3FUXSAmHjAnMG/hn4XgSDJlZEOEFymSKGhErXThsRWOhL1kgi2f8LMXLFGOGCuUagJJIJbS5DLrLSiSMiME9dN3Lq+p8iihidRF835JNcJYJaUM4BjwPDdW1GznMe4Ori8I1Evnh+ZjJxxUxjVIFNfthGMTG5yECONjZy14ZngHKNwzQSyXn+uDwxDfIk57M44Rtm/PKV8UKJtwdrF+W50lLvaoQKVXhi+pCiIorpJ47GiMkbLbwBtNQZpdaLDwb7Ceb7+17TgqXb4Q72eM9V8e5HEP2OB8RMWzWiB0Jx9H1/geTSkMmniAe4Khlxixy3EsdTgAEAvBuj4rowYWwAAAAASUVORK5CYII=) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%; + background-size: 100% 100%; +} +.enketo-plugin .icon-search { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0U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aWkPKMoUZQFK+uSLb/OZAD/MSsRaF5sW5BTKsh0GkcheF3YJBH4klOGAItz6LODOR9MnaE/3pknwdrmmuxUYdF/Z/5sSNDWBNPdUfmfSwelHVVpihwQDMrkLe6m3EXzGmdIPms6XwKaRMAU57yBxNJC9NltKlRVC19a10wybkmSWwFT5g3wcTiKcpUmxcVn8w3FVv0gMTXLrWJ1L+g3WRVEwpJeEp/cJh0InfCwNFb62/Kr0X7q49nxwzU/BBgAoWEIkbFXnzUAAAAASUVORK5CYII=) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%; + background-size: 100% 100%; +} +.enketo-plugin .icon-trash { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAcCAYAAABh2p9gAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjBFMkE3QzdBMDY3NTExRTI5OUZEQTZGODg4RDc1ODdCIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjBFMkE3Qzc5MDY3NTExRTI5OUZEQTZGODg4RDc1ODdCIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMTgwMTE3NDA3MjA2ODExODA4M0ZFMkJBM0M1RUU2NSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNjgwMTE3NDA3MjA2ODExODA4M0U3NkRBMDNEMDVDMSIvPiA8ZGM6dGl0bGU+IDxyZGY6QWx0PiA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPmdseXBoaWNvbnM8L3JkZjpsaT4gPC9yZGY6QWx0PiA8L2RjOnRpdGxlPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pm+MpIcAAACQSURBVHjaYvj//z8DNgwEDUD8HwduwKWPEaoZBTAyMgoAqfcMeABQHyM2cRYGAgBdI9Cy//jUM+Ew5AMDmQBkO0gzPwN1wEcmBioDrJFCEYAa+AFPEiEWf4AnG0IxR4LjGKkehtgMzIZicsSwJuzHFIgx0MXLowaOGjhqIM0NxFY4yFIgNkQLWLKrUBABEGAAN/VrGlKCq9UAAAAASUVORK5CYII=) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%;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ob3Rvc2hvcCBDUzYgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMTgwMTE3NDA3MjA2ODExODA4M0ZFMkJBM0M1RUU2NSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNjgwMTE3NDA3MjA2ODExODA4M0U3NkRBMDNEMDVDMSIvPiA8ZGM6dGl0bGU+IDxyZGY6QWx0PiA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPmdseXBoaWNvbnM8L3JkZjpsaT4gPC9yZGY6QWx0PiA8L2RjOnRpdGxlPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PiF8RHEAAAF8SURBVHjarFYLbcQwDL1UA1AGC4PLEKxDsEIIgxVCIQxCx+DGIBA6BgehQ5Czb89SGuXX6Sw9RU0TP/fFsau896eSKaUMDQOBR43pK2ElONq/Fh0wQQpkFo58BbzGZv0kHHOUrsFxDN7TFwkgw/YP5wLea5IEiHwryGCwbsCcnAHP9YQlIOlTBGslMh1Hl5BXSNyOAAfaovFUIoAvOT8bEpSyZYYEuuY8kPouoVwBU4l8JFwQBEswNpCIVOz7HuHRbJkqBKOs64LbmbIfwhvhhfBF+CV8I8KSOYzmVLhUW053bLTBM0s4SXoGqeyeClHwIV0z75j8k+rUBonPhHcmoDlOiA9Z2CH/DxmIDXAOXtnQOSdGh+xI2StFMxEGVNQUyRBNP8cqtKSpDy9OIlNKMC0XTbBkcj1bxnldh0+ZG6TXlefY5l3DaegBLlF5l+raxnLt/2Jpkmd3f442HFOpvPmG86CWqas9+dFNXx34bdFSvOCUcan9ttwEGABhK6KZzv1HQAAAAABJRU5ErkJggg==) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%; + background-size: 100% 100%; +} +.enketo-plugin .icon-arr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zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMTgwMTE3NDA3MjA2ODExODA4M0ZFMkJBM0M1RUU2NSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNjgwMTE3NDA3MjA2ODExODA4M0U3NkRBMDNEMDVDMSIvPiA8ZGM6dGl0bGU+IDxyZGY6QWx0PiA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPmdseXBoaWNvbnM8L3JkZjpsaT4gPC9yZGY6QWx0PiA8L2RjOnRpdGxlPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgFCos8AAABzSURBVHjaYvj//z8DMRgICohSR4RBAkB8gAGslEIDgcAAiD+ADKPYQJAXYQZRZCDUiwvQDSPLQKgXL2AzjGQDgSAAObzIxB9ghk2g0CBkjNuL5GAmBmoDqnuZJpFCk2RDk4RNk6xHs8KBJsUXOQUsQIABABEJv77soFPFAAAAAElFTkSuQmCC) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%; + background-size: 100% 100%; +} +.enketo-plugin .icon-marker, .enketo-plugin .enketo-geopoint-marker { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAYCAYAAADzoH0MAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgIC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Y6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pm/BtdAAAADxSURBVHjalFNRDYUwDBzkCZgEHICESZkEJCABCUh4UpAwCTjY25LyUtorsCb30/XaW3dzOWfHUSIUfAuyQM0FVS/IGyBKbLDBS7JqcpJjA/lE5A0SKFgKBsICzhNx3QQOZ7DcGdRN59Z58pBk1uQQtaF3OpKzQ52hBmPXdYNMUm5U1SRN3m0v8Ey6p9yljr8C8sBB+Q3c/e8Fbt9WHwTpxL2BvCMrx1YXos+UXpDT3W+MLdNRA29snL+M55xeeKIWrDdOXKnmaqSXKtR0peBBhZ6OFBgq4HSowFCBp1sKhApzesXHWnedWL7wyhTB+AkwAEan53kvrTn0AAAAAElFTkSuQmCC) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%; + background-size: 100% 100%; +} +.enketo-plugin .icon-plus { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0U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U2Q/rNkfUeyu4V9W6knJ7OpGGbt8F+ts/52jwTl5mpFLoqCpBb5JdG2frMhKsg3BIPeKqpTftwaWlh1psrPF6MVIwWPtjFCtzSxaJ8axNQNbe6etOxbW58gP7HIJ4hVV1jHBNvhYRznr5WTVdQu4LpBfAQYA48fhpdMtHxcAAAAASUVORK5CYII=) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%; + background-size: 100% 100%; +} +.enketo-plugin .icon-minus { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjJBNDNBQjg5MDY5RjExRTI5OUZEQTZGODg4RDc1ODdCIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjJBNDNBQjg4MDY5RjExRTI5OUZEQTZGODg4RDc1ODdCIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMTgwMTE3NDA3MjA2ODExODA4M0ZFMkJBM0M1RUU2NSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNjgwMTE3NDA3MjA2ODExODA4M0U3NkRBMDNEMDVDMSIvPiA8ZGM6dGl0bGU+IDxyZGY6QWx0PiA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPmdseXBoaWNvbnM8L3JkZjpsaT4gPC9yZGY6QWx0PiA8L2RjOnRpdGxlPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjBen84AAADMSURBVHjavJaNDYQgDIXFCRiBERjBERnNETqCG/RoUgwSwd6dvCYvJqbtF7E/OGZeLOacC/kRmteU48mUQEA9aeIkCcW1I1KfMMzVAXgN5i8lMd4Eyhaz9h8gRRIbhyCFHH9Aio4W1h7X/gKk/jJ/B0ovQs5/dgFpdfEkhRqUJoJSDaKJICpDYeaxnccnoG3gEEfdftMavTzbEGSFVLAuaF0wFtaHiR2tmR58CVcMsPJGNyxmBMGGKnRNwBYfdJVDLyezrlsOdYH8CDAAn5YfwrN58ucAAAAASUVORK5CYII=) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%; + background-size: 100% 100%; +} +.enketo-plugin .icon-chevron-right, .enketo-plugin .icon-chevron-up, .enketo-plugin .glyphicon-chevron-up, .enketo-plugin .icon-chevron-down, .enketo-plugin .glyphicon-chevron-down, .enketo-plugin .icon-chevron-left { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAWCAYAAAAfD8YZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjA1OUQzQkZEMDZBODExRTI5OUZEQTZGODg4RDc1ODdCIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjA1OUQzQkZDMDZBODExRTI5OUZEQTZGODg4RDc1ODdCIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMTgwMTE3NDA3MjA2ODExODA4M0ZFMkJBM0M1RUU2NSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNjgwMTE3NDA3MjA2ODExODA4M0U3NkRBMDNEMDVDMSIvPiA8ZGM6dGl0bGU+IDxyZGY6QWx0PiA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPmdseXBoaWNvbnM8L3JkZjpsaT4gPC9yZGY6QWx0PiA8L2RjOnRpdGxlPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Po6G6sQAAAB/SURBVHjaYvj//z8DDANBARALIIvhw8gaFwAxiHGBWAPQNf4nxQBsGok2gAGq6D85BoCAALkGwEwgywBkJ5BsALofSDIAWyAQbQCuUCTKACYGSgDVnE12gJEdVWQnEoqSJyUZgwmqABu4CMQOQEUf8EYV2YUBxcUQuQUgQIABAENaIhLMSm8LAAAAAElFTkSuQmCC) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%; + background-size: 100% 100%; + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + -moz-transform: rotate(0); + transform: rotate(0); +} +.enketo-plugin .icon-chevron-left { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + -moz-transform: rotate(180deg); + transform: rotate(180deg); +} +.enketo-plugin .icon-chevron-down, .enketo-plugin .glyphicon-chevron-down { + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + -moz-transform: rotate(90deg); + transform: rotate(90deg); +} +.enketo-plugin .icon-chevron-up, .enketo-plugin .glyphicon-chevron-up { + -webkit-transform: rotate(270deg); + -ms-transform: rotate(270deg); + -moz-transform: rotate(270deg); + transform: rotate(270deg); +} +.enketo-plugin .icon-sticky-note, .enketo-plugin .btn-comment .icon, .enketo-plugin .btn-comment .enketo-geopoint-marker, .enketo-plugin .btn-comment .glyphicon-chevron-up, .enketo-plugin .btn-comment .glyphicon-chevron-down, .enketo-plugin .icon-sticky-note-o, .enketo-plugin .btn-comment.empty .icon, .enketo-plugin .btn-comment.empty .enketo-geopoint-marker, .enketo-plugin .btn-comment.empty .glyphicon-chevron-up, .enketo-plugin .btn-comment.empty .glyphicon-chevron-down { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAVCAYAAABc6S4mAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5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AAAAASUVORK5CYII=); + background-size: contain; + background-repeat: no-repeat; + background-color: #555555; +} +.enketo-plugin .icon-sticky-note-o, .enketo-plugin .btn-comment.empty .icon, .enketo-plugin .btn-comment.empty .enketo-geopoint-marker, .enketo-plugin .btn-comment.empty .glyphicon-chevron-up, .enketo-plugin .btn-comment.empty .glyphicon-chevron-down { + background-color: transparent; +} +.enketo-plugin .icon-download { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N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xKEDQAAAABJRU5ErkJggg==) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%; + background-size: 100% 100%; +} +.enketo-plugin .icon-undo { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAASCAYAAABB7B6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjQ5MUFGOTFFMDZBNzExRTI5OUZEQTZGODg4RDc1ODdCIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjQ5MUFGOTFEMDZBNzExRTI5OUZEQTZGODg4RDc1ODdCIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMTgwMTE3NDA3MjA2ODExODA4M0ZFMkJBM0M1RUU2NSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNjgwMTE3NDA3MjA2ODExODA4M0U3NkRBMDNEMDVDMSIvPiA8ZGM6dGl0bGU+IDxyZGY6QWx0PiA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPmdseXBoaWNvbnM8L3JkZjpsaT4gPC9yZGY6QWx0PiA8L2RjOnRpdGxlPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjWjp3cAAADwSURBVHjatFVREYMwDG0wsDoYDoYEJEzCJEwCc4AEJCBhDoaESWAKupdbOHqsa0kH7+4dfKRJ30ubknPOrAURVYgfjALFysQWbPH7MFqwghiBCuRdu0+4Mxqmkl/AcUq+WQHAgp2fOLcALZvMjcSnB48/XL2JqgFr76oeANfQriMcRWkdtUgs6ZXJl2Q1ZcBuU4LPP5P7iiq/QGG2xYGVSB/nHmxk0VKJ/TqmGU2Osck6pohHCJXSu0k9rzmDJy/0hVgbu2i99qJJ0daLr3cZFaKI1zWUGtdiWTfJZ4tWTuA6qSA0m1SDDkpo7wfnLcAA4K8eYpcm41cAAAAASUVORK5CYII=) no-repeat center center; + -webkit-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -o-background-size: 100% 100%; + background-size: 100% 100%; +} +.enketo-plugin html { + height: 100%; +} +.enketo-plugin body { + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + -moz-flex-direction: column; + flex-direction: column; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + -moz-flex-wrap: nowrap; + flex-wrap: nowrap; + position: relative; + min-height: 100%; +} +.enketo-plugin .paper { + border-radius: 7px; + border: 7px solid #ddd; + background-color: #fff; + position: relative; + min-height: 100%; +} +.enketo-plugin .or { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + margin-bottom: 20px; +} +.enketo-plugin .main { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + -moz-flex-direction: column; + flex-direction: column; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + -moz-flex-wrap: nowrap; + flex-wrap: nowrap; + margin: 0 auto; + padding: 100px 0 70px 0; + position: relative; + width: 100%; + max-width: 720px; +} +.enketo-plugin .paper { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + -moz-flex-direction: column; + flex-direction: column; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + -moz-flex-wrap: nowrap; + flex-wrap: nowrap; + padding: 45px; + position: relative; + min-height: 100%; +} +.enketo-plugin .form-header { + -moz-box-sizing: border-box; + box-sizing: border-box; + display: flex; + flex-direction: row; + align-items: center; + justify-content: flex-end; + position: absolute; + left: 0; + top: -76px; + width: 100%; + min-height: 69px; + padding: 16px 0; +} +.enketo-plugin .form-language-selector { + padding: 0; + margin-left: 10px; + font-size: 0.8em; +} +.enketo-plugin #form-languages { + display: inline; + width: auto; + height: 36px; + background: none; + min-width: 11em; + border: 1px solid #ccc; + margin: 0 0 0 16px; + font-size: 0.9em; +} +.enketo-plugin [dir=rtl] #form-languages { + margin: 0 16px 0 0; +} +.enketo-plugin .form-footer { + margin: 45px -45px -45px -45px; +} +.enketo-plugin .enketo-power { + position: relative; + left: 50%; + margin: 30px 0 0 -100px; + width: 200px; + font-size: 16px; + line-height: 23px; + text-align: center; +} +.enketo-plugin .enketo-power a { + font-style: italic; +} +.enketo-plugin .enketo-power img { + float: none; + vertical-align: top; + width: 48px; +} +.enketo-plugin button { + background: none; + border: none; +} +.enketo-plugin .btn { + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 0; + font-weight: normal; + text-align: center; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + white-space: nowrap; + padding: 6px 12px; + font-size: 15px; + line-height: 1.25; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.enketo-plugin .btn:focus, .enketo-plugin .btn:link, .enketo-plugin .btn:active, .enketo-plugin .btn:visited { + text-decoration: none; +} +.enketo-plugin .btn-default { + color: #333333; + background-color: white; + border-color: #cccccc; +} +.enketo-plugin .btn-default:hover, .enketo-plugin .btn-default:focus, .enketo-plugin .btn-default:active, .enketo-plugin .btn-default.active { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} +.open .enketo-plugin .btn-default.dropdown-toggle { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} +.enketo-plugin .btn-default:active, .enketo-plugin .btn-default.active { + background-image: none; +} +.open .enketo-plugin .btn-default.dropdown-toggle { + background-image: none; +} +.enketo-plugin .btn-default.disabled, .enketo-plugin .btn-default.disabled:hover, .enketo-plugin .btn-default.disabled:focus, .enketo-plugin .btn-default.disabled:active, .enketo-plugin .btn-default.disabled.active, .enketo-plugin .btn-default[disabled], .enketo-plugin .btn-default[disabled]:hover, .enketo-plugin .btn-default[disabled]:focus, .enketo-plugin .btn-default[disabled]:active, .enketo-plugin .btn-default[disabled].active, fieldset[disabled] .enketo-plugin .btn-default, fieldset[disabled] .enketo-plugin .btn-default:hover, fieldset[disabled] .enketo-plugin .btn-default:focus, fieldset[disabled] .enketo-plugin .btn-default:active, fieldset[disabled] .enketo-plugin .btn-default.active { + background-color: white; + border-color: #cccccc; +} +.enketo-plugin .btn-default .badge { + color: white; + background-color: #333333; +} +.enketo-plugin .btn-primary { + color: white; + background-color: #006ea0; + border-color: #005d86; +} +.enketo-plugin .btn-primary:hover, .enketo-plugin .btn-primary:focus, .enketo-plugin .btn-primary:active, .enketo-plugin .btn-primary.active { + color: white; + background-color: #005277; + border-color: #003249; +} +.open .enketo-plugin .btn-primary.dropdown-toggle { + color: white; + background-color: #005277; + border-color: #003249; +} +.enketo-plugin .btn-primary:active, .enketo-plugin .btn-primary.active { + background-image: none; +} +.open .enketo-plugin .btn-primary.dropdown-toggle { + background-image: none; +} +.enketo-plugin .btn-primary.disabled, .enketo-plugin .btn-primary.disabled:hover, .enketo-plugin .btn-primary.disabled:focus, .enketo-plugin .btn-primary.disabled:active, .enketo-plugin .btn-primary.disabled.active, .enketo-plugin .btn-primary[disabled], .enketo-plugin .btn-primary[disabled]:hover, .enketo-plugin .btn-primary[disabled]:focus, .enketo-plugin .btn-primary[disabled]:active, .enketo-plugin .btn-primary[disabled].active, fieldset[disabled] .enketo-plugin .btn-primary, fieldset[disabled] .enketo-plugin .btn-primary:hover, fieldset[disabled] .enketo-plugin .btn-primary:focus, fieldset[disabled] .enketo-plugin .btn-primary:active, fieldset[disabled] .enketo-plugin .btn-primary.active { + background-color: #006ea0; + border-color: #005d86; +} +.enketo-plugin .btn-primary .badge { + color: #006ea0; + background-color: white; +} +.enketo-plugin .btn-reset[disabled] { + display: none; +} +.enketo-plugin .btn-icon-only { + margin: 0 10px 0 10px; + padding: 7px; + color: #333333; + background: none; + border: none; + width: 34px; + height: 34px; + box-shadow: none; + opacity: 0.7; +} +.enketo-plugin .btn-icon-only:hover, .enketo-plugin .btn-icon-only:focus, .enketo-plugin .btn-icon-only:active, .enketo-plugin .btn-icon-only.active, .enketo-plugin .btn-icon-only:disabled, .enketo-plugin .btn-icon-only.disabled { + background: none; + box-shadow: none; +} +.enketo-plugin .btn-icon-only:hover, .enketo-plugin .btn-icon-only:disabled, .enketo-plugin .btn-icon-only.disabled { + color: #333333; + opacity: 0.5; +} +.enketo-plugin .or [lang]:not(.active, .question), +.enketo-plugin .or-option-translations, +.enketo-plugin .or-appearance-page-break, +.enketo-plugin .or-constraint-msg, +.enketo-plugin .or-required-msg, +.enketo-plugin .or-relevant-msg, +.enketo-plugin .invalid-value-msg, +.enketo-plugin .option-wrapper .itemset-template, +.enketo-plugin .itemset-labels { + display: none; +} +.enketo-plugin .or > h3, +.enketo-plugin .or-group > h3 { + padding: 5px 0 15px 0; + word-wrap: break-word; + color: #006ea0; + text-align: center; +} +.enketo-plugin .or > h4, +.enketo-plugin .or-group > h4 { + text-align: inherit; + margin-top: 9px; + margin-bottom: 9px; + color: #006ea0; +} +.enketo-plugin .or > h4 strong, +.enketo-plugin .or-group > h4 strong { + font-size: inherit; +} +.enketo-plugin .or.hide { + display: none; +} +.enketo-plugin .or .question-label h1, +.enketo-plugin .or .question-label h2, +.enketo-plugin .or .question-label h3, +.enketo-plugin .or .question-label h4, +.enketo-plugin .or .question-label h5, +.enketo-plugin .or .question-label .or-analog-scale-initialized .show-value__box, +.enketo-plugin .or-analog-scale-initialized .or .question-label .show-value__box, +.enketo-plugin .or .question-label h6, +.enketo-plugin .or .or-hint h1, +.enketo-plugin .or .or-hint h2, +.enketo-plugin .or .or-hint h3, +.enketo-plugin .or .or-hint h4, +.enketo-plugin .or .or-hint h5, +.enketo-plugin .or .or-hint .or-analog-scale-initialized .show-value__box, +.enketo-plugin .or-analog-scale-initialized .or .or-hint .show-value__box, +.enketo-plugin .or .or-hint h6 { + margin-top: 10px; + margin-bottom: 10px; +} +.enketo-plugin .or .question-label h1:first-child, +.enketo-plugin .or .question-label h2:first-child, +.enketo-plugin .or .question-label h3:first-child, +.enketo-plugin .or .question-label h4:first-child, +.enketo-plugin .or .question-label h5:first-child, +.enketo-plugin .or .question-label .or-analog-scale-initialized .show-value__box:first-child, +.enketo-plugin .or-analog-scale-initialized .or .question-label .show-value__box:first-child, +.enketo-plugin .or .question-label h6:first-child, +.enketo-plugin .or .or-hint h1:first-child, +.enketo-plugin .or .or-hint h2:first-child, +.enketo-plugin .or .or-hint h3:first-child, +.enketo-plugin .or .or-hint h4:first-child, +.enketo-plugin .or .or-hint h5:first-child, +.enketo-plugin .or .or-hint .or-analog-scale-initialized .show-value__box:first-child, +.enketo-plugin .or-analog-scale-initialized .or .or-hint .show-value__box:first-child, +.enketo-plugin .or .or-hint h6:first-child { + margin-top: 0; +} +.enketo-plugin .or .question-label h1:last-child, +.enketo-plugin .or .question-label h2:last-child, +.enketo-plugin .or .question-label h3:last-child, +.enketo-plugin .or .question-label h4:last-child, +.enketo-plugin .or .question-label h5:last-child, +.enketo-plugin .or .question-label .or-analog-scale-initialized .show-value__box:last-child, +.enketo-plugin .or-analog-scale-initialized .or .question-label .show-value__box:last-child, +.enketo-plugin .or .question-label h6:last-child, +.enketo-plugin .or .or-hint h1:last-child, +.enketo-plugin .or .or-hint h2:last-child, +.enketo-plugin .or .or-hint h3:last-child, +.enketo-plugin .or .or-hint h4:last-child, +.enketo-plugin .or .or-hint h5:last-child, +.enketo-plugin .or .or-hint .or-analog-scale-initialized .show-value__box:last-child, +.enketo-plugin .or-analog-scale-initialized .or .or-hint .show-value__box:last-child, +.enketo-plugin .or .or-hint h6:last-child { + margin-bottom: 0; +} +.enketo-plugin .or .question-label { + word-break: break-word; + display: inline-block; +} +.enketo-plugin .or-hint.active { + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + color: #888888; + display: block; + line-height: 16px; + font-weight: normal; + font-size: 11px; + font-style: italic; + padding-top: 5px; +} +.enketo-plugin .or-hint.active ~ br { + display: none; +} +.enketo-plugin .or-form-guidance.active { + margin: 5px 0; + color: #006ea0; +} +.enketo-plugin .or-form-guidance.active summary { + color: #888888; +} +.enketo-plugin .or .form-logo { + display: block; + text-align: center; + width: 100%; +} +.enketo-plugin .or .form-logo img { + float: none; + display: inline; + max-height: 200px; + max-width: 120px; +} +.enketo-plugin .or-repeat { + background-color: #b9e9ff; + margin: 0 0 3px 0; + padding: 20px 10px 10px 10px; + position: relative; +} +.enketo-plugin .or-repeat.empty { + padding: 0; +} +.enketo-plugin .or-repeat.empty .repeat-number { + display: none; +} +.enketo-plugin .or-repeat .repeat-number { + display: block; + position: absolute; + top: 7px; + right: 10px; + color: #006ea0; +} +.enketo-plugin .or-repeat .repeat-number + .or-group { + border-top: none; +} +.enketo-plugin .or-repeat .or-repeat { + background-color: white; +} +.enketo-plugin .or-repeat .or-repeat .or-repeat { + background-color: #b9e9ff; +} +.enketo-plugin .or-repeat .or-repeat .or-repeat .or-repeat { + background-color: white; +} +.enketo-plugin .or-group { + border-top: 3px solid #bbbbbb; + margin: 1.5em 0 0.4em 0; +} +.enketo-plugin .or-group .or-group { + margin: 1.5em 0 0.5em 0; +} +.enketo-plugin .or-group .or-group > h4 .active { + font-size: 80%; +} +.enketo-plugin .or-group .or-group > h4 .active::before { + content: "» "; +} +.enketo-plugin .or-group .or-group .or-group > h4 .active::before { + content: "» » "; +} +.enketo-plugin .or-group .or-group .or-group .or-group > h4 .active::before { + content: "» » » "; +} +.enketo-plugin .or-group .or-group .or-group .or-group .or-group > h4 .active::before { + content: "» » » »"; +} +.enketo-plugin .or-group .or-group .or-group .or-group .or-group .or-group > h4 .active::before { + content: "» » » » »"; +} +.enketo-plugin .or-group .or-group .or-group .or-group .or-group .or-group .or-group > h4 .active::before { + content: "» » » » » »"; +} +.enketo-plugin .or-group:not(.or-appearance-no-collapse) > h4 { + position: relative; + pointer-events: none; +} +.enketo-plugin .or-group:not(.or-appearance-no-collapse) > h4::before { + width: 0; + height: 0; + border-left: 12px solid transparent; + border-right: 12px solid transparent; + border-top: 12px solid #006ea0; + border-bottom: 0; + display: block; + position: absolute; + content: ""; + top: 5px; + left: -30px; + right: -30px; + pointer-events: all; +} +.enketo-plugin .or-group:not(.or-appearance-no-collapse).or-appearance-compact > h4::before { + width: 0; + height: 0; + border-top: 12px solid transparent; + border-bottom: 12px solid transparent; + border-left: 12px solid #006ea0; + border-right: 0; + left: -22px; + right: -22px; + top: 0; +} +.enketo-plugin .or-group:not(.or-appearance-no-collapse).or-appearance-compact > h4 ~ * { + display: none !important; +} +.enketo-plugin [dir=rtl] .or-group:not(.or-appearance-no-collapse).or-appearance-compact > h4::before { + border-left: 0; + border-right: 12px solid #006ea0; +} +.enketo-plugin #stats + .or-group, +.enketo-plugin #or-preload-items + .or-group, +.enketo-plugin #form-languages + .or-group { + border-top: none; +} +.enketo-plugin .question:not(.readonly) { + font-weight: bold; +} +.enketo-plugin .question { + display: block; + margin: 0 0 9px 0; + padding-top: 15px; + border: none; + position: relative; +} +.enketo-plugin .question > fieldset { + padding: 0; + margin: 0; + border: none; +} +.enketo-plugin .question-label strong { + font-size: 16px; +} +.enketo-plugin .question > img, +.enketo-plugin .question > video, +.enketo-plugin .question > audio { + margin: 10px auto 10px; +} +.enketo-plugin .question.readonly input[readonly].empty, +.enketo-plugin .question.readonly select[readonly].empty, +.enketo-plugin .question.readonly textarea[readonly].empty { + display: none; +} +.enketo-plugin .question.readonly strong { + font-size: inherit; +} +.enketo-plugin label, +.enketo-plugin legend { + font-size: 15px; +} +.enketo-plugin .or img, +.enketo-plugin .or audio, +.enketo-plugin .or video { + display: block; + max-height: 300px; + max-width: 70%; +} +.enketo-plugin .or video { + max-width: 100%; +} +.enketo-plugin legend { + display: block; + position: relative; + border: none; + width: 100%; + padding: 0; + margin-bottom: 12px; +} +.enketo-plugin .option-wrapper { + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + -moz-flex-direction: column; + flex-direction: column; +} +.enketo-plugin .option-wrapper > label { + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + display: block; + margin: 0; + cursor: pointer; + padding: 4px; + margin: 0 8px 1px 10px; +} +.enketo-plugin .option-wrapper > label:hover:not(.filler) { + background-color: #a0e2ff; +} +.enketo-plugin .option-wrapper > label:before, .enketo-plugin .option-wrapper > label:after { + content: " "; + display: table; +} +.enketo-plugin .option-wrapper > label:after { + clear: both; +} +.enketo-plugin .option-wrapper .option-label { + margin-left: 30px; + display: block; + word-break: break-word; +} +.enketo-plugin .option-wrapper img, +.enketo-plugin .option-wrapper video, +.enketo-plugin .option-wrapper audio { + float: right; + margin: 10px 0 10px 10px; +} +.enketo-plugin .or[dir=rtl] .option-wrapper .option-label { + margin-right: 30px; +} +.enketo-plugin .or[dir=rtl] .option-wrapper img, +.enketo-plugin .or[dir=rtl] .option-wrapper video, +.enketo-plugin .or[dir=rtl] .option-wrapper audio { + float: left; + margin: 10px 10px 10px 0; +} +.enketo-plugin .touch .question.simple-select .option-wrapper > label { + background-color: transparent; + border: 1px solid #ccc; + border-radius: 4px; + margin: 0 1px 6.4px 1px; + padding: 10px; +} +.enketo-plugin .touch .question.simple-select .option-wrapper > label input[type=radio], +.enketo-plugin .touch .question.simple-select .option-wrapper > label input[type=checkbox] { + margin-left: 5px; +} +.enketo-plugin .touch .question.simple-select .option-wrapper > label:focus, .enketo-plugin .touch .question.simple-select .option-wrapper > label:hover, .enketo-plugin .touch .question.simple-select .option-wrapper > label:active { + background-color: #a0e2ff; +} +.enketo-plugin .touch input[type=text], +.enketo-plugin .touch .print-input-text, +.enketo-plugin .touch input[type=tel], +.enketo-plugin .touch input[type=password], +.enketo-plugin .touch input[type=url], +.enketo-plugin .touch input[type=email], +.enketo-plugin .touch input[type=file], +.enketo-plugin .touch input[type=date], +.enketo-plugin .touch input[type=month], +.enketo-plugin .touch input[type=time], +.enketo-plugin .touch input[type=datetime-local], +.enketo-plugin .touch input[type=number], +.enketo-plugin .touch textarea, +.enketo-plugin .touch select { + margin: 10px 0 10px 0; + color: #104b66; +} +.enketo-plugin .touch input[type=text], +.enketo-plugin .touch .print-input-text, +.enketo-plugin .touch input[type=tel], +.enketo-plugin .touch input[type=password], +.enketo-plugin .touch input[type=url], +.enketo-plugin .touch input[type=email], +.enketo-plugin .touch input[type=file], +.enketo-plugin .touch input[type=date], +.enketo-plugin .touch input[type=month], +.enketo-plugin .touch input[type=time], +.enketo-plugin .touch input[type=datetime-local], +.enketo-plugin .touch input[type=number], +.enketo-plugin .touch textarea { + border: 1px solid #ddd8ce; +} +.enketo-plugin .touch select { + width: 100%; +} +.enketo-plugin input[type=text], +.enketo-plugin .print-input-text, +.enketo-plugin input[type=tel], +.enketo-plugin input[type=password], +.enketo-plugin input[type=url], +.enketo-plugin input[type=email], +.enketo-plugin input[type=file], +.enketo-plugin input[type=date], +.enketo-plugin input[type=month], +.enketo-plugin input[type=time], +.enketo-plugin input[type=datetime-local], +.enketo-plugin input[type=number], +.enketo-plugin input[type=range], +.enketo-plugin textarea, +.enketo-plugin select, +.enketo-plugin .widget { + display: block; + margin: 8px 0 8px 0; +} +.enketo-plugin input:not([type=radio]):not([type=checkbox]), +.enketo-plugin textarea, +.enketo-plugin .print-input-text { + height: 34px; +} +.enketo-plugin select { + width: 80%; +} +.enketo-plugin .question input[type=text], .enketo-plugin .question input[type=tel], .enketo-plugin .question input[type=password], .enketo-plugin .question input[type=url], .enketo-plugin .question input[type=email], .enketo-plugin .question input[type=file] { + width: 80%; +} +.enketo-plugin .question input[type=date], .enketo-plugin .question input[type=month], .enketo-plugin .question input[type=datetime-local], .enketo-plugin .question input[type=number], .enketo-plugin .question input[type=time], .enketo-plugin .question input[type=text].mask-date { + width: 240px; +} +.enketo-plugin .question input[type=radio], .enketo-plugin .question input[type=checkbox] { + float: left; + display: block; + margin-top: 2px; +} +.enketo-plugin .question .print-input-text { + width: 80%; +} +.enketo-plugin .or[dir=rtl] .question input[type=radio], .enketo-plugin .or[dir=rtl] .question input[type=checkbox] { + float: right; +} +.enketo-plugin .question textarea { + width: 80%; + resize: vertical; + min-height: 9em; +} +.enketo-plugin .or-repeat .repeat-buttons { + margin-top: 30px; + display: flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: flex-end; +} +.enketo-plugin .or-repeat .remove { + margin-bottom: 0; + margin-right: 0; +} +.enketo-plugin .or-repeat-info:not(:empty) { + padding-top: 10px; +} +.enketo-plugin .add-repeat-btn { + display: block; + margin: 0 auto 10px auto; + min-width: 150px; +} +.enketo-plugin .or[dir=rtl] .remove { + float: left; +} +.enketo-plugin .alert { + margin-bottom: 4px; +} +.enketo-plugin .required { + position: absolute; + top: 10px; + left: -10px; + color: #006ea0; +} +.enketo-plugin legend .required { + top: 0; +} +.enketo-plugin .or[dir=rtl] .required { + left: auto; + right: -10px; +} +.enketo-plugin .disabled { + opacity: 0.6; +} +.enketo-plugin .invalid-constraint, +.enketo-plugin .invalid-value, +.enketo-plugin .invalid-required, +.enketo-plugin .invalid-relevant { + -webkit-transition: all 0.6s ease-out; + transition: all 0.6s ease-out; + background-color: #f2dede; + border-color: #ebccd1; + border-radius: 3px; + margin-right: -10px; + margin-left: -10px; + padding-left: 10px; + padding-right: 10px; + padding-bottom: 10px; +} +.enketo-plugin .invalid-value .invalid-value-msg.active, +.enketo-plugin .invalid-constraint .or-constraint-msg.active, +.enketo-plugin .invalid-required .or-required-msg.active, +.enketo-plugin .question.invalid-relevant .or-relevant-msg.active { + display: block; +} +.enketo-plugin .or-required-msg.active, +.enketo-plugin .or-constraint-msg.active, +.enketo-plugin .or-relevant-msg.active, +.enketo-plugin .invalid-value-msg.active { + font-weight: bold; + padding-top: 5px; + font-size: 0.85em; + color: #a94442; +} +.enketo-plugin .or-branch.disabled, .enketo-plugin .or-branch.or-branch.pre-init { + display: none; +} +.enketo-plugin .pages.or .or-group, +.enketo-plugin .pages.or .or-group-data, +.enketo-plugin .pages.or .or-repeat { + display: none; +} +.enketo-plugin .pages.or .or-group.contains-current, +.enketo-plugin .pages.or .or-group-data.contains-current, +.enketo-plugin .pages.or .or-repeat.contains-current { + display: block; +} +.enketo-plugin .pages.or .or-repeat[role=page].current + .or-repeat-info { + display: block; +} +.enketo-plugin .pages.or [role=page] { + display: none; +} +.enketo-plugin .pages.or [role=page].current { + display: block; +} +.enketo-plugin .pages.or [role=page].current .or-group:not(.disabled), +.enketo-plugin .pages.or [role=page].current .or-group-data:not(.disabled), +.enketo-plugin .pages.or [role=page].current .or-repeat:not(.disabled) { + display: block; +} +.enketo-plugin .pages.or [role=page].hidden { + opacity: 0; +} +.enketo-plugin .pages.or [role=page].fade-out { + opacity: 0; + -webkit-transition: all 0.6s ease-out; + transition: all 0.6s ease-out; +} +.enketo-plugin .pages.or #form-title { + margin: 0; +} +.enketo-plugin .pages ~ .form-footer { + margin-top: 0; +} +.enketo-plugin .pages ~ .form-footer.end .btn { + display: inline-block; +} +.enketo-plugin .pages ~ .form-footer.end .next-page { + display: none; +} +.enketo-plugin .pages ~ .form-footer.end .logout, +.enketo-plugin .pages ~ .form-footer.end .draft { + display: block; +} +.enketo-plugin .pages ~ .form-footer .logout { + margin-bottom: 50px; +} +.enketo-plugin .pages ~ .form-footer .btn { + display: none; +} +.enketo-plugin .pages ~ .form-footer .previous-page, +.enketo-plugin .pages ~ .form-footer .next-page { + display: inline-block; +} +.enketo-plugin .pages ~ .form-footer .previous-page.disabled, +.enketo-plugin .pages ~ .form-footer .next-page.disabled { + display: none; +} +.enketo-plugin .pages ~ .form-footer .first-page, +.enketo-plugin .pages ~ .form-footer .last-page { + display: inline-block; +} +.enketo-plugin .pages ~ .form-footer .logout, +.enketo-plugin .pages ~ .form-footer .draft { + display: none; +} +.enketo-plugin .pages-toc__list { + border: 1px solid black; + border-radius: 2px; + border: 2px solid #555555; + position: absolute; + right: 0; + left: 0; + top: 69px; + width: 320px; + height: 0; + max-height: calc(100vh - 100px); + max-width: 100vw; + margin: 0 auto; + list-style: none; + padding: 0; + background: white; + z-index: 1000; + overflow: scroll; + transition: height 1s ease-out; + opacity: 0; +} +.enketo-plugin .pages-toc__list li { + border-top: 1px solid #555555; + padding: 0; + margin: 0; +} +.enketo-plugin .pages-toc__list li a:hover { + background: #a0e2ff; +} +.enketo-plugin .pages-toc__list li > details { + margin-left: 18px; +} +.enketo-plugin .pages-toc__list li > details summary { + padding: 8px 20px 8px 0px; +} +.enketo-plugin .pages-toc__list li > details ul { + list-style: none; + padding-left: 0; +} +.enketo-plugin .pages-toc__list li > details a { + padding-left: 18px; +} +.enketo-plugin .pages-toc__list a, +.enketo-plugin .pages-toc__list a:link, +.enketo-plugin .pages-toc__list a:visited { + text-decoration: none; + color: inherit; + display: block; + width: 100%; + height: 100%; + padding: 8px 20px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.enketo-plugin .pages-toc__overlay { + display: none; + position: fixed; + top: 0; + left: 0; + background: #555555; + width: 100%; + height: 100%; + z-index: 999; + opacity: 0.5; +} +.enketo-plugin .pages-toc #toc-toggle { + display: none; +} +.enketo-plugin .pages-toc #toc-toggle:checked + .pages-toc__list { + height: auto; + opacity: 1; +} +.enketo-plugin .pages-toc #toc-toggle:checked ~ .pages-toc__overlay { + display: block; +} +.enketo-plugin .pages-toc label[for=toc-toggle] { + display: block; + width: 27px; + height: 27px; + margin: 5px 0 5px 20px; + background: repeating-linear-gradient(#555555 2px, #555555 5px, transparent 5px, transparent 12px); +} +.enketo-plugin .pages-toc label[for=toc-toggle]:hover { + opacity: 0.7; +} +.enketo-plugin .bootstrap-select { + margin-top: 15px; +} +.enketo-plugin .bootstrap-select .dropdown-toggle { + width: 374.3272px; + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + text-align: left; +} +.enketo-plugin .bootstrap-select .dropdown-toggle .caret { + position: absolute; + top: 14px; + right: 12px; +} +.enketo-plugin .bootstrap-select .dropdown-toggle .selected { + width: calc(100% - 12px); + display: inline-block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.enketo-plugin .bootstrap-select .dropdown-toggle ~ .dropdown-menu { + max-height: 200px; + max-width: 100%; + overflow: auto; +} +.enketo-plugin .bootstrap-select .dropdown-toggle ~ .dropdown-menu .option-wrapper { + padding-left: 5px; + background-color: transparent; + color: black; + text-decoration: none; +} +.enketo-plugin .bootstrap-select .dropdown-toggle ~ .dropdown-menu .option-wrapper label { + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + padding-top: 2px; + padding-bottom: 2px; + padding-left: 0px; + font-size: 15px; +} +.enketo-plugin .bootstrap-select .dropdown-toggle ~ .dropdown-menu .option-wrapper label:hover { + background: transparent; +} +.enketo-plugin .bootstrap-select .dropdown-toggle ~ .dropdown-menu .option-wrapper label .option-label { + margin-top: 1px; +} +.enketo-plugin .readonly .bootstrap-select .dropdown-toggle { + opacity: 0.7; +} +.enketo-plugin .or[dir=rtl] .bootstrap-select .dropdown-toggle { + text-align: right; +} +.enketo-plugin .or[dir=rtl] .bootstrap-select .dropdown-toggle .caret { + margin-left: 0; + margin-right: 10px; + left: 12px; + right: auto; +} +.enketo-plugin .btn-group { + position: relative; + vertical-align: middle; +} +.enketo-plugin .btn-group > .btn { + position: relative; +} +.enketo-plugin .btn-group > .btn:hover, .enketo-plugin .btn-group > .btn:focus, .enketo-plugin .btn-group > .btn:active, .enketo-plugin .btn-group > .btn.active { + z-index: 2; +} +.enketo-plugin .btn-group .dropdown-toggle:active, +.enketo-plugin .btn-group.open .dropdown-toggle { + outline: 0; +} +.enketo-plugin .btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} +.enketo-plugin .btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} +.enketo-plugin .btn .caret { + margin-left: 0; +} +.enketo-plugin .mobileselect { + margin-left: 10px; +} +.enketo-plugin [type=range] { + padding: 2.5px; + width: 100%; + background: transparent; + font: 1em/1 arial, sans-serif; + z-index: 10; +} +.enketo-plugin [type=range], .enketo-plugin [type=range]::-webkit-slider-thumb { + -webkit-appearance: none; +} +.enketo-plugin [type=range]::-webkit-slider-runnable-track { + box-sizing: border-box; + border: none; + width: 100%; + height: 1px; + background: #333333; + border-radius: 0.5px; +} +.enketo-plugin [type=range]::-moz-range-track { + box-sizing: border-box; + border: none; + width: 100%; + height: 1px; + background: #333333; + border-radius: 0.5px; +} +.enketo-plugin [type=range]::-ms-track { + box-sizing: border-box; + border: none; + width: 100%; + height: 1px; + background: #333333; + border-radius: 0.5px; +} +.enketo-plugin [type=range]::-webkit-slider-thumb { + margin-top: -9.5px; + box-sizing: border-box; + border: 1px solid #006ea0; + width: 20px; + height: 20px; + border-radius: 50%; + background: #006ea0; + cursor: pointer; +} +.enketo-plugin [type=range]::-moz-range-thumb { + box-sizing: border-box; + border: 1px solid #006ea0; + width: 20px; + height: 20px; + border-radius: 50%; + background: #006ea0; + cursor: pointer; +} +.enketo-plugin [type=range]::-ms-thumb { + margin-top: 0; + box-sizing: border-box; + border: 1px solid #006ea0; + width: 20px; + height: 20px; + border-radius: 50%; + background: #006ea0; + cursor: pointer; +} +.enketo-plugin [type=range]::-ms-tooltip { + display: none; +} +.enketo-plugin [type=range]:focus { + outline: 0; +} +.enketo-plugin [type=range]:focus::-webkit-slider-thumb { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin [type=range]:focus::-moz-range-thumb { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin [type=range]:focus::-ms-thumb { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin [type=range].empty::-webkit-slider-thumb { + background: transparent; + border-color: transparent; +} +.enketo-plugin [type=range].empty::-moz-range-thumb { + background: transparent; + border-color: transparent; +} +.enketo-plugin [type=range].empty::-ms-thumb { + background: transparent; + border-color: transparent; +} +.enketo-plugin [type=range][disabled]::-webkit-slider-thumb { + opacity: 0.7; +} +.enketo-plugin [type=range][disabled]::-moz-range-thumb { + opacity: 0.7; +} +.enketo-plugin [type=range][disabled]::-ms-thumb { + opacity: 0.7; +} +.enketo-plugin .range-widget { + position: relative; +} +.enketo-plugin .range-widget__wrap { + width: 100%; + height: 200px; + z-index: 0; + text-align: center; +} +.enketo-plugin .range-widget__current { + padding-bottom: 10px; + vertical-align: middle; + line-height: 98.5px; + min-height: 108.5px; +} +.enketo-plugin .range-widget__ticks { + height: 20px; + box-sizing: border-box; + margin-left: 12px; + margin-right: 12px; + display: flex; + flex-direction: row; + flex-wrap: nowrap; +} +.enketo-plugin .range-widget__ticks span { + flex: 1; + border-left: 1px solid #333333; +} +.enketo-plugin .range-widget__ticks span:last-child { + border-right: 1px solid #333333; +} +.enketo-plugin .range-widget__scale { + display: flex; + padding-top: 10px; + justify-content: space-between; +} +.enketo-plugin .range-widget__scale__start, .enketo-plugin .range-widget__scale__end, .enketo-plugin .range-widget__scale__between { + width: 20px; + opacity: 0.7; + font-weight: normal; +} +.enketo-plugin .range-widget [type=range] { + position: absolute; + top: 93.5px; + left: 0; +} +.enketo-plugin .range-widget .btn-reset { + margin: 15px; +} +.enketo-plugin .or-appearance-vertical input[type=range], +.enketo-plugin .or-appearance-distress input[type=range] { + transform: rotate(-90deg); + width: 350px; + margin: 0 10px; + top: 158px; + left: -85px; + right: -85px; +} +.enketo-plugin .or-appearance-vertical .range-widget__wrap, +.enketo-plugin .or-appearance-distress .range-widget__wrap { + display: flex; + flex-wrap: nowrap; + flex-direction: row; + height: 350px; + width: 200px; + margin-top: 20px; +} +.enketo-plugin .or-appearance-vertical .range-widget__current, +.enketo-plugin .or-appearance-distress .range-widget__current { + flex: 1; + padding-right: 10px; + padding-bottom: 0; + line-height: 350px; +} +.enketo-plugin .or-appearance-vertical .range-widget__ticks, +.enketo-plugin .or-appearance-distress .range-widget__ticks { + width: 20px; + height: auto; + border-right: none; + margin-left: 0; + margin-right: 0; + margin-top: 12px; + margin-bottom: 12px; + flex-direction: column; +} +.enketo-plugin .or-appearance-vertical .range-widget__ticks span, +.enketo-plugin .or-appearance-distress .range-widget__ticks span { + border-top: 1px solid #333333; + border-left: none; +} +.enketo-plugin .or-appearance-vertical .range-widget__ticks span:last-child, +.enketo-plugin .or-appearance-distress .range-widget__ticks span:last-child { + border-bottom: 1px solid #333333; + border-right: none; +} +.enketo-plugin .or-appearance-vertical .range-widget__scale, +.enketo-plugin .or-appearance-distress .range-widget__scale { + flex: 1; + padding-top: 0; + padding-left: 10px; + flex-direction: column-reverse; +} +.enketo-plugin .or[dir=rtl] .or-appearance-vertical input[type=range], +.enketo-plugin .or[dir=rtl] .or-appearance-distress input[type=range] { + transform: rotate(90deg); +} +.enketo-plugin .or-appearance-distress input[type=range] { + top: 173px; + left: -127.5px; + right: -127.5px; +} +.enketo-plugin .or-appearance-distress input[type=range]::-webkit-slider-runnable-track { + box-sizing: border-box; + border: none; + width: 100%; + height: 4px; + background: linear-gradient(to bottom, #f9f9f9 0%, whitesmoke 100%); + border-radius: 2px; +} +.enketo-plugin .or-appearance-distress input[type=range]::-moz-range-track { + box-sizing: border-box; + border: none; + width: 100%; + height: 4px; + background: linear-gradient(to bottom, #f9f9f9 0%, whitesmoke 100%); + border-radius: 2px; +} +.enketo-plugin .or-appearance-distress input[type=range]::-ms-track { + box-sizing: border-box; + border: none; + width: 100%; + height: 4px; + background: linear-gradient(to bottom, #f9f9f9 0%, whitesmoke 100%); + border-radius: 2px; +} +.enketo-plugin .or-appearance-distress input[type=range]:not(.empty)::-webkit-slider-thumb { + margin-top: -8px; + box-sizing: border-box; + border: 1px solid #3a94a5; + width: 20px; + height: 20px; + border-radius: 50%; + background: #3a94a5; + cursor: pointer; +} +.enketo-plugin .or-appearance-distress input[type=range]:not(.empty)::-moz-range-thumb { + box-sizing: border-box; + border: 1px solid #3a94a5; + width: 20px; + height: 20px; + border-radius: 50%; + background: #3a94a5; + cursor: pointer; +} +.enketo-plugin .or-appearance-distress input[type=range]:not(.empty)::-ms-thumb { + box-sizing: border-box; + border: 1px solid #3a94a5; + width: 20px; + height: 20px; + border-radius: 50%; + background: #3a94a5; + cursor: pointer; +} +.enketo-plugin .or-appearance-distress .range-widget__wrap { + width: 115px; + flex-direction: row-reverse; + flex-wrap: wrap; + padding-top: 15px; + height: 410px; +} +.enketo-plugin .or-appearance-distress .range-widget__current { + visibility: hidden; + padding: 0 8.5px; +} +.enketo-plugin .or-appearance-distress .range-widget__current:empty:after { + display: block; + content: "-"; +} +.enketo-plugin .or-appearance-distress .range-widget__ticks { + width: 6px; +} +.enketo-plugin .or-appearance-distress .range-widget__bg { + width: 30px; + border-radius: 15px; + border: 1px solid #aaaaaa; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + border-bottom: none; + margin-top: -15px; + background-image: -webkit-linear-gradient(rgb(226, 4, 24), rgb(253, 211, 3) 50%, rgb(60, 182, 67)); + background-image: linear-gradient(rgb(226, 4, 24), rgb(253, 211, 3) 50%, rgb(60, 182, 67)); + background-repeat: no-repeat; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFE20418", endColorstr="#FF3CB643", GradientType=0); + z-index: 1; +} +.enketo-plugin .or-appearance-distress .range-widget__scale { + position: relative; + text-align: end; + align-items: flex-end; + padding: 0 5.5px; +} +.enketo-plugin .or-appearance-distress .range-widget__bulb { + width: 60px; + height: 60px; + border: 1px solid #aaaaaa; + border-radius: 30px; + margin: -7px auto 10px auto; + background: rgb(60, 182, 67); + position: relative; +} +.enketo-plugin .or-appearance-distress .range-widget__bulb__inner { + width: 24px; + height: 24px; + border-radius: 12px; + background: #3a94a5; + margin: 17px; +} +.enketo-plugin .or-appearance-distress .range-widget__bulb__mercury { + position: absolute; + left: calc(50% - 4px / 2); + right: calc(50% - 4px / 2); + bottom: 30px; + background: #3a94a5; + min-height: 25px; + width: 4px; + z-index: 100; +} +.enketo-plugin .or-appearance-distress .range-widget .btn-reset { + position: absolute; + top: 140px; + left: 70px; + right: 70px; +} +.enketo-plugin .datalist { + list-style: none; + display: none; + background: white; + position: absolute; + left: 0; + top: 0; + max-height: 300px; + overflow-y: auto; + z-index: 10; + padding: 0; + border: 1px solid #555555; +} +.enketo-plugin .datalist:empty { + display: none !important; +} +.enketo-plugin .datalist li { + padding: 5px; +} +.enketo-plugin .datalist li.active { + background: #3875d7; + color: white; +} +.enketo-plugin input[type=text].autocomplete { + width: 374.3272px; +} +.enketo-plugin input[type=text].autocomplete.notfound { + color: #999999; +} +.enketo-plugin .touch input[type=text].autocomplete { + width: 100%; +} +.enketo-plugin .enketo-geopoint-marker { + margin-top: -24px; + width: 24px; + height: 24px; + font-size: 24px; + font-style: normal; + font-weight: 400; + line-height: 1; + text-align: center; + color: rgb(80, 142, 205); +} +.enketo-plugin .enketo-area-popup .leaflet-popup-content-wrapper { + border-radius: 2px; + color: black; + background: none; + box-shadow: none; +} +.enketo-plugin .enketo-area-popup .leaflet-popup-content { + margin: 3px 20px; +} +.enketo-plugin .enketo-area-popup .leaflet-popup-tip-container { + display: none; +} +.enketo-plugin .leaflet-container .enketo-area-popup:hover a.leaflet-popup-close-button { + display: block; +} +.enketo-plugin .leaflet-container .enketo-area-popup a.leaflet-popup-close-button { + z-index: 1; + display: none; + font-weight: normal; + color: black; +} +.enketo-plugin .enketo-geopoint-circle-marker, .enketo-plugin .geopicker .point { + width: 16px; + height: 16px; + margin-top: -8px; + border-radius: 8px; + border: 1px solid #4e4e4e; + background: #818181; +} +.enketo-plugin .enketo-geopoint-circle-marker-active, .enketo-plugin .geopicker .point.active { + width: 16px; + height: 16px; + margin-top: -8px; + border-radius: 8px; + border: 1px solid rgb(80, 142, 205); + background: #9fc1e4; +} +.enketo-plugin .geopicker { + margin-top: 25px; +} +.enketo-plugin .geopicker img { + margin: 0; + max-height: none; + max-width: none; +} +.enketo-plugin .geopicker .geo-inputs { + position: relative; + min-width: 160px; + width: 27%; + margin: 0 4% 0 0; +} +@media screen and (max-width: 720px) { + .enketo-plugin .geopicker .geo-inputs { + width: 100%; + } +} +.enketo-plugin .geopicker .geo-inputs .paste-progress, +.enketo-plugin .geopicker .geo-inputs .disabled-msg { + position: absolute; + display: block; + top: 50%; + width: calc(100% - 20px); + text-align: center; + margin: 0px 10px; +} +.enketo-plugin .geopicker .geo-inputs .disabled-msg { + display: none; + color: #a94442; +} +.enketo-plugin .geopicker .map-canvas-wrapper { + position: relative; +} +.enketo-plugin .geopicker .map-canvas-wrapper, +.enketo-plugin .geopicker .search-bar { + width: 65%; + float: right; + padding-left: 4%; + border-left: solid 1px #bbbbbb; +} +@media screen and (max-width: 720px) { + .enketo-plugin .geopicker .map-canvas-wrapper, + .enketo-plugin .geopicker .search-bar { + width: 100%; + float: none; + padding-left: 0; + border-left: none; + } +} +.enketo-plugin .geopicker .search-bar { + margin-top: 0; + display: flex; + justify-content: space-between; +} +.enketo-plugin .geopicker .search-bar .input-group { + display: flex; + width: 80%; + order: 2; +} +.enketo-plugin .geopicker .search-bar [name=search] { + margin: 0 !important; + width: calc(100% - 40px); + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.enketo-plugin .geopicker .search-bar .hide-map-btn { + display: none; +} +.enketo-plugin .geopicker .search-bar .search-btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + border-left: 0; +} +.enketo-plugin .geopicker .btn:not(.close-chain-btn):not(.toggle-input-type-btn) { + height: 34px; +} +.enketo-plugin .geopicker .btn[name=geodetect] { + font-size: 16px; + margin: 0 0 0 4%; + order: 3; +} +.enketo-plugin .geopicker .close-chain-btn { + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + display: inline-block; + padding: 0 5px; + margin-left: 15px; +} +.enketo-plugin .geopicker .toggle-input-visibility-btn { + position: absolute; + top: calc(50% - 15px); + left: -16px; + background: none; + border-left: 3px solid #aaaaaa; + border-bottom: 2px solid #aaaaaa; + border-top: 2px solid #aaaaaa; + border-right: none; + height: 30px; + width: 7px; + padding: 0; + z-index: 10; +} +.enketo-plugin .geopicker .toggle-input-visibility-btn.open { + left: -20px; + border-left: none; + border-right: 3px solid #aaaaaa; +} +.enketo-plugin .geopicker .points { + width: 100%; + padding-bottom: 15px; +} +.enketo-plugin .geopicker .point { + margin-right: 10px; + display: inline-block; + opacity: 0.9; +} +.enketo-plugin .geopicker .point.has-error:not(.active) { + border: 1px solid #a94442; + background: #f2dede; + opacity: 1; +} +.enketo-plugin .geopicker .addpoint { + border: none; + background: none; + height: 16px; + width: 16px; + font-weight: bold; + font-size: 16px; + padding: 0; + vertical-align: top; + line-height: 16px; + margin: 0; + display: inline-block; + margin-top: -1px; +} +.enketo-plugin .geopicker .btn-remove[disabled], +.enketo-plugin .geopicker .close-chain-btn[disabled], +.enketo-plugin .geopicker button[name=geodetect][disabled], +.enketo-plugin .geopicker input[name=search][disabled], +.enketo-plugin .geopicker .search-btn[disabled] { + display: none; +} +.enketo-plugin .geopicker .hide-search.no-map { + border-left: none; +} +.enketo-plugin .geopicker .hide-search .input-group { + display: none; +} +.enketo-plugin .geopicker .hide-search .btn[name=geodetect] { + margin: 15px auto 15px auto; + width: 50%; +} +.enketo-plugin .geopicker label.geo { + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + display: block; + border: none; + padding: 0; + margin: 15px 0 0 0; +} +.enketo-plugin .geopicker label.geo.lat, .enketo-plugin .geopicker label.geo.kml { + padding-top: 5px; +} +.enketo-plugin .geopicker label.geo.long { + margin-bottom: 20px; +} +.enketo-plugin .geopicker label.geo.alt { + border-top: solid 1px #bbbbbb; + padding: 12px 0 0 0; + margin: 0 0 0 0; +} +@media screen and (max-width: 720px) { + .enketo-plugin .geopicker label.geo.alt { + border-top: none; + } +} +.enketo-plugin .geopicker label.geo.acc { + padding: 0; + margin: 5px 0 0 0; +} +.enketo-plugin .geopicker label.geo.alt, .enketo-plugin .geopicker label.geo.acc { + min-height: 70px; + line-height: 50px; + font-size: 11.25px; +} +.enketo-plugin .geopicker input[name=lat], +.enketo-plugin .geopicker input[name=long], +.enketo-plugin .geopicker textarea[name=kml] { + float: none; + -moz-box-sizing: border-box; + box-sizing: border-box; + width: 100%; + /*&:invalid { + //copied from bootstrap + color: $state-danger-text; + border-color: $state-danger-text; + @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.075)); + // Redeclare so transitions work + &:focus { + border-color: darken($state-danger-text, 10%); + $shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px lighten($state-danger-text, 20%); + @include box-shadow($shadow); + } + }*/ +} +.enketo-plugin .geopicker input[name=alt], +.enketo-plugin .geopicker input[name=acc] { + -moz-box-sizing: border-box; + box-sizing: border-box; + display: block; + float: right; + width: 40%; +} +@media screen and (max-width: 720px) { + .enketo-plugin .geopicker input[name=alt], + .enketo-plugin .geopicker input[name=acc] { + width: 50%; + } +} +.enketo-plugin .geopicker textarea[name=kml] { + min-height: 260px; + overflow: auto; +} +.enketo-plugin .geopicker textarea[name=kml]:disabled + .disabled-msg { + display: block; +} +.enketo-plugin .geopicker .geo.kml { + display: none; + margin-bottom: 10px; +} +.enketo-plugin .geopicker .toggle-input-type-btn { + border: none; + background: none; + color: #ccc; + position: absolute; + top: -10px; + right: 0; + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + font-size: 12px; +} +.enketo-plugin .geopicker .toggle-input-type-btn .kml-input { + display: block; +} +.enketo-plugin .geopicker .toggle-input-type-btn .points-input { + display: none; +} +.enketo-plugin .geopicker .kml-input-mode .geo { + display: none; +} +.enketo-plugin .geopicker .kml-input-mode .geo.kml { + display: block; +} +.enketo-plugin .geopicker .kml-input-mode .toggle-input-type-btn .kml-input { + display: none; +} +.enketo-plugin .geopicker .kml-input-mode .toggle-input-type-btn .points-input { + display: block; +} +.enketo-plugin .geopicker .map-canvas { + width: 100%; + border: 1px solid #ccc; + border-radius: 3px; + margin-top: 10px; + height: 275px; + display: flex; + flex-direction: column; + justify-content: center; + cursor: crosshair; +} +.enketo-plugin .geopicker .map-canvas img { + max-width: none; +} +.enketo-plugin .geopicker .map-canvas .attribution { + position: absolute; + right: 0; + bottom: 0; + font-size: 10px; +} +.enketo-plugin .geopicker .map-canvas.static { + cursor: not-allowed; +} +.enketo-plugin .geopicker .map-canvas .show-map-btn { + width: 150px; + margin: 120px auto; + display: block; +} +.enketo-plugin .geopicker.full-screen { + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + -moz-flex-direction: column; + flex-direction: column; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + -moz-flex-wrap: nowrap; + flex-wrap: nowrap; + position: fixed; + left: 0; + top: 0; + width: 100%; + height: 100%; + z-index: 10000; + background: white; + margin-top: 0; + padding-top: 25px; +} +.enketo-plugin .geopicker.full-screen .geo-inputs { + margin-left: 25px; + margin-bottom: 15px; +} +.enketo-plugin .geopicker.full-screen .geo-inputs .geo, +.enketo-plugin .geopicker.full-screen .geo-inputs .toggle-input-type-btn { + display: none; +} +.enketo-plugin .geopicker.full-screen .geo-inputs .close-chain-btn { + margin-left: 20px; + margin-top: 0; +} +.enketo-plugin .geopicker.full-screen .map-canvas-wrapper { + float: none; + width: 100%; + padding: 0 25px 15px 25px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + -moz-flex-direction: column; + flex-direction: column; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + -moz-flex-wrap: nowrap; + flex-wrap: nowrap; +} +.enketo-plugin .geopicker.full-screen .map-canvas-wrapper .map-canvas { + height: 100%; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.enketo-plugin .geopicker.full-screen .map-canvas-wrapper .show-map-btn { + display: none; +} +.enketo-plugin .geopicker.full-screen .search-bar { + width: 100%; + padding: 0 25px 15px 25px; +} +.enketo-plugin .geopicker.full-screen .search-bar.hide-search { + display: block; +} +.enketo-plugin .geopicker.full-screen .search-bar .hide-map-btn { + display: block; + width: 70px; + margin-right: 15px; + order: 1; +} +.enketo-plugin .geopicker.full-screen .search-bar [name=geodetect] { + width: 70px; + margin-left: 15px; +} +.enketo-plugin .geopicker.full-screen .search-bar .input-group { + width: auto; + flex: 100%; +} +.enketo-plugin .geopicker.full-screen .points { + display: none; +} +.enketo-plugin .geopicker.full-screen .btn-remove { + margin-left: 0; +} +.enketo-plugin .geopicker .leaflet-control-layers-toggle, +.enketo-plugin .geopicker .leaflet-retina .leaflet-control-layers-toggle { + background: none; + color: #888; + text-align: center; + font-size: 20px; + line-height: 44px; +} +.enketo-plugin .geopicker .leaflet-control-layers-toggle .icon-globe, +.enketo-plugin .geopicker .leaflet-retina .leaflet-control-layers-toggle .icon-globe { + margin: -1px auto 0 auto; +} +.enketo-plugin .geopicker .leaflet-control-layers-list label { + text-align: left; + padding: 5px; +} +.enketo-plugin .geopicker .leaflet-control-layers-list label .option-label { + margin-left: 30px; + display: block; + line-height: 20px; +} +.enketo-plugin .geopicker:not(.full-screen).hide-input.wide .map-canvas { + height: 375px; +} +.enketo-plugin .geopicker:not(.full-screen).hide-input .geo-inputs { + display: none; +} +.enketo-plugin .geopicker:not(.full-screen).hide-input .geo-inputs .geo { + display: none; +} +.enketo-plugin .geopicker:not(.full-screen).hide-input .toggle-input-type-btn { + display: none; +} +.enketo-plugin .geopicker:not(.full-screen).hide-input .btn-remove { + margin: 10px 0 5px 0; +} +.enketo-plugin .geopicker:not(.full-screen).hide-input .map-canvas-wrapper, +.enketo-plugin .geopicker:not(.full-screen).hide-input .search-bar { + width: 100%; + border-left: none; + padding-left: 0; +} +.enketo-plugin .or[dir=rtl] .geopicker .geo-inputs { + margin: 0 0 0 4%; +} +.enketo-plugin .or[dir=rtl] .geopicker .map-canvas-wrapper, +.enketo-plugin .or[dir=rtl] .geopicker .search-bar { + float: left; + border-left: none; + border-right: solid 1px #bbbbbb; +} +@media screen and (max-width: 720px) { + .enketo-plugin .or[dir=rtl] .geopicker .map-canvas-wrapper, + .enketo-plugin .or[dir=rtl] .geopicker .search-bar { + border-right: none; + } +} +.enketo-plugin .or[dir=rtl] .geopicker .map-canvas-wrapper .input-group, +.enketo-plugin .or[dir=rtl] .geopicker .search-bar .input-group { + flex-direction: row-reverse; +} +.enketo-plugin .or[dir=rtl] .geopicker .toggle-input-visibility-btn { + right: -16px; + border-right: 3px solid #aaaaaa; + border-bottom: 2px solid #aaaaaa; + border-top: 2px solid #aaaaaa; + border-left: none; +} +.enketo-plugin .or[dir=rtl] .geopicker .toggle-input-visibility-btn.open { + right: -20px; + border-right: none; + border-left: 3px solid #aaaaaa; +} +.enketo-plugin .or[dir=rtl] .geopicker input[name=alt], +.enketo-plugin .or[dir=rtl] .geopicker input[name=acc] { + float: left; +} +.enketo-plugin .or[dir=rtl] .geopicker .btn[name=geodetect] { + font-size: 16px; + margin: 0 4% 0 0; +} +.enketo-plugin .or[dir=rtl] .geopicker .hide-map-btn { + margin: 0 0 0 4%; +} +.enketo-plugin .or[dir=rtl] .geopicker .hide-search .btn[name=geodetect] { + margin: 15px auto; + width: 50%; +} +.enketo-plugin .or[dir=rtl] .geopicker .close-chain-btn { + margin-left: 0; + margin-right: 15px; +} +.enketo-plugin .or[dir=rtl] .geopicker .toggle-input-type-btn { + left: 0; + right: auto; +} +.enketo-plugin .or[dir=rtl] .geopicker:not(.full-screen).hide-input .map-canvas-wrapper, +.enketo-plugin .or[dir=rtl] .geopicker:not(.full-screen).hide-input .search-bar { + border-right: none; + padding-right: 4%; + padding-left: 0; +} +@media screen and (max-width: 500px) { + .enketo-plugin .full-screen.geopicker .search-bar .search-btn { + display: none; + } + .enketo-plugin .full-screen.geopicker .search-bar [name=search] { + width: 100%; + } + .enketo-plugin .full-screen.geopicker .search-bar [name=search] { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + } +} +.enketo-plugin .question:not(.or-appearance-label):not(.or-appearance-compact):not(.or-appearance-quickcompact) .geopicker label { + line-height: 16px; + font-weight: normal; +} +.enketo-plugin .question:not(.or-appearance-label):not(.or-appearance-compact):not(.or-appearance-quickcompact) .geopicker label input[type=radio] ~ .option-label::before { + font-size: 16px; + height: 16px; + margin-right: 2px; +} +.enketo-plugin .leaflet-pane, +.enketo-plugin .leaflet-tile, +.enketo-plugin .leaflet-marker-icon, +.enketo-plugin .leaflet-marker-shadow, +.enketo-plugin .leaflet-tile-container, +.enketo-plugin .leaflet-pane > svg, +.enketo-plugin .leaflet-pane > canvas, +.enketo-plugin .leaflet-zoom-box, +.enketo-plugin .leaflet-image-layer, +.enketo-plugin .leaflet-layer { + position: absolute; + left: 0; + top: 0; +} +.enketo-plugin .leaflet-container { + overflow: hidden; +} +.enketo-plugin .leaflet-tile, +.enketo-plugin .leaflet-marker-icon, +.enketo-plugin .leaflet-marker-shadow { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + -webkit-user-drag: none; +} +.enketo-plugin .leaflet-safari .leaflet-tile { + image-rendering: -webkit-optimize-contrast; +} +.enketo-plugin .leaflet-safari .leaflet-tile-container { + width: 1600px; + height: 1600px; + -webkit-transform-origin: 0 0; +} +.enketo-plugin .leaflet-marker-icon, +.enketo-plugin .leaflet-marker-shadow { + display: block; +} +.enketo-plugin .leaflet-container .leaflet-overlay-pane svg, +.enketo-plugin .leaflet-container .leaflet-marker-pane img, +.enketo-plugin .leaflet-container .leaflet-shadow-pane img, +.enketo-plugin .leaflet-container .leaflet-tile-pane img, +.enketo-plugin .leaflet-container img.leaflet-image-layer { + max-width: none !important; + max-height: none !important; +} +.enketo-plugin .leaflet-container.leaflet-touch-zoom { + -ms-touch-action: pan-x pan-y; + touch-action: pan-x pan-y; +} +.enketo-plugin .leaflet-container.leaflet-touch-drag { + -ms-touch-action: pinch-zoom; + /* Fallback for FF which doesn't support pinch-zoom */ + touch-action: none; + touch-action: pinch-zoom; +} +.enketo-plugin .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { + -ms-touch-action: none; + touch-action: none; +} +.enketo-plugin .leaflet-container { + -webkit-tap-highlight-color: transparent; +} +.enketo-plugin .leaflet-container a { + -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4); +} +.enketo-plugin .leaflet-tile { + filter: inherit; + visibility: hidden; +} +.enketo-plugin .leaflet-tile-loaded { + visibility: inherit; +} +.enketo-plugin .leaflet-zoom-box { + width: 0; + height: 0; + -moz-box-sizing: border-box; + box-sizing: border-box; + z-index: 800; +} +.enketo-plugin .leaflet-overlay-pane svg { + -moz-user-select: none; +} +.enketo-plugin .leaflet-pane { + z-index: 400; +} +.enketo-plugin .leaflet-tile-pane { + z-index: 200; +} +.enketo-plugin .leaflet-overlay-pane { + z-index: 400; +} +.enketo-plugin .leaflet-shadow-pane { + z-index: 500; +} +.enketo-plugin .leaflet-marker-pane { + z-index: 600; +} +.enketo-plugin .leaflet-tooltip-pane { + z-index: 650; +} +.enketo-plugin .leaflet-popup-pane { + z-index: 700; +} +.enketo-plugin .leaflet-map-pane canvas { + z-index: 100; +} +.enketo-plugin .leaflet-map-pane svg { + z-index: 200; +} +.enketo-plugin .leaflet-vml-shape { + width: 1px; + height: 1px; +} +.enketo-plugin .lvml { + behavior: url(#default#VML); + display: inline-block; + position: absolute; +} +.enketo-plugin .leaflet-control { + position: relative; + z-index: 800; + pointer-events: visiblePainted; + /* IE 9-10 doesn't have auto */ + pointer-events: auto; +} +.enketo-plugin .leaflet-top, +.enketo-plugin .leaflet-bottom { + position: absolute; + z-index: 1000; + pointer-events: none; +} +.enketo-plugin .leaflet-top { + top: 0; +} +.enketo-plugin .leaflet-right { + right: 0; +} +.enketo-plugin .leaflet-bottom { + bottom: 0; +} +.enketo-plugin .leaflet-left { + left: 0; +} +.enketo-plugin .leaflet-control { + float: left; + clear: both; +} +.enketo-plugin .leaflet-right .leaflet-control { + float: right; +} +.enketo-plugin .leaflet-top .leaflet-control { + margin-top: 10px; +} +.enketo-plugin .leaflet-bottom .leaflet-control { + margin-bottom: 10px; +} +.enketo-plugin .leaflet-left .leaflet-control { + margin-left: 10px; +} +.enketo-plugin .leaflet-right .leaflet-control { + margin-right: 10px; +} +.enketo-plugin .leaflet-fade-anim .leaflet-tile { + will-change: opacity; +} +.enketo-plugin .leaflet-fade-anim .leaflet-popup { + opacity: 0; + -webkit-transition: opacity 0.2s linear; + -moz-transition: opacity 0.2s linear; + -o-transition: opacity 0.2s linear; + transition: opacity 0.2s linear; +} +.enketo-plugin .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { + opacity: 1; +} +.enketo-plugin .leaflet-zoom-animated { + -webkit-transform-origin: 0 0; + -ms-transform-origin: 0 0; + transform-origin: 0 0; +} +.enketo-plugin .leaflet-zoom-anim .leaflet-zoom-animated { + will-change: transform; +} +.enketo-plugin .leaflet-zoom-anim .leaflet-zoom-animated { + -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); + -moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1); + -o-transition: -o-transform 0.25s cubic-bezier(0, 0, 0.25, 1); + transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1); +} +.enketo-plugin .leaflet-zoom-anim .leaflet-tile, +.enketo-plugin .leaflet-pan-anim .leaflet-tile { + -webkit-transition: none; + -moz-transition: none; + -o-transition: none; + transition: none; +} +.enketo-plugin .leaflet-zoom-anim .leaflet-zoom-hide { + visibility: hidden; +} +.enketo-plugin .leaflet-interactive { + cursor: pointer; +} +.enketo-plugin .leaflet-grab { + cursor: -webkit-grab; + cursor: -moz-grab; +} +.enketo-plugin .leaflet-crosshair, +.enketo-plugin .leaflet-crosshair .leaflet-interactive { + cursor: crosshair; +} +.enketo-plugin .leaflet-popup-pane, +.enketo-plugin .leaflet-control { + cursor: auto; +} +.enketo-plugin .leaflet-dragging .leaflet-grab, +.enketo-plugin .leaflet-dragging .leaflet-grab .leaflet-interactive, +.enketo-plugin .leaflet-dragging .leaflet-marker-draggable { + cursor: move; + cursor: -webkit-grabbing; + cursor: -moz-grabbing; +} +.enketo-plugin .leaflet-marker-icon, +.enketo-plugin .leaflet-marker-shadow, +.enketo-plugin .leaflet-image-layer, +.enketo-plugin .leaflet-pane > svg path, +.enketo-plugin .leaflet-tile-container { + pointer-events: none; +} +.enketo-plugin .leaflet-marker-icon.leaflet-interactive, +.enketo-plugin .leaflet-image-layer.leaflet-interactive, +.enketo-plugin .leaflet-pane > svg path.leaflet-interactive { + pointer-events: visiblePainted; + /* IE 9-10 doesn't have auto */ + pointer-events: auto; +} +.enketo-plugin .leaflet-container { + background: #ddd; + outline: 0; +} +.enketo-plugin .leaflet-container a { + color: #0078a8; +} +.enketo-plugin .leaflet-container a.leaflet-active { + outline: 2px solid orange; +} +.enketo-plugin .leaflet-zoom-box { + border: 2px dotted #38f; + background: rgba(255, 255, 255, 0.5); +} +.enketo-plugin .leaflet-container { + font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; +} +.enketo-plugin .leaflet-bar { + box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); + border-radius: 4px; +} +.enketo-plugin .leaflet-bar a, +.enketo-plugin .leaflet-bar a:hover { + background-color: #fff; + border-bottom: 1px solid #ccc; + width: 26px; + height: 26px; + line-height: 26px; + display: block; + text-align: center; + text-decoration: none; + color: black; +} +.enketo-plugin .leaflet-bar a, +.enketo-plugin .leaflet-control-layers-toggle { + background-position: 50% 50%; + background-repeat: no-repeat; + display: block; +} +.enketo-plugin .leaflet-bar a:hover { + background-color: #f4f4f4; +} +.enketo-plugin .leaflet-bar a:first-child { + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} +.enketo-plugin .leaflet-bar a:last-child { + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + border-bottom: none; +} +.enketo-plugin .leaflet-bar a.leaflet-disabled { + cursor: default; + background-color: #f4f4f4; + color: #bbb; +} +.enketo-plugin .leaflet-touch .leaflet-bar a { + width: 30px; + height: 30px; + line-height: 30px; +} +.enketo-plugin .leaflet-touch .leaflet-bar a:first-child { + border-top-left-radius: 2px; + border-top-right-radius: 2px; +} +.enketo-plugin .leaflet-touch .leaflet-bar a:last-child { + border-bottom-left-radius: 2px; + border-bottom-right-radius: 2px; +} +.enketo-plugin .leaflet-control-zoom-in, +.enketo-plugin .leaflet-control-zoom-out { + font: bold 18px "Lucida Console", Monaco, monospace; + text-indent: 1px; +} +.enketo-plugin .leaflet-touch .leaflet-control-zoom-in, +.enketo-plugin .leaflet-touch .leaflet-control-zoom-out { + font-size: 22px; +} +.enketo-plugin .leaflet-control-layers { + box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); + background: #fff; + border-radius: 5px; +} +.enketo-plugin .leaflet-control-layers-toggle { + width: 36px; + height: 36px; +} +.enketo-plugin .leaflet-retina .leaflet-control-layers-toggle { + background-size: 26px 26px; +} +.enketo-plugin .leaflet-touch .leaflet-control-layers-toggle { + width: 44px; + height: 44px; +} +.enketo-plugin .leaflet-control-layers .leaflet-control-layers-list, +.enketo-plugin .leaflet-control-layers-expanded .leaflet-control-layers-toggle { + display: none; +} +.enketo-plugin .leaflet-control-layers-expanded .leaflet-control-layers-list { + display: block; + position: relative; +} +.enketo-plugin .leaflet-control-layers-expanded { + padding: 6px 10px 6px 6px; + color: #333; + background: #fff; +} +.enketo-plugin .leaflet-control-layers-scrollbar { + overflow-y: scroll; + overflow-x: hidden; + padding-right: 5px; +} +.enketo-plugin .leaflet-control-layers-selector { + margin-top: 2px; + position: relative; + top: 1px; +} +.enketo-plugin .leaflet-control-layers label { + display: block; +} +.enketo-plugin .leaflet-control-layers-separator { + height: 0; + border-top: 1px solid #ddd; + margin: 5px -10px 5px -6px; +} +.enketo-plugin .leaflet-container .leaflet-control-attribution { + background: #fff; + background: rgba(255, 255, 255, 0.7); + margin: 0; +} +.enketo-plugin .leaflet-control-attribution, +.enketo-plugin .leaflet-control-scale-line { + padding: 0 5px; + color: #333; +} +.enketo-plugin .leaflet-control-attribution a { + text-decoration: none; +} +.enketo-plugin .leaflet-control-attribution a:hover { + text-decoration: underline; +} +.enketo-plugin .leaflet-container .leaflet-control-attribution, +.enketo-plugin .leaflet-container .leaflet-control-scale { + font-size: 11px; +} +.enketo-plugin .leaflet-left .leaflet-control-scale { + margin-left: 5px; +} +.enketo-plugin .leaflet-bottom .leaflet-control-scale { + margin-bottom: 5px; +} +.enketo-plugin .leaflet-control-scale-line { + border: 2px solid #777; + border-top: none; + line-height: 1.1; + padding: 2px 5px 1px; + font-size: 11px; + white-space: nowrap; + overflow: hidden; + -moz-box-sizing: border-box; + box-sizing: border-box; + background: #fff; + background: rgba(255, 255, 255, 0.5); +} +.enketo-plugin .leaflet-control-scale-line:not(:first-child) { + border-top: 2px solid #777; + border-bottom: none; + margin-top: -2px; +} +.enketo-plugin .leaflet-control-scale-line:not(:first-child):not(:last-child) { + border-bottom: 2px solid #777; +} +.enketo-plugin .leaflet-touch .leaflet-control-attribution, +.enketo-plugin .leaflet-touch .leaflet-control-layers, +.enketo-plugin .leaflet-touch .leaflet-bar { + box-shadow: none; +} +.enketo-plugin .leaflet-touch .leaflet-control-layers, +.enketo-plugin .leaflet-touch .leaflet-bar { + border: 2px solid rgba(0, 0, 0, 0.2); + background-clip: padding-box; +} +.enketo-plugin .leaflet-popup { + position: absolute; + text-align: center; + margin-bottom: 20px; +} +.enketo-plugin .leaflet-popup-content-wrapper { + padding: 1px; + text-align: left; + border-radius: 12px; +} +.enketo-plugin .leaflet-popup-content { + margin: 13px 19px; + line-height: 1.4; +} +.enketo-plugin .leaflet-popup-content p { + margin: 18px 0; +} +.enketo-plugin .leaflet-popup-tip-container { + width: 40px; + height: 20px; + position: absolute; + left: 50%; + margin-left: -20px; + overflow: hidden; + pointer-events: none; +} +.enketo-plugin .leaflet-popup-tip { + width: 17px; + height: 17px; + padding: 1px; + margin: -10px auto 0; + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); +} +.enketo-plugin .leaflet-popup-content-wrapper, +.enketo-plugin .leaflet-popup-tip { + background: white; + color: #333; + box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); +} +.enketo-plugin .leaflet-container a.leaflet-popup-close-button { + position: absolute; + top: 0; + right: 0; + padding: 4px 4px 0 0; + border: none; + text-align: center; + width: 18px; + height: 14px; + font: 16px/14px Tahoma, Verdana, sans-serif; + color: #c3c3c3; + text-decoration: none; + font-weight: bold; + background: transparent; +} +.enketo-plugin .leaflet-container a.leaflet-popup-close-button:hover { + color: #999; +} +.enketo-plugin .leaflet-popup-scrolled { + overflow: auto; + border-bottom: 1px solid #ddd; + border-top: 1px solid #ddd; +} +.enketo-plugin .leaflet-oldie .leaflet-popup-content-wrapper { + zoom: 1; +} +.enketo-plugin .leaflet-oldie .leaflet-popup-tip { + width: 24px; + margin: 0 auto; + -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; + filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); +} +.enketo-plugin .leaflet-oldie .leaflet-popup-tip-container { + margin-top: -1px; +} +.enketo-plugin .leaflet-oldie .leaflet-control-zoom, +.enketo-plugin .leaflet-oldie .leaflet-control-layers, +.enketo-plugin .leaflet-oldie .leaflet-popup-content-wrapper, +.enketo-plugin .leaflet-oldie .leaflet-popup-tip { + border: 1px solid #999; +} +.enketo-plugin .leaflet-div-icon { + background: #fff; + border: 1px solid #666; +} +.enketo-plugin .leaflet-tooltip { + position: absolute; + padding: 6px; + background-color: #fff; + border: 1px solid #fff; + border-radius: 3px; + color: #222; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + pointer-events: none; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); +} +.enketo-plugin .leaflet-tooltip.leaflet-clickable { + cursor: pointer; + pointer-events: auto; +} +.enketo-plugin .leaflet-tooltip-top:before, +.enketo-plugin .leaflet-tooltip-bottom:before, +.enketo-plugin .leaflet-tooltip-left:before, +.enketo-plugin .leaflet-tooltip-right:before { + position: absolute; + pointer-events: none; + border: 6px solid transparent; + background: transparent; + content: ""; +} +.enketo-plugin .leaflet-tooltip-bottom { + margin-top: 6px; +} +.enketo-plugin .leaflet-tooltip-top { + margin-top: -6px; +} +.enketo-plugin .leaflet-tooltip-bottom:before, +.enketo-plugin .leaflet-tooltip-top:before { + left: 50%; + margin-left: -6px; +} +.enketo-plugin .leaflet-tooltip-top:before { + bottom: 0; + margin-bottom: -12px; + border-top-color: #fff; +} +.enketo-plugin .leaflet-tooltip-bottom:before { + top: 0; + margin-top: -12px; + margin-left: -6px; + border-bottom-color: #fff; +} +.enketo-plugin .leaflet-tooltip-left { + margin-left: -6px; +} +.enketo-plugin .leaflet-tooltip-right { + margin-left: 6px; +} +.enketo-plugin .leaflet-tooltip-left:before, +.enketo-plugin .leaflet-tooltip-right:before { + top: 50%; + margin-top: -6px; +} +.enketo-plugin .leaflet-tooltip-left:before { + right: 0; + margin-right: -12px; + border-left-color: #fff; +} +.enketo-plugin .leaflet-tooltip-right:before { + left: 0; + margin-left: -12px; + border-right-color: #fff; +} +.enketo-plugin .question.or-appearance-list-nolabel, +.enketo-plugin .question.or-appearance-label { + margin: -0.9em 0 -0.7em 0; +} +.enketo-plugin .question.or-appearance-list-nolabel legend, +.enketo-plugin .question.or-appearance-label legend { + float: left; + border: none; + line-height: 17px; + width: 35%; + min-height: 1px; +} +.enketo-plugin .question.or-appearance-list-nolabel .option-wrapper, +.enketo-plugin .question.or-appearance-label .option-wrapper { + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + -moz-flex-wrap: nowrap; + flex-wrap: nowrap; +} +.enketo-plugin .question.or-appearance-list-nolabel .option-wrapper label, +.enketo-plugin .question.or-appearance-label .option-wrapper label { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: center; + padding: 4px 0; + word-break: break-word; +} +.enketo-plugin .question.or-appearance-list-nolabel .option-wrapper label .active, +.enketo-plugin .question.or-appearance-label .option-wrapper label .active { + margin: 0 auto; +} +.enketo-plugin .question.or-appearance-list-nolabel .option-label.active, +.enketo-plugin .question.or-appearance-label .option-label.active { + text-align: center; +} +.enketo-plugin .or[dir=rtl] .question.or-appearance-list-nolabel, +.enketo-plugin .or[dir=rtl] .question.or-appearance-label { + margin: -0.9em 0 -0.7em 0; +} +.enketo-plugin .or[dir=rtl] .question.or-appearance-list-nolabel legend, +.enketo-plugin .or[dir=rtl] .question.or-appearance-label legend { + float: right; +} +.enketo-plugin .or[dir=rtl] .question.or-appearance-list-nolabel input[type=radio], +.enketo-plugin .or[dir=rtl] .question.or-appearance-list-nolabel input[type=checkbox] { + float: none; + margin: 0; +} +.enketo-plugin .question.or-appearance-list-nolabel label .active { + display: none; + float: none; +} +.enketo-plugin .question.or-appearance-list-nolabel input[type=radio], +.enketo-plugin .question.or-appearance-list-nolabel input[type=checkbox] { + float: none; + text-align: center; + display: inline-block; + margin: 0; + vertical-align: middle; +} +.enketo-plugin .question.or-appearance-label .option-wrapper > label { + margin-bottom: 6px; +} +.enketo-plugin .question.or-appearance-label .option-wrapper > label:hover { + background-color: transparent; +} +.enketo-plugin .question.or-appearance-label input[type=radio], +.enketo-plugin .question.or-appearance-label input[type=checkbox] { + display: none; +} +.enketo-plugin .question.or-appearance-label img { + max-height: 30px; + max-width: 30px; + float: none; +} +.enketo-plugin .or[dir=rtl] .question.or-appearance-label .option-wrapper > label img { + float: none; +} +.enketo-plugin .datepicker { + padding: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + direction: ltr; +} +.enketo-plugin .datepicker-inline { + width: 220px; +} +.enketo-plugin .datepicker-rtl { + direction: rtl; +} +.enketo-plugin .datepicker-rtl.dropdown-menu { + left: auto; +} +.enketo-plugin .datepicker-rtl table tr td span { + float: right; +} +.enketo-plugin .datepicker-dropdown { + top: 0; + left: 0; +} +.enketo-plugin .datepicker-dropdown:before { + content: ""; + display: inline-block; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + border-bottom: 7px solid #999; + border-top: 0; + border-bottom-color: rgba(0, 0, 0, 0.2); + position: absolute; +} +.enketo-plugin .datepicker-dropdown:after { + content: ""; + display: inline-block; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + border-bottom: 6px solid #fff; + border-top: 0; + position: absolute; +} +.enketo-plugin .datepicker-dropdown.datepicker-orient-left:before { + left: 6px; +} +.enketo-plugin .datepicker-dropdown.datepicker-orient-left:after { + left: 7px; +} +.enketo-plugin .datepicker-dropdown.datepicker-orient-right:before { + right: 6px; +} +.enketo-plugin .datepicker-dropdown.datepicker-orient-right:after { + right: 7px; +} +.enketo-plugin .datepicker-dropdown.datepicker-orient-bottom:before { + top: -7px; +} +.enketo-plugin .datepicker-dropdown.datepicker-orient-bottom:after { + top: -6px; +} +.enketo-plugin .datepicker-dropdown.datepicker-orient-top:before { + bottom: -7px; + border-bottom: 0; + border-top: 7px solid #999; +} +.enketo-plugin .datepicker-dropdown.datepicker-orient-top:after { + bottom: -6px; + border-bottom: 0; + border-top: 6px solid #fff; +} +.enketo-plugin .datepicker table { + margin: 0; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.enketo-plugin .datepicker td, .enketo-plugin .datepicker th { + text-align: center; + width: 20px; + height: 20px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + border: none; +} +.enketo-plugin .table-striped .datepicker table tr td, .enketo-plugin .table-striped .datepicker table tr th { + background-color: transparent; +} +.enketo-plugin .datepicker table tr td.day.focused, .enketo-plugin .datepicker table tr td.day:hover { + background: #eee; + cursor: pointer; +} +.enketo-plugin .datepicker table tr td.new, .enketo-plugin .datepicker table tr td.old { + color: #999; +} +.enketo-plugin .datepicker table tr td.disabled, .enketo-plugin .datepicker table tr td.disabled:hover { + background: 0 0; + color: #999; + cursor: default; +} +.enketo-plugin .datepicker table tr td.highlighted { + background: #d9edf7; + border-radius: 0; +} +.enketo-plugin .datepicker table tr td.today, .enketo-plugin .datepicker table tr td.today.disabled, .enketo-plugin .datepicker table tr td.today.disabled:hover, .enketo-plugin .datepicker table tr td.today:hover { + background-color: #fde19a; + background-image: -moz-linear-gradient(to bottom, #fdd49a, #fdf59a); + background-image: -ms-linear-gradient(to bottom, #fdd49a, #fdf59a); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a)); + background-image: -webkit-linear-gradient(to bottom, #fdd49a, #fdf59a); + background-image: -o-linear-gradient(to bottom, #fdd49a, #fdf59a); + background-image: linear-gradient(to bottom, #fdd49a, #fdf59a); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fdd49a", endColorstr="#fdf59a", GradientType=0); + border-color: #fdf59a #fdf59a #fbed50; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #000; +} +.enketo-plugin .datepicker table tr td.today.active, .enketo-plugin .datepicker table tr td.today.disabled, .enketo-plugin .datepicker table tr td.today.disabled.active, .enketo-plugin .datepicker table tr td.today.disabled.disabled, .enketo-plugin .datepicker table tr td.today.disabled:active, .enketo-plugin .datepicker table tr td.today.disabled:hover, .enketo-plugin .datepicker table tr td.today.disabled:hover.active, .enketo-plugin .datepicker table tr td.today.disabled:hover.disabled, .enketo-plugin .datepicker table tr td.today.disabled:hover:active, .enketo-plugin .datepicker table tr td.today.disabled:hover:hover, .enketo-plugin .datepicker table tr td.today.disabled:hover[disabled], .enketo-plugin .datepicker table tr td.today.disabled[disabled], .enketo-plugin .datepicker table tr td.today:active, .enketo-plugin .datepicker table tr td.today:hover, .enketo-plugin .datepicker table tr td.today:hover.active, .enketo-plugin .datepicker table tr td.today:hover.disabled, .enketo-plugin .datepicker table tr td.today:hover:active, .enketo-plugin .datepicker table tr td.today:hover:hover, .enketo-plugin .datepicker table tr td.today:hover[disabled], .enketo-plugin .datepicker table tr td.today[disabled] { + background-color: #fdf59a; +} +.enketo-plugin .datepicker table tr td.today.active, .enketo-plugin .datepicker table tr td.today.disabled.active, .enketo-plugin .datepicker table tr td.today.disabled:active, .enketo-plugin .datepicker table tr td.today.disabled:hover.active, .enketo-plugin .datepicker table tr td.today.disabled:hover:active, .enketo-plugin .datepicker table tr td.today:active, .enketo-plugin .datepicker table tr td.today:hover.active, .enketo-plugin .datepicker table tr td.today:hover:active { + background-color: #fbf069\9 ; +} +.enketo-plugin .datepicker table tr td.today:hover:hover { + color: #000; +} +.enketo-plugin .datepicker table tr td.today.active:hover { + color: #fff; +} +.enketo-plugin .datepicker table tr td.range, .enketo-plugin .datepicker table tr td.range.disabled, .enketo-plugin .datepicker table tr td.range.disabled:hover, .enketo-plugin .datepicker table tr td.range:hover { + background: #eee; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.enketo-plugin .datepicker table tr td.range.today, .enketo-plugin .datepicker table tr td.range.today.disabled, .enketo-plugin .datepicker table tr td.range.today.disabled:hover, .enketo-plugin .datepicker table tr td.range.today:hover { + background-color: #f3d17a; + background-image: -moz-linear-gradient(to bottom, #f3c17a, #f3e97a); + background-image: -ms-linear-gradient(to bottom, #f3c17a, #f3e97a); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a)); + background-image: -webkit-linear-gradient(to bottom, #f3c17a, #f3e97a); + background-image: -o-linear-gradient(to bottom, #f3c17a, #f3e97a); + background-image: linear-gradient(to bottom, #f3c17a, #f3e97a); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f3c17a", endColorstr="#f3e97a", GradientType=0); + border-color: #f3e97a #f3e97a #edde34; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.enketo-plugin .datepicker table tr td.range.today.active, .enketo-plugin .datepicker table tr td.range.today.disabled, .enketo-plugin .datepicker table tr td.range.today.disabled.active, .enketo-plugin .datepicker table tr td.range.today.disabled.disabled, .enketo-plugin .datepicker table tr td.range.today.disabled:active, .enketo-plugin .datepicker table tr td.range.today.disabled:hover, .enketo-plugin .datepicker table tr td.range.today.disabled:hover.active, .enketo-plugin .datepicker table tr td.range.today.disabled:hover.disabled, .enketo-plugin .datepicker table tr td.range.today.disabled:hover:active, .enketo-plugin .datepicker table tr td.range.today.disabled:hover:hover, .enketo-plugin .datepicker table tr td.range.today.disabled:hover[disabled], .enketo-plugin .datepicker table tr td.range.today.disabled[disabled], .enketo-plugin .datepicker table tr td.range.today:active, .enketo-plugin .datepicker table tr td.range.today:hover, .enketo-plugin .datepicker table tr td.range.today:hover.active, .enketo-plugin .datepicker table tr td.range.today:hover.disabled, .enketo-plugin .datepicker table tr td.range.today:hover:active, .enketo-plugin .datepicker table tr td.range.today:hover:hover, .enketo-plugin .datepicker table tr td.range.today:hover[disabled], .enketo-plugin .datepicker table tr td.range.today[disabled] { + background-color: #f3e97a; +} +.enketo-plugin .datepicker table tr td.range.today.active, .enketo-plugin .datepicker table tr td.range.today.disabled.active, .enketo-plugin .datepicker table tr td.range.today.disabled:active, .enketo-plugin .datepicker table tr td.range.today.disabled:hover.active, .enketo-plugin .datepicker table tr td.range.today.disabled:hover:active, .enketo-plugin .datepicker table tr td.range.today:active, .enketo-plugin .datepicker table tr td.range.today:hover.active, .enketo-plugin .datepicker table tr td.range.today:hover:active { + background-color: #efe24b\9 ; +} +.enketo-plugin .datepicker table tr td.selected, .enketo-plugin .datepicker table tr td.selected.disabled, .enketo-plugin .datepicker table tr td.selected.disabled:hover, .enketo-plugin .datepicker table tr td.selected:hover { + background-color: #9e9e9e; + background-image: -moz-linear-gradient(to bottom, #b3b3b3, grey); + background-image: -ms-linear-gradient(to bottom, #b3b3b3, grey); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(grey)); + background-image: -webkit-linear-gradient(to bottom, #b3b3b3, grey); + background-image: -o-linear-gradient(to bottom, #b3b3b3, grey); + background-image: linear-gradient(to bottom, #b3b3b3, grey); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b3b3b3", endColorstr="#808080", GradientType=0); + border-color: grey grey #595959; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.enketo-plugin .datepicker table tr td.selected.active, .enketo-plugin .datepicker table tr td.selected.disabled, .enketo-plugin .datepicker table tr td.selected.disabled.active, .enketo-plugin .datepicker table tr td.selected.disabled.disabled, .enketo-plugin .datepicker table tr td.selected.disabled:active, .enketo-plugin .datepicker table tr td.selected.disabled:hover, .enketo-plugin .datepicker table tr td.selected.disabled:hover.active, .enketo-plugin .datepicker table tr td.selected.disabled:hover.disabled, .enketo-plugin .datepicker table tr td.selected.disabled:hover:active, .enketo-plugin .datepicker table tr td.selected.disabled:hover:hover, .enketo-plugin .datepicker table tr td.selected.disabled:hover[disabled], .enketo-plugin .datepicker table tr td.selected.disabled[disabled], .enketo-plugin .datepicker table tr td.selected:active, .enketo-plugin .datepicker table tr td.selected:hover, .enketo-plugin .datepicker table tr td.selected:hover.active, .enketo-plugin .datepicker table tr td.selected:hover.disabled, .enketo-plugin .datepicker table tr td.selected:hover:active, .enketo-plugin .datepicker table tr td.selected:hover:hover, .enketo-plugin .datepicker table tr td.selected:hover[disabled], .enketo-plugin .datepicker table tr td.selected[disabled] { + background-color: grey; +} +.enketo-plugin .datepicker table tr td.selected.active, .enketo-plugin .datepicker table tr td.selected.disabled.active, .enketo-plugin .datepicker table tr td.selected.disabled:active, .enketo-plugin .datepicker table tr td.selected.disabled:hover.active, .enketo-plugin .datepicker table tr td.selected.disabled:hover:active, .enketo-plugin .datepicker table tr td.selected:active, .enketo-plugin .datepicker table tr td.selected:hover.active, .enketo-plugin .datepicker table tr td.selected:hover:active { + background-color: #666 \9 ; +} +.enketo-plugin .datepicker table tr td.active, .enketo-plugin .datepicker table tr td.active.disabled, .enketo-plugin .datepicker table tr td.active.disabled:hover, .enketo-plugin .datepicker table tr td.active:hover { + background-color: #006dcc; + background-image: -moz-linear-gradient(to bottom, #08c, #04c); + background-image: -ms-linear-gradient(to bottom, #08c, #04c); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#04c)); + background-image: -webkit-linear-gradient(to bottom, #08c, #04c); + background-image: -o-linear-gradient(to bottom, #08c, #04c); + background-image: linear-gradient(to bottom, #08c, #04c); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#08c", endColorstr="#0044cc", GradientType=0); + border-color: #04c #04c #002a80; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.enketo-plugin .datepicker table tr td.active.active, .enketo-plugin .datepicker table tr td.active.disabled, .enketo-plugin .datepicker table tr td.active.disabled.active, .enketo-plugin .datepicker table tr td.active.disabled.disabled, .enketo-plugin .datepicker table tr td.active.disabled:active, .enketo-plugin .datepicker table tr td.active.disabled:hover, .enketo-plugin .datepicker table tr td.active.disabled:hover.active, .enketo-plugin .datepicker table tr td.active.disabled:hover.disabled, .enketo-plugin .datepicker table tr td.active.disabled:hover:active, .enketo-plugin .datepicker table tr td.active.disabled:hover:hover, .enketo-plugin .datepicker table tr td.active.disabled:hover[disabled], .enketo-plugin .datepicker table tr td.active.disabled[disabled], .enketo-plugin .datepicker table tr td.active:active, .enketo-plugin .datepicker table tr td.active:hover, .enketo-plugin .datepicker table tr td.active:hover.active, .enketo-plugin .datepicker table tr td.active:hover.disabled, .enketo-plugin .datepicker table tr td.active:hover:active, .enketo-plugin .datepicker table tr td.active:hover:hover, .enketo-plugin .datepicker table tr td.active:hover[disabled], .enketo-plugin .datepicker table tr td.active[disabled] { + background-color: #04c; +} +.enketo-plugin .datepicker table tr td.active.active, .enketo-plugin .datepicker table tr td.active.disabled.active, .enketo-plugin .datepicker table tr td.active.disabled:active, .enketo-plugin .datepicker table tr td.active.disabled:hover.active, .enketo-plugin .datepicker table tr td.active.disabled:hover:active, .enketo-plugin .datepicker table tr td.active:active, .enketo-plugin .datepicker table tr td.active:hover.active, .enketo-plugin .datepicker table tr td.active:hover:active { + background-color: #039 \9 ; +} +.enketo-plugin .datepicker table tr td span { + display: block; + width: 23%; + height: 54px; + line-height: 54px; + float: left; + margin: 1%; + cursor: pointer; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.enketo-plugin .datepicker table tr td span.focused, .enketo-plugin .datepicker table tr td span:hover { + background: #eee; +} +.enketo-plugin .datepicker table tr td span.disabled, .enketo-plugin .datepicker table tr td span.disabled:hover { + background: 0 0; + color: #999; + cursor: default; +} +.enketo-plugin .datepicker table tr td span.active, .enketo-plugin .datepicker table tr td span.active.disabled, .enketo-plugin .datepicker table tr td span.active.disabled:hover, .enketo-plugin .datepicker table tr td span.active:hover { + background-color: #006dcc; + background-image: -moz-linear-gradient(to bottom, #08c, #04c); + background-image: -ms-linear-gradient(to bottom, #08c, #04c); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#04c)); + background-image: -webkit-linear-gradient(to bottom, #08c, #04c); + background-image: -o-linear-gradient(to bottom, #08c, #04c); + background-image: linear-gradient(to bottom, #08c, #04c); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#08c", endColorstr="#0044cc", GradientType=0); + border-color: #04c #04c #002a80; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.enketo-plugin .datepicker table tr td span.active.active, .enketo-plugin .datepicker table tr td span.active.disabled, .enketo-plugin .datepicker table tr td span.active.disabled.active, .enketo-plugin .datepicker table tr td span.active.disabled.disabled, .enketo-plugin .datepicker table tr td span.active.disabled:active, .enketo-plugin .datepicker table tr td span.active.disabled:hover, .enketo-plugin .datepicker table tr td span.active.disabled:hover.active, .enketo-plugin .datepicker table tr td span.active.disabled:hover.disabled, .enketo-plugin .datepicker table tr td span.active.disabled:hover:active, .enketo-plugin .datepicker table tr td span.active.disabled:hover:hover, .enketo-plugin .datepicker table tr td span.active.disabled:hover[disabled], .enketo-plugin .datepicker table tr td span.active.disabled[disabled], .enketo-plugin .datepicker table tr td span.active:active, .enketo-plugin .datepicker table tr td span.active:hover, .enketo-plugin .datepicker table tr td span.active:hover.active, .enketo-plugin .datepicker table tr td span.active:hover.disabled, .enketo-plugin .datepicker table tr td span.active:hover:active, .enketo-plugin .datepicker table tr td span.active:hover:hover, .enketo-plugin .datepicker table tr td span.active:hover[disabled], .enketo-plugin .datepicker table tr td span.active[disabled] { + background-color: #04c; +} +.enketo-plugin .datepicker table tr td span.active.active, .enketo-plugin .datepicker table tr td span.active.disabled.active, .enketo-plugin .datepicker table tr td span.active.disabled:active, .enketo-plugin .datepicker table tr td span.active.disabled:hover.active, .enketo-plugin .datepicker table tr td span.active.disabled:hover:active, .enketo-plugin .datepicker table tr td span.active:active, .enketo-plugin .datepicker table tr td span.active:hover.active, .enketo-plugin .datepicker table tr td span.active:hover:active { + background-color: #039 \9 ; +} +.enketo-plugin .datepicker table tr td span.new, .enketo-plugin .datepicker table tr td span.old { + color: #999; +} +.enketo-plugin .datepicker .datepicker-switch { + width: 145px; +} +.enketo-plugin .datepicker .datepicker-switch, .enketo-plugin .datepicker .next, .enketo-plugin .datepicker .prev, .enketo-plugin .datepicker tfoot tr th { + cursor: pointer; +} +.enketo-plugin .datepicker .datepicker-switch:hover, .enketo-plugin .datepicker .next:hover, .enketo-plugin .datepicker .prev:hover, .enketo-plugin .datepicker tfoot tr th:hover { + background: #eee; +} +.enketo-plugin .datepicker .next.disabled, .enketo-plugin .datepicker .prev.disabled { + visibility: hidden; +} +.enketo-plugin .datepicker .cw { + font-size: 10px; + width: 12px; + padding: 0 2px 0 5px; + vertical-align: middle; +} +.enketo-plugin .input-append.date .add-on, .enketo-plugin .input-prepend.date .add-on { + cursor: pointer; +} +.enketo-plugin .input-append.date .add-on i, .enketo-plugin .input-prepend.date .add-on i { + margin-top: 3px; +} +.enketo-plugin .input-daterange input { + text-align: center; +} +.enketo-plugin .input-daterange input:first-child { + -webkit-border-radius: 3px 0 0 3px; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} +.enketo-plugin .input-daterange input:last-child { + -webkit-border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; +} +.enketo-plugin .input-daterange .add-on { + display: inline-block; + width: auto; + min-width: 16px; + height: 18px; + padding: 4px 5px; + font-weight: 400; + line-height: 18px; + text-align: center; + text-shadow: 0 1px 0 #fff; + vertical-align: middle; + background-color: #eee; + border: 1px solid #ccc; + margin-left: -5px; + margin-right: -5px; +} +.enketo-plugin .question .date input[type=text] { + display: inline-block; + width: 240px; + min-width: 0; +} +.enketo-plugin table { + max-width: 100%; + background-color: transparent; +} +.enketo-plugin th { + text-align: left; +} +.enketo-plugin .table-condensed > thead > tr > th, +.enketo-plugin .table-condensed > thead > tr > td, +.enketo-plugin .table-condensed > tbody > tr > th, +.enketo-plugin .table-condensed > tbody > tr > td, +.enketo-plugin .table-condensed > tfoot > tr > th, +.enketo-plugin .table-condensed > tfoot > tr > td { + padding: 5px; +} +.enketo-plugin .table-hover > tbody > tr:hover > td, +.enketo-plugin .table-hover > tbody > tr:hover > th { + background-color: whitesmoke; +} +.enketo-plugin table col[class*=col-] { + position: static; + float: none; + display: table-column; +} +.enketo-plugin table td[class*=col-], +.enketo-plugin table th[class*=col-] { + position: static; + float: none; + display: table-cell; +} +.enketo-plugin .table > thead > tr > td.active, +.enketo-plugin .table > thead > tr > th.active, .enketo-plugin .table > thead > tr.active > td, .enketo-plugin .table > thead > tr.active > th, +.enketo-plugin .table > tbody > tr > td.active, +.enketo-plugin .table > tbody > tr > th.active, +.enketo-plugin .table > tbody > tr.active > td, +.enketo-plugin .table > tbody > tr.active > th, +.enketo-plugin .table > tfoot > tr > td.active, +.enketo-plugin .table > tfoot > tr > th.active, +.enketo-plugin .table > tfoot > tr.active > td, +.enketo-plugin .table > tfoot > tr.active > th { + background-color: whitesmoke; +} +.enketo-plugin .table-hover > tbody > tr > td.active:hover, +.enketo-plugin .table-hover > tbody > tr > th.active:hover, .enketo-plugin .table-hover > tbody > tr.active:hover > td, .enketo-plugin .table-hover > tbody > tr.active:hover > th { + background-color: #e8e8e8; +} +.enketo-plugin .timepicker { + position: relative; +} +.enketo-plugin .timepicker.pull-right .timepicker-widget.dropdown-menu { + left: auto; + right: 0; +} +.enketo-plugin .timepicker.pull-right .timepicker-widget.dropdown-menu:before { + left: auto; + right: 12px; +} +.enketo-plugin .timepicker.pull-right .timepicker-widget.dropdown-menu:after { + left: auto; + right: 13px; +} +.enketo-plugin .timepicker .input-group-addon { + cursor: pointer; +} +.enketo-plugin .timepicker .input-group-addon i { + display: inline-block; + width: 16px; + height: 16px; +} +.enketo-plugin .timepicker-widget.dropdown-menu { + padding: 4px; +} +.enketo-plugin .timepicker-widget.dropdown-menu.open { + display: inline-block; +} +.enketo-plugin .timepicker-widget.dropdown-menu:before { + border-bottom: 7px solid rgba(0, 0, 0, 0.2); + border-left: 7px solid transparent; + border-right: 7px solid transparent; + content: ""; + display: inline-block; + position: absolute; +} +.enketo-plugin .timepicker-widget.dropdown-menu:after { + border-bottom: 6px solid #ffffff; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + content: ""; + display: inline-block; + position: absolute; +} +.enketo-plugin .timepicker-widget.timepicker-orient-left:before { + left: 6px; +} +.enketo-plugin .timepicker-widget.timepicker-orient-left:after { + left: 7px; +} +.enketo-plugin .timepicker-widget.timepicker-orient-right:before { + right: 6px; +} +.enketo-plugin .timepicker-widget.timepicker-orient-right:after { + right: 7px; +} +.enketo-plugin .timepicker-widget.timepicker-orient-top:before { + top: -7px; +} +.enketo-plugin .timepicker-widget.timepicker-orient-top:after { + top: -6px; +} +.enketo-plugin .timepicker-widget.timepicker-orient-bottom:before { + bottom: -7px; + border-bottom: 0; + border-top: 7px solid #999; +} +.enketo-plugin .timepicker-widget.timepicker-orient-bottom:after { + bottom: -6px; + border-bottom: 0; + border-top: 6px solid #ffffff; +} +.enketo-plugin .timepicker-widget a.btn, +.enketo-plugin .timepicker-widget input { + border-radius: 4px; +} +.enketo-plugin .timepicker-widget table { + width: 100%; + margin: 0; +} +.enketo-plugin .timepicker-widget table td { + text-align: center; + height: 30px; + margin: 0; + padding: 2px; +} +.enketo-plugin .timepicker-widget table td:not(.separator) { + min-width: 30px; +} +.enketo-plugin .timepicker-widget table td span { + width: 100%; +} +.enketo-plugin .timepicker-widget table td a { + border: 1px transparent solid; + width: 100%; + display: inline-block; + margin: 0; + padding: 8px 0; + outline: 0; + color: #333; +} +.enketo-plugin .timepicker-widget table td a:hover { + text-decoration: none; + background-color: #eee; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + border-color: #ddd; +} +.enketo-plugin .timepicker-widget table td a i { + margin-top: 2px; + font-size: 18px; +} +.enketo-plugin .timepicker-widget table td input { + width: 25px; + margin: 0; + text-align: center; +} +.enketo-plugin .timepicker input[type=text] { + display: inline-block; + width: 240px; +} +.enketo-plugin .timepicker-widget.dropdown-menu input { + width: 50px; + margin: 0 auto; +} +.enketo-plugin .timepicker-widget table td span { + width: 12px; +} +.enketo-plugin .timepicker-widget table td a i { + width: 11px; + height: 17px; + display: inline-block; +} +.enketo-plugin .datetimepicker .date, +.enketo-plugin .datetimepicker .timepicker { + margin-right: 10px; + display: inline-block; +} +.enketo-plugin .datetimepicker .date { + margin-right: 10px; +} +.enketo-plugin .or[dir=rtl] .datetimepicker .date { + margin-right: 0; +} +.enketo-plugin .touch .timepicker-widget.dropdown-menu input { + width: 50px; + margin: 0 auto; +} +.enketo-plugin .file-picker .fake-file-input { + display: block; + height: 34px; + padding: 6px 12px; + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + font-size: 15px; + line-height: 1.42857; + color: #555555; + background-color: white; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + display: inline-block; + width: 80%; + text-align: start; +} +.enketo-plugin .file-picker .fake-file-input:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .file-picker .fake-file-input::-moz-placeholder { + color: #999999; + opacity: 1; +} +.enketo-plugin .file-picker .fake-file-input:-ms-input-placeholder { + color: #999999; +} +.enketo-plugin .file-picker .fake-file-input::-webkit-input-placeholder { + color: #999999; +} +.enketo-plugin .file-picker .fake-file-input[disabled], .enketo-plugin .file-picker .fake-file-input[readonly], fieldset[disabled] .enketo-plugin .file-picker .fake-file-input { + cursor: not-allowed; + background-color: #eeeeee; + opacity: 1; +} +.enketo-plugin .file-picker .file-feedback, +.enketo-plugin .file-picker .file-preview { + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; +} +.enketo-plugin .file-picker .file-feedback.error { + font-weight: bold; + padding-top: 5px; + font-size: 0.85em; + color: #a94442; +} +.enketo-plugin .file-picker .file-feedback.warning { + font-weight: bold; + padding-top: 5px; + font-size: 0.85em; + color: #a94442; + color: #8a6d3b; +} +.enketo-plugin .file-picker .file-preview { + margin-top: 10px; +} +.enketo-plugin .file-picker .btn-download { + margin-right: 0; +} +.enketo-plugin .file-picker .btn-download[href=""] { + display: none; +} +.enketo-plugin .or-drawing-initialized input[type=text], +.enketo-plugin .or-signature-initialized input[type=text], +.enketo-plugin .or-annotation-initialized input[type=text] { + display: none; +} +.enketo-plugin .or-signature-initialized .draw-widget__body { + padding-top: 45%; +} +.enketo-plugin .or-annotation-initialized .draw-widget { + margin-top: 50px; +} +.enketo-plugin .draw-widget { + width: 100%; +} +.enketo-plugin .draw-widget__body { + position: relative; + width: 100%; + padding-top: 75%; +} +.enketo-plugin .draw-widget__body__canvas { + background: white; + border: 1px solid #eeeeee; + display: block; + height: 34px; + padding: 6px 12px; + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + font-size: 15px; + line-height: 1.42857; + color: #555555; + background-color: white; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + padding: 0; + width: 100%; + height: 100%; +} +.enketo-plugin .draw-widget__body__canvas:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .draw-widget__body__canvas::-moz-placeholder { + color: #999999; + opacity: 1; +} +.enketo-plugin .draw-widget__body__canvas:-ms-input-placeholder { + color: #999999; +} +.enketo-plugin .draw-widget__body__canvas::-webkit-input-placeholder { + color: #999999; +} +.enketo-plugin .draw-widget__body__canvas[disabled], .enketo-plugin .draw-widget__body__canvas[readonly], fieldset[disabled] .enketo-plugin .draw-widget__body__canvas { + cursor: not-allowed; + background-color: #eeeeee; + opacity: 1; +} +.enketo-plugin .draw-widget__body__canvas.disabled { + cursor: not-allowed; + background: white; + opacity: 1; +} +.enketo-plugin .draw-widget__body__canvas.disabled ~ .draw-widget__colorpicker, +.enketo-plugin .draw-widget__body__canvas.disabled ~ .draw-widget__undo { + display: none; +} +.enketo-plugin .draw-widget__body input[type=file] { + display: none; +} +.enketo-plugin .draw-widget__body .file-picker { + position: absolute; + top: -50px; + left: 0; + width: 100%; +} +.enketo-plugin .draw-widget__body .show-canvas-btn { + position: absolute; + z-index: 10; + top: calc(50% - 16px); + left: 50%; + width: 200px; + margin-left: -100px; +} +.enketo-plugin .draw-widget__body .hide-canvas-btn { + display: none; +} +.enketo-plugin .draw-widget__footer { + margin-top: 10px; +} +.enketo-plugin .draw-widget__footer .draw-widget__btn-reset:disabled { + display: none; +} +.enketo-plugin .draw-widget__feedback { + font-weight: bold; + padding-top: 5px; + font-size: 0.85em; + color: #a94442; +} +.enketo-plugin .draw-widget__undo { + position: absolute; + top: 37px; + right: 7px; + width: 20px; + height: 20px; + margin: 2px; + padding: 0; + border: 2px solid grey; +} +.enketo-plugin .draw-widget__colorpicker { + position: absolute; + display: flex; + flex-wrap: wrap; + max-width: calc(100% - 14px); + top: 7px; + right: 7px; +} +.enketo-plugin .draw-widget__colorpicker div { + display: none; +} +.enketo-plugin .draw-widget__colorpicker div { + width: 20px; + height: 20px; + margin: 2px; + border: none; + padding: 0; +} +.enketo-plugin .draw-widget__colorpicker.reveal div { + display: block; +} +.enketo-plugin .draw-widget__colorpicker .current { + display: block; + border: 2px solid grey; +} +.enketo-plugin .draw-widget.full-screen { + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + -moz-flex-direction: column; + flex-direction: column; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + -moz-flex-wrap: nowrap; + flex-wrap: nowrap; + position: fixed; + left: 0; + top: 0; + width: 100%; + height: 100%; + z-index: 20; + background: white; + margin: 0; + padding-left: 15px; + padding-right: 15px; +} +.enketo-plugin .draw-widget.full-screen .draw-widget__body { + width: calc(100% - 2 * 15px); + padding-top: calc(0.75 * (100% - 2 * 15px)); + margin: 50px auto; +} +.enketo-plugin .draw-widget.full-screen .draw-widget__body input[type=file] { + left: 90px; +} +.enketo-plugin .draw-widget.full-screen .draw-widget__body .file-picker { + left: 80px; + width: calc(100% - 18px); +} +.enketo-plugin .draw-widget.full-screen .hide-canvas-btn { + display: block; + position: absolute; + z-index: 30; + top: -40px; + left: 0; + width: 70px; +} +.enketo-plugin .draw-widget.full-screen .show-canvas-btn { + display: none; +} +.enketo-plugin .draw-widget.full-screen .draw-widget__footer { + width: calc(100vmin - 2 * 15px); + margin: -40px auto 0 auto; +} +.enketo-plugin .draw-widget .btn-download { + margin-right: 0; +} +.enketo-plugin .draw-widget .btn-download[href=""] { + display: none; +} +.enketo-plugin .or-signature-initialized .draw-widget.full-screen .draw-widget__body { + width: calc(100% - 2 * 15px); + padding-top: calc(0.45 * (100% - 2 * 15px)); +} +.enketo-plugin .or-signature-initialized .draw-widget.full-screen .draw-widget__footer { + width: calc(100% - 2 * 15px); +} +.enketo-plugin .or-annotate-initialized .draw-widget__body { + margin-top: 50px; +} +.enketo-plugin .or-appearance-likert .option-wrapper { + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + -moz-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; +} +.enketo-plugin .or-appearance-likert .option-wrapper > label { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + -moz-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + -moz-flex-direction: column; + flex-direction: column; + margin: 0; + float: none; + padding-left: 0 !important; + padding-right: 0; +} +.enketo-plugin .or-appearance-likert .option-wrapper > label input[type=radio], +.enketo-plugin .or-appearance-likert .option-wrapper > label input[type=checkbox] { + position: relative; + left: 50%; + padding: 0; + margin-left: -10px; + background-color: white; + z-index: 10; +} +.enketo-plugin .or-appearance-likert .option-wrapper > label .active { + margin: 0; +} +.enketo-plugin .or-appearance-likert .option-wrapper > label img.active { + margin: 0 auto; +} +.enketo-plugin .or-appearance-likert .option-wrapper > label .option-label { + position: relative; + text-align: center; + margin-top: -8.5px; + padding-top: 15px; + border-top: 3px solid #cccccc; + font-size: 12px; + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; +} +.enketo-plugin .or-appearance-likert .option-wrapper > label:first-of-type .option-label::after { + content: ""; + display: block; + position: absolute; + top: -3px; + width: 50%; + background-color: white; + height: 10px; + left: 0; +} +.enketo-plugin .or-appearance-likert .option-wrapper > label:last-of-type .option-label::after { + content: ""; + display: block; + position: absolute; + top: -3px; + width: 50%; + background-color: white; + height: 10px; + right: 0; +} +.enketo-plugin .or-appearance-likert .option-wrapper > label:hover { + background-color: transparent; +} +.enketo-plugin .or-appearance-likert:hover .option-wrapper > label:first-of-type .option-label::after, .enketo-plugin .or-appearance-likert:hover .option-wrapper > label:last-of-type .option-label::after { + background-color: white; +} +.enketo-plugin .or-appearance-likert.focus .option-wrapper > label:first-of-type .option-label::after, .enketo-plugin .or-appearance-likert.focus .option-wrapper > label:last-of-type .option-label::after { + background-color: white; +} +.enketo-plugin .or[dir=rtl] .or-appearance-likert .option-wrapper > label { + margin-right: 0; +} +.enketo-plugin .or[dir=rtl] .or-appearance-likert .option-wrapper > label:first-of-type .option-label::after { + left: auto; + right: 0; +} +.enketo-plugin .or[dir=rtl] .or-appearance-likert .option-wrapper > label:last-of-type .option-label::after { + right: auto; + left: 0; +} +.enketo-plugin .or[dir=rtl] .or-appearance-likert .option-wrapper > label input[type=radio], +.enketo-plugin .or[dir=rtl] .or-appearance-likert .option-wrapper > label input[type=checkbox] { + right: 50%; + margin-right: -10px; +} +.enketo-plugin .or[dir=rtl] .or-appearance-likert .option-wrapper .option-label { + margin-right: 0; +} +.enketo-plugin .or-repeat .or-appearance-likert .option-wrapper > label:first-of-type .option-label::after, .enketo-plugin .or-repeat .or-appearance-likert .option-wrapper > label:last-of-type .option-label::after, +.enketo-plugin .or-repeat .or-appearance-likert .option-wrapper > label input[type=radio], +.enketo-plugin .or-repeat .or-appearance-likert .option-wrapper > label input[type=checkbox] { + background-color: #b9e9ff; +} +.enketo-plugin .or-columns-initialized .option-wrapper { + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; +} +.enketo-plugin .or-columns-initialized label, +.enketo-plugin .or-columns-initialized .filler { + -webkit-flex: 1 0 30%; + -ms-flex: 1 0 30%; + flex: 1 0 30%; +} +.enketo-plugin .or-columns-initialized .filler, +.enketo-plugin .or-columns-initialized .filler:hover, +.enketo-plugin .or-columns-initialized .filler:focus { + border: none !important; + background: transparent !important; +} +.enketo-plugin .or-appearance-columns-pack .option-wrapper { + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; +} +.enketo-plugin .or-appearance-columns-pack label { + display: inline-block; +} +.enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons legend, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons legend { + border: none; +} +.enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label { + display: inline-block; + margin: 0; + padding: 10px !important; +} +.enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label:hover, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label:hover { + background: none; +} +.enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label .option-label, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label .option-label { + padding: 2px; +} +.enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label .active, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label .active { + display: inline-block; + margin-left: 0; + margin-right: 0; + max-width: 150px; + max-height: 150px; + float: none; + border: 2px solid transparent; +} +.enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label input, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label input { + width: 1px; + height: 1px; + position: relative; + top: 15px; + left: 15px; + z-index: -1; +} +.enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover { + border-color: #3ac2ff; +} +.enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, .enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, .enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, .enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover { + border-color: #555555; +} +.enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, .enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover { + border-color: #006ea0; +} +.enketo-plugin .question.or-appearance-columns.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active, +.enketo-plugin .question.or-appearance-columns-pack.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons legend { + border: none; +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label { + display: inline-block; + margin: 0; + padding: 10px !important; +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label:hover { + background: none; +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label .option-label { + padding: 2px; +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label .active { + display: inline-block; + margin-left: 0; + margin-right: 0; + max-width: 150px; + max-height: 150px; + float: none; + border: 2px solid transparent; +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label input { + width: 1px; + height: 1px; + position: relative; + top: 15px; + left: 15px; + z-index: -1; +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover { + border-color: #3ac2ff; +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, .enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover { + border-color: #555555; +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, .enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover { + border-color: #006ea0; +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons label { + width: 100%; +} +.enketo-plugin .question.or-appearance-columns-1.or-appearance-no-buttons label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-1 .option-wrapper { + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; +} +.enketo-plugin .question.or-appearance-columns-1 label { + width: calc(100% - 20px); +} +.enketo-plugin .question.or-appearance-columns-1 label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons legend { + border: none; +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label { + display: inline-block; + margin: 0; + padding: 10px !important; +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label:hover { + background: none; +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label .option-label { + padding: 2px; +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label .active { + display: inline-block; + margin-left: 0; + margin-right: 0; + max-width: 150px; + max-height: 150px; + float: none; + border: 2px solid transparent; +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label input { + width: 1px; + height: 1px; + position: relative; + top: 15px; + left: 15px; + z-index: -1; +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover { + border-color: #3ac2ff; +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, .enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover { + border-color: #555555; +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, .enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover { + border-color: #006ea0; +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons label { + width: 50%; +} +.enketo-plugin .question.or-appearance-columns-2.or-appearance-no-buttons label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-2 .option-wrapper { + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; +} +.enketo-plugin .question.or-appearance-columns-2 label { + width: calc(50% - 20px); +} +.enketo-plugin .question.or-appearance-columns-2 label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons legend { + border: none; +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label { + display: inline-block; + margin: 0; + padding: 10px !important; +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label:hover { + background: none; +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label .option-label { + padding: 2px; +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label .active { + display: inline-block; + margin-left: 0; + margin-right: 0; + max-width: 150px; + max-height: 150px; + float: none; + border: 2px solid transparent; +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label input { + width: 1px; + height: 1px; + position: relative; + top: 15px; + left: 15px; + z-index: -1; +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover { + border-color: #3ac2ff; +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, .enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover { + border-color: #555555; +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, .enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover { + border-color: #006ea0; +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons label { + width: 33.3333333333%; +} +.enketo-plugin .question.or-appearance-columns-3.or-appearance-no-buttons label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-3 .option-wrapper { + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; +} +.enketo-plugin .question.or-appearance-columns-3 label { + width: calc(33.3333333333% - 20px); +} +.enketo-plugin .question.or-appearance-columns-3 label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons legend { + border: none; +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label { + display: inline-block; + margin: 0; + padding: 10px !important; +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label:hover { + background: none; +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label .option-label { + padding: 2px; +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label .active { + display: inline-block; + margin-left: 0; + margin-right: 0; + max-width: 150px; + max-height: 150px; + float: none; + border: 2px solid transparent; +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label input { + width: 1px; + height: 1px; + position: relative; + top: 15px; + left: 15px; + z-index: -1; +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover { + border-color: #3ac2ff; +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, .enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover { + border-color: #555555; +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, .enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover { + border-color: #006ea0; +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons label { + width: 25%; +} +.enketo-plugin .question.or-appearance-columns-4.or-appearance-no-buttons label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-4 .option-wrapper { + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; +} +.enketo-plugin .question.or-appearance-columns-4 label { + width: calc(25% - 20px); +} +.enketo-plugin .question.or-appearance-columns-4 label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons legend { + border: none; +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label { + display: inline-block; + margin: 0; + padding: 10px !important; +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label:hover { + background: none; +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label .option-label { + padding: 2px; +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label .active { + display: inline-block; + margin-left: 0; + margin-right: 0; + max-width: 150px; + max-height: 150px; + float: none; + border: 2px solid transparent; +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label input { + width: 1px; + height: 1px; + position: relative; + top: 15px; + left: 15px; + z-index: -1; +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover { + border-color: #3ac2ff; +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, .enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover { + border-color: #555555; +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, .enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover { + border-color: #006ea0; +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons label { + width: 20%; +} +.enketo-plugin .question.or-appearance-columns-5.or-appearance-no-buttons label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-5 .option-wrapper { + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; +} +.enketo-plugin .question.or-appearance-columns-5 label { + width: calc(20% - 20px); +} +.enketo-plugin .question.or-appearance-columns-5 label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons legend { + border: none; +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label { + display: inline-block; + margin: 0; + padding: 10px !important; +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label:hover { + background: none; +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label .option-label { + padding: 2px; +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label .active { + display: inline-block; + margin-left: 0; + margin-right: 0; + max-width: 150px; + max-height: 150px; + float: none; + border: 2px solid transparent; +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label input { + width: 1px; + height: 1px; + position: relative; + top: 15px; + left: 15px; + z-index: -1; +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover { + border-color: #3ac2ff; +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, .enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover { + border-color: #555555; +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, .enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover { + border-color: #006ea0; +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons label { + width: 16.6666666667%; +} +.enketo-plugin .question.or-appearance-columns-6.or-appearance-no-buttons label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-6 .option-wrapper { + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; +} +.enketo-plugin .question.or-appearance-columns-6 label { + width: calc(16.6666666667% - 20px); +} +.enketo-plugin .question.or-appearance-columns-6 label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons legend { + border: none; +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label { + display: inline-block; + margin: 0; + padding: 10px !important; +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label:hover { + background: none; +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label .option-label { + padding: 2px; +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label .active { + display: inline-block; + margin-left: 0; + margin-right: 0; + max-width: 150px; + max-height: 150px; + float: none; + border: 2px solid transparent; +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label input { + width: 1px; + height: 1px; + position: relative; + top: 15px; + left: 15px; + z-index: -1; +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover { + border-color: #3ac2ff; +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, .enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover { + border-color: #555555; +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, .enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover { + border-color: #006ea0; +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons label { + width: 14.2857142857%; +} +.enketo-plugin .question.or-appearance-columns-7.or-appearance-no-buttons label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-7 .option-wrapper { + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; +} +.enketo-plugin .question.or-appearance-columns-7 label { + width: calc(14.2857142857% - 20px); +} +.enketo-plugin .question.or-appearance-columns-7 label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons legend { + border: none; +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label { + display: inline-block; + margin: 0; + padding: 10px !important; +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label:hover { + background: none; +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label .option-label { + padding: 2px; +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label .active { + display: inline-block; + margin-left: 0; + margin-right: 0; + max-width: 150px; + max-height: 150px; + float: none; + border: 2px solid transparent; +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label input { + width: 1px; + height: 1px; + position: relative; + top: 15px; + left: 15px; + z-index: -1; +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover { + border-color: #3ac2ff; +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, .enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover { + border-color: #555555; +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, .enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover { + border-color: #006ea0; +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons label { + width: 12.5%; +} +.enketo-plugin .question.or-appearance-columns-8.or-appearance-no-buttons label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-8 .option-wrapper { + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; +} +.enketo-plugin .question.or-appearance-columns-8 label { + width: calc(12.5% - 20px); +} +.enketo-plugin .question.or-appearance-columns-8 label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons legend { + border: none; +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label { + display: inline-block; + margin: 0; + padding: 10px !important; +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label:hover { + background: none; +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label .option-label { + padding: 2px; +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label .active { + display: inline-block; + margin-left: 0; + margin-right: 0; + max-width: 150px; + max-height: 150px; + float: none; + border: 2px solid transparent; +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label input { + width: 1px; + height: 1px; + position: relative; + top: 15px; + left: 15px; + z-index: -1; +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover { + border-color: #3ac2ff; +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, .enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover { + border-color: #555555; +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, .enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover { + border-color: #006ea0; +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons label { + width: 11.1111111111%; +} +.enketo-plugin .question.or-appearance-columns-9.or-appearance-no-buttons label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-9 .option-wrapper { + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; +} +.enketo-plugin .question.or-appearance-columns-9 label { + width: calc(11.1111111111% - 20px); +} +.enketo-plugin .question.or-appearance-columns-9 label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons legend { + border: none; +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label { + display: inline-block; + margin: 0; + padding: 10px !important; +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label:hover { + background: none; +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label .option-label { + padding: 2px; +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label .active { + display: inline-block; + margin-left: 0; + margin-right: 0; + max-width: 150px; + max-height: 150px; + float: none; + border: 2px solid transparent; +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label input { + width: 1px; + height: 1px; + position: relative; + top: 15px; + left: 15px; + z-index: -1; +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label input:not([disabled]):not([readonly]) ~ .active:hover { + border-color: #3ac2ff; +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label input[disabled]:checked ~ .active:hover, .enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active, .enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label input[readonly]:checked ~ .active:hover { + border-color: #555555; +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active, .enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label input:checked ~ .active:hover { + border-color: #006ea0; +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons .option-wrapper > label input:focus ~ .active { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons label { + width: 10%; +} +.enketo-plugin .question.or-appearance-columns-10.or-appearance-no-buttons label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .question.or-appearance-columns-10 .option-wrapper { + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + -moz-flex-wrap: wrap; + flex-wrap: wrap; +} +.enketo-plugin .question.or-appearance-columns-10 label { + width: calc(10% - 20px); +} +.enketo-plugin .question.or-appearance-columns-10 label img.active { + max-width: 100%; + max-height: 100%; +} +.enketo-plugin .touch .question:not(.or-appearance-no-buttons):not(.or-appearance-label):not(.or-appearance-list-nolabel):not(.or-appearance-likert).or-columns-initialized .option-wrapper > label { + margin-right: 10px; +} +.enketo-plugin .touch .or[dir=rtl] .question:not(.or-appearance-no-buttons):not(.or-appearance-label):not(.or-appearance-list-nolabel):not(.or-appearance-likert).or-columns-initialized .option-wrapper > label { + margin-left: 10px; + margin-right: inherit; +} +.enketo-plugin .or-analog-scale-initialized { + position: relative; +} +.enketo-plugin .or-analog-scale-initialized .label-content { + display: flex; + flex-direction: column; +} +.enketo-plugin .or-analog-scale-initialized .label-content .question-label.active { + display: inline; +} +.enketo-plugin .or-analog-scale-initialized .label-content .question-label.active[lang] { + display: none; +} +.enketo-plugin .or-analog-scale-initialized .range-widget__current { + visibility: hidden; +} +.enketo-plugin .or-analog-scale-initialized > .widget:not(.or-comment-widget) { + margin: 0 0 9px 0; +} +.enketo-plugin .or-analog-scale-initialized .show-value__box { + background-color: black; + text-align: center; + color: white; + max-width: 170px; + padding: 10px 35px; + margin: 20px auto; + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; +} +.enketo-plugin .or-analog-scale-initialized .show-value__value { + font-weight: bold; + font-size: 18.75px; + padding: 8px; + display: block; + min-width: 1px; + min-height: 40.75px; +} +.enketo-plugin .or-analog-scale-initialized .max-label, +.enketo-plugin .or-analog-scale-initialized .min-label { + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + text-align: center; +} +.enketo-plugin .or-analog-scale-initialized .min-label { + order: 1; +} +.enketo-plugin .or-analog-scale-initialized .range-widget { + order: 4; +} +.enketo-plugin .or-analog-scale-initialized .max-label { + order: 5; +} +.enketo-plugin .or-analog-scale-initialized:not(.or-appearance-no-ticks) .range-widget__ticks span { + padding: 0 25%; + background-image: linear-gradient(0deg, black 1px, transparent 0px); + background-repeat: repeat-y; + background-origin: content-box; + background-size: 100% 10%; +} +.enketo-plugin .or-analog-scale-initialized:not(.or-appearance-no-ticks) .range-widget__ticks__scale__start, .enketo-plugin .or-analog-scale-initialized:not(.or-appearance-no-ticks) .range-widget__ticks__scale__end { + display: none; +} +.enketo-plugin .or-analog-scale-initialized:not(.or-appearance-no-ticks).or-appearance-horizontal .range-widget__ticks span { + padding: 4px 0; + background-image: linear-gradient(270deg, black 1px, transparent 0px); + background-repeat: repeat-x; + background-origin: content-box; + background-size: 10% 100%; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-no-ticks .range-widget__scale__start, .enketo-plugin .or-analog-scale-initialized.or-appearance-no-ticks .range-widget__scale__end { + display: none; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-horizontal .analog-scale-widget { + display: flex; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-horizontal .range-widget { + flex: 100%; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-horizontal .range-widget__wrap { + height: 117px; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-horizontal .range-widget__current { + line-height: 38.5px; + min-height: 48.5px; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-horizontal .range-widget [type=range] { + top: 33.5px; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-horizontal .range-widget .btn-reset { + margin-left: auto; + margin-right: auto; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-horizontal .max-label, +.enketo-plugin .or-analog-scale-initialized.or-appearance-horizontal .min-label { + width: 80px; + align-self: center; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-vertical:not(.disabled) { + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex: 100%; + -ms-flex: 100%; + flex: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + -moz-flex-direction: row; + flex-direction: row; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-vertical:not(.disabled) .label-content { + -webkit-flex: 100%; + -ms-flex: 100%; + flex: 100%; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-vertical:not(.disabled) .analog-scale-widget { + width: 200px; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-show-scale:not(.or-appearance-horizontal) .range-widget__wrap { + flex-direction: row-reverse; + flex-wrap: wrap; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-show-scale:not(.or-appearance-horizontal) .range-widget__scale { + position: relative; + text-align: end; + align-items: flex-end; + padding: 0 13px; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-show-scale:not(.or-appearance-horizontal) .range-widget__scale__start, .enketo-plugin .or-analog-scale-initialized.or-appearance-show-scale:not(.or-appearance-horizontal) .range-widget__scale__end, .enketo-plugin .or-analog-scale-initialized.or-appearance-show-scale:not(.or-appearance-horizontal) .range-widget__scale__between { + width: 24px; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-show-scale:not(.or-appearance-horizontal) .range-widget__current { + padding: 0 13px; +} +.enketo-plugin .or-analog-scale-initialized.or-appearance-show-scale:not(.or-appearance-horizontal) .range-widget .btn-reset { + position: absolute; + top: 140px; + left: 100px; +} +.enketo-plugin .or-analog-scale-initialized [class*=or-constraint], +.enketo-plugin .or-analog-scale-initialized .or-required-msg { + order: 5; +} +.enketo-plugin .pages.or [role=page].or-analog-scale-initialized.current:not(.or-appearance-horizontal) { + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; +} +.enketo-plugin .pages.or [role=page].or-analog-scale-initialized:not(.current) { + display: none; +} +.enketo-plugin .or-big-image { + display: block; + max-width: 70%; + max-height: 300px; +} +.enketo-plugin .or-big-image img { + border: 2px solid #006ea0; + max-width: 100%; +} +.enketo-plugin .or-big-image.open { + /*IE10*/ + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + -moz-flex-direction: column; + flex-direction: column; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + -moz-flex-wrap: nowrap; + flex-wrap: nowrap; + position: fixed; + left: 0; + top: 0; + width: 100%; + height: 100%; + max-width: 100%; + max-height: 100%; + z-index: 10000; + background: white; + margin-top: 0; +} +.enketo-plugin .or-big-image.open img { + max-width: 100%; + width: 100%; + max-height: 100%; +} +.enketo-plugin .or-comment-widget { + display: block; + position: absolute; + z-index: 1001; + top: 100%; + left: 0; + width: 100%; +} +.enketo-plugin .or-comment-widget__overlay { + background: rgba(0, 0, 0, 0.3); +} +.enketo-plugin .or-comment-widget__content { + position: relative; + border: 1px solid #555555; + background: white; + padding: 30px; + padding-bottom: 100px; +} +.enketo-plugin .or-comment-widget__content__btn-update { + position: absolute; + right: 30px; + bottom: 30px; +} +.enketo-plugin .or-comment-widget__content__btn-close-x { + top: 20px; + right: 13px; + position: absolute; + content: "×"; + font-size: 26px; + font-weight: normal; + line-height: 31px; + height: 30px; + width: 30px; + text-align: center; + color: #bbb; + background: transparent; +} +.enketo-plugin .or-comment-widget__overlay { + position: fixed; + background: rgba(0, 0, 0, 0.4); + top: 0; + right: 0; + bottom: 0; + left: 0; +} +.enketo-plugin .or-comment-widget__question-label, .enketo-plugin .or-comment-widget__question-value { + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + font-style: italic; + padding-right: 35px; +} +.enketo-plugin .or-comment-widget__question-value { + margin-left: 20px; + margin-top: 10px; +} +.enketo-plugin .or-comment-widget .question textarea, +.enketo-plugin .or-comment-widget .question input[type=text] { + width: 100%; +} +.enketo-plugin .or-comment-widget .or-required-msg.active, +.enketo-plugin .or-comment-widget .or-constraint-msg.active, +.enketo-plugin .or-comment-widget .invalid-value-msg.active { + display: none; +} +.enketo-plugin .or-comment-widget .invalid-required > .or-required-msg, +.enketo-plugin .or-comment-widget .invalid-constraint > .or-constraint-msg, +.enketo-plugin .or-comment-widget .invalid-value > .invalid-value-msg { + display: block; +} +.enketo-plugin .btn-comment { + cursor: pointer; +} +.enketo-plugin .btn-comment.invalid { + -webkit-transition: all 0.6s ease-out; + transition: all 0.6s ease-out; + color: #e00e0e; +} +.enketo-plugin .btn-comment.invalid .icon, .enketo-plugin .btn-comment.invalid .enketo-geopoint-marker, .enketo-plugin .btn-comment.invalid .glyphicon-chevron-up, .enketo-plugin .btn-comment.invalid .glyphicon-chevron-down { + font-weight: bold; +} +.enketo-plugin .or[dir=rtl] .btn-comment { + left: auto; + right: calc(100% - 25px); +} +.enketo-plugin .or[dir=rtl] .or-comment-widget__content__btn-update { + right: auto; + left: 30px; +} +.enketo-plugin .or[dir=rtl] .or-comment-widget__content__btn-close-x { + right: auto; + left: 13px; +} +.enketo-plugin .or[dir=rtl] .or-comment-widget__question-label, .enketo-plugin .or[dir=rtl] .or-comment-widget__question-value { + padding-right: 0; + padding-left: 35px; +} +.enketo-plugin .or[dir=rtl] .or-comment-widget__question-value { + margin-left: 0; + margin-right: 20px; +} +.enketo-plugin .or-image-map-initialized img { + visibility: hidden; +} +.enketo-plugin .or-image-map-initialized .option-wrapper { + display: none; +} +.enketo-plugin .or-image-map-initialized .image-map svg:not([or-readonly]) path[id]:hover, +.enketo-plugin .or-image-map-initialized .image-map svg:not([or-readonly]) circle[id]:hover, +.enketo-plugin .or-image-map-initialized .image-map svg:not([or-readonly]) g[id]:hover { + opacity: 0.5 !important; +} +.enketo-plugin .image-map svg { + display: block; + margin: 0 auto; + max-width: 100%; + width: 100vmin; + height: auto; +} +.enketo-plugin .image-map svg[or-readonly] { + opacity: 0.75 !important; +} +.enketo-plugin .image-map svg path[id][or-selected], +.enketo-plugin .image-map svg circle[id][or-selected], +.enketo-plugin .image-map svg g[id][or-selected] { + fill: #006ea0 !important; + stroke: #006ea0 !important; +} +.enketo-plugin .image-map__ui { + height: 2em; + width: 100%; + text-align: center; + font-weight: normal; +} +.enketo-plugin .image-map__ui__tooltip { + display: inline-block; + background: #a0e2ff; + padding: 2px 8px; + color: #555555; + border-radius: 2px; +} +.enketo-plugin .image-map__ui__tooltip:empty { + padding: 0; +} +.enketo-plugin .image-map__error { + font-weight: bold; + padding-top: 5px; + font-size: 0.85em; + color: #a94442; +} +.enketo-plugin .rank-widget { + position: relative; + display: flex; +} +.enketo-plugin .rank-widget--empty > * { + opacity: 0.5; +} +.enketo-plugin .rank-widget--empty .rank-widget__overlay { + display: block; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + opacity: 1; + text-align: center; +} +.enketo-plugin .rank-widget--empty .rank-widget__overlay__content { + position: absolute; + top: 0; + bottom: 20px; + left: 0; + right: 0; + width: 50%; + height: 30px; + font-size: 30px; + margin: auto; + line-height: 30px; +} +.enketo-plugin .rank-widget__overlay { + display: none; +} +.enketo-plugin .rank-widget label { + border: 1px solid gray; + border-radius: 5px; + margin: 0 0 5px 0; + position: relative; +} +.enketo-plugin .rank-widget label[draggable=true]::before { + position: absolute; + content: "::"; + margin: 0 5px; + top: calc(50% - 10px); +} +.enketo-plugin .rank-widget label:hover:not(.filler) { + background: none; +} +.enketo-plugin .rank-widget input[type=text] { + display: none; +} +.enketo-plugin .rank-widget .btn-reset { + margin-top: 5px; + order: 10; +} +.enketo-plugin .url-widget { + margin-top: 20px; +} +.enketo-plugin .or-appearance-rating { + /* plain stars, hover behavior */ +} +.enketo-plugin .or-appearance-rating .rating-widget__rating { + display: inline-block; + width: 100%; + height: auto; +} +.enketo-plugin .or-appearance-rating input[type=radio].rating-widget__rating__star, .enketo-plugin .or-appearance-rating input[type=radio].rating-widget__rating__star:checked { + appearance: none; + -moz-appearance: none; + -webkit-appearance: none; + -ms-appearance: none; + display: inline-block; + width: 40px; + height: 40px; + margin-right: 5px; + margin-bottom: 0; + margin-top: 0; + border-style: solid; + background-color: transparent; + background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%27-6%201%2053%2050%27%3E%200%203%20%3Cpath%20d%3D%27m25%2C1%206%2C17h18l-14%2C11%205%2C17-15-10-15%2C10%205-17-14-11h18z%27%20style%3D%27fill%3A%23006ea0%27%20%2F%3E%200%204%20%3C%2Fsvg%3E"); + background-size: 35px 25px; + background-position: -3px; + background-repeat: no-repeat; + border-color: transparent !important; + border-radius: 0; +} +.enketo-plugin .or-appearance-rating .empty input.rating-widget__rating__star:not(:hover), +.enketo-plugin .or-appearance-rating .empty input.rating-widget__rating__star:hover:disabled, +.enketo-plugin .or-appearance-rating .rating-widget__rating__star:checked ~ .rating-widget__rating__star:not(:hover), +.enketo-plugin .or-appearance-rating .rating-widget__rating__star:checked ~ .rating-widget__rating__star:hover:disabled { + background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%27-6%201%2053%2050%27%3E%200%203%20%3Cpath%20d%3D%27m25%2C1%206%2C17h18l-14%2C11%205%2C17-15-10-15%2C10%205-17-14-11h18z%27%20style%3D%27stroke%3A%20black%3B%20fill%3A%20transparent%3B%27%2F%3E%200%204%20%3C%2Fsvg%3E"); +} +@media screen and (max-width: 720px) { + .enketo-plugin body { + padding: 0 !important; + margin: 0; + } + .enketo-plugin .main { + margin: 0; + padding: 0; + } + .enketo-plugin .preview-header { + top: -5px; + } + .enketo-plugin .paper { + border-radius: 0; + padding-top: 0; + } + .enketo-plugin .form-header { + position: relative; + top: 0; + padding: 0 14px; + border-bottom: 1px solid #bbbbbb; + min-height: 0; + margin-left: -45px; + margin-right: -45px; + width: calc(100% + 2 * 45px); + } + .enketo-plugin .form-header .form-language-selector { + padding-top: 16px; + padding-bottom: 16px; + } + .enketo-plugin .form-header .form-language-selector span { + display: none; + } + .enketo-plugin #form-title { + padding-top: 25px; + } +} +@media screen and (max-width: 600px) { + .enketo-plugin body { + line-height: 1.4999985; + } + .enketo-plugin .or-group:not(.or-appearance-no-collapse) > h4 { + margin-left: 8px; + } + .enketo-plugin .touch .question.simple-select .option-wrapper > label { + padding: 10px 5px; + } + .enketo-plugin .main .paper { + padding: 0 30px 30px 30px; + } + .enketo-plugin .form-header { + margin-left: -30px; + margin-right: -30px; + width: calc(100% + 2 * 30px); + } + .enketo-plugin .form-footer { + margin: 30px -30px -30px -30px; + } +} +@media screen and (max-width: 400px) { + .enketo-plugin body { + line-height: 1.5571413; + } + .enketo-plugin input[type=text], .enketo-plugin input[type=password], .enketo-plugin input[type=url], .enketo-plugin input[type=email], .enketo-plugin input[type=date], .enketo-plugin input[type=number], .enketo-plugin input[type=time], .enketo-plugin input[type=datetime-local], .enketo-plugin input[type=file] { + width: 100%; + } + .enketo-plugin select, + .enketo-plugin textarea { + width: 100%; + } + .enketo-plugin .or-group:not(.or-appearance-no-collapse) > h4 { + margin-left: 15px; + } + .enketo-plugin .main .paper { + padding: 0 20px 20px 20px; + } + .enketo-plugin .form-header { + margin-left: -20px; + margin-right: -20px; + width: calc(100% + 2 * 20px); + } + .enketo-plugin .form-header .form-language-selector { + border-right: none; + } + .enketo-plugin .form-footer { + margin: 20px -20px -20px -20px; + } +} +.enketo-plugin .caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} +.enketo-plugin .dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + list-style: none; + font-size: 15px; + background-color: white; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} +.enketo-plugin .dropdown-menu.pull-right { + right: 0; + left: auto; +} +.enketo-plugin .dropdown-menu .divider { + height: 1px; + margin: 9.5px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.enketo-plugin .dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.42857; + color: #333333; + white-space: nowrap; +} +.enketo-plugin .or[dir=rtl] .dropdown-menu { + right: 0; +} +.enketo-plugin .dropdown-menu > li > a:hover, .enketo-plugin .dropdown-menu > li > a:focus { + text-decoration: none; + color: #262626; + background-color: whitesmoke; +} +.enketo-plugin .dropdown-menu > .active > a, .enketo-plugin .dropdown-menu > .active > a:hover, .enketo-plugin .dropdown-menu > .active > a:focus { + color: white; + text-decoration: none; + outline: 0; + background-color: #006ea0; +} +.enketo-plugin .dropdown-menu > .disabled > a, .enketo-plugin .dropdown-menu > .disabled > a:hover, .enketo-plugin .dropdown-menu > .disabled > a:focus { + color: #999999; +} +.enketo-plugin .dropdown-menu > .disabled > a:hover, .enketo-plugin .dropdown-menu > .disabled > a:focus { + text-decoration: none; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + cursor: not-allowed; +} +.enketo-plugin .open > .dropdown-menu { + display: block; +} +.enketo-plugin .open > a { + outline: 0; +} +.enketo-plugin input[type=text], +.enketo-plugin .print-input-text, +.enketo-plugin input[type=tel], +.enketo-plugin input[type=password], +.enketo-plugin input[type=url], +.enketo-plugin input[type=email], +.enketo-plugin input[type=file], +.enketo-plugin input[type=date], +.enketo-plugin input[type=month], +.enketo-plugin input[type=time], +.enketo-plugin input[type=datetime-local], +.enketo-plugin input[type=number], +.enketo-plugin input.number-input, +.enketo-plugin select, +.enketo-plugin textarea { + display: block; + height: 34px; + padding: 6px 12px; + font-family: "OpenSans", Arial, sans-serif; + font-weight: normal; + font-style: normal; + font-size: 15px; + line-height: 1.42857; + color: #555555; + background-color: white; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} +.enketo-plugin input[type=text]:focus, +.enketo-plugin .print-input-text:focus, +.enketo-plugin input[type=tel]:focus, +.enketo-plugin input[type=password]:focus, +.enketo-plugin input[type=url]:focus, +.enketo-plugin input[type=email]:focus, +.enketo-plugin input[type=file]:focus, +.enketo-plugin input[type=date]:focus, +.enketo-plugin input[type=month]:focus, +.enketo-plugin input[type=time]:focus, +.enketo-plugin input[type=datetime-local]:focus, +.enketo-plugin input[type=number]:focus, +.enketo-plugin input.number-input:focus, +.enketo-plugin select:focus, +.enketo-plugin textarea:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin input[type=text]::-moz-placeholder, +.enketo-plugin .print-input-text::-moz-placeholder, +.enketo-plugin input[type=tel]::-moz-placeholder, +.enketo-plugin input[type=password]::-moz-placeholder, +.enketo-plugin input[type=url]::-moz-placeholder, +.enketo-plugin input[type=email]::-moz-placeholder, +.enketo-plugin input[type=file]::-moz-placeholder, +.enketo-plugin input[type=date]::-moz-placeholder, +.enketo-plugin input[type=month]::-moz-placeholder, +.enketo-plugin input[type=time]::-moz-placeholder, +.enketo-plugin input[type=datetime-local]::-moz-placeholder, +.enketo-plugin input[type=number]::-moz-placeholder, +.enketo-plugin input.number-input::-moz-placeholder, +.enketo-plugin select::-moz-placeholder, +.enketo-plugin textarea::-moz-placeholder { + color: #999999; + opacity: 1; +} +.enketo-plugin input[type=text]:-ms-input-placeholder, +.enketo-plugin .print-input-text:-ms-input-placeholder, +.enketo-plugin input[type=tel]:-ms-input-placeholder, +.enketo-plugin input[type=password]:-ms-input-placeholder, +.enketo-plugin input[type=url]:-ms-input-placeholder, +.enketo-plugin input[type=email]:-ms-input-placeholder, +.enketo-plugin input[type=file]:-ms-input-placeholder, +.enketo-plugin input[type=date]:-ms-input-placeholder, +.enketo-plugin input[type=month]:-ms-input-placeholder, +.enketo-plugin input[type=time]:-ms-input-placeholder, +.enketo-plugin input[type=datetime-local]:-ms-input-placeholder, +.enketo-plugin input[type=number]:-ms-input-placeholder, +.enketo-plugin input.number-input:-ms-input-placeholder, +.enketo-plugin select:-ms-input-placeholder, +.enketo-plugin textarea:-ms-input-placeholder { + color: #999999; +} +.enketo-plugin input[type=text]::-webkit-input-placeholder, +.enketo-plugin .print-input-text::-webkit-input-placeholder, +.enketo-plugin input[type=tel]::-webkit-input-placeholder, +.enketo-plugin input[type=password]::-webkit-input-placeholder, +.enketo-plugin input[type=url]::-webkit-input-placeholder, +.enketo-plugin input[type=email]::-webkit-input-placeholder, +.enketo-plugin input[type=file]::-webkit-input-placeholder, +.enketo-plugin input[type=date]::-webkit-input-placeholder, +.enketo-plugin input[type=month]::-webkit-input-placeholder, +.enketo-plugin input[type=time]::-webkit-input-placeholder, +.enketo-plugin input[type=datetime-local]::-webkit-input-placeholder, +.enketo-plugin input[type=number]::-webkit-input-placeholder, +.enketo-plugin input.number-input::-webkit-input-placeholder, +.enketo-plugin select::-webkit-input-placeholder, +.enketo-plugin textarea::-webkit-input-placeholder { + color: #999999; +} +.enketo-plugin input[type=text][disabled], .enketo-plugin input[type=text][readonly], fieldset[disabled] .enketo-plugin input[type=text], +.enketo-plugin .print-input-text[disabled], +.enketo-plugin .print-input-text[readonly], +fieldset[disabled] .enketo-plugin .print-input-text, +.enketo-plugin input[type=tel][disabled], +.enketo-plugin input[type=tel][readonly], +fieldset[disabled] .enketo-plugin input[type=tel], +.enketo-plugin input[type=password][disabled], +.enketo-plugin input[type=password][readonly], +fieldset[disabled] .enketo-plugin input[type=password], +.enketo-plugin input[type=url][disabled], +.enketo-plugin input[type=url][readonly], +fieldset[disabled] .enketo-plugin input[type=url], +.enketo-plugin input[type=email][disabled], +.enketo-plugin input[type=email][readonly], +fieldset[disabled] .enketo-plugin input[type=email], +.enketo-plugin input[type=file][disabled], +.enketo-plugin input[type=file][readonly], +fieldset[disabled] .enketo-plugin input[type=file], +.enketo-plugin input[type=date][disabled], +.enketo-plugin input[type=date][readonly], +fieldset[disabled] .enketo-plugin input[type=date], +.enketo-plugin input[type=month][disabled], +.enketo-plugin input[type=month][readonly], +fieldset[disabled] .enketo-plugin input[type=month], +.enketo-plugin input[type=time][disabled], +.enketo-plugin input[type=time][readonly], +fieldset[disabled] .enketo-plugin input[type=time], +.enketo-plugin input[type=datetime-local][disabled], +.enketo-plugin input[type=datetime-local][readonly], +fieldset[disabled] .enketo-plugin input[type=datetime-local], +.enketo-plugin input[type=number][disabled], +.enketo-plugin input[type=number][readonly], +fieldset[disabled] .enketo-plugin input[type=number], +.enketo-plugin input.number-input[disabled], +.enketo-plugin input.number-input[readonly], +fieldset[disabled] .enketo-plugin input.number-input, +.enketo-plugin select[disabled], +.enketo-plugin select[readonly], +fieldset[disabled] .enketo-plugin select, +.enketo-plugin textarea[disabled], +.enketo-plugin textarea[readonly], +fieldset[disabled] .enketo-plugin textarea { + cursor: not-allowed; + background-color: #eeeeee; + opacity: 1; +} +.enketo-plugin input:not([readonly]) + .widget input[type=text][readonly], +.enketo-plugin input:not([readonly]) + .widget input[type=tel][readonly], +.enketo-plugin input:not([readonly]) + .widget input[type=password][readonly], +.enketo-plugin input:not([readonly]) + .widget input[type=url][readonly], +.enketo-plugin input:not([readonly]) + .widget input[type=email][readonly], +.enketo-plugin input:not([readonly]) + .widget input[type=file][readonly], +.enketo-plugin input:not([readonly]) + .widget input[type=date][readonly], +.enketo-plugin input:not([readonly]) + .widget input[type=month][readonly], +.enketo-plugin input:not([readonly]) + .widget input[type=time][readonly], +.enketo-plugin input:not([readonly]) + .widget input[type=datetime-local][readonly], +.enketo-plugin input:not([readonly]) + .widget input[type=number][readonly], +.enketo-plugin input:not([readonly]) + .widget select[readonly], +.enketo-plugin input:not([readonly]) + .widget textarea[readonly] { + background-color: white; + cursor: auto; +} +.enketo-plugin input:not([readonly]) + .widget input[type=text][readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget input[type=tel][readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget input[type=password][readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget input[type=url][readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget input[type=email][readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget input[type=file][readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget input[type=date][readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget input[type=month][readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget input[type=time][readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget input[type=datetime-local][readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget input[type=number][readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget select[readonly]:hover, +.enketo-plugin input:not([readonly]) + .widget textarea[readonly]:hover { + background-color: white; +} +.enketo-plugin fieldset { + padding: 0; + margin: 0; + border: 0; + min-width: 0; +} +.enketo-plugin input[type=search] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.enketo-plugin input[type=radio], +.enketo-plugin input[type=checkbox] { + margin: 4px 0 0; + margin-top: 1px \9 ; + /* IE8-9 */ + line-height: normal; +} +.enketo-plugin input[type=file] { + display: block; +} +.enketo-plugin input[type=range] { + display: block; + width: 100%; +} +.enketo-plugin select[multiple], +.enketo-plugin select[size] { + height: auto; +} +.enketo-plugin input[type=file]:focus, +.enketo-plugin input[type=radio]:focus, +.enketo-plugin input[type=checkbox]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.enketo-plugin input[type=search] { + -webkit-appearance: none; +} +.enketo-plugin input[type=date] { + line-height: 34px; +} +.enketo-plugin input[type=radio][disabled], fieldset[disabled] .enketo-plugin input[type=radio], +.enketo-plugin input[type=checkbox][disabled], +fieldset[disabled] .enketo-plugin input[type=checkbox] { + cursor: not-allowed; +} +.enketo-plugin .option-wrapper { + line-height: 20px; +} +.enketo-plugin .question input[type=radio] { + appearance: none; + -moz-appearance: none; + -webkit-appearance: none; + -ms-appearance: none; + display: inline-block; + width: 20px; + height: 20px; + margin-right: 10px; + margin-bottom: 0; + margin-top: 0; + border-width: 3px; + border-style: solid; + border-radius: 0; + background-color: transparent; + border-color: #cccccc; + border-radius: 10px; +} +.enketo-plugin .question input[type=radio]:disabled, .enketo-plugin .question input[type=radio][readonly] { + border-color: #d9d9d9; +} +.enketo-plugin .question input[type=radio]:focus { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question input[type=radio]:checked { + border-color: #0092d3; + background-image: radial-gradient(4px, #0092d3 0%, #0092d3 99%, transparent 100%); +} +.enketo-plugin .question input[type=radio]:checked:focus { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question input[type=checkbox] { + appearance: none; + -moz-appearance: none; + -webkit-appearance: none; + -ms-appearance: none; + display: inline-block; + width: 20px; + height: 20px; + margin-right: 10px; + margin-bottom: 0; + margin-top: 0; + border-width: 3px; + border-style: solid; + border-radius: 0; + background-color: transparent; + border-color: #cccccc; +} +.enketo-plugin .question input[type=checkbox]:disabled, .enketo-plugin .question input[type=checkbox][readonly] { + border-color: #d9d9d9; +} +.enketo-plugin .question input[type=checkbox]:focus { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .question input[type=checkbox]:checked { + border-color: #0092d3; + background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20stroke%3D%27%230092d3%27%20fill%3D%27%230092d3%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M25.1%2012.5l-3.4-3.3-8%208-2.9-3-3.4%203.4%206.3%206.3z%27%2F%3E%3C%2Fsvg%3E"); + background-size: 20px 20px; + background-position: -3px; +} +.enketo-plugin .question input[type=checkbox]:checked:focus { + outline: 0; + -webkit-box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: 0 0 0 1px #66afe9, 0 0 8px rgba(102, 175, 233, 0.6); +} +.enketo-plugin .touch .question.simple-select .option-wrapper .option-label { + margin-left: 35px; +} +.enketo-plugin .or[dir=rtl] .question input[type=checkbox], +.enketo-plugin .or[dir=rtl] .question input[type=radio], +.enketo-plugin [dir=rtl] .form-footer .question input[type=checkbox], +.enketo-plugin [dir=rtl] .form-footer .question input[type=radio] { + margin-right: 0; + margin-left: 10px; +} +.enketo-plugin .or-appearance-likert .option-wrapper > label .option-label { + margin-top: -11.5px; +} +.enketo-plugin .or-appearance-analog-scale .slider-vertical .slider-handle { + margin-left: -4px; +} +.enketo-plugin .or-appearance-analog-scale .slider-horizontal .slider-handle { + margin-top: -3px; +} +.enketo-plugin .or-group { + border-top: none; +} +.enketo-plugin .form-header { + max-height: 50px; +} +.enketo-plugin .question.non-select { + display: inline-block; +} +.enketo-plugin .question input[name$=Start_date], +.enketo-plugin .question input[name$=Start_time], +.enketo-plugin .question input[name$=End_date], +.enketo-plugin .question input[name$=End_time] { + width: calc(40vw - 10px); + margin-right: 5px; + display: flex; +} + +/*# sourceMappingURL=enketoStyles.css.map */ diff --git a/www/js/survey/enketo/enketoStyles.css.map b/www/js/survey/enketo/enketoStyles.css.map new file mode 100644 index 000000000..95ecfb5b9 --- /dev/null +++ b/www/js/survey/enketo/enketoStyles.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["enketoStyles.scss","../../../../node_modules/enketo-core/src/sass/formhub/_mixins.scss","../../../../node_modules/enketo-core/src/sass/core/_main.scss","../../../../node_modules/enketo-core/src/widget/range/range-widget.scss","../../../../node_modules/enketo-core/src/widget/select-autocomplete/jquery.relevant-dropdown.scss","../../../../node_modules/enketo-core/src/widget/geo/geopicker.scss","../../../../node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css","../../../../node_modules/enketo-core/src/widget/date/datepicker-extended.scss","../../../../node_modules/enketo-core/src/widget/time/timepicker.scss","../../../../node_modules/enketo-core/src/widget/draw/draw-widget.scss","../../../../node_modules/enketo-core/src/sass/formhub/_form-controls.scss","../../../../node_modules/enketo-core/src/sass/core/_reset.scss","../../../../node_modules/enketo-core/src/sass/core/_mixins.scss","../../../../node_modules/enketo-core/src/sass/formhub/_variables.scss","../../../../node_modules/enketo-core/src/sass/core/_variables.scss","../../../../node_modules/enketo-core/src/sass/core/_utilities.scss","../../../../node_modules/enketo-core/src/sass/core/_icons.scss","../../../../node_modules/enketo-core/src/sass/core/_layout.scss","../../../../node_modules/enketo-core/src/sass/core/_buttons.scss","../../../../node_modules/enketo-core/src/sass/core/_pages.scss","../../../../node_modules/enketo-core/src/widget/select-desktop/selectpicker.scss","../../../../node_modules/enketo-core/src/widget/select-mobile/selectpicker.scss","../../../../node_modules/enketo-core/src/widget/select-autocomplete/autocomplete.scss","../../../../node_modules/enketo-core/src/widget/table/tablewidget.scss","../../../../node_modules/enketo-core/src/widget/time/timepicker-extended.scss","../../../../node_modules/enketo-core/src/widget/datetime/datetimepicker-extended.scss","../../../../node_modules/enketo-core/src/widget/file/filepicker.scss","../../../../node_modules/enketo-core/src/widget/select-likert/likertitem.scss","../../../../node_modules/enketo-core/src/widget/columns/columns.scss","../../../../node_modules/enketo-core/src/widget/analog-scale/analog-scalepicker.scss","../../../../node_modules/enketo-core/src/widget/big-image/image-viewer.scss","../../../../node_modules/enketo-core/src/widget/comment/commentwidget.scss","../../../../node_modules/enketo-core/src/widget/image-map/image-map.scss","../../../../node_modules/enketo-core/src/widget/rank/rank-widget.scss","../../../../node_modules/enketo-core/src/widget/url/url-widget.scss","../../../../node_modules/enketo-core/src/widget/rating/rating.scss","../../../../node_modules/enketo-core/src/sass/core/_responsive.scss","../../../../node_modules/enketo-core/src/sass/core/_dropdown.scss","../../../../node_modules/enketo-core/src/sass/formhub/_radiocheck.scss","../../../../node_modules/enketo-core/src/sass/formhub/_widgets.scss","../../../../node_modules/enketo-core/src/sass/formhub/_main.scss"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAMA;AACA;AACA;ACRA;AAoCA;AClCA;AAmEA;AC2LA;AChQA;AAAA;AAAA;AAAA;AAAA;ACqrBA;AA8BA;AAMA;AAaA;AAEA;AAqDA;AAqDA;AA0DA;AA+CA;AA6BA;AAkBA;AAoBA;AAMA;AAgEA;AAaA;AA8DA;AAMA;AAwEA;AAuGA;AAOA;AAEA;AAkCA;AC/2CA;AAAA;AAAA;AAAA;AAAA;ACEA;ACFA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoJA;ACpJA;AAAA;AAAA;AAAA;AC+DA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EVlDE;EACA;;AWdF;EC+DI,oBD9DoB;EC+DpB,iBD/DoB;ECgEpB,YDhEoB;;AAGxB;AAAA;EC2DI,oBDzDoB;EC0DpB,iBD1DoB;EC2DpB,YD3DoB;;AAGxB;EACI;EACA;;AAGJ;ECbI;EACA;EACA;EDcA,WEfa;EFgBb,aGTe;EHUf,OGOQ;EHNR,kBGWM;;AHRV;AAAA;AAAA;AAAA;EAII;EACA;EACA;;AAGJ;EACI,OXtBoB;;AWwBpB;EAEI,OGwBW;;AHrBf;ECqCA;EACA;EACA;;ADlCJ;EACI;;AAGJ;EACI;;AAGJ;EACI,YG5CmB;EH6CnB,eG7CmB;EH8CnB;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI,WE/Ea;;AFkFjB;E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ErCxCJ,cYLuB;EZMvB;EAGA;EACA;;AAkEA;EAfA;EWbA,oBXeA;EWdA,YXcA;;AqCPI;EAEI;;AASJ;AAAA;AAAA;AAAA;EAEI;EACA;;AAQJ;EACI;;ACtFJ;EACI;;AAIJ;EACI;;ACLZ;EACI;;AxCWF;EACE;;AAEF;EACE;;AAEF;AAAA;AAAA;AAAA;EAIE;EACA;EACA","file":"enketoStyles.css"} \ No newline at end of file diff --git a/www/css/style.scss b/www/js/survey/enketo/enketoStyles.scss similarity index 69% rename from www/css/style.scss rename to www/js/survey/enketo/enketoStyles.scss index e2172a632..a103a1933 100644 --- a/www/css/style.scss +++ b/www/js/survey/enketo/enketoStyles.scss @@ -1,11 +1,8 @@ -/* This file is in Sassy CSS (SCSS) because Enketo uses SCSS and we want to extend on their styles. - Webpack will just compile this to plain CSS anyway */ - -@import 'leaflet/dist/leaflet.css'; - -html { - font-family: 'OpenSans', Arial, sans-serif; -} +/* + If you make changes to these styles, run: + npx sass www/js/survey/enketo/enketoStyles.scss www/js/survey/enketo/enketoStyles.css + to regenerate the CSS file (used by EnketoModal). +*/ /* Scoped styles for Enketo */ /* if we don't contain them here, they will leak into the rest of the app */ @@ -13,8 +10,12 @@ html { // Enketo's default theme uses orange; we can override with our own blue $primary: #0080b9; // matches 'primary' in appTheme.ts $brand-primary-color: darken($primary, 5%); // make it a bit darker for legibility in Enketo UI - @import 'enketo-core/src/sass/formhub/formhub.scss'; + @import '../../../../node_modules/enketo-core/src/sass/formhub/formhub.scss'; flex: 1; + font-family: 'OpenSans', Arial, sans-serif; + .form-header { + max-height: 50px; + } .question.non-select { display: inline-block; } @@ -27,7 +28,3 @@ html { display: flex; } } - -.enketo-plugin .form-header { - max-height: 50px; -} From 714da6c0ac6fb9fef2131d5be02e4cd751919d52 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 18:40:02 -0400 Subject: [PATCH 04/14] use directly imported JSON files for local demo surveys Two versions of the demographics surveys are kept locally in e-mission-phone import them using ES import syntax instead of using fetch() --- www/js/survey/enketo/enketoHelper.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/www/js/survey/enketo/enketoHelper.ts b/www/js/survey/enketo/enketoHelper.ts index 48c2b3509..7ab6df5d4 100644 --- a/www/js/survey/enketo/enketoHelper.ts +++ b/www/js/survey/enketo/enketoHelper.ts @@ -8,6 +8,8 @@ import { getConfig } from '../../config/dynamicConfig'; import { DateTime } from 'luxon'; import { fetchUrlCached } from '../../services/commHelper'; import { getUnifiedDataForInterval } from '../../services/unifiedDataLoader'; +import demoSurveyV2 from '../../../json/demo-survey-v2.json'; +import demoSurveyShortV1 from '../../../json/demo-survey-short-v1.json'; import { AppConfig, EnketoSurveyConfig, SurveyButtonConfig } from '../../types/appConfigTypes'; import { CompositeTrip, @@ -339,8 +341,13 @@ export function resolveSurveyButtonConfig( return buttonConfig instanceof Array ? buttonConfig : [buttonConfig]; } -export async function fetchSurvey(url: string) { - const responseText = await fetchUrlCached(url); +export async function fetchSurvey(formPath: string) { + if (formPath == 'json/demo-survey-v2.json') { + return demoSurveyV2; + } else if (formPath == 'json/demo-survey-short-v1.json') { + return demoSurveyShortV1; + } + const responseText = await fetchUrlCached(formPath); if (!responseText) return; try { return JSON.parse(responseText); From 06a369291c4313d3d89ffcf542f2677345b4cc65 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 18:47:30 -0400 Subject: [PATCH 05/14] add expo to the project MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New configuration for the repo– when using package.expo.json, we can serve the code as an expo web app I created a setup_expo script, similar to the other setup_* scripts to enable package.expo.json. Since the 'expo' configuration does not have a config.xml file, I modified configure_xml_and_json.js to ignore the xml file if it is not present --- app.json | 16 ++++++++++ bin/configure_xml_and_json.js | 16 +++++----- package.expo.json | 58 +++++++++++++++++++++++++++++++++++ setup/setup_expo.sh | 11 +++++++ 4 files changed, 94 insertions(+), 7 deletions(-) create mode 100644 app.json create mode 100644 package.expo.json create mode 100644 setup/setup_expo.sh diff --git a/app.json b/app.json new file mode 100644 index 000000000..1690c4283 --- /dev/null +++ b/app.json @@ -0,0 +1,16 @@ +{ + "expo": { + "entryPoint": "./www/js/App.tsx", + "ios": { + "bundleIdentifier": "edu.berkeley.eecs.emission" + }, + "android": { + "package": "edu.berkeley.eecs.emission" + }, + "splash": { + "image": "./resources/splash.png", + "backgroundColor": "#EEEEEE" + }, + "icon": "./resources/icon.png" + } +} diff --git a/bin/configure_xml_and_json.js b/bin/configure_xml_and_json.js index f4920dced..5409e87bd 100755 --- a/bin/configure_xml_and_json.js +++ b/bin/configure_xml_and_json.js @@ -3,13 +3,15 @@ const fs = require('fs'); var copyInlinedFiles = function(inlineString) { - var selConfigXml = "config."+inlineString+".xml"; - var selPkgJson = "package."+inlineString+".json"; - fs.copyFileSync(selConfigXml, "config.xml"); - fs.copyFileSync(selPkgJson, "package.json"); - - console.log("Copied "+selConfigXml+" -> config.xml and "+ - selPkgJson + " -> package.json"); + [['config', 'xml'], ['package', 'json']].forEach(([prefix, ext]) => { + const selFile = prefix+"."+inlineString+"."+ext; + if (fs.existsSync(selFile)) { + fs.copyFileSync(selFile, prefix+"."+ext); + console.log("Copied "+selFile+" -> "+prefix+"."+ext); + } else { + console.log("File "+selFile+" does not exist, skipping"); + } + }); } if (process.argv.length != 3) { diff --git a/package.expo.json b/package.expo.json new file mode 100644 index 000000000..805ca2824 --- /dev/null +++ b/package.expo.json @@ -0,0 +1,58 @@ +{ + "name": "edu.berkeley.eecs.emission", + "version": "2.5.0", + "displayName": "emission", + "license": "BSD-3-Clause", + "repository": { + "type": "git", + "url": "git+https://github.com/e-mission/e-mission-phone.git" + }, + "main": "www/js/App.tsx", + "scripts": { + "start": "expo start --localhost" + }, + "dependencies": { + "@expo/metro-runtime": "~3.1.3", + "@messageformat/core": "^3.2.0", + "@react-navigation/native": "^6.1.7", + "@react-navigation/stack": "^6.3.17", + "@shopify/flash-list": "^1.7.1", + "@types/react": "~18.2.45", + "@types/jest": "^29.5.5", + "@types/leaflet": "^1.9.4", + "bottleneck": "^2.19.5", + "chart.js": "^4.3.0", + "chartjs-adapter-luxon": "^1.3.1", + "chartjs-plugin-annotation": "^3.0.1", + "e-mission-common": "github:JGreenlee/e-mission-common#semver:0.5.4", + "enketo-core": "^6.1.7", + "enketo-transformer": "^4.0.0", + "fast-xml-parser": "^4.2.2", + "expo": "~50.0.8", + "expo-dev-client": "~3.3.9", + "expo-device": "^6.0.2", + "expo-status-bar": "~1.11.1", + "humanize-duration": "^3.31.0", + "i18next": "^23.7.6", + "leaflet": "^1.9.4", + "luxon": "^3.3.0", + "react": "~18.2.0", + "react-chartjs-2": "^5.2.0", + "react-dom": "~18.2.0", + "react-i18next": "^13.5.0", + "react-native": "0.73.4", + "react-native-html-parser": "^0.1.0", + "react-native-paper": "^5.12.3", + "react-native-paper-dates": "^0.18.12", + "react-native-safe-area-context": "^4.6.3", + "react-native-svg": "14.1.0", + "react-native-vector-icons": "^9.2.0", + "react-native-web": "^0.19.10", + "react-qr-code": "^2.0.11", + "typescript": "^5.3.0" + }, + "devDependencies": { + "@babel/core": "^7.20.0", + "sass": "^1.71.1" + } +} \ No newline at end of file diff --git a/setup/setup_expo.sh b/setup/setup_expo.sh new file mode 100644 index 000000000..d9e205f73 --- /dev/null +++ b/setup/setup_expo.sh @@ -0,0 +1,11 @@ +# error out if any command fails +set -e + +# Setup the development environment +source setup/setup_shared.sh + +echo "Configuring the repo for UI development" +./bin/configure_xml_and_json.js expo + +echo "Setting up all npm packages" +npm install From d806962f78050021b44935304b3c57e7bd4935d4 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 18:49:56 -0400 Subject: [PATCH 06/14] add metro.config.js to ignore libxslt Metro is like the React Rative ecosystem's version of webpack. Just like we tell webpack to ignore libxslt in webpack.config.js, we must also tell Metro to ignore it in metro.config.js --- metro.config.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 metro.config.js diff --git a/metro.config.js b/metro.config.js new file mode 100644 index 000000000..5899869f3 --- /dev/null +++ b/metro.config.js @@ -0,0 +1,22 @@ +const { getDefaultConfig } = require('expo/metro-config'); + +/** @type {import('expo/metro-config').MetroConfig} */ +const config = getDefaultConfig(__dirname); + +config.resolver = { + ...config.resolver, + unstable_enablePackageExports: true, + resolveRequest: (context, moduleName, platform) => { + /* enketo-transformer has 'libxslt' as an optional peer dependency. + We don't need it since we are only doing client-side transformations via + enketo-transformer/web (https://github.com/enketo/enketo-transformer#web). + So, we can tell metro it's ok to ignore libxslt by aliasing it to false. */ + if (moduleName == 'libxslt') { + return { type: 'empty' }; + } + // Optionally, chain to the standard Metro resolver. + return context.resolveRequest(context, moduleName, platform); + } +}; + +module.exports = config; \ No newline at end of file From 407f31ba43ee4543258d64bfbec206a852111184 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 19:01:12 -0400 Subject: [PATCH 07/14] add expo/cordova compatibility layer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The entry point for the Cordova app is index.js, which uses react-native-web to createRoot on the #appRoot element of index.html The entry point for an Expo app will be App.tsx (defined in app.json) As such, a few things need to be moved around – index.js should have nothing except the createRoot business, and App.tsx should contain everything needed for the app including Providers, SafeAreaView wrapper, etc. To account for Cordova plugins not being available, we can leverage the mocks we have been using for testing; they are basically just minimal JS versions of the plugins (ie using localStorage instead of native DB storage, fetch instead of the ServerCommunication plugin, etc). We'll apply these mocks (in expoCompat.ts) if we detect that we are running in Expo web --- www/index.js | 28 +--------------------------- www/js/App.tsx | 40 ++++++++++++++++++++++++++-------------- www/js/expoCompat.ts | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+), 41 deletions(-) create mode 100644 www/js/expoCompat.ts diff --git a/www/index.js b/www/index.js index cd4757f3f..99dafd5cc 100644 --- a/www/index.js +++ b/www/index.js @@ -1,16 +1,6 @@ import React from 'react'; import { createRoot } from 'react-dom/client'; -import { Provider as PaperProvider } from 'react-native-paper'; - -import './css/style.scss'; -import 'chartjs-adapter-luxon'; - -import initializedI18next from './js/i18nextInit'; -window.i18next = initializedI18next; - import App from './js/App'; -import { getTheme } from './js/appTheme'; -import { SafeAreaView } from 'react-native-safe-area-context'; import { logDebug } from './js/plugin/logger'; export const deviceReady = new Promise((resolve) => { @@ -30,21 +20,5 @@ deviceReady.then(() => { const rootEl = document.getElementById('appRoot'); const reactRoot = createRoot(rootEl); - const theme = getTheme(); - - reactRoot.render( - - - - - - , - ); + reactRoot.render(); }); diff --git a/www/js/App.tsx b/www/js/App.tsx index 0d45ebeca..6f54993ec 100644 --- a/www/js/App.tsx +++ b/www/js/App.tsx @@ -1,5 +1,7 @@ import React, { useEffect, useState, createContext } from 'react'; -import { ActivityIndicator } from 'react-native-paper'; +import { registerRootComponent } from 'expo'; +import { SafeAreaView } from 'react-native-safe-area-context'; +import { PaperProvider, ActivityIndicator } from 'react-native-paper'; import useAppConfig from './useAppConfig'; import OnboardingStack from './onboarding/OnboardingStack'; import { @@ -17,6 +19,13 @@ import { getUserCustomLabels } from './services/commHelper'; import { initCustomDatasetHelper } from './metrics/customMetricsHelper'; import AlertBar from './components/AlertBar'; import Main from './Main'; +import { getTheme } from './appTheme'; + +import initializedI18next from '../js/i18nextInit'; +window['i18next'] = initializedI18next; + +import { setupExpoCompat, IS_EXPO } from './expoCompat'; +setupExpoCompat(); export const AppContext = createContext({}); const CUSTOM_LABEL_KEYS_IN_DATABASE = ['mode', 'purpose']; @@ -24,6 +33,8 @@ type CustomLabelMap = { [k: string]: string[]; }; +const theme = getTheme(); + const App = () => { // will remain null while the onboarding state is still being determined const [onboardingState, setOnboardingState] = useState(null); @@ -72,21 +83,22 @@ const App = () => { // if there is an onboarding route that is not DONE, show the onboarding stack appContent = ; } - return ( - <> - - {appContent} + + + + {appContent} - {/* If we are fully consented, (route > PROTOCOL), the permissions popup can show if needed. - This also includes if onboarding is DONE altogether (because "DONE" is > "PROTOCOL") */} - {onboardingState && onboardingState.route > OnboardingRoute.PROTOCOL && ( - - )} - - - + {/* If we are fully consented, (route > PROTOCOL), the permissions popup can show if needed. + This also includes if onboarding is DONE altogether (because "DONE" is > "PROTOCOL") */} + {onboardingState && onboardingState.route > OnboardingRoute.PROTOCOL && ( + + )} + + + + ); }; -export default App; +export default IS_EXPO ? registerRootComponent(App) : App; diff --git a/www/js/expoCompat.ts b/www/js/expoCompat.ts new file mode 100644 index 000000000..3e386f73d --- /dev/null +++ b/www/js/expoCompat.ts @@ -0,0 +1,32 @@ +import { Platform } from 'react-native'; +import { osName, osVersion } from 'expo-device'; +import { DOMParser } from 'react-native-html-parser'; +import { mockLogger } from '../__mocks__/globalMocks'; +import { + mockBEMDataCollection, + mockBEMServerCom, + mockBEMUserCache, + mockDevice, + mockGetAppVersion, +} from '../__mocks__/cordovaMocks'; + +// osName is only defined in Expo environments; false in Cordova +export const IS_EXPO = osName != undefined; + +export function setupExpoCompat() { + if (IS_EXPO) { + // fill in a few browser APIs that are missing in the Expo environment + global.DOMParser = DOMParser; + + // now we need to handle the cordova plugins + if (Platform.OS == 'web') { + // if on Expo Web, use mocks for the plugins to enable testing in the browser + mockLogger(); + mockDevice(); + mockGetAppVersion(); + mockBEMUserCache(); + mockBEMServerCom(); + mockBEMDataCollection(); + } + } +} From 08e39b2ef6a033e64d4ac186e6f6a75f4561eb1b Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 19:05:52 -0400 Subject: [PATCH 08/14] add .expo/ to .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 7fcb2964d..be9caacee 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ www/dist/ config.xml package.json coverage/ + +.expo/ \ No newline at end of file From cc56592c579a9fef50c22bdd9430eb9ef2107115 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 19:51:58 -0400 Subject: [PATCH 09/14] more expo compatibility shims useAppConfig cordova has a 'deviceready' event that we listen for before we can retrieve the config. Expo does not have this event, so we need to check IS_EXPO and only await if IS_EXPO is false usePermissionStatus We will not be needing any permission-enabled functionality on the Expo web version. We can add a usePermissionStatus.web.ts that will automatically be used in place of usePermissionStatus.ts for Expo web, and it has an empty `checkList` so no permissions will be requested. pushNotifySettings Similarly, we do not need push notifications on the web version, so we will export a function that does nothing from pushNotifySettings.web.ts --- www/js/splash/pushNotifySettings.web.ts | 5 +++++ www/js/useAppConfig.ts | 18 ++++++++++++++---- www/js/usePermissionStatus.web.ts | 14 ++++++++++++++ 3 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 www/js/splash/pushNotifySettings.web.ts create mode 100644 www/js/usePermissionStatus.web.ts diff --git a/www/js/splash/pushNotifySettings.web.ts b/www/js/splash/pushNotifySettings.web.ts new file mode 100644 index 000000000..d03e96ca5 --- /dev/null +++ b/www/js/splash/pushNotifySettings.web.ts @@ -0,0 +1,5 @@ +import { logDebug } from '../plugin/logger'; + +export async function initPushNotify() { + logDebug('On Expo web, skipping push notify initialization'); +} diff --git a/www/js/useAppConfig.ts b/www/js/useAppConfig.ts index baeb41358..f42d496ac 100644 --- a/www/js/useAppConfig.ts +++ b/www/js/useAppConfig.ts @@ -2,20 +2,30 @@ import { useEffect, useState } from 'react'; import { configChanged, getConfig, setConfigChanged } from './config/dynamicConfig'; import { logDebug } from './plugin/logger'; import { AppConfig } from './types/appConfigTypes'; +import { IS_EXPO } from './expoCompat'; /* For Cordova, 'deviceready' means that Cordova plugins are loaded and ready to access. https://cordova.apache.org/docs/en/5.0.0/cordova/events/events.deviceready.html We wrap this event in a promise and await it before attempting to update the config, since loading the config requires accessing native storage through plugins. */ -const deviceReady = new Promise((resolve) => { - document.addEventListener('deviceready', resolve); -}); +let deviceReady; +console.debug('IS_EXPO: ' + IS_EXPO); +if (!IS_EXPO) { + deviceReady = new Promise((resolve) => { + document.addEventListener('deviceready', resolve); + }); +} const useAppConfig = () => { const [appConfig, setAppConfig] = useState(null as any); useEffect(() => { - deviceReady.then(updateConfig); + if (deviceReady) { + // if using Cordova (not Expo), wait for the 'deviceready' event before accessing config + deviceReady.then(updateConfig); + } else { + updateConfig(); + } }, []); function updateConfig() { diff --git a/www/js/usePermissionStatus.web.ts b/www/js/usePermissionStatus.web.ts new file mode 100644 index 000000000..ba248b103 --- /dev/null +++ b/www/js/usePermissionStatus.web.ts @@ -0,0 +1,14 @@ +// on Web there are no permissions needed - return obj with overallStatus true and rest blank/ empty + +const usePermissionStatus = () => { + return { + checkList: [], + overallStatus: true, + error: '', + errorVis: false, + setErrorVis: () => {}, + explanationList: [], + }; +}; + +export default usePermissionStatus; From 6edac7f0986925cd24623023e7eabbac11e3369f Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 19:52:57 -0400 Subject: [PATCH 10/14] add the MaterialCommunityIcons font back to index.js Expo includes this font by default, but we do still need to include it in index.js for the Cordova configuration or the icons become blank --- www/index.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/www/index.js b/www/index.js index 99dafd5cc..5c9c21514 100644 --- a/www/index.js +++ b/www/index.js @@ -20,5 +20,15 @@ deviceReady.then(() => { const rootEl = document.getElementById('appRoot'); const reactRoot = createRoot(rootEl); - reactRoot.render(); + reactRoot.render(<> + + + ); }); From 3f463ed57763ea6907efb6c04d8ac773a9cf6643 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 19:53:19 -0400 Subject: [PATCH 11/14] webpack: ignore more expo packages --- webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index c31184a01..9313c9aec 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -12,7 +12,7 @@ module.exports = { // to load CSS and SCSS (enketo-core only supplies SCSS) { test: /\.(scss|css)$/, - include: [path.resolve(__dirname, 'www/css'), + include: [path.resolve(__dirname, 'www'), path.resolve(__dirname, 'node_modules/enketo-core'), path.resolve(__dirname, 'node_modules/leaflet')], use: ['style-loader', 'css-loader', 'sass-loader'], @@ -81,6 +81,9 @@ module.exports = { enketo-transformer/web (https://github.com/enketo/enketo-transformer#web). So, we can tell webpack it's ok to ignore libxslt by aliasing it to false. */ 'libxslt': false, + 'expo': false, + 'expo-device': false, + 'react-native-html-parser': false, }, extensions: ['.web.js', '.jsx', '.tsx', '.ts', '.js'], }, From 8f4e30d3b811dd414716cd94960f01709c2550f4 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 20:22:56 -0400 Subject: [PATCH 12/14] expand mocks --- www/__mocks__/cordovaMocks.ts | 144 ++++++++++++++++++++++++---------- www/__mocks__/globalMocks.ts | 10 ++- 2 files changed, 108 insertions(+), 46 deletions(-) diff --git a/www/__mocks__/cordovaMocks.ts b/www/__mocks__/cordovaMocks.ts index eac078058..64b594366 100644 --- a/www/__mocks__/cordovaMocks.ts +++ b/www/__mocks__/cordovaMocks.ts @@ -1,4 +1,7 @@ +import { Platform } from 'react-native'; import packageJsonBuild from '../../package.cordovabuild.json'; +import { getConfig } from '../js/config/dynamicConfig'; +import { displayErrorMsg } from '../js/plugin/logger'; export const mockCordova = () => { window['cordova'] ||= {}; @@ -42,26 +45,24 @@ export const mockFile = () => { }; }; -//for consent document -const _storage = {}; - type MessageData = any; type Message = { key: string; data: MessageData; metadata: { write_ts: number; [k: string]: any } }; -export const mockBEMUserCache = (config?) => { - const _cache = {}; +export const mockBEMUserCache = () => { const messages: Message[] = []; const mockBEMUserCache = { getLocalStorage: (key: string, isSecure: boolean) => { return new Promise((rs, rj) => setTimeout(() => { - rs(_cache[key]); + const stored = localStorage.getItem('usercache_' + key); + if (stored) rs(JSON.parse(stored)); + else rs(null); }, 100), ); }, putLocalStorage: (key: string, value: any) => { return new Promise((rs, rj) => setTimeout(() => { - _cache[key] = value; + localStorage.setItem('usercache_' + key, JSON.stringify(value)); rs(); }, 100), ); @@ -69,7 +70,7 @@ export const mockBEMUserCache = (config?) => { removeLocalStorage: (key: string) => { return new Promise((rs, rj) => setTimeout(() => { - delete _cache[key]; + localStorage.removeItem('usercache_' + key); rs(); }, 100), ); @@ -77,8 +78,7 @@ export const mockBEMUserCache = (config?) => { clearAll: () => { return new Promise((rs, rj) => setTimeout(() => { - for (let p in _cache) delete _cache[p]; - for (let doc in _storage) delete _storage[doc]; + localStorage.clear(); rs(); }, 100), ); @@ -86,14 +86,14 @@ export const mockBEMUserCache = (config?) => { listAllLocalStorageKeys: () => { return new Promise((rs, rj) => setTimeout(() => { - rs(Object.keys(_cache)); + rs(Object.keys(localStorage)); }, 100), ); }, listAllUniqueKeys: () => { return new Promise((rs, rj) => setTimeout(() => { - rs(Object.keys(_cache)); + rs(Object.keys(localStorage)); }, 100), ); }, @@ -133,28 +133,20 @@ export const mockBEMUserCache = (config?) => { if (key == 'config/app_ui_config') { return new Promise((rs, rj) => setTimeout(() => { - config = value; + localStorage.setItem('config/app_ui_config', JSON.stringify(value)); rs(); }, 100), ); } }, getDocument: (key: string, withMetadata?: boolean) => { - //returns the config provided as a paramenter to this mock! - if (key == 'config/app_ui_config') { - return new Promise((rs, rj) => - setTimeout(() => { - if (config) rs(config); - else rs({}); // return empty object if config is not set - }, 100), - ); - } else { - return new Promise((rs, rj) => - setTimeout(() => { - rs(_storage[key]); - }, 100), - ); - } + return new Promise((rs, rj) => + setTimeout(() => { + const stored = localStorage.getItem('config/app_ui_config'); + if (stored) rs(JSON.parse(stored)); + else rs({}); + }, 100), + ); }, isEmptyDoc: (doc) => { if (doc == undefined) { @@ -190,9 +182,12 @@ export const mockBEMUserCache = (config?) => { export const mockBEMDataCollection = () => { const mockBEMDataCollection = { markConsented: (consentDoc) => { - setTimeout(() => { - _storage['config/consent'] = consentDoc; - }, 100); + return new Promise((rs, rj) => + setTimeout(() => { + localStorage.setItem('config/consent', JSON.stringify(consentDoc)); + rs(); + }, 100), + ); }, getConfig: () => { return new Promise((rs, rj) => { @@ -213,20 +208,83 @@ export const mockBEMDataCollection = () => { window['cordova'].plugins.BEMDataCollection = mockBEMDataCollection; }; +const mockBEMConnectionSettings = () => { + let _connectionSettings = {}; + const mockBEMConnectionSettings = { + getSettings: (key: string) => Promise.resolve(_connectionSettings), + getDefaultSettings: () => + Promise.resolve({ + [Platform.OS.toLowerCase()]: { + auth: { + method: 'dummy-dev', + }, + }, + connectUrl: 'http://localhost:8080', + }), + setSettings: (settings: any) => Promise.resolve((_connectionSettings = settings)), + }; + window['cordova'] ||= {}; + window['cordova'].plugins ||= {}; + window['cordova'].plugins.BEMConnectionSettings = mockBEMConnectionSettings; +}; + export const mockBEMServerCom = () => { + mockBEMConnectionSettings(); + + const pushGetJSON = async (relativeUrl: string, msgFiller, successCallback, errorCallback) => { + const filledJsonObject = {}; + msgFiller(filledJsonObject); + + const savedConfig = await getConfig(); + const opcode = savedConfig?.['joined'].opcode; + if (!opcode) { + displayErrorMsg('No user opcode found'); + return; + } + filledJsonObject['user'] = opcode; + const { connectUrl } = await window['cordova'].plugins.BEMConnectionSettings.getSettings(); + const fullUrl = connectUrl + relativeUrl; + + console.debug('mockBEMServerCom', fullUrl, filledJsonObject); + console.debug('filledJsonObject', filledJsonObject); + + const options = { + method: 'post', + headers: { + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + body: JSON.stringify(filledJsonObject), + } as RequestInit; + const response = await fetch(fullUrl, options); + if (response.status === 200) { + const json = await response.json(); + successCallback(json); + } else { + const e = new Error(`Failed to get JSON object, status ${response.status}`); + errorCallback(e); + } + }; const mockBEMServerCom = { - postUserPersonalData: (actionString, typeString, updateDoc, rs, rj) => { - setTimeout(() => { - console.log('set in mock', updateDoc); - _storage['user_data'] = updateDoc; - rs(); - }, 100); - }, - - getUserPersonalData: (actionString, rs, rj) => { - setTimeout(() => { - rs(_storage['user_data']); - }, 100); + pushGetJSON, + postUserPersonalData: ( + relativeUrl, + objectLabel, + objectJSON, + successCallback, + errorCallback, + ) => { + const msgFiller = (message) => { + message[objectLabel] = objectJSON; + }; + pushGetJSON(relativeUrl, msgFiller, successCallback, errorCallback); + }, + + getUserPersonalData: function (relativeUrl, successCallback, errorCallback) { + const msgFiller = (message) => { + // nop. we don't really send any data for what are effectively get calls + }; + pushGetJSON(relativeUrl, msgFiller, successCallback, errorCallback); }, }; window['cordova'] ||= {}; diff --git a/www/__mocks__/globalMocks.ts b/www/__mocks__/globalMocks.ts index 4d591f55f..d403a41a9 100644 --- a/www/__mocks__/globalMocks.ts +++ b/www/__mocks__/globalMocks.ts @@ -1,9 +1,13 @@ export const mockLogger = () => { - window['Logger'] = { log: console.log }; - window.alert = (msg) => { + window['Logger'] = { + log: console.log, + getMaxIndex: () => 0, // mock + getMessagesFromIndex: () => [], // mock + }; + window.alert ||= (msg) => { console.log(msg); }; - console.error = (msg) => { + console.error ||= (msg) => { console.log(msg); }; }; From a5f6ce068d30f704858a5a2cdf7fed6f84811e78 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 20:23:07 -0400 Subject: [PATCH 13/14] tsconfig formatting --- tsconfig.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index d7181b706..0640f3597 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,8 +11,16 @@ "jsx": "react", "allowJs": true, "moduleResolution": "node", - "typeRoots": ["node_modules/@types", "www/js/types"], + "typeRoots": [ + "node_modules/@types", + "www/js/types" + ] }, - "include": ["www/**/*"], - "exclude": ["**/node_modules/*", "**/dist/*"], + "include": [ + "www/**/*" + ], + "exclude": [ + "**/node_modules/*", + "**/dist/*" + ] } From 293942804a701ee4731034b3fdd7db2b9361598c Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 27 Aug 2024 21:01:03 -0400 Subject: [PATCH 14/14] fix prettier --- .prettierignore | 3 ++- www/index.js | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.prettierignore b/.prettierignore index 090654d94..23f283e61 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,8 +2,9 @@ www/dist www/json -# Ignore all HTML files: +# Ignore all HTML and CSS files **/*.html +**/*.css # This is the pattern to check only www directory # Ignore all diff --git a/www/index.js b/www/index.js index 5c9c21514..184e57455 100644 --- a/www/index.js +++ b/www/index.js @@ -20,7 +20,8 @@ deviceReady.then(() => { const rootEl = document.getElementById('appRoot'); const reactRoot = createRoot(rootEl); - reactRoot.render(<> + reactRoot.render( + <> - - ); + + , + ); });