summaryrefslogtreecommitdiff
path: root/gnowsys-ndf/gnowsys_ndf/ndf
diff options
context:
space:
mode:
authoradmin <admin@krishna-K55VM.(none)>2015-04-11 20:00:56 +0530
committeradmin <admin@krishna-K55VM.(none)>2015-04-11 20:00:56 +0530
commitc621366abea504423d7bfdc90bd56981df3b09d3 (patch)
tree884487da9ca9d4a5470df0b35fe93dc30d1e8b9a /gnowsys-ndf/gnowsys_ndf/ndf
parentd690228bfc28a1178b4dfd8de540a6e4b69c80d7 (diff)
parentdd897086ce1c2bd82a5d8026fd7b73caf0265fc8 (diff)
downloadgnowsys-c621366abea504423d7bfdc90bd56981df3b09d3.tar.gz
conflicts removed
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf')
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/management/commands/create_schema.py69
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/management/commands/filldb.py34
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/management/commands/nroer_data_entry.py7
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/management/commands/partners_details.py84
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/management/commands/sync_existing_documents.py57
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/management/commands/themes_entry.py45
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/models.py197
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/metastudio/styles.css768
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/nroer/styles.css1070
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/nroer/watermark.pngbin22065 -> 19365 bytes
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/tiss/styles.css9948
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/tiss/watermark.pngbin0 -> 46856 bytes
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_app_styles.scss664
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_metastudio_styles.scss795
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_nroer_styles.scss127
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/nroer/_theme_settings.scss3
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/nroer/styles.scss10
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/tiss/_theme_settings.scss19
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/tiss/styles.scss18
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/base.html15
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/collection_ajax_view.html6
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course.html18
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/create_partner.html216
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/drawer_widget.html33
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/ebook.html63
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/edit_group.html279
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html37
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/gapps_iconbar.html7
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/landing_page_nroer.html50
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/node_ajax_view.html242
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/partner.html134
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/partner_list.html111
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/repository.html81
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html94
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/trainer_create_edit.html306
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/uDashboard.html79
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/registration/registration_form.html12
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templatetags/ndf_tags.py284
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py8
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/urls/e-book.py5
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py2
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/urls/partner.py6
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/ajax_views.py178
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/course.py25
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/e-book.py49
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/e-library.py5
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/event.py8
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/file.py10
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/group.py166
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/imageDashboard.py11
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/methods.py694
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/partner.py179
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/person.py58
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/topics.py4
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/userDashboard.py16
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/videoDashboard.py27
56 files changed, 14331 insertions, 3102 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/create_schema.py b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/create_schema.py
index 022b5ce..0eb3a13 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/create_schema.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/create_schema.py
@@ -1,9 +1,11 @@
''' -- imports from python libraries -- '''
import os
+from sys import exc_info
import csv
import json
import ast
import time
+from itertools import chain
# import mimetypes
''' imports from installed packages '''
@@ -19,7 +21,6 @@ from gnowsys_ndf.ndf.models import DATA_TYPE_CHOICES
from gnowsys_ndf.ndf.models import node_collection, triple_collection
from gnowsys_ndf.ndf.models import Node, GSystemType, AttributeType, RelationType
-
####################################################################################################################
SCHEMA_ROOT = os.path.join( os.path.dirname(__file__), "schema_files" )
@@ -242,8 +243,10 @@ def parse_data_create_gtype(json_file_path):
perform_eval_type("subject_type", json_document, type_name, "GSystemType")
perform_eval_type("object_type", json_document, type_name, "GSystemType")
+ perform_eval_type("member_of", json_document, type_name, "MetaType")
+
except Exception as e:
- error_message = "\n While parsing "+type_name+"(" + json_document['name'] + ") got following error...\n " + str(e)
+ error_message = "\n While parsing "+type_name+"(" + json_document['name'] + ") got following error at line #" + str(exc_info()[-1].tb_lineno) + "...\n " + str(e)
log_list.append(error_message)
print error_message # Keep it!
# continue
@@ -254,7 +257,7 @@ def parse_data_create_gtype(json_file_path):
create_edit_type(type_name, json_document, user_id)
except Exception as e:
- error_message = "\n While creating "+type_name+" ("+json_document['name']+") got following error...\n " + str(e)
+ error_message = "\n While creating "+type_name+" ("+json_document['name']+") got following error at line #" + str(exc_info()[-1].tb_lineno) + "...\n " + str(e)
print error_message # Keep it!
def perform_eval_type(eval_field, json_document, type_to_create, type_convert_objectid):
@@ -268,7 +271,7 @@ def perform_eval_type(eval_field, json_document, type_to_create, type_convert_ob
except Exception as e:
if u"\u201c" in json_document[eval_field]:
json_document[eval_field] = json_document[eval_field].replace(u"\u201c", "\"")
-
+
if u"\u201d" in json_document[eval_field]:
json_document[eval_field] = json_document[eval_field].replace(u"\u201d", "\"")
@@ -288,30 +291,37 @@ def perform_eval_type(eval_field, json_document, type_to_create, type_convert_ob
type_list.append(data)
else:
- node = node_collection.one({'_type': type_convert_objectid, 'name': data})
-
- if node:
- if eval_field == "complex_data_type":
- type_list.append(unicode(node._id))
- elif eval_field in ["attribute_type_set", "relation_type_set"]:
- type_list.append(node)
+ def _append_to_type_list(eval_field, json_document, type_to_create, type_convert_objectid, data, inner_type_list):
+ node = node_collection.one({'_type': type_convert_objectid, 'name': data})
+
+ if node:
+ if eval_field == "complex_data_type":
+ inner_type_list.append(unicode(node._id))
+ elif eval_field in ["attribute_type_set", "relation_type_set"]:
+ inner_type_list.append(node)
+ else:
+ inner_type_list.append(node._id)
+
else:
- type_list.append(node._id)
+ if eval_field == "complex_data_type":
+ type_convert_objectid = "Sub-" + type_convert_objectid
- else:
- if eval_field == "complex_data_type":
- type_convert_objectid = "Sub-" + type_convert_objectid
+ elif eval_field in ["attribute_type_set", "relation_type_set"]:
+ json_document[eval_field] = inner_type_list
+ error_message = "\n "+type_convert_objectid+"Error ("+eval_field+"): This "+type_convert_objectid+" (" + data + ") doesn't exists for creating "+type_to_create+" (" + json_document['name'] + ") !!!\n"
+ log_list.append(error_message)
- elif eval_field in ["attribute_type_set", "relation_type_set"]:
- json_document[eval_field] = type_list
error_message = "\n "+type_convert_objectid+"Error ("+eval_field+"): This "+type_convert_objectid+" (" + data + ") doesn't exists for creating "+type_to_create+" (" + json_document['name'] + ") !!!\n"
log_list.append(error_message)
- continue
-
- error_message = "\n "+type_convert_objectid+"Error ("+eval_field+"): This "+type_convert_objectid+" (" + data + ") doesn't exists for creating "+type_to_create+" (" + json_document['name'] + ") !!!\n"
- log_list.append(error_message)
- raise Exception(error_message)
+ raise Exception(error_message)
+ if type_to_create == "RelationType" and type(data) == list:
+ inner_type_list = []
+ for each in data:
+ _append_to_type_list(eval_field, json_document, type_to_create, type_convert_objectid, each, inner_type_list)
+ type_list.append(inner_type_list)
+ else:
+ _append_to_type_list(eval_field, json_document, type_to_create, type_convert_objectid, data, type_list)
# Sets python-type converted list
json_document[eval_field] = type_list
@@ -354,11 +364,18 @@ def create_edit_type(type_name, json_document, user_id):
try:
for key in json_document.iterkeys():
- if type(node[key]) == list:
- if set(node[key]) != set(json_document[key]):
+ old_data = node[key]
+ new_data = json_document[key]
+ if type(old_data) == list:
+ if len(old_data) and len(new_data):
+ if type(old_data[0]) == list:
+ old_data = list(chain.from_iterable(old_data))
+ new_data = list(chain.from_iterable(new_data))
+
+ if set(old_data) != set(new_data):
# node[key].extend(json_document[key])
# Avoiding extend's use
- # Because despite of whether that value exists or not in the list,
+ # Because despite of whether that value exists or not in the list,
# it adds value to the list
if key == "subject_type" and node['name'] in [u"start_time", u"end_time"]:
@@ -369,7 +386,7 @@ def create_edit_type(type_name, json_document, user_id):
# and this is causing problem
# Instead making empty and refilling new entries as per ATs.csv file,
# Keep existing values and append those of ATS.csv file!
- pass
+ pass
else:
node[key] = []
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/filldb.py b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/filldb.py
index 7ae2125..dc5f451 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/filldb.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/filldb.py
@@ -1,7 +1,7 @@
''' -- imports from python libraries -- '''
import os
import time
-import sys
+from sys import argv, exc_info
import json
from datetime import datetime
@@ -30,7 +30,7 @@ from gnowsys_ndf.factory_type import factory_gsystem_types, factory_attribute_ty
###############################################################################
# Global variables
-filename = sys.argv[-1]
+filename = argv[-1]
f = filename.split("/")
if f[-1] == "ATs.json" or f[-1] == "RTs.json" or f[-1] == "STs.json":
json_file = open(filename)
@@ -197,7 +197,7 @@ class Command(BaseCommand):
glist_container.member_of.append(glist._id)
glist_container.save()
print "\n Eventtype Created."
- collegeevent=node_collection.one({"member_of":ObjectId(glist._id),"name":"CollegeEvents"})
+ collegeevent=node_collection.one({'member_of':ObjectId(glist._id),"name":"CollegeEvents"})
if not collegeevent:
node = node_collection.collection.GSystem()
node.name=u"CollegeEvents"
@@ -206,29 +206,29 @@ class Command(BaseCommand):
node.member_of.append(glist._id)
node.save()
print "\n CollegeEvents Created."
-
- Event=node_collection.find_one({'_type':"GSystemType","name":"Event"})
+
+ Event=node_collection.find_one({'_type':"GSystemType","name":"Event"})
if Event:
All_Event_Types=node_collection.find({"type_of": ObjectId(Event._id)})
Eventtype=node_collection.one({'member_of':ObjectId(glist._id),"name":"Eventtype"})
- CollegeEvents=node_collection.one({"_type":"GSystemType", "name":"CollegeEvents"})
+ CollegeEvents=node_collection.one({'member_of':ObjectId(glist._id), "name":"CollegeEvents"})
Event_type_list=[]
College_type_list=[]
for i in All_Event_Types:
- if (GlistItem._id not in i.member_of):
+ if (GlistItem._id not in i.member_of):
i.member_of.append(GlistItem._id)
i.save()
if i.name not in ['Classroom Session','Exam']:
Event_type_list.append(i._id)
if i.name in ['Classroom Session','Exam']:
College_type_list.append(i._id)
-
+
node_collection.collection.update({'_id': ObjectId(Eventtype._id)}, {'$set': {'collection_set': Event_type_list}}, upsert=False, multi=False)
-
+
node_collection.collection.update({'_id': ObjectId(CollegeEvents._id)}, {'$set': {'collection_set': College_type_list}}, upsert=False, multi=False)
-
+
#End of adding Event Types and CollegeEvents
-
+
# Creating GSystem(s) of GList for GSTUDIO_TASK_TYPES
# Divided in two parts:
# 1) Creating Types as GList nodes from GSTUDIO_TASK_TYPES
@@ -285,7 +285,7 @@ class Command(BaseCommand):
else:
print " GList ("+glc_node_name+") container already created !"
info_message += "\n GList ("+glc_node_name+") container already created !"
-
+
print "\n"
info_message += "\n\n"
log_list.append(info_message)
@@ -295,7 +295,7 @@ class Command(BaseCommand):
log_list.append(info_message)
except Exception as e:
- error_message = "SetupStructureError: " + str(e)
+ error_message = "SetupStructureError (line # " + str(exc_info()[-1].tb_lineno) + "): " + str(e)
print "\n " + error_message
log_list.append(error_message)
# raise Exception(error_message)
@@ -310,7 +310,7 @@ class Command(BaseCommand):
with open(log_file_path, 'a') as log_file:
log_file.writelines(log_list)
-
+
if options["clean_structure"]:
try:
info_message = "\n Performing structure cleaning activities...\n"
@@ -624,13 +624,15 @@ def clean_structure():
# to fix broken documents which are having partial/outdated attributes/relations in their attribute_set/relation_set.
# first make their attribute_set and relation_set empty and them fill them with latest key-values.
+ # gsystem_list = ["GSystem", "File", "Group", "Author"]
+ gsystem_list = ["Group", "Author"]
node_collection.collection.update(
- {'_type': {'$in': ["GSystem", "File", "Group", "Author"]}, 'attribute_set': {'$exists': True}, 'relation_set': {'$exists': True}},
+ {'_type': {'$in': gsystem_list}, 'attribute_set': {'$exists': True}, 'relation_set': {'$exists': True}},
{'$set': {'attribute_set': [], 'relation_set': []}},
upsert=False, multi=True
)
- gs = node_collection.find({'_type': {'$in': ["GSystem", "File", "Group", "Author"]},
+ gs = node_collection.find({'_type': {'$in': gsystem_list},
'$or': [{'attribute_set': []}, {'relation_set': []}]
}, timeout=False)
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/nroer_data_entry.py b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/nroer_data_entry.py
index 693676f..d8bf2d5 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/nroer_data_entry.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/nroer_data_entry.py
@@ -52,7 +52,7 @@ theme_gst = node_collection.one({"name": "Theme"})
theme_item_gst = node_collection.one({"name": "theme_item"})
topic_gst = node_collection.one({"name": "Topic"})
nroer_team_id = 1
-
+resource_link_common = "http://125.23.112.5/sites/default/files/nroer_resources/"
class Command(BaseCommand):
help = "\n\tFor saving data in gstudio DB from NROER schema files. This will create 'File' type GSystem instances.\n\tCSV file condition: The first row should contain DB names.\n"
@@ -694,6 +694,11 @@ def create_resource_gsystem(resource_data):
# fetching resource from url
resource_link = resource_data.get("resource_link") # actual download file link
+
+ if not resource_link:
+ resource_link = resource_link_common + resource_data.get("file_name")
+ # print "---------------",resource_link
+
filename = resource_link.split("/")[-1] # actual download file name with extension. e.g: neuron.jpg
info_message = "\n- Fetching resource from : '" + resource_link + "'"
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/partners_details.py b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/partners_details.py
index de20f36..65438fc 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/partners_details.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/partners_details.py
@@ -12,25 +12,27 @@ except ImportError: # old pymongo
''' imports from application folders/files '''
from gnowsys_ndf.ndf.models import *
from gnowsys_ndf.ndf.views.methods import *
+from gnowsys_ndf.ndf.views.group import create_group
import csv
from collections import defaultdict
-
+from gnowsys_ndf.ndf.management.commands.nroer_data_entry import get_user_id, create_user_nroer_team
####################################################################################################################
''' imports from application folders/files '''
from gnowsys_ndf.ndf.models import Node
from gnowsys_ndf.ndf.views.methods import create_gattribute
db=get_database()
-collection =db['Nodes']
+collection =db[Node.collection_name]
schema_file_csv = os.path.join( os.path.dirname(__file__), "schema_files/partners_details.csv")
-house_street_AT = collection.Node.one({'$and':[{'name':'house_street'},{'_type':'AttributeType'}]})
-town_city_AT = collection.Node.one({'$and':[{'name':'town_city'},{'_type':'AttributeType'}]})
-contact_point_AT = collection.Node.one({'$and':[{'name':'contact_point'},{'_type':'AttributeType'}]})
-state_AT = collection.Node.one({'$and':[{'name':'state'},{'_type':'AttributeType'}]})
-pin_code_AT = collection.Node.one({'$and':[{'name':'pin_code'},{'_type':'AttributeType'}]})
-email_id_AT = collection.Node.one({'$and':[{'name':'email_id'},{'_type':'AttributeType'}]})
-telephone_AT = collection.Node.one({'$and':[{'name':'telephone'},{'_type':'AttributeType'}]})
-website_AT = collection.Node.one({'$and':[{'name':'website'},{'_type':'AttributeType'}]})
+house_street_AT = node_collection.one({'$and':[{'name':'house_street'},{'_type':'AttributeType'}]})
+town_city_AT = node_collection.one({'$and':[{'name':'town_city'},{'_type':'AttributeType'}]})
+contact_point_AT = node_collection.one({'$and':[{'name':'contact_point'},{'_type':'AttributeType'}]})
+state_AT = node_collection.one({'$and':[{'name':'state'},{'_type':'AttributeType'}]})
+pin_code_AT = node_collection.one({'$and':[{'name':'pin_code'},{'_type':'AttributeType'}]})
+email_id_AT = node_collection.one({'$and':[{'name':'email_id'},{'_type':'AttributeType'}]})
+telephone_AT = node_collection.one({'$and':[{'name':'telephone'},{'_type':'AttributeType'}]})
+website_AT = node_collection.one({'$and':[{'name':'website'},{'_type':'AttributeType'}]})
+gst_group = node_collection.one({"_type": "GSystemType", 'name': GAPPS[2]})
class Command(BaseCommand):
help = "Adding Parterns details "
@@ -48,8 +50,23 @@ def main():
for row in reader:
file_content.append(row)
for each in file_content:
+ check_group = node_collection.one({'name': str(each['category']), '_type' : 'Group'})
+ check_sub_group = node_collection.one({'name': str(each['name']), '_type' : 'Group'})
- get_group = collection.Node.one({'name': str(each['name']), '_type' : 'Group'})
+ if not check_group:
+ group_create(each['category'])
+ if not check_sub_group:
+ group_create(each['name'])
+
+ get_parent_group = node_collection.one({'name': str(each['category']), '_type' : 'Group'})
+ get_child_group = node_collection.one({'name': str(each['name']), '_type' : 'Group'})
+ if get_child_group._id not in get_parent_group.collection_set:
+ get_parent_group.collection_set.append(get_child_group._id)
+ get_parent_group.save()
+ if get_child_group._id not in get_parent_group.post_node:
+ get_parent_group.post_node.append(get_child_group._id)
+ get_parent_group.save()
+ get_group = node_collection.one({'name': str(each['name']), '_type' : 'Group'})
get_group.content = unicode(each['description'])
get_group.content = unicode(each['description'])
get_group.save()
@@ -61,10 +78,51 @@ def main():
create_gattribute(get_group._id, pin_code_AT, long(each['address: PIN']))
create_gattribute(get_group._id, contact_point_AT, unicode(each['contactPoint']))
create_gattribute(get_group._id, telephone_AT, unicode(each['telephone']))
- create_gattribute(get_group._id, website_AT, unicode(each['website']))
+ create_gattribute(get_group._id, website_AT, unicode(each['website']))
+
- print ("\n Partners details added!\n\n")
+ print ("\n Partners details added!\n\n")
+
+def group_create(group_name):
+ create_user_nroer_team()
+
+ group_id=group_name
+ ins_objectid = ObjectId()
+ if ins_objectid.is_valid(group_id) is False :
+ group_ins = node_collection.find_one({'_type': "Group","name": group_id})
+ auth = node_collection.one({'_type': 'Author', 'name': u'nroer_team' })
+ if group_ins:
+ group_id = str(group_ins._id)
+ else :
+ auth = node_collection.one({'_type': 'Author', 'name': u'nroer_team'})
+ if auth :
+ group_id = str(auth._id)
+ else :
+ pass
+
+ colg = node_collection.collection.Group()
+ Mod_colg = node_collection.collection.Group()
+ cname=group_name.strip()
+ colg.altnames=unicode(cname)
+ colg.name = unicode(cname)
+ colg.member_of.append(gst_group._id)
+ usrid = get_user_id("nroer_team")
+
+ colg.created_by = usrid
+ if usrid not in colg.author_set:
+ colg.author_set.append(usrid)
+
+ colg.modified_by = usrid
+ if usrid not in colg.contributors:
+ colg.contributors.append(usrid)
+
+ colg.group_type = "PUBLIC"
+ colg.edit_policy = "EDITABLE_NON_MODERATED"
+ colg.subscription_policy = "OPEN"
+ colg.agency_type="Partner"
+ colg.save()
+
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/sync_existing_documents.py b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/sync_existing_documents.py
index edebede..d433705 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/sync_existing_documents.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/sync_existing_documents.py
@@ -15,11 +15,58 @@ from gnowsys_ndf.ndf.models import Node
class Command(BaseCommand):
- help = " This script will add new field(s) into already existing documents (only if they doesn't exists) in your database."
+ help = " This script will add new field(s) into already existing documents " \
+ + "(only if they doesn't exists) in your database."
def handle(self, *args, **options):
# Keep latest fields to be added at top
+ # From existing RelationType instance(s), finding Binary relationships
+ # and Setting their "member_of" field's value as "Binary" (MetaType)
+ mt_binary = node_collection.one({
+ '_type': "MetaType", 'name': "Binary"
+ })
+ if mt_binary:
+ res = node_collection.collection.update({
+ "_type": "RelationType", "object_type.0": {"$not": {"$type": 4}}
+ }, {
+ "$set": {"member_of": [mt_binary._id]}
+ },
+ upsert=False, multi=True
+ )
+ if res["updatedExisting"] and res["nModified"]:
+ print "\n 'member_of' field updated in following RelationType " \
+ + "instance(s) representing 'Binary Relationships':", res["n"]
+
+ # Replacing object_type of "trainer_of_course" & "master_trainer_of_course"
+ # relationship from "Announced Course" to "NUSSD Course"
+ nussd_course = node_collection.one({
+ '_type': "GSystemType", 'name': "NUSSD Course"
+ })
+ if nussd_course:
+ nussd_course_id = nussd_course._id
+ res = node_collection.collection.update({
+ '_type': "RelationType", 'name': "trainer_of_course", "object_value": {"$nin": [nussd_course_id]}
+ }, {
+ '$set': {'object_type': [nussd_course_id]}
+ },
+ upsert=False, multi=False
+ )
+ if res['updatedExisting'] and res['nModified']:
+ print "\n Replaced object_type of 'trainer_of_course' relationship" \
+ + " from 'Announced Course' to 'NUSSD Course'."
+
+ res = node_collection.collection.update({
+ '_type': "RelationType", 'name': "master_trainer_of_course", "object_value": {"$nin": [nussd_course_id]}
+ }, {
+ '$set': {'object_type': [nussd_course_id]}
+ },
+ upsert=False, multi=False
+ )
+ if res['updatedExisting'] and res['nModified']:
+ print "\n Replaced object_type of 'master_trainer_of_course' relationship" \
+ + " from 'Announced Course' to 'NUSSD Course'."
+
# Appending attribute_type_set and relation_type_set fields to existing MetaType nodes
res = node_collection.collection.update(
{'_type': "MetaType", "attribute_type_set": {"$exists": False}, "relation_type_set": {"$exists": False}},
@@ -258,7 +305,7 @@ class Command(BaseCommand):
print "\n Replaced object_type of 'has_course' relationship from 'NUSSD Course' to 'Announced Course'."
# Adds "relation_set" field (with default value as []) to all documents belonging to GSystems.
- res = node_collection.update({'_type': {'$nin': ["MetaType", "GSystemType", "RelationType", "AttributeType", "GRelation", "GAttribute", "ReducedDocs", "ToReduceDocs", "IndexedWordList", "node_holder"]}, 'relation_set': {'$exists': False}},
+ res = node_collection.collection.update({'_type': {'$nin': ["MetaType", "GSystemType", "RelationType", "AttributeType", "GRelation", "GAttribute", "ReducedDocs", "ToReduceDocs", "IndexedWordList", "node_holder"]}, 'relation_set': {'$exists': False}},
{'$set': {'relation_set': []}},
upsert=False, multi=True
)
@@ -273,9 +320,9 @@ class Command(BaseCommand):
if res['updatedExisting'] and res['nModified']:
print "\n 'attribute_set' field added to following no. of documents: ", res['n']
- # Adds "license" field (with default value as "") to all documents belonging to GSystems (except Author).
- res = node_collection.collection.update({'_type': {'$nin': ["MetaType", "Author", "GSystemType", "RelationType", "AttributeType", "GRelation", "GAttribute", "ReducedDocs", "ToReduceDocs", "IndexedWordList", "node_holder"]}, 'license': {'$exists': False}},
- {'$set': {'license': ""}},
+ # Adds "license" field (with default value as "") to all documents belonging to GSystems.
+ res = node_collection.collection.update({'_type': {'$nin': ["MetaType", "GSystemType", "RelationType", "AttributeType", "GRelation", "GAttribute", "ReducedDocs", "ToReduceDocs", "IndexedWordList", "node_holder"]}, 'license': {'$exists': False}},
+ {'$set': {'license': None}},
upsert=False, multi=True
)
if res['updatedExisting'] and res['nModified']:
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/themes_entry.py b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/themes_entry.py
index 24b8179..3cdaef9 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/themes_entry.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/themes_entry.py
@@ -31,7 +31,6 @@ collection = get_database()[Node.collection_name]
theme_GST = node_collection.one({'_type': 'GSystemType', 'name': 'Theme' })
theme_item_GST = node_collection.one({'_type': 'GSystemType', 'name': 'theme_item' })
topic_GST = node_collection.one({'_type': 'GSystemType', 'name': 'Topic'})
-br_topic = node_collection.one({'_type': 'GSystemType', 'name': 'Browse Topic'})
nroer_team=User.objects.get(username = "nroer_team")
#grp = collection.Node.one({'_type': 'Group', '_id': ObjectId('53747277c1704121fe54be46')})
grp = node_collection.one({'_type': 'Group', 'name': 'home'})
@@ -50,7 +49,17 @@ class Command(BaseCommand):
try:
i = 1
for ind, row in enumerate(reader):
+
+ descrp = row[0]
+ row = row[1:]
+
+ r = []
+ for each in row:
+ r.append(each.strip())
+
+ row = r
# print "\n row: ", row
+ # print "\n descrp: ",descrp,"\n"
for index, obj in enumerate(row):
if obj:
@@ -72,7 +81,7 @@ class Command(BaseCommand):
create_theme_item(obj, prev, row)
elif prev and not nex:
- create_topic(obj, prev, row)
+ create_topic(obj, prev, row, descrp)
else:
break
@@ -82,7 +91,7 @@ class Command(BaseCommand):
print "\n", i ," rows successfully compiled"
print " ======================================================="
- # if (i == 294):
+ # if (i == 3):
# break
except csv.Error as e:
sys.exit('file %s, line %d: %s' % (filename, reader.line_num, e))
@@ -91,18 +100,17 @@ class Command(BaseCommand):
def create_theme(obj):
# print "\n Its a theme -- ", obj
themes_list = []
+ # obj = obj.strip()
# To find the root themes to maintain the uniquness while creating new themes
- nodes = node_collection.find({'member_of': {'$all': [theme_GST._id]},'group_set':{'$all': [ObjectId(group_id)]}})
+ nodes = node_collection.find({'group_set': group_id, 'member_of': theme_GST._id })
for each in nodes:
themes_list.append(each.name)
-
if obj not in themes_list:
- name = obj
theme_node = node_collection.collection.GSystem()
- theme_node.name = unicode(name).strip()
+ theme_node.name = unicode(obj)
theme_node.access_policy = u"PUBLIC"
theme_node.contributors.append(nroer_team.id)
theme_node.created_by = nroer_team.id
@@ -121,14 +129,17 @@ def create_theme(obj):
def create_theme_item(obj, prev, row):
# print "\n Its a theme item -- ", obj
+ # print "\n row :",row,"\n"
+
theme_items_list = []
prev_node_list = []
# Taking pre-prev item in a row to identify uniqueness and hierarchy level of theme item
pre_prev_name = row[row.index(prev) - 1]
+
if prev:
# To find the prev item in a row as its already created
- prev_node_cur = node_collection.find({'name': unicode(prev),'group_set': group_id, 'member_of': {'$in': [ theme_item_GST._id, theme_GST._id]} })
+ prev_node_cur = node_collection.find({'name': unicode(prev),'group_set': group_id, 'member_of': {'$in': [theme_item_GST._id, theme_GST._id]} })
# To identify the exact prev element and its hierarchy level of theme item when we found multiple results of same theme item
if prev_node_cur.count() > 1:
@@ -139,8 +150,7 @@ def create_theme_item(obj, prev, row):
if pre_prev_node.name == pre_prev_name:
prev_node_list.append(each)
- prev_node = prev_node_list[0]
-
+ prev_node = prev_node_list[0]
else:
prev_node = prev_node_cur[0]
@@ -150,13 +160,13 @@ def create_theme_item(obj, prev, row):
if prev_node.collection_set:
for item in prev_node.collection_set:
theme_item = node_collection.one({'_id': ObjectId(item) })
- theme_items_list.append(theme_item.name)
+ theme_items_list.append(theme_item.name)
if obj not in theme_items_list:
# Save the theme item
theme_item_node = node_collection.collection.GSystem()
- theme_item_node.name = unicode(obj).strip()
+ theme_item_node.name = unicode(obj)
theme_item_node.access_policy = u"PUBLIC"
theme_item_node.contributors.append(nroer_team.id)
theme_item_node.created_by = nroer_team.id
@@ -164,6 +174,7 @@ def create_theme_item(obj, prev, row):
theme_item_node.language = u"en"
theme_item_node.member_of.append(theme_item_GST._id)
theme_item_node.modified_by = nroer_team.id
+ theme_item_node.prior_node.append(prev_node._id)
theme_item_node.status = u"DRAFT"
theme_item_node.save()
@@ -176,8 +187,10 @@ def create_theme_item(obj, prev, row):
print "\n Theme Item ", obj," already available"
-def create_topic(obj, prev, row):
- # print "\n Its a topic -- ", obj
+def create_topic(obj, prev, row, descrp):
+
+# print "\n Its a topic -- ", obj
+
theme_items_list = []
prev_node_list = []
# Taking pre-prev item in a row to identify uniqueness and hierarchy level of topic
@@ -212,14 +225,16 @@ def create_topic(obj, prev, row):
if obj not in theme_items_list:
# Save the topic
topic_node = node_collection.collection.GSystem()
- topic_node.name = unicode(obj).strip()
+ topic_node.name = unicode(obj)
topic_node.access_policy = u"PUBLIC"
topic_node.contributors.append(nroer_team.id)
topic_node.created_by = nroer_team.id
topic_node.group_set.append(group_id)
+ topic_node.content_org = unicode(descrp)
topic_node.language = u"en"
topic_node.member_of.append(topic_GST._id)
topic_node.modified_by = nroer_team.id
+ topic_node.prior_node.append(prev_node._id)
topic_node.status = u"DRAFT"
topic_node.save()
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/models.py b/gnowsys-ndf/gnowsys_ndf/ndf/models.py
index d131a75..310d619 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/models.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/models.py
@@ -3,6 +3,7 @@ import os
import hashlib
import datetime
import json
+from itertools import chain # Using from_iterable()
# imports from installed packages
@@ -14,6 +15,7 @@ from django_mongokit import get_database
from django_mongokit.document import DjangoDocument
from mongokit import IS
+from mongokit import OR
from mongokit import INDEX_ASCENDING, INDEX_DESCENDING
try:
@@ -28,6 +30,7 @@ from gnowsys_ndf.settings import RCS_REPO_DIR_HASH_LEVEL
from gnowsys_ndf.settings import MARKUP_LANGUAGE
from gnowsys_ndf.settings import MARKDOWN_EXTENSIONS
from gnowsys_ndf.settings import GROUP_AGENCY_TYPES, AUTHOR_AGENCY_TYPES
+from gnowsys_ndf.settings import META_TYPE
from gnowsys_ndf.ndf.rcslib import RCS
from django.dispatch import receiver
from registration.signals import user_registered
@@ -900,15 +903,14 @@ class AttributeType(Node):
@connection.register
class RelationType(Node):
-
structure = {
'inverse_name': unicode,
- 'subject_type': [ObjectId], # ObjectId's of Any Class
- 'object_type': [ObjectId], # ObjectId's of Any Class
+ 'subject_type': [ObjectId], # ObjectId's of Any Class
+ 'object_type': [OR(ObjectId, list)], # ObjectId's of Any Class
'subject_cardinality': int,
- 'object_cardinality': int,
- 'subject_applicable_nodetype': basestring, # NODE_TYPE_CHOICES [default (GST)]
- 'object_applicable_nodetype': basestring,
+ 'object_cardinality': int,
+ 'subject_applicable_nodetype': basestring, # NODE_TYPE_CHOICES [default (GST)]
+ 'object_applicable_nodetype': basestring,
'slug': basestring,
'is_symmetric': bool,
'is_reflexive': bool,
@@ -920,10 +922,13 @@ class RelationType(Node):
# User-Defined Functions ##########
@staticmethod
- def append_relation(rel_type_node, rel_dict, inverse_relation, left_or_right_subject=None):
+ def append_relation(
+ rel_type_node, rel_dict, inverse_relation, left_or_right_subject=None
+ ):
"""Appends details of a relation in format described below.
- Keyword arguments: rel_type_node -- Document of RelationType
+ Keyword arguments:
+ rel_type_node -- Document of RelationType
node rel_dict -- Dictionary to which relation-details are
appended inverse_relation -- Boolean variable that indicates
whether appending an relation or inverse-relation
@@ -947,16 +952,28 @@ class RelationType(Node):
Value of RelationType node's name field,
'subject_or_right_subject_list': List of Value(s) of
GRelation node's subject field } }
-
"""
left_or_right_subject_node = None
if left_or_right_subject:
- left_or_right_subject_node = node_collection.one({'_id': left_or_right_subject})
+ if META_TYPE[3] in rel_type_node.member_of_names_list:
+ # If Binary relationship found
+ left_or_right_subject_node = node_collection.one({
+ '_id': left_or_right_subject
+ })
+ else:
+ left_or_right_subject_node = []
+ for each in left_or_right_subject:
+ each_node = node_collection.one({
+ '_id': each
+ })
+ left_or_right_subject_node.append(each_node)
if not left_or_right_subject_node:
- error_message = "\n AppendRelationError: Right subject with this ObjectId("+str(left_or_right_subject)+") doesn't exists !!!"
+ error_message = "\n AppendRelationError: Right subject with " \
+ + "this ObjectId(" + str(left_or_right_subject) + ") " \
+ + "doesn't exists !!!"
raise Exception(error_message)
rel_name = ""
@@ -965,30 +982,33 @@ class RelationType(Node):
subject_or_object_type = None
if inverse_relation:
- # inverse_relation = True
- # Means looking from object type
- # relation-type's name & inverse-name will be swapped
- rel_name = rel_type_node.inverse_name
- opp_rel_name = rel_type_node.name
- if rel_type_node.altnames:
- if ";" in rel_type_node.altnames:
- alt_names = rel_type_node.altnames.split(";")[1]
- else:
- alt_names = u""
- subject_or_object_type = rel_type_node.subject_type
-
+ # inverse_relation = True
+ # Means looking from object type
+ # relation-type's name & inverse-name will be swapped
+ rel_name = rel_type_node.inverse_name
+ opp_rel_name = rel_type_node.name
+
+ if rel_type_node.altnames:
+ if ";" in rel_type_node.altnames:
+ alt_names = rel_type_node.altnames.split(";")[1]
+ else:
+ alt_names = u""
+
+ subject_or_object_type = rel_type_node.subject_type
+
else:
- # inverse_relation = False
- # Means looking from subject type
- # relation-type's name & inverse-name will be as it is
- rel_name = rel_type_node.name
- opp_rel_name = rel_type_node.inverse_name
- if rel_type_node.altnames:
- if ";" in rel_type_node.altnames:
- alt_names = rel_type_node.altnames.split(";")[0]
- else:
- alt_names = u""
- subject_or_object_type = rel_type_node.object_type
+ # inverse_relation = False
+ # Means looking from subject type
+ # relation-type's name & inverse-name will be as it is
+ rel_name = rel_type_node.name
+ opp_rel_name = rel_type_node.inverse_name
+ if rel_type_node.altnames:
+ if ";" in rel_type_node.altnames:
+ alt_names = rel_type_node.altnames.split(";")[0]
+ else:
+ alt_names = u""
+
+ subject_or_object_type = rel_type_node.object_type
if not (rel_name in rel_dict):
subject_or_right_subject_list = [left_or_right_subject_node] if left_or_right_subject_node else []
@@ -1506,15 +1526,14 @@ class Benchmark(DjangoDocument):
}
required_fields = ['name']
use_dot_notation = True
-
+
def __unicode__(self):
return self._id
-
+
def identity(self):
return self.__unicode__()
-
# TRIPLE CLASS DEFINITIONS
@connection.register
class Triple(DjangoDocument):
@@ -1526,44 +1545,46 @@ class Triple(DjangoDocument):
'_type': unicode,
'name': unicode,
'subject_scope': basestring,
- 'subject': ObjectId, # ObjectId's of GSystem Class
- 'lang': basestring, # Put validation for standard language codes
+ 'subject': ObjectId, # ObjectId's of GSystem Class
+ 'lang': basestring, # Put validation for standard language codes
'status': STATUS_CHOICES_TU
}
-
+
required_fields = ['name', 'subject']
use_dot_notation = True
use_autorefs = True
+
########## Built-in Functions (Overridden) ##########
-
def __unicode__(self):
return self._id
-
+
def identity(self):
return self.__unicode__()
def save(self, *args, **kwargs):
is_new = False
-
- if not self.has_key('_id'):
- is_new = True # It's a new document, hence yet no ID!"
+
+ if "_id" not in self:
+ is_new = True # It's a new document, hence yet no ID!"
"""
Check for correct GSystemType match in AttributeType and GAttribute, similarly for RelationType and GRelation
"""
- #it's me
- subject_name = node_collection.one({'_id': self.subject}).name
subject_system_flag = False
+
subject_id = self.subject
- subject_document = node_collection.one({"_id":self.subject})
- # print subject_document
+ subject_document = node_collection.one({"_id": self.subject})
+ subject_name = subject_document.name
subject_type_list = []
subject_member_of_list = []
name_value = u""
if self._type == "GAttribute":
- self.name = subject_name + " -- " + self.attribute_type['name'] + " -- " + unicode(self.object_value)
+ attribute_type_name = self.attribute_type['name']
+ attribute_object_value = unicode(self.object_value)
+
+ self.name = "%(subject_name)s -- %(attribute_type_name)s -- %(attribute_object_value)s" % locals()
name_value = self.name
subject_type_list = self.attribute_type['subject_type']
@@ -1574,7 +1595,7 @@ class Triple(DjangoDocument):
subject_system_flag = True
else:
- # If instersection is not found with member_of fields' ObjectIds,
+ # If instersection is not found with member_of fields' ObjectIds,
# then check for type_of field of each one of the member_of node
for gst_id in subject_member_of_list:
gst_node = node_collection.one({'_id': gst_id}, {'type_of': 1})
@@ -1583,16 +1604,56 @@ class Triple(DjangoDocument):
break
elif self._type == "GRelation":
- right_subject_document = node_collection.one({'_id': self.right_subject})
- right_subject_name = node_collection.one({'_id': self.right_subject}).name
- self.name = subject_name + " -- " + self.relation_type['name'] + " -- " + right_subject_name
- name_value = self.name
-
subject_type_list = self.relation_type['subject_type']
- object_type_list= self.relation_type['object_type']
+ object_type_list = self.relation_type['object_type']
left_subject_member_of_list = subject_document.member_of
- right_subject_member_of_list = right_subject_document.member_of
+ relation_type_name = self.relation_type['name']
+
+ if META_TYPE[3] in self.relation_type.member_of_names_list:
+ # If Binary relationship found
+ # Single relation: ObjectId()
+ # Multi relation: [ObjectId(), ObjectId(), ...]
+ right_subject_document = node_collection.one({'_id': self.right_subject})
+
+ right_subject_member_of_list = right_subject_document.member_of
+ right_subject_name = right_subject_document.name
+
+ self.name = "%(subject_name)s -- %(relation_type_name)s -- %(right_subject_name)s" % locals()
+
+ else:
+ # Relationship Other than Binary one found; e.g, Triadic
+ # Single relation: [ObjectId(), ObjectId(), ...]
+ # Multi relation: [[ObjectId(), ObjectId(), ...], [ObjectId(), ObjectId(), ...], ...]
+ right_subject_member_of_list = []
+ right_subject_member_of_list_append = right_subject_member_of_list.append
+
+ right_subject_name_list = []
+ right_subject_name_list_append = right_subject_name_list.append
+
+ for each in self.right_subject:
+ # Here each is an ObjectId
+ right_subject_document = node_collection.one({
+ "_id": each
+ }, {
+ "name": 1, "member_of": 1
+ })
+
+ right_subject_member_of_list_append(right_subject_document.member_of)
+ right_subject_name_list_append(right_subject_document.name)
+
+ right_subject_name_list_str = " >> ".join(right_subject_name_list)
+
+ self.name = "%(subject_name)s -- %(relation_type_name)s -- %(right_subject_name_list_str)s" % locals()
+
+ # Very much required as list comparison using set doesn't work
+ # with list as it's sub-elements
+ # Hence, converting list into comma separated values by extending
+ # with other comma-separated values from another list(s)
+ object_type_list = list(chain.from_iterable(object_type_list))
+ right_subject_member_of_list = list(chain.from_iterable(right_subject_member_of_list))
+
+ name_value = self.name
left_intersection = set(subject_type_list) & set(left_subject_member_of_list)
right_intersection = set(object_type_list) & set(right_subject_member_of_list)
@@ -1627,11 +1688,11 @@ class Triple(DjangoDocument):
subject_system_flag = True
if self._type =="GRelation" and subject_system_flag == False:
- print "The 2 lists do not have any common element"
+ # print "The 2 lists do not have any common element"
raise Exception("\n Cannot create the GRelation ("+name_value+") as the subject/object that you have mentioned is not a member of a GSytemType for which this RelationType is defined!!!\n")
if self._type =="GAttribute" and subject_system_flag == False:
- print "\n The 2 lists do not have any common element\n"
+ # print "\n The 2 lists do not have any common element\n"
error_message = "\n "+name_value+ " -- subject_type_list ("+str(subject_type_list)+") -- subject_member_of_list ("+str(subject_member_of_list)+") \n"
raise Exception(error_message + "Cannot create the GAttribute ("+name_value+") as the subject that you have mentioned is not a member of a GSystemType which this AttributeType is defined")
@@ -1650,7 +1711,7 @@ class Triple(DjangoDocument):
#end of data_type_check
super(Triple, self).save(*args, **kwargs)
-
+
history_manager = HistoryManager()
rcs_obj = RCS()
if is_new:
@@ -1659,7 +1720,7 @@ class Triple(DjangoDocument):
fp = history_manager.get_file_path(self)
message = "This document (" + self.name + ") is created on " + datetime.datetime.now().strftime("%d %B %Y")
rcs_obj.checkin(fp, 1, message.encode('utf-8'), "-i")
-
+
else:
# Update history-version-file
fp = history_manager.get_file_path(self)
@@ -1697,24 +1758,22 @@ class GAttribute(Triple):
'object_value_scope': basestring,
'object_value': None # value -- it's data-type, is determined by attribute_type field
}
-
+
required_fields = ['attribute_type', 'object_value']
use_dot_notation = True
use_autorefs = True # To support Embedding of Documents
-
-
@connection.register
class GRelation(Triple):
-
structure = {
'relation_type_scope': basestring,
- 'relation_type': RelationType, # DBRef of RelationType Class
+ 'relation_type': RelationType, # DBRef of RelationType Class
'right_subject_scope': basestring,
- 'right_subject': ObjectId, # ObjectId's of GSystems Class
+ # ObjectId's of GSystems Class / List of list of ObjectId's of GSystem Class
+ 'right_subject': OR(ObjectId, list)
}
-
+
required_fields = ['relation_type', 'right_subject']
use_dot_notation = True
use_autorefs = True # To support Embedding of Documents
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/metastudio/styles.css b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/metastudio/styles.css
index f7193af..4f59f22 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/metastudio/styles.css
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/metastudio/styles.css
@@ -9081,83 +9081,271 @@ th.hide-for-touch {
/*
* Metstudio Platform Stylesheet
*/
-/* line 8, ../../../scss/_metastudio_styles.scss */
+/* line 6, ../../../scss/_metastudio_styles.scss */
+.workspace {
+ background: url("watermark.png") no-repeat 0 80%;
+ min-height: 100%;
+ margin-bottom: -130px !important;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+/* line 9, ../../../scss/_metastudio_styles.scss */
+.workspace .app.button-bar {
+ height: 45px;
+}
+/* line 21, ../../../scss/_metastudio_styles.scss */
+.workspace:after {
+ content: "";
+ display: block;
+ height: 130px;
+}
+
+/*
+* The Foundation Stylesheet
+* You can paste sass snippets from compass or foundation here
+* Consider submitting these snippets upstream
+* http://compass-style.org/reference/compass/css3/
+* http://foundation.zurb.com/docs/components/global.html
+*/
+/*
+* Foundation fixes and hacks. Please document issues on https://github.com/zurb/foundation/issues
+*/
+/* Too many apps cause breakage */
+/*
+/* Protects reflowing elements on error */
+/* line 21, ../../../scss/_app_styles.scss */
+[data-abide] span.error, [data-abide] small.error {
+ position: absolute;
+}
+
+/*active color for side-nav links*/
+/* line 26, ../../../scss/_app_styles.scss */
+.side-nav li.active a:not(.button) {
+ color: #acacac;
+}
+
+/*
+* Foundation extensions
+*/
+/* line 35, ../../../scss/_app_styles.scss */
+pre {
+ width: 92%;
+ overflow: auto;
+ border: 1px solid #eee;
+ border-left: 1rem solid #eee;
+ font: lighter 1.2rem/2rem Monaco;
+ background: url("/static/ndf/pre.png");
+ background-size: 1px 4rem;
+ padding-left: 0.5rem;
+ font-family: monospace;
+}
+
+/* line 48, ../../../scss/_app_styles.scss */
+.fixme {
+ opacity: 0.5;
+}
+/* line 51, ../../../scss/_app_styles.scss */
+.fixme:hover {
+ opacity: 1;
+ color: inherit;
+}
+/* line 54, ../../../scss/_app_styles.scss */
+.fixme:hover:after {
+ content: " fixme";
+ color: orange;
+}
+
+/* Utility class to display the child spans of this element on hover */
+/* line 63, ../../../scss/_app_styles.scss */
+.show-span-on-hover span {
+ display: none;
+}
+/* line 66, ../../../scss/_app_styles.scss */
+.show-span-on-hover:hover span {
+ display: inline;
+}
+
+/* line 72, ../../../scss/_app_styles.scss */
+.show-on-hover .show {
+ display: none;
+ z-index: 1000;
+}
+/* line 76, ../../../scss/_app_styles.scss */
+.show-on-hover:hover .show {
+ display: block;
+}
+
+/* Utility class to display the next siblings on hoverr */
+/* line 81, ../../../scss/_app_styles.scss */
+.extra.app {
+ display: none;
+}
+
+/* Effects */
+/* line 87, ../../../scss/_app_styles.scss */
+.drop-shadow {
+ -webkit-box-shadow: 0px 0px 5px 1px black;
+ box-shadow: 0px 0px 5px 1px black;
+}
+
+/* line 91, ../../../scss/_app_styles.scss */
+.rounded {
+ border-radius: 2px;
+ -webkit-border-radius: 2px;
+}
+
+/* line 95, ../../../scss/_app_styles.scss */
+.transition-opacity {
+ transition: opacity .3s ease;
+ -moz-transition: opacity .3s ease;
+ -webkit-transition: opacity .3s ease;
+ -o-transition: opacity .3s ease;
+}
+
+/*Ratings bar based on http://codepen.io/lsirivong/pen/ekBxI */
+/* line 104, ../../../scss/_app_styles.scss */
+.rating-bar {
+ /* the hidden clearer */
+ /* this is gross, I threw this in to override the starred
+ buttons when hovering. */
+}
+/* line 107, ../../../scss/_app_styles.scss */
+.rating-bar > span {
+ /* remove inline-block whitespace */
+ font-size: 0;
+ /* flip the order so we can use the + and ~ combinators */
+ unicode-bidi: bidi-override;
+ direction: rtl;
+}
+/* line 115, ../../../scss/_app_styles.scss */
+.rating-bar.unrated {
+ /* If the user has not rated yet */
+}
+/* line 117, ../../../scss/_app_styles.scss */
+.rating-bar.unrated:checked ~ label:before {
+ color: #a9b2b3;
+}
+/* line 123, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"] {
+ display: none;
+}
+/* line 125, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"] + label {
+ /* only enough room for the star */
+ display: inline-block;
+ overflow: hidden;
+ text-indent: 9999px;
+ width: 1em;
+ height: 1.4em;
+ white-space: nowrap;
+ font-size: 1.5rem;
+ margin: 0;
+}
+/* line 135, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"] + label:before {
+ display: inline-block;
+ text-indent: -9999px;
+ content: '\2606';
+ /* WHITE STAR */
+ color: #888;
+}
+/* line 144, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"]:checked ~ label:before, .rating-bar [type*="radio"] + label:hover ~ label:before, .rating-bar [type*="radio"] + label:hover:before {
+ content: '\2605';
+ /* BLACK STAR */
+ color: #ff980d;
+ text-shadow: 0 0 1px #333;
+}
+/* line 153, ../../../scss/_app_styles.scss */
+.rating-bar .last[type*="radio"] + label {
+ text-indent: -9999px;
+ width: .5em;
+ margin-left: -.5em;
+}
+/* line 158, ../../../scss/_app_styles.scss */
+.rating-bar .last[type*="radio"] + label:before {
+ width: .5em;
+ height: 1.4em;
+}
+/* line 166, ../../../scss/_app_styles.scss */
+.rating-bar:hover [type*="radio"] + label:before {
+ content: '\2606';
+ /* WHITE STAR */
+ color: #888;
+ text-shadow: none;
+}
+/* line 172, ../../../scss/_app_styles.scss */
+.rating-bar:hover [type*="radio"] + label:hover ~ label:before,
+.rating-bar:hover [type*="radio"] + label:hover:before {
+ content: '\2605';
+ /* BLACK STAR */
+ color: #ff980d;
+ text-shadow: 0 0 1px #333;
+}
+
+/* line 181, ../../../scss/_app_styles.scss */
+body a:visited {
+ color: #1d484a;
+}
+
+/* line 189, ../../../scss/_app_styles.scss */
body {
background-color: #fafafa;
}
-/* line 14, ../../../scss/_metastudio_styles.scss */
+/* line 195, ../../../scss/_app_styles.scss */
.top-bar a.language.button {
padding: 5px 10px;
margin-top: 3px;
background-color: #555;
color: black;
}
-/* line 19, ../../../scss/_metastudio_styles.scss */
+/* line 200, ../../../scss/_app_styles.scss */
.top-bar a.language.button:hover {
background-color: white;
color: black;
}
-/* line 24, ../../../scss/_metastudio_styles.scss */
+/* line 205, ../../../scss/_app_styles.scss */
.top-bar ul.language-selector {
height: 50px;
float: right;
margin: 0;
}
-/* line 29, ../../../scss/_metastudio_styles.scss */
+/* line 210, ../../../scss/_app_styles.scss */
.top-bar .active {
background-color: #08676d !important;
}
-/* line 33, ../../../scss/_metastudio_styles.scss */
+/* line 214, ../../../scss/_app_styles.scss */
.top-bar h1 .flag, article h1:not(.subheader) div .top-bar input .flag {
height: 20px;
margin-bottom: 4px;
margin-right: 2px;
}
-/* line 38, ../../../scss/_metastudio_styles.scss */
+/* line 219, ../../../scss/_app_styles.scss */
.top-bar h1 img, .top-bar article h1:not(.subheader) div input img, article h1:not(.subheader) div .top-bar input img {
/* Logo */
height: 40px;
}
-/* line 42, ../../../scss/_metastudio_styles.scss */
+/* line 223, ../../../scss/_app_styles.scss */
.top-bar h1 a, .top-bar article h1:not(.subheader) div input a, article h1:not(.subheader) div .top-bar input a {
color: white !important;
}
-/* line 46, ../../../scss/_metastudio_styles.scss */
+/* line 227, ../../../scss/_app_styles.scss */
.top-bar .group:hover {
background-color: #111;
}
-/* line 51, ../../../scss/_metastudio_styles.scss */
+/* line 232, ../../../scss/_app_styles.scss */
.top-bar .logout {
background-color: #f04124 !important;
}
-/* line 55, ../../../scss/_metastudio_styles.scss */
+/* line 236, ../../../scss/_app_styles.scss */
.top-bar .logout:hover {
background-color: #d32a0e !important;
transition: background-color 400ms ease-out;
}
-/* line 62, ../../../scss/_metastudio_styles.scss */
-.workspace {
- background: url("watermark.png") no-repeat 0 80%;
- min-height: 100%;
- margin-bottom: -130px !important;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-/* line 65, ../../../scss/_metastudio_styles.scss */
-.workspace .app.button-bar {
- height: 45px;
-}
-/* line 77, ../../../scss/_metastudio_styles.scss */
-.workspace:after {
- content: "";
- display: block;
- height: 130px;
-}
-
-/* line 86, ../../../scss/_metastudio_styles.scss */
+/* line 244, ../../../scss/_app_styles.scss */
body > footer {
padding: 20px 0;
position: relative;
@@ -9165,56 +9353,56 @@ body > footer {
min-height: 170px;
background-color: rgba(0, 0, 0, 0.8);
}
-/* line 94, ../../../scss/_metastudio_styles.scss */
+/* line 252, ../../../scss/_app_styles.scss */
body > footer section:first-child {
border-bottom: 1px solid #222;
margin-bottom: 1rem;
}
-/* line 98, ../../../scss/_metastudio_styles.scss */
+/* line 256, ../../../scss/_app_styles.scss */
body > footer a {
- color: #777;
+ color: #bbbbbb !important;
}
-/* line 100, ../../../scss/_metastudio_styles.scss */
+/* line 258, ../../../scss/_app_styles.scss */
body > footer a:hover {
- color: #eee;
+ color: #eee !important;
}
-/* line 104, ../../../scss/_metastudio_styles.scss */
+/* line 262, ../../../scss/_app_styles.scss */
body > footer strong a {
border-bottom: 1px dotted #555;
}
-/* line 111, ../../../scss/_metastudio_styles.scss */
+/* line 268, ../../../scss/_app_styles.scss */
.coll-arrows {
cursor: pointer;
display: block;
padding: 0.5rem;
}
-/* line 116, ../../../scss/_metastudio_styles.scss */
+/* line 273, ../../../scss/_app_styles.scss */
.coll-arrows:hover {
background-color: #D3D3D3;
}
/* Sections */
-/* line 126, ../../../scss/_metastudio_styles.scss */
+/* line 280, ../../../scss/_app_styles.scss */
main > nav {
border-top: 3px solid black;
position: relative;
z-index: 10;
}
-/* line 130, ../../../scss/_metastudio_styles.scss */
+/* line 284, ../../../scss/_app_styles.scss */
main > nav > .button-bar {
background-color: #10c1cb;
/* Hide icons till we can retreive custom icons from the system */
}
-/* line 132, ../../../scss/_metastudio_styles.scss */
+/* line 286, ../../../scss/_app_styles.scss */
main > nav > .button-bar .button-group {
margin: 0;
}
-/* line 134, ../../../scss/_metastudio_styles.scss */
+/* line 288, ../../../scss/_app_styles.scss */
main > nav > .button-bar .button-group.tools {
padding: 5px;
}
-/* line 140, ../../../scss/_metastudio_styles.scss */
+/* line 294, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button {
border: none;
font-size: 0.8rem;
@@ -9223,147 +9411,139 @@ main > nav > .button-bar li .button {
color: black;
margin: 0;
}
-/* line 144, ../../../scss/_metastudio_styles.scss */
+/* line 298, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button.home {
font-weight: bold;
}
-/* line 147, ../../../scss/_metastudio_styles.scss */
+/* line 301, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button.settings, main > nav > .button-bar li .button#toggle-help {
padding: 6px 10px;
color: #333;
background-color: rgba(255, 255, 255, 0.3);
}
-/* line 152, ../../../scss/_metastudio_styles.scss */
+/* line 306, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button.settings:hover, main > nav > .button-bar li .button#toggle-help:hover {
background-color: rgba(0, 0, 0, 0.2);
color: white;
}
-/* line 157, ../../../scss/_metastudio_styles.scss */
+/* line 311, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button#toggle-help {
background-color: inherit;
}
-/* line 161, ../../../scss/_metastudio_styles.scss */
+/* line 315, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button.settings:after {
border: none;
}
-/* line 169, ../../../scss/_metastudio_styles.scss */
+/* line 323, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button:hover {
color: white;
}
-/* line 175, ../../../scss/_metastudio_styles.scss */
+/* line 329, ../../../scss/_app_styles.scss */
main > nav > .button-bar li.active .button {
background-color: #0eacb5;
color: white;
}
-/* line 183, ../../../scss/_metastudio_styles.scss */
+/* line 337, ../../../scss/_app_styles.scss */
main > nav > .button-bar .app i {
display: none !important;
}
-/* line 195, ../../../scss/_metastudio_styles.scss */
+/* line 349, ../../../scss/_app_styles.scss */
main > aside > div h2 {
color: #111;
}
-/* line 198, ../../../scss/_metastudio_styles.scss */
+/* line 352, ../../../scss/_app_styles.scss */
main > aside > div h3 {
font-size: 1.2rem;
font-weight: normal;
color: #222;
}
-/* line 203, ../../../scss/_metastudio_styles.scss */
+/* line 357, ../../../scss/_app_styles.scss */
main > aside > div h4 {
font-size: 1rem;
color: #222;
}
-/* line 206, ../../../scss/_metastudio_styles.scss */
+/* line 360, ../../../scss/_app_styles.scss */
main > aside > div h4 span {
display: none;
}
-/* line 209, ../../../scss/_metastudio_styles.scss */
+/* line 363, ../../../scss/_app_styles.scss */
main > aside > div h4:hover span {
display: inline;
}
-/* line 213, ../../../scss/_metastudio_styles.scss */
+/* line 367, ../../../scss/_app_styles.scss */
main > aside > div h5, main > aside > div h6 {
margin: 0;
}
-/* line 217, ../../../scss/_metastudio_styles.scss */
+/* line 371, ../../../scss/_app_styles.scss */
main > aside > div .f-dropdown.content {
width: auto;
padding: 0;
border: 1px solid #222;
}
-/* line 221, ../../../scss/_metastudio_styles.scss */
+/* line 375, ../../../scss/_app_styles.scss */
main > aside > div .f-dropdown.content .item {
width: 70px;
}
-/* line 225, ../../../scss/_metastudio_styles.scss */
+/* line 379, ../../../scss/_app_styles.scss */
main > aside > div header {
padding: 10px;
}
-/* line 228, ../../../scss/_metastudio_styles.scss */
+/* line 382, ../../../scss/_app_styles.scss */
main > aside > div footer {
background-color: #222;
min-height: 1rem;
}
-/* line 231, ../../../scss/_metastudio_styles.scss */
+/* line 385, ../../../scss/_app_styles.scss */
main > aside > div footer label {
font-size: 0.7rem;
}
-/* line 238, ../../../scss/_metastudio_styles.scss */
-main > aside > div a, main > aside > div p {
- color: white;
-}
-/* line 240, ../../../scss/_metastudio_styles.scss */
-main > aside > div a:hover, main > aside > div p:hover {
- color: white;
-}
-/* line 244, ../../../scss/_metastudio_styles.scss */
+/* line 398, ../../../scss/_app_styles.scss */
main > aside > div .side-nav.collection {
background-color: #444;
padding: 0;
border-bottom: 2px solid #10c1cb;
margin: 0;
}
-/* line 249, ../../../scss/_metastudio_styles.scss */
+/* line 403, ../../../scss/_app_styles.scss */
main > aside > div .side-nav.collection li {
border-bottom: 1px solid #555;
}
-/* line 251, ../../../scss/_metastudio_styles.scss */
+/* line 405, ../../../scss/_app_styles.scss */
main > aside > div .side-nav.collection li a {
border-left: 2px solid black;
}
-/* line 254, ../../../scss/_metastudio_styles.scss */
+/* line 408, ../../../scss/_app_styles.scss */
main > aside > div .side-nav.collection li.active a, main > aside > div .side-nav.collection li a:hover {
color: white !important;
border-left: 2px solid #10c1cb;
background-color: #10c1cb;
}
-/* line 266, ../../../scss/_metastudio_styles.scss */
+/* line 421, ../../../scss/_app_styles.scss */
article {
position: relative;
z-index: 1;
min-height: 400px;
overflow-x: visible;
}
-/* line 271, ../../../scss/_metastudio_styles.scss */
+/* line 426, ../../../scss/_app_styles.scss */
article > header, article form > header {
padding: 15px;
background-color: #f0f0f0;
}
-/* line 284, ../../../scss/_metastudio_styles.scss */
+/* line 439, ../../../scss/_app_styles.scss */
article h1:not(.subheader) .tabs {
display: inline-block;
position: relative;
bottom: -0.5rem;
}
-/* line 290, ../../../scss/_metastudio_styles.scss */
+/* line 445, ../../../scss/_app_styles.scss */
article h1:not(.subheader) div, article h1:not(.subheader) div input:not(.subheader) div {
display: inline-block;
position: relative;
}
-/* line 293, ../../../scss/_metastudio_styles.scss */
+/* line 448, ../../../scss/_app_styles.scss */
article h1:not(.subheader) div input {
height: 200%;
font-style: italic;
@@ -9373,13 +9553,13 @@ article h1:not(.subheader) div input {
border-bottom: 2px dotted #222;
background-color: inherit;
}
-/* line 303, ../../../scss/_metastudio_styles.scss */
+/* line 458, ../../../scss/_app_styles.scss */
article h1:not(.subheader) div input:hover {
background-color: white;
}
/* Card block */
-/* line 320, ../../../scss/_metastudio_styles.scss */
+/* line 468, ../../../scss/_app_styles.scss */
.card > * {
position: relative;
background-color: white;
@@ -9389,38 +9569,38 @@ article h1:not(.subheader) div input:hover {
opacity: 0.9;
overflow: hidden;
}
-/* line 330, ../../../scss/_metastudio_styles.scss */
+/* line 478, ../../../scss/_app_styles.scss */
.card > * > a {
color: inherit;
display: block;
position: relative;
z-index: 200;
}
-/* line 337, ../../../scss/_metastudio_styles.scss */
+/* line 485, ../../../scss/_app_styles.scss */
.card > *.published {
opacity: 1;
background-color: #e7fcfd;
}
-/* line 341, ../../../scss/_metastudio_styles.scss */
+/* line 489, ../../../scss/_app_styles.scss */
.card > *.unapproved {
opacity: 1;
border-style: solid;
border-color: #f04124;
}
-/* line 347, ../../../scss/_metastudio_styles.scss */
+/* line 495, ../../../scss/_app_styles.scss */
.card > *:hover {
border-style: solid;
opacity: 1;
}
-/* line 353, ../../../scss/_metastudio_styles.scss */
+/* line 501, ../../../scss/_app_styles.scss */
.card > *:hover i {
opacity: 0.3;
}
-/* line 356, ../../../scss/_metastudio_styles.scss */
+/* line 504, ../../../scss/_app_styles.scss */
.card > *:hover footer .age {
display: block;
}
-/* line 360, ../../../scss/_metastudio_styles.scss */
+/* line 508, ../../../scss/_app_styles.scss */
.card > * > i {
position: absolute;
top: -10px;
@@ -9429,34 +9609,34 @@ article h1:not(.subheader) div input:hover {
color: #0eacb5;
opacity: 0.3;
}
-/* line 368, ../../../scss/_metastudio_styles.scss */
+/* line 516, ../../../scss/_app_styles.scss */
.card > * .preview {
float: left;
padding-right: 5px;
padding-top: 4px;
}
-/* line 373, ../../../scss/_metastudio_styles.scss */
+/* line 521, ../../../scss/_app_styles.scss */
.card > * header {
overflow: hidden;
}
-/* line 376, ../../../scss/_metastudio_styles.scss */
+/* line 524, ../../../scss/_app_styles.scss */
.card > * h5 {
white-space: nowrap;
text-overflow: ellipsis;
margin-bottom: 0;
}
-/* line 381, ../../../scss/_metastudio_styles.scss */
+/* line 529, ../../../scss/_app_styles.scss */
.card > * .label, .card > * .label-list:empty:before {
opacity: 0.5;
}
-/* line 384, ../../../scss/_metastudio_styles.scss */
+/* line 532, ../../../scss/_app_styles.scss */
.card > * p {
color: #555;
height: 80px;
background-repeat: no-repeat;
font-size: 80%;
}
-/* line 390, ../../../scss/_metastudio_styles.scss */
+/* line 538, ../../../scss/_app_styles.scss */
.card > * .th {
margin: 20px auto;
width: 80px;
@@ -9464,23 +9644,23 @@ article h1:not(.subheader) div input:hover {
overflow: hidden;
display: none;
}
-/* line 396, ../../../scss/_metastudio_styles.scss */
+/* line 544, ../../../scss/_app_styles.scss */
.card > * .th:hover {
width: 150px;
height: 150px;
}
-/* line 400, ../../../scss/_metastudio_styles.scss */
+/* line 548, ../../../scss/_app_styles.scss */
.card > * .th img {
width: 100%;
}
-/* line 404, ../../../scss/_metastudio_styles.scss */
+/* line 552, ../../../scss/_app_styles.scss */
.card > * footer {
margin-top: 1rem;
font-size: 70%;
clear: both;
color: #e01818;
}
-/* line 409, ../../../scss/_metastudio_styles.scss */
+/* line 557, ../../../scss/_app_styles.scss */
.card > * footer .age {
display: none;
position: absolute;
@@ -9490,7 +9670,7 @@ article h1:not(.subheader) div input:hover {
width: 100%;
}
-/* line 420, ../../../scss/_metastudio_styles.scss */
+/* line 568, ../../../scss/_app_styles.scss */
.edit-card {
position: relative;
background-color: white;
@@ -9499,61 +9679,61 @@ article h1:not(.subheader) div input:hover {
}
/* Content Tabs */
-/* line 434, ../../../scss/_metastudio_styles.scss */
+/* line 581, ../../../scss/_app_styles.scss */
article .tabs {
display: inline-block;
}
-/* line 436, ../../../scss/_metastudio_styles.scss */
+/* line 583, ../../../scss/_app_styles.scss */
article .tabs dd a {
border-radius: 4px;
border: 1px transparent;
}
-/* line 440, ../../../scss/_metastudio_styles.scss */
+/* line 587, ../../../scss/_app_styles.scss */
article .tabs dd.active a {
color: #10c1cb;
border: 1px solid;
}
-/* line 444, ../../../scss/_metastudio_styles.scss */
+/* line 591, ../../../scss/_app_styles.scss */
article .tabs dd:hover a {
color: #10c1cb;
}
-/* line 448, ../../../scss/_metastudio_styles.scss */
+/* line 595, ../../../scss/_app_styles.scss */
article .tabs i {
margin-right: 5px;
font-size: 1.3rem;
}
-/* line 454, ../../../scss/_metastudio_styles.scss */
+/* line 601, ../../../scss/_app_styles.scss */
article section.content {
background-color: white;
border: 1px solid #eee;
}
/* Default card */
-/* line 463, ../../../scss/_metastudio_styles.scss */
+/* line 610, ../../../scss/_app_styles.scss */
.card > :hover .label, .card > :hover .label-list:empty:before {
opacity: 1;
}
-/* line 468, ../../../scss/_metastudio_styles.scss */
+/* line 615, ../../../scss/_app_styles.scss */
.gallery .card .th {
display: block;
}
/* Inline label list */
-/* line 476, ../../../scss/_metastudio_styles.scss */
+/* line 623, ../../../scss/_app_styles.scss */
.label-list {
display: inline-block;
text-align: left;
margin-bottom: 0.1rem;
}
-/* line 480, ../../../scss/_metastudio_styles.scss */
+/* line 627, ../../../scss/_app_styles.scss */
.label-list:empty:before {
content: "UNTAGGED";
opacity: 0.2 !important;
padding: 2px;
background-color: transparent;
}
-/* line 488, ../../../scss/_metastudio_styles.scss */
+/* line 635, ../../../scss/_app_styles.scss */
.label-list .label, .label-list .label-list:empty:before {
text-transform: uppercase;
background-color: transparent;
@@ -9562,78 +9742,78 @@ article section.content {
/*************************** 2. Custom CSS overrides ***********************/
/* Content area */
-/* line 504, ../../../scss/_metastudio_styles.scss */
+/* line 644, ../../../scss/_app_styles.scss */
article {
padding-bottom: 4rem;
}
-/* line 508, ../../../scss/_metastudio_styles.scss */
+/* line 648, ../../../scss/_app_styles.scss */
article > header {
border-bottom: 1px solid #ddd;
}
-/* line 512, ../../../scss/_metastudio_styles.scss */
+/* line 652, ../../../scss/_app_styles.scss */
article > footer {
border-top: 1px dotted #ddd;
}
-/* line 524, ../../../scss/_metastudio_styles.scss */
+/* line 664, ../../../scss/_app_styles.scss */
textarea {
min-height: 6rem;
}
/*
.orgitdown textarea{
- min-height: 15rem!important;
+ min-height: 15rem!important;
}
#content{
- min-height: 10rem;
+ min-height: 10rem;
}
*/
/*#content>p{
- font-size: inherit;
- line-height: 1.4;
- color: #222;
+ font-size: inherit;
+ line-height: 1.4;
+ color: #222;
}*/
/*************************** 3. Custom CSS Below ***********************/
/*CSS fix for tables generated via orgitdown*/
-/* line 544, ../../../scss/_metastudio_styles.scss */
+/* line 684, ../../../scss/_app_styles.scss */
#content table td, #content colgroup col {
float: none !important;
}
-/* line 549, ../../../scss/_metastudio_styles.scss */
+/* line 689, ../../../scss/_app_styles.scss */
.user {
color: inherit;
}
-/* line 552, ../../../scss/_metastudio_styles.scss */
+/* line 692, ../../../scss/_app_styles.scss */
.user {
color: inherit;
}
-/* line 555, ../../../scss/_metastudio_styles.scss */
+/* line 695, ../../../scss/_app_styles.scss */
.user i {
margin-right: 3px;
}
-/* line 558, ../../../scss/_metastudio_styles.scss */
+/* line 698, ../../../scss/_app_styles.scss */
.user:hover i {
opacity: 1;
}
-/* line 562, ../../../scss/_metastudio_styles.scss */
+/* line 702, ../../../scss/_app_styles.scss */
a.node {
display: block;
}
-/* line 566, ../../../scss/_metastudio_styles.scss */
+/* line 706, ../../../scss/_app_styles.scss */
.button.edit {
margin-bottom: 0;
}
/************ Forms **************/
/* Node edit */
-/* line 574, ../../../scss/_metastudio_styles.scss */
+/* line 714, ../../../scss/_app_styles.scss */
input.node-title {
font-size: 3rem;
height: 4rem;
@@ -9641,13 +9821,13 @@ input.node-title {
}
/* view-graph in node_details_base.html */
-/* line 581, ../../../scss/_metastudio_styles.scss */
+/* line 721, ../../../scss/_app_styles.scss */
.graph-height {
height: 70%;
}
/*for graph and location*/
-/* line 586, ../../../scss/_metastudio_styles.scss */
+/* line 726, ../../../scss/_app_styles.scss */
.graph-div {
height: 90%;
width: -webkit-calc(100% - 10px);
@@ -9661,13 +9841,13 @@ input.node-title {
}
/*for graph and location*/
-/* line 596, ../../../scss/_metastudio_styles.scss */
+/* line 736, ../../../scss/_app_styles.scss */
.graph-div h3 {
border-bottom: 2px inset #154534;
padding: 0.25em 0;
}
-/* line 601, ../../../scss/_metastudio_styles.scss */
+/* line 741, ../../../scss/_app_styles.scss */
#view-map-widget .close-reveal-modal, #view-map-edit-widget .close-reveal-modal {
z-index: 1;
background-color: captiontext;
@@ -9678,7 +9858,7 @@ input.node-title {
box-shadow: 0 1px 10px 2px #A9A9A9;
}
-/* line 612, ../../../scss/_metastudio_styles.scss */
+/* line 752, ../../../scss/_app_styles.scss */
#view-map-widget .close-reveal-modal:hover, #view-map-edit-widget .close-reveal-modal:hover {
background-color: white;
border-radius: 30px;
@@ -9691,7 +9871,7 @@ input.node-title {
/****************** CUSTOM *********************/
/* UI Button */
-/* line 627, ../../../scss/_metastudio_styles.scss */
+/* line 767, ../../../scss/_app_styles.scss */
.ui.button {
margin-right: 0.5rem;
border: 1px solid rgba(0, 0, 0, 0.2);
@@ -9700,160 +9880,56 @@ input.node-title {
padding: 0.8rem;
z-index: 500;
}
-/* line 637, ../../../scss/_metastudio_styles.scss */
+/* line 777, ../../../scss/_app_styles.scss */
.ui.button label {
color: #666;
}
-/* line 640, ../../../scss/_metastudio_styles.scss */
+/* line 780, ../../../scss/_app_styles.scss */
.ui.button small {
margin-left: 2px;
display: inline;
}
-/* line 644, ../../../scss/_metastudio_styles.scss */
+/* line 784, ../../../scss/_app_styles.scss */
.ui.button:hover, .ui.button:active {
border-color: rgba(255, 255, 255, 0.2);
background-color: rgba(0, 0, 0, 0.9);
}
-/* line 647, ../../../scss/_metastudio_styles.scss */
+/* line 787, ../../../scss/_app_styles.scss */
.ui.button:hover label, .ui.button:active label {
color: #ddd;
}
-/* line 650, ../../../scss/_metastudio_styles.scss */
+/* line 790, ../../../scss/_app_styles.scss */
.ui.button:hover small, .ui.button:active small {
display: inline;
}
-/* line 653, ../../../scss/_metastudio_styles.scss */
+/* line 793, ../../../scss/_app_styles.scss */
.ui.button:hover:focus, .ui.button:active:focus {
font-weight: bold;
}
-/* For landing page */
-/* line 662, ../../../scss/_metastudio_styles.scss */
-#landing > header {
- background-image: url("/static/ndf/css/themes/nroer/home_banner.jpg");
- position: relative;
- z-index: 50;
- background-color: #0A253A;
- padding: 1rem 0 1rem 0;
- border-bottom: 2px solid #00CEFD;
-}
-/* line 670, ../../../scss/_metastudio_styles.scss */
-#landing > header .logo {
- color: #555;
- text-align: center;
- padding: 1rem;
- background-color: rgba(0, 0, 0, 0.8);
-}
-/* line 675, ../../../scss/_metastudio_styles.scss */
-#landing > header .logo img {
- max-width: 75%;
- margin-bottom: 0.5rem;
-}
-/* line 680, ../../../scss/_metastudio_styles.scss */
-#landing > header .logo h1, #landing > header .logo article h1:not(.subheader) div input, article h1:not(.subheader) div #landing > header .logo input {
- font-size: 1.2rem;
- line-height: 1;
- font-weight: bold;
- text-transform: uppercase;
- color: white;
-}
-
-/* line 693, ../../../scss/_metastudio_styles.scss */
-.landing {
- position: relative;
-}
-/* line 696, ../../../scss/_metastudio_styles.scss */
-.landing h2 {
- margin-top: 2rem;
-}
-
-/* line 701, ../../../scss/_metastudio_styles.scss */
-section.promo {
- background-color: rgba(0, 0, 0, 0.9);
- border-bottom: 4px solid #00CEFD;
-}
-/* line 704, ../../../scss/_metastudio_styles.scss */
-section.promo .meta {
- padding-left: 2rem;
- padding-right: 2rem;
-}
-/* line 707, ../../../scss/_metastudio_styles.scss */
-section.promo .meta h4 {
- color: white;
-}
-
-/* line 714, ../../../scss/_metastudio_styles.scss */
-ul.partner img {
- max-height: 150px;
-}
-
-/* line 719, ../../../scss/_metastudio_styles.scss */
-div.banner {
- padding: 0 2rem;
- margin-bottom: 2rem;
- border: 2px solid #12d9e4;
- border-width: 2px 0;
-}
-/* line 724, ../../../scss/_metastudio_styles.scss */
-div.banner > * {
- background-color: #0eacb5;
- color: #eee;
- margin: 0;
-}
-/* line 726, ../../../scss/_metastudio_styles.scss */
-div.banner > * .slide {
- padding: 1rem;
- margin: 0;
- background-color: #0c969d;
- height: 250px !important;
-}
-/* line 731, ../../../scss/_metastudio_styles.scss */
-div.banner > * .slide > i {
- position: absolute;
- font-size: 15rem;
- pointer-events: none;
- color: white;
- opacity: 0.1;
- right: 5%;
-}
-/* line 742, ../../../scss/_metastudio_styles.scss */
-div.banner > * h3, div.banner > * h4, div.banner > * h5, div.banner > * h6, div.banner > * blockquote {
- color: white;
-}
-/* line 745, ../../../scss/_metastudio_styles.scss */
-div.banner > * blockquote {
- font-size: 140%;
- font-style: italic;
-}
-/* line 749, ../../../scss/_metastudio_styles.scss */
-div.banner > * p:first-child {
- color: white;
- font-size: 120%;
-}
-
-/* line 762, ../../../scss/_metastudio_styles.scss */
+/* line 802, ../../../scss/_app_styles.scss */
aside#help h4 {
color: black;
}
-/* line 765, ../../../scss/_metastudio_styles.scss */
+/* line 805, ../../../scss/_app_styles.scss */
aside#help p, aside#help h5, aside#help h6 {
color: #ddd;
padding: 0.3rem 0.9375rem;
}
-/* line 772, ../../../scss/_metastudio_styles.scss */
+/* line 812, ../../../scss/_app_styles.scss */
.align-center {
margin: 0 auto;
display: block;
}
-/* line 779, ../../../scss/_metastudio_styles.scss */
+/* line 818, ../../../scss/_app_styles.scss */
#profile-img {
height: 40px;
margin-right: 5px;
}
-/* line 788, ../../../scss/_metastudio_styles.scss */
+/* line 827, ../../../scss/_app_styles.scss */
#replies-area .disc-replies {
padding: 10px;
background-color: #dffbfd;
@@ -9862,199 +9938,11 @@ aside#help p, aside#help h5, aside#help h6 {
margin-left: 48px;
margin-top: 10px;
}
-/* line 797, ../../../scss/_metastudio_styles.scss */
+/* line 836, ../../../scss/_app_styles.scss */
#replies-area .disc-replies .reply-btn {
cursor: pointer;
}
-/* line 801, ../../../scss/_metastudio_styles.scss */
+/* line 840, ../../../scss/_app_styles.scss */
#replies-area .disc-replies .reply-btn:hover {
font-weight: bold;
}
-
-/*
-* The Foundation Stylesheet
-* You can paste sass snippets from compass or foundation here
-* Consider submitting these snippets upstream
-* http://compass-style.org/reference/compass/css3/
-* http://foundation.zurb.com/docs/components/global.html
-*/
-/*
-* Foundation fixes and hacks. Please document issues on https://github.com/zurb/foundation/issues
-*/
-/* Too many apps cause breakage */
-/*
-/* Protects reflowing elements on error */
-/* line 20, ../../../scss/_app_styles.scss */
-[data-abide] span.error, [data-abide] small.error {
- position: absolute;
-}
-
-/*active color for side-nav links*/
-/* line 25, ../../../scss/_app_styles.scss */
-.side-nav li.active a:not(.button) {
- color: #acacac;
-}
-
-/*
-* Foundation extensions
-*/
-/* line 34, ../../../scss/_app_styles.scss */
-pre {
- width: 92%;
- overflow: auto;
- border: 1px solid #eee;
- border-left: 1rem solid #eee;
- font: lighter 1.2rem/2rem Monaco;
- background: url("/static/ndf/pre.png");
- background-size: 1px 4rem;
- padding-left: 0.5rem;
- font-family: monospace;
-}
-
-/* line 47, ../../../scss/_app_styles.scss */
-.fixme {
- opacity: 0.5;
-}
-/* line 50, ../../../scss/_app_styles.scss */
-.fixme:hover {
- opacity: 1;
- color: inherit;
-}
-/* line 53, ../../../scss/_app_styles.scss */
-.fixme:hover:after {
- content: " fixme";
- color: orange;
-}
-
-/* Utility class to display the child spans of this element on hover */
-/* line 62, ../../../scss/_app_styles.scss */
-.show-span-on-hover span {
- display: none;
-}
-/* line 65, ../../../scss/_app_styles.scss */
-.show-span-on-hover:hover span {
- display: inline;
-}
-
-/* line 71, ../../../scss/_app_styles.scss */
-.show-on-hover .show {
- display: none;
- z-index: 1000;
-}
-/* line 75, ../../../scss/_app_styles.scss */
-.show-on-hover:hover .show {
- display: block;
-}
-
-/* Utility class to display the next siblings on hoverr */
-/* line 80, ../../../scss/_app_styles.scss */
-.extra.app {
- display: none;
-}
-
-/* Effects */
-/* line 86, ../../../scss/_app_styles.scss */
-.drop-shadow, #landing > header {
- -webkit-box-shadow: 0px 0px 5px 1px black;
- box-shadow: 0px 0px 5px 1px black;
-}
-
-/* line 90, ../../../scss/_app_styles.scss */
-.rounded {
- border-radius: 2px;
- -webkit-border-radius: 2px;
-}
-
-/* line 94, ../../../scss/_app_styles.scss */
-.transition-opacity {
- transition: opacity .3s ease;
- -moz-transition: opacity .3s ease;
- -webkit-transition: opacity .3s ease;
- -o-transition: opacity .3s ease;
-}
-
-/*Ratings bar based on http://codepen.io/lsirivong/pen/ekBxI */
-/* line 103, ../../../scss/_app_styles.scss */
-.rating-bar {
- /* the hidden clearer */
- /* this is gross, I threw this in to override the starred
- buttons when hovering. */
-}
-/* line 106, ../../../scss/_app_styles.scss */
-.rating-bar > span {
- /* remove inline-block whitespace */
- font-size: 0;
- /* flip the order so we can use the + and ~ combinators */
- unicode-bidi: bidi-override;
- direction: rtl;
-}
-/* line 114, ../../../scss/_app_styles.scss */
-.rating-bar.unrated {
- /* If the user has not rated yet */
-}
-/* line 116, ../../../scss/_app_styles.scss */
-.rating-bar.unrated:checked ~ label:before {
- color: #a9b2b3;
-}
-/* line 122, ../../../scss/_app_styles.scss */
-.rating-bar [type*="radio"] {
- display: none;
-}
-/* line 124, ../../../scss/_app_styles.scss */
-.rating-bar [type*="radio"] + label {
- /* only enough room for the star */
- display: inline-block;
- overflow: hidden;
- text-indent: 9999px;
- width: 1em;
- height: 1.4em;
- white-space: nowrap;
- font-size: 1.5rem;
- margin: 0;
-}
-/* line 134, ../../../scss/_app_styles.scss */
-.rating-bar [type*="radio"] + label:before {
- display: inline-block;
- text-indent: -9999px;
- content: '\2606';
- /* WHITE STAR */
- color: #888;
-}
-/* line 143, ../../../scss/_app_styles.scss */
-.rating-bar [type*="radio"]:checked ~ label:before, .rating-bar [type*="radio"] + label:hover ~ label:before, .rating-bar [type*="radio"] + label:hover:before {
- content: '\2605';
- /* BLACK STAR */
- color: #ff980d;
- text-shadow: 0 0 1px #333;
-}
-/* line 152, ../../../scss/_app_styles.scss */
-.rating-bar .last[type*="radio"] + label {
- text-indent: -9999px;
- width: .5em;
- margin-left: -.5em;
-}
-/* line 157, ../../../scss/_app_styles.scss */
-.rating-bar .last[type*="radio"] + label:before {
- width: .5em;
- height: 1.4em;
-}
-/* line 165, ../../../scss/_app_styles.scss */
-.rating-bar:hover [type*="radio"] + label:before {
- content: '\2606';
- /* WHITE STAR */
- color: #888;
- text-shadow: none;
-}
-/* line 171, ../../../scss/_app_styles.scss */
-.rating-bar:hover [type*="radio"] + label:hover ~ label:before,
-.rating-bar:hover [type*="radio"] + label:hover:before {
- content: '\2605';
- /* BLACK STAR */
- color: #ff980d;
- text-shadow: 0 0 1px #333;
-}
-
-/* line 180, ../../../scss/_app_styles.scss */
-body a:visited {
- color: #1d484a;
-}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/nroer/styles.css b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/nroer/styles.css
index 5bbf60a..1495421 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/nroer/styles.css
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/nroer/styles.css
@@ -1,5 +1,5 @@
/*
-* Metastudio Customization SASS
+* NROER Customization SASS
*/
/*
* Metstudio Default Skin File
@@ -1665,8 +1665,8 @@ select {
padding: 0.875rem 1.5rem 0.875rem 0.875rem;
font-size: 0.8125rem;
transition: opacity 300ms ease-out;
- background-color: #0094de;
- border-color: #007fbf;
+ background-color: #0eacb5;
+ border-color: #0c949c;
color: white;
}
/* line 115, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
@@ -1708,9 +1708,9 @@ select {
}
/* line 122, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
.alert-box.secondary {
- background-color: #aec0c9;
- border-color: #8fa7b4;
- color: #33444d;
+ background-color: #a9b2b3;
+ border-color: #909b9c;
+ color: white;
}
/* line 123, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
.alert-box.warning {
@@ -1722,7 +1722,7 @@ select {
.alert-box.info {
background-color: #fff0a5;
border-color: #ffe66a;
- color: #33444d;
+ color: #383e3e;
}
/* line 125, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
.alert-box.alert-close {
@@ -2268,8 +2268,8 @@ select {
list-style: none;
border-style: solid;
border-width: 1px;
- background-color: #009deb;
- border-color: #008dd4;
+ background-color: #10c1cb;
+ border-color: #0eaeb7;
border-radius: 5px;
}
/* line 122, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
@@ -2358,14 +2358,14 @@ button, .button {
padding-bottom: 1.0625rem;
padding-left: 2rem;
font-size: 1rem;
- background-color: #0094de;
- border-color: #0076b2;
+ background-color: #0eacb5;
+ border-color: #0b8a91;
color: white;
transition: background-color 300ms ease-out;
}
/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button:hover, button:focus, .button:hover, .button:focus {
- background-color: #0076b2;
+ background-color: #0b8a91;
}
/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button:hover, button:focus, .button:hover, .button:focus {
@@ -2373,13 +2373,13 @@ button:hover, button:focus, .button:hover, .button:focus {
}
/* line 223, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.secondary, .button.secondary {
- background-color: #aec0c9;
- border-color: #819dab;
- color: #333333;
+ background-color: #a9b2b3;
+ border-color: #859192;
+ color: white;
}
/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.secondary:hover, button.secondary:focus, .button.secondary:hover, .button.secondary:focus {
- background-color: #819dab;
+ background-color: #859192;
}
/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.secondary:hover, button.secondary:focus, .button.secondary:hover, .button.secondary:focus {
@@ -2491,8 +2491,8 @@ button.round, .button.round {
}
/* line 240, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.disabled, button[disabled], .button.disabled, .button[disabled] {
- background-color: #0094de;
- border-color: #0076b2;
+ background-color: #0eacb5;
+ border-color: #0b8a91;
color: white;
cursor: default;
opacity: 0.7;
@@ -2500,7 +2500,7 @@ button.disabled, button[disabled], .button.disabled, .button[disabled] {
}
/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.disabled:hover, button.disabled:focus, button[disabled]:hover, button[disabled]:focus, .button.disabled:hover, .button.disabled:focus, .button[disabled]:hover, .button[disabled]:focus {
- background-color: #0076b2;
+ background-color: #0b8a91;
}
/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.disabled:hover, button.disabled:focus, button[disabled]:hover, button[disabled]:focus, .button.disabled:hover, .button.disabled:focus, .button[disabled]:hover, .button[disabled]:focus {
@@ -2508,20 +2508,20 @@ button.disabled:hover, button.disabled:focus, button[disabled]:hover, button[dis
}
/* line 179, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.disabled:hover, button.disabled:focus, button[disabled]:hover, button[disabled]:focus, .button.disabled:hover, .button.disabled:focus, .button[disabled]:hover, .button[disabled]:focus {
- background-color: #0094de;
+ background-color: #0eacb5;
}
/* line 241, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.disabled.secondary, button[disabled].secondary, .button.disabled.secondary, .button[disabled].secondary {
- background-color: #aec0c9;
- border-color: #819dab;
- color: #333333;
+ background-color: #a9b2b3;
+ border-color: #859192;
+ color: white;
cursor: default;
opacity: 0.7;
box-shadow: none;
}
/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.disabled.secondary:hover, button.disabled.secondary:focus, button[disabled].secondary:hover, button[disabled].secondary:focus, .button.disabled.secondary:hover, .button.disabled.secondary:focus, .button[disabled].secondary:hover, .button[disabled].secondary:focus {
- background-color: #819dab;
+ background-color: #859192;
}
/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.disabled.secondary:hover, button.disabled.secondary:focus, button[disabled].secondary:hover, button[disabled].secondary:focus, .button.disabled.secondary:hover, .button.disabled.secondary:focus, .button[disabled].secondary:hover, .button[disabled].secondary:focus {
@@ -2529,7 +2529,7 @@ button.disabled.secondary:hover, button.disabled.secondary:focus, button[disable
}
/* line 179, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.disabled.secondary:hover, button.disabled.secondary:focus, button[disabled].secondary:hover, button[disabled].secondary:focus, .button.disabled.secondary:hover, .button.disabled.secondary:focus, .button[disabled].secondary:hover, .button[disabled].secondary:focus {
- background-color: #aec0c9;
+ background-color: #a9b2b3;
}
/* line 242, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
button.disabled.success, button[disabled].success, .button.disabled.success, .button[disabled].success {
@@ -4546,7 +4546,7 @@ label.error {
}
/* line 168, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
.icon-bar > *:hover {
- background: #0094de;
+ background: #0eacb5;
}
/* line 170, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
.icon-bar > * label {
@@ -4910,7 +4910,7 @@ kbd {
margin-bottom: inherit;
padding: 0.25rem 0.5rem 0.25rem;
font-size: 0.6875rem;
- background-color: #0094de;
+ background-color: #0eacb5;
color: #666666;
}
/* line 96, ../../../bower_components/foundation/scss/foundation/components/_labels.scss */
@@ -4938,8 +4938,8 @@ kbd {
}
/* line 102, ../../../bower_components/foundation/scss/foundation/components/_labels.scss */
.label.secondary, .secondary.label-list:empty:before {
- background-color: #aec0c9;
- color: #333333;
+ background-color: #a9b2b3;
+ color: #666666;
}
/* line 103, ../../../bower_components/foundation/scss/foundation/components/_labels.scss */
.label.info, .info.label-list:empty:before {
@@ -5365,14 +5365,14 @@ ul.pagination li.unavailable:hover a, ul.pagination li.unavailable a:focus, ul.p
}
/* line 68, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
ul.pagination li.current a, ul.pagination li.current button {
- background: #0094de;
+ background: #0eacb5;
color: white;
font-weight: bold;
cursor: default;
}
/* line 75, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
ul.pagination li.current a:hover, ul.pagination li.current a:focus, ul.pagination li.current button:hover, ul.pagination li.current button:focus {
- background: #0094de;
+ background: #0eacb5;
}
/* line 136, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
ul.pagination li {
@@ -5396,10 +5396,10 @@ ul.pagination li {
.panel {
border-style: solid;
border-width: 1px;
- border-color: #c2ebff;
+ border-color: #c6f8fb;
margin-bottom: 1.25rem;
padding: 1.25rem;
- background: #f9fdff;
+ background: #f9feff;
color: #333333;
}
/* line 54, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
@@ -5427,10 +5427,10 @@ ul.pagination li {
.panel.callout {
border-style: solid;
border-width: 1px;
- border-color: #b8e7ff;
+ border-color: #bbf6fa;
margin-bottom: 1.25rem;
padding: 1.25rem;
- background: #eef9ff;
+ background: #edfdfe;
color: #333333;
}
/* line 54, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
@@ -5456,7 +5456,7 @@ ul.pagination li {
}
/* line 83, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
.panel.callout a:not(.button) {
- color: #0094de;
+ color: #0eacb5;
}
/* line 88, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
.panel.radius {
@@ -5534,13 +5534,13 @@ ul.pagination li {
}
/* line 61, ../../../bower_components/foundation/scss/foundation/components/_progress-bars.scss */
.progress .meter {
- background: #0094de;
+ background: #0eacb5;
height: 100%;
display: block;
}
/* line 64, ../../../bower_components/foundation/scss/foundation/components/_progress-bars.scss */
.progress.secondary .meter {
- background: #aec0c9;
+ background: #a9b2b3;
height: 100%;
display: block;
}
@@ -5619,12 +5619,12 @@ ul.pagination li {
}
/* line 146, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
.range-slider.radius .range-slider-handle {
- background: #0094de;
+ background: #0eacb5;
border-radius: 5px;
}
/* line 115, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
.range-slider.radius .range-slider-handle:hover {
- background: #0082c3;
+ background: #0c979f;
}
/* line 148, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
.range-slider.round {
@@ -5633,12 +5633,12 @@ ul.pagination li {
}
/* line 150, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
.range-slider.round .range-slider-handle {
- background: #0094de;
+ background: #0eacb5;
border-radius: 1000px;
}
/* line 115, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
.range-slider.round .range-slider-handle:hover {
- background: #0082c3;
+ background: #0c979f;
}
/* line 152, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
.range-slider.disabled, .range-slider[disabled] {
@@ -5648,13 +5648,13 @@ ul.pagination li {
}
/* line 154, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
.range-slider.disabled .range-slider-handle, .range-slider[disabled] .range-slider-handle {
- background: #0094de;
+ background: #0eacb5;
cursor: default;
opacity: 0.7;
}
/* line 115, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
.range-slider.disabled .range-slider-handle:hover, .range-slider[disabled] .range-slider-handle:hover {
- background: #0082c3;
+ background: #0c979f;
}
/* line 157, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
@@ -5662,7 +5662,7 @@ ul.pagination li {
display: inline-block;
position: absolute;
height: 0.875rem;
- background: #acbec8;
+ background: #a8b0b1;
}
/* line 163, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
@@ -5677,11 +5677,11 @@ ul.pagination li {
cursor: pointer;
-ms-touch-action: manipulation;
touch-action: manipulation;
- background: #0094de;
+ background: #0eacb5;
}
/* line 115, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
.range-slider-handle:hover {
- background: #0082c3;
+ background: #0c979f;
}
/* line 165, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
@@ -6097,7 +6097,7 @@ dialog[open] {
.sub-nav li.active a {
border-radius: 3px;
font-weight: normal;
- background: #0094de;
+ background: #0eacb5;
padding: 0.1875rem 1rem;
cursor: default;
color: white;
@@ -6106,7 +6106,7 @@ dialog[open] {
.sub-nav dt.active a:hover,
.sub-nav dd.active a:hover,
.sub-nav li.active a:hover {
- background: #007fbf;
+ background: #0c949c;
}
/* line 204, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
@@ -6164,7 +6164,7 @@ dialog[open] {
}
/* line 102, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
.switch input:checked + label {
- background: #0094de;
+ background: #0eacb5;
}
/* line 106, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
.switch input:checked + label:after {
@@ -6195,7 +6195,7 @@ dialog[open] {
}
/* line 155, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
.switch input:checked + label {
- background: #0094de;
+ background: #0eacb5;
}
/* line 118, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
.switch.large label {
@@ -6347,7 +6347,7 @@ table tr td {
outline: none;
display: block;
background-color: inherit;
- color: #005985;
+ color: #08676d;
padding: 0.4rem 0.8rem;
font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1rem;
@@ -6359,7 +6359,7 @@ table tr td {
/* line 55, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
.tabs dd.active a, .tabs .tab-title.active a {
background-color: inherit;
- color: #005985;
+ color: #08676d;
}
/* line 64, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
.tabs.radius dd:first-child a, .tabs.radius .tab:first-child a {
@@ -6458,7 +6458,7 @@ table tr td {
}
/* line 49, ../../../bower_components/foundation/scss/foundation/components/_thumbs.scss */
.th:hover, .th:focus {
- box-shadow: 0 0 6px 1px rgba(0, 148, 222, 0.5);
+ box-shadow: 0 0 6px 1px rgba(14, 172, 181, 0.5);
}
/* line 63, ../../../bower_components/foundation/scss/foundation/components/_thumbs.scss */
.th.radius {
@@ -6475,8 +6475,8 @@ table tr td {
}
/* line 45, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
.has-tip:hover, .has-tip:focus {
- border-bottom: dotted 1px #004364;
- color: #0094de;
+ border-bottom: dotted 1px #064d51;
+ color: #0eacb5;
}
/* line 51, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
.has-tip.tip-left, .has-tip.tip-right {
@@ -6529,8 +6529,8 @@ table tr td {
}
/* line 95, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
.tooltip.opened {
- color: #0094de !important;
- border-bottom: dotted 1px #004364 !important;
+ color: #0eacb5 !important;
+ border-bottom: dotted 1px #064d51 !important;
}
/* line 101, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
@@ -6797,13 +6797,13 @@ meta.foundation-mq-topbar {
font-size: 1rem;
padding-right: 16.66667px;
padding-left: 16.66667px;
- background-color: #0094de;
- border-color: #0076b2;
+ background-color: #0eacb5;
+ border-color: #0b8a91;
color: white;
}
/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
.top-bar-section ul li > a.button:hover, .top-bar-section ul li > a.button:focus {
- background-color: #0076b2;
+ background-color: #0b8a91;
}
/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
.top-bar-section ul li > a.button:hover, .top-bar-section ul li > a.button:focus {
@@ -6811,13 +6811,13 @@ meta.foundation-mq-topbar {
}
/* line 325, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.top-bar-section ul li > a.button.secondary {
- background-color: #aec0c9;
- border-color: #819dab;
- color: #333333;
+ background-color: #a9b2b3;
+ border-color: #859192;
+ color: white;
}
/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
.top-bar-section ul li > a.button.secondary:hover, .top-bar-section ul li > a.button.secondary:focus {
- background-color: #819dab;
+ background-color: #859192;
}
/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
.top-bar-section ul li > a.button.secondary:hover, .top-bar-section ul li > a.button.secondary:focus {
@@ -6870,13 +6870,13 @@ meta.foundation-mq-topbar {
font-size: 1rem;
padding-right: 16.66667px;
padding-left: 16.66667px;
- background-color: #0094de;
- border-color: #0076b2;
+ background-color: #0eacb5;
+ border-color: #0b8a91;
color: white;
}
/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
.top-bar-section ul li > button:hover, .top-bar-section ul li > button:focus {
- background-color: #0076b2;
+ background-color: #0b8a91;
}
/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
.top-bar-section ul li > button:hover, .top-bar-section ul li > button:focus {
@@ -6884,13 +6884,13 @@ meta.foundation-mq-topbar {
}
/* line 337, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.top-bar-section ul li > button.secondary {
- background-color: #aec0c9;
- border-color: #819dab;
- color: #333333;
+ background-color: #a9b2b3;
+ border-color: #859192;
+ color: white;
}
/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
.top-bar-section ul li > button.secondary:hover, .top-bar-section ul li > button.secondary:focus {
- background-color: #819dab;
+ background-color: #859192;
}
/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
.top-bar-section ul li > button.secondary:hover, .top-bar-section ul li > button.secondary:focus {
@@ -6941,17 +6941,17 @@ meta.foundation-mq-topbar {
/* line 344, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.top-bar-section ul li:hover:not(.has-form) > a {
background-color: #555555;
- background: #004a6f;
+ background: #075b60;
color: white;
}
/* line 354, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.top-bar-section ul li.active > a {
- background: #009deb;
+ background: #10c1cb;
color: white;
}
/* line 357, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.top-bar-section ul li.active > a:hover {
- background: #009deb;
+ background: #10c1cb;
color: white;
}
/* line 365, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
@@ -7131,7 +7131,7 @@ meta.foundation-mq-topbar {
/* line 492, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.top-bar-section li.hover > a:not(.button) {
background-color: #555555;
- background: #004a6f;
+ background: #075b60;
color: white;
}
/* line 501, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
@@ -7143,18 +7143,18 @@ meta.foundation-mq-topbar {
/* line 505, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.top-bar-section li:not(.has-form) a:not(.button):hover {
background-color: #555555;
- background: #004a6f;
+ background: #075b60;
}
/* line 514, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.top-bar-section li.active:not(.has-form) a:not(.button) {
padding: 0 16.66667px;
line-height: 50px;
color: white;
- background: #009deb;
+ background: #10c1cb;
}
/* line 519, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.top-bar-section li.active:not(.has-form) a:not(.button):hover {
- background: #009deb;
+ background: #10c1cb;
color: white;
}
/* line 531, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
@@ -7239,7 +7239,7 @@ meta.foundation-mq-topbar {
.top-bar-section .dropdown li:not(.has-form):not(.active):hover > a:not(.button) {
color: white;
background-color: #555555;
- background: #004a6f;
+ background: #075b60;
}
/* line 604, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.top-bar-section .dropdown li label {
@@ -7288,12 +7288,12 @@ meta.foundation-mq-topbar {
/* line 657, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.no-js .top-bar-section ul li:hover > a {
background-color: #555555;
- background: #004a6f;
+ background: #075b60;
color: white;
}
/* line 666, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
.no-js .top-bar-section ul li:active > a {
- background: #009deb;
+ background: #10c1cb;
color: white;
}
/* line 674, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
@@ -7576,13 +7576,13 @@ td {
/* Default Link Styles */
/* line 217, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
a {
- color: #005985;
+ color: #08676d;
text-decoration: none;
line-height: inherit;
}
/* line 223, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
a:hover, a:focus {
- color: #002c43;
+ color: #043436;
}
/* line 230, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
a img {
@@ -7704,10 +7704,10 @@ code {
font-family: Consolas, "Liberation Mono", Courier, monospace;
font-weight: normal;
color: #333333;
- background-color: #e7ecef;
+ background-color: #e5e8e8;
border-width: 1px;
border-style: solid;
- border-color: #cbd6dc;
+ border-color: #cdd2d2;
padding: 0.125rem 0.3125rem 0.0625rem;
}
@@ -9079,85 +9079,377 @@ th.hide-for-touch {
}
}
/*
-* Metstudio Platform Stylesheet
+* NROER Platform Stylesheet
+*/
+/* line 6, ../../../scss/_nroer_styles.scss */
+.workspace {
+ background: url("watermark.png") no-repeat 1% 65%;
+ min-height: 100%;
+ margin-bottom: -130px !important;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+/* line 9, ../../../scss/_nroer_styles.scss */
+.workspace .app.button-bar {
+ height: 45px;
+}
+/* line 21, ../../../scss/_nroer_styles.scss */
+.workspace:after {
+ content: "";
+ display: block;
+ height: 130px;
+}
+
+/* For landing page */
+/* line 31, ../../../scss/_nroer_styles.scss */
+#landing > header {
+ background-image: url("/static/ndf/css/themes/nroer/home_banner.jpg");
+ position: relative;
+ z-index: 50;
+ background-color: #0A253A;
+ padding: 1rem 0 1rem 0;
+ border-bottom: 2px solid #00CEFD;
+}
+/* line 39, ../../../scss/_nroer_styles.scss */
+#landing > header .logo {
+ color: #555;
+ text-align: center;
+ padding: 1rem;
+ background-color: rgba(0, 0, 0, 0.8);
+}
+/* line 44, ../../../scss/_nroer_styles.scss */
+#landing > header .logo img {
+ max-width: 75%;
+ margin-bottom: 0.5rem;
+}
+/* line 49, ../../../scss/_nroer_styles.scss */
+#landing > header .logo h1, #landing > header .logo article h1:not(.subheader) div input, article h1:not(.subheader) div #landing > header .logo input {
+ font-size: 1.2rem;
+ line-height: 1;
+ font-weight: bold;
+ text-transform: uppercase;
+ color: white;
+}
+
+/* line 62, ../../../scss/_nroer_styles.scss */
+.landing {
+ position: relative;
+}
+/* line 65, ../../../scss/_nroer_styles.scss */
+.landing h2 {
+ margin-top: 2rem;
+}
+
+/* line 70, ../../../scss/_nroer_styles.scss */
+section.promo {
+ background-color: rgba(0, 0, 0, 0.9);
+ border-bottom: 4px solid #00CEFD;
+}
+/* line 73, ../../../scss/_nroer_styles.scss */
+section.promo .meta {
+ padding-left: 2rem;
+ padding-right: 2rem;
+}
+/* line 76, ../../../scss/_nroer_styles.scss */
+section.promo .meta h4 {
+ color: white;
+}
+
+/* line 83, ../../../scss/_nroer_styles.scss */
+ul.partner img {
+ max-height: 150px;
+}
+
+/* line 88, ../../../scss/_nroer_styles.scss */
+div.banner {
+ padding: 0 2rem;
+ margin-bottom: 2rem;
+ border: 2px solid #12d9e4;
+ border-width: 2px 0;
+}
+/* line 93, ../../../scss/_nroer_styles.scss */
+div.banner > * {
+ background-color: #0eacb5;
+ color: #eee;
+ margin: 0;
+}
+/* line 95, ../../../scss/_nroer_styles.scss */
+div.banner > * .slide {
+ padding: 1rem;
+ margin: 0;
+ background-color: #0c969d;
+ height: 50vh !important;
+}
+/* line 100, ../../../scss/_nroer_styles.scss */
+div.banner > * .slide > i {
+ position: absolute;
+ font-size: 17rem;
+ pointer-events: none;
+ color: white;
+ opacity: 0.1;
+ right: 5%;
+}
+/* line 111, ../../../scss/_nroer_styles.scss */
+div.banner > * h3, div.banner > * h4, div.banner > * h5, div.banner > * h6, div.banner > * blockquote {
+ color: white;
+}
+/* line 114, ../../../scss/_nroer_styles.scss */
+div.banner > * blockquote {
+ font-size: 140%;
+ font-style: italic;
+}
+/* line 118, ../../../scss/_nroer_styles.scss */
+div.banner > * p:first-child {
+ color: white;
+ font-size: 120%;
+}
+
+/*
+* The Foundation Stylesheet
+* You can paste sass snippets from compass or foundation here
+* Consider submitting these snippets upstream
+* http://compass-style.org/reference/compass/css3/
+* http://foundation.zurb.com/docs/components/global.html
+*/
+/*
+* Foundation fixes and hacks. Please document issues on https://github.com/zurb/foundation/issues
+*/
+/* Too many apps cause breakage */
+/*
+/* Protects reflowing elements on error */
+/* line 21, ../../../scss/_app_styles.scss */
+[data-abide] span.error, [data-abide] small.error {
+ position: absolute;
+}
+
+/*active color for side-nav links*/
+/* line 26, ../../../scss/_app_styles.scss */
+.side-nav li.active a:not(.button) {
+ color: #acacac;
+}
+
+/*
+* Foundation extensions
*/
-/* line 8, ../../../scss/_metastudio_styles.scss */
+/* line 35, ../../../scss/_app_styles.scss */
+pre {
+ width: 92%;
+ overflow: auto;
+ border: 1px solid #eee;
+ border-left: 1rem solid #eee;
+ font: lighter 1.2rem/2rem Monaco;
+ background: url("/static/ndf/pre.png");
+ background-size: 1px 4rem;
+ padding-left: 0.5rem;
+ font-family: monospace;
+}
+
+/* line 48, ../../../scss/_app_styles.scss */
+.fixme {
+ opacity: 0.5;
+}
+/* line 51, ../../../scss/_app_styles.scss */
+.fixme:hover {
+ opacity: 1;
+ color: inherit;
+}
+/* line 54, ../../../scss/_app_styles.scss */
+.fixme:hover:after {
+ content: " fixme";
+ color: orange;
+}
+
+/* Utility class to display the child spans of this element on hover */
+/* line 63, ../../../scss/_app_styles.scss */
+.show-span-on-hover span {
+ display: none;
+}
+/* line 66, ../../../scss/_app_styles.scss */
+.show-span-on-hover:hover span {
+ display: inline;
+}
+
+/* line 72, ../../../scss/_app_styles.scss */
+.show-on-hover .show {
+ display: none;
+ z-index: 1000;
+}
+/* line 76, ../../../scss/_app_styles.scss */
+.show-on-hover:hover .show {
+ display: block;
+}
+
+/* Utility class to display the next siblings on hoverr */
+/* line 81, ../../../scss/_app_styles.scss */
+.extra.app {
+ display: none;
+}
+
+/* Effects */
+/* line 87, ../../../scss/_app_styles.scss */
+.drop-shadow, #landing > header {
+ -webkit-box-shadow: 0px 0px 5px 1px black;
+ box-shadow: 0px 0px 5px 1px black;
+}
+
+/* line 91, ../../../scss/_app_styles.scss */
+.rounded {
+ border-radius: 2px;
+ -webkit-border-radius: 2px;
+}
+
+/* line 95, ../../../scss/_app_styles.scss */
+.transition-opacity {
+ transition: opacity .3s ease;
+ -moz-transition: opacity .3s ease;
+ -webkit-transition: opacity .3s ease;
+ -o-transition: opacity .3s ease;
+}
+
+/*Ratings bar based on http://codepen.io/lsirivong/pen/ekBxI */
+/* line 104, ../../../scss/_app_styles.scss */
+.rating-bar {
+ /* the hidden clearer */
+ /* this is gross, I threw this in to override the starred
+ buttons when hovering. */
+}
+/* line 107, ../../../scss/_app_styles.scss */
+.rating-bar > span {
+ /* remove inline-block whitespace */
+ font-size: 0;
+ /* flip the order so we can use the + and ~ combinators */
+ unicode-bidi: bidi-override;
+ direction: rtl;
+}
+/* line 115, ../../../scss/_app_styles.scss */
+.rating-bar.unrated {
+ /* If the user has not rated yet */
+}
+/* line 117, ../../../scss/_app_styles.scss */
+.rating-bar.unrated:checked ~ label:before {
+ color: #a9b2b3;
+}
+/* line 123, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"] {
+ display: none;
+}
+/* line 125, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"] + label {
+ /* only enough room for the star */
+ display: inline-block;
+ overflow: hidden;
+ text-indent: 9999px;
+ width: 1em;
+ height: 1.4em;
+ white-space: nowrap;
+ font-size: 1.5rem;
+ margin: 0;
+}
+/* line 135, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"] + label:before {
+ display: inline-block;
+ text-indent: -9999px;
+ content: '\2606';
+ /* WHITE STAR */
+ color: #888;
+}
+/* line 144, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"]:checked ~ label:before, .rating-bar [type*="radio"] + label:hover ~ label:before, .rating-bar [type*="radio"] + label:hover:before {
+ content: '\2605';
+ /* BLACK STAR */
+ color: #ff980d;
+ text-shadow: 0 0 1px #333;
+}
+/* line 153, ../../../scss/_app_styles.scss */
+.rating-bar .last[type*="radio"] + label {
+ text-indent: -9999px;
+ width: .5em;
+ margin-left: -.5em;
+}
+/* line 158, ../../../scss/_app_styles.scss */
+.rating-bar .last[type*="radio"] + label:before {
+ width: .5em;
+ height: 1.4em;
+}
+/* line 166, ../../../scss/_app_styles.scss */
+.rating-bar:hover [type*="radio"] + label:before {
+ content: '\2606';
+ /* WHITE STAR */
+ color: #888;
+ text-shadow: none;
+}
+/* line 172, ../../../scss/_app_styles.scss */
+.rating-bar:hover [type*="radio"] + label:hover ~ label:before,
+.rating-bar:hover [type*="radio"] + label:hover:before {
+ content: '\2605';
+ /* BLACK STAR */
+ color: #ff980d;
+ text-shadow: 0 0 1px #333;
+}
+
+/* line 181, ../../../scss/_app_styles.scss */
+body a:visited {
+ color: #1d484a;
+}
+
+/* line 189, ../../../scss/_app_styles.scss */
body {
background-color: #fafafa;
}
-/* line 14, ../../../scss/_metastudio_styles.scss */
+/* line 195, ../../../scss/_app_styles.scss */
.top-bar a.language.button {
padding: 5px 10px;
margin-top: 3px;
background-color: #555;
color: black;
}
-/* line 19, ../../../scss/_metastudio_styles.scss */
+/* line 200, ../../../scss/_app_styles.scss */
.top-bar a.language.button:hover {
background-color: white;
color: black;
}
-/* line 24, ../../../scss/_metastudio_styles.scss */
+/* line 205, ../../../scss/_app_styles.scss */
.top-bar ul.language-selector {
height: 50px;
float: right;
margin: 0;
}
-/* line 29, ../../../scss/_metastudio_styles.scss */
+/* line 210, ../../../scss/_app_styles.scss */
.top-bar .active {
- background-color: #005985 !important;
+ background-color: #08676d !important;
}
-/* line 33, ../../../scss/_metastudio_styles.scss */
+/* line 214, ../../../scss/_app_styles.scss */
.top-bar h1 .flag, article h1:not(.subheader) div .top-bar input .flag {
height: 20px;
margin-bottom: 4px;
margin-right: 2px;
}
-/* line 38, ../../../scss/_metastudio_styles.scss */
+/* line 219, ../../../scss/_app_styles.scss */
.top-bar h1 img, .top-bar article h1:not(.subheader) div input img, article h1:not(.subheader) div .top-bar input img {
/* Logo */
height: 40px;
}
-/* line 42, ../../../scss/_metastudio_styles.scss */
+/* line 223, ../../../scss/_app_styles.scss */
.top-bar h1 a, .top-bar article h1:not(.subheader) div input a, article h1:not(.subheader) div .top-bar input a {
color: white !important;
}
-/* line 46, ../../../scss/_metastudio_styles.scss */
+/* line 227, ../../../scss/_app_styles.scss */
.top-bar .group:hover {
background-color: #111;
}
-/* line 51, ../../../scss/_metastudio_styles.scss */
+/* line 232, ../../../scss/_app_styles.scss */
.top-bar .logout {
background-color: #f04124 !important;
}
-/* line 55, ../../../scss/_metastudio_styles.scss */
+/* line 236, ../../../scss/_app_styles.scss */
.top-bar .logout:hover {
background-color: #d32a0e !important;
transition: background-color 400ms ease-out;
}
-/* line 62, ../../../scss/_metastudio_styles.scss */
-.workspace {
- background: url("watermark.png") no-repeat 0 80%;
- min-height: 100%;
- margin-bottom: -130px !important;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-/* line 65, ../../../scss/_metastudio_styles.scss */
-.workspace .app.button-bar {
- height: 45px;
-}
-/* line 77, ../../../scss/_metastudio_styles.scss */
-.workspace:after {
- content: "";
- display: block;
- height: 130px;
-}
-
-/* line 86, ../../../scss/_metastudio_styles.scss */
+/* line 244, ../../../scss/_app_styles.scss */
body > footer {
padding: 20px 0;
position: relative;
@@ -9165,56 +9457,56 @@ body > footer {
min-height: 170px;
background-color: rgba(0, 0, 0, 0.8);
}
-/* line 94, ../../../scss/_metastudio_styles.scss */
+/* line 252, ../../../scss/_app_styles.scss */
body > footer section:first-child {
border-bottom: 1px solid #222;
margin-bottom: 1rem;
}
-/* line 98, ../../../scss/_metastudio_styles.scss */
+/* line 256, ../../../scss/_app_styles.scss */
body > footer a {
- color: #777;
+ color: #bbbbbb !important;
}
-/* line 100, ../../../scss/_metastudio_styles.scss */
+/* line 258, ../../../scss/_app_styles.scss */
body > footer a:hover {
- color: #eee;
+ color: #eee !important;
}
-/* line 104, ../../../scss/_metastudio_styles.scss */
+/* line 262, ../../../scss/_app_styles.scss */
body > footer strong a {
border-bottom: 1px dotted #555;
}
-/* line 111, ../../../scss/_metastudio_styles.scss */
+/* line 268, ../../../scss/_app_styles.scss */
.coll-arrows {
cursor: pointer;
display: block;
padding: 0.5rem;
}
-/* line 116, ../../../scss/_metastudio_styles.scss */
+/* line 273, ../../../scss/_app_styles.scss */
.coll-arrows:hover {
background-color: #D3D3D3;
}
/* Sections */
-/* line 126, ../../../scss/_metastudio_styles.scss */
+/* line 280, ../../../scss/_app_styles.scss */
main > nav {
border-top: 3px solid black;
position: relative;
z-index: 10;
}
-/* line 130, ../../../scss/_metastudio_styles.scss */
+/* line 284, ../../../scss/_app_styles.scss */
main > nav > .button-bar {
- background-color: #009deb;
+ background-color: #10c1cb;
/* Hide icons till we can retreive custom icons from the system */
}
-/* line 132, ../../../scss/_metastudio_styles.scss */
+/* line 286, ../../../scss/_app_styles.scss */
main > nav > .button-bar .button-group {
margin: 0;
}
-/* line 134, ../../../scss/_metastudio_styles.scss */
+/* line 288, ../../../scss/_app_styles.scss */
main > nav > .button-bar .button-group.tools {
padding: 5px;
}
-/* line 140, ../../../scss/_metastudio_styles.scss */
+/* line 294, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button {
border: none;
font-size: 0.8rem;
@@ -9223,147 +9515,139 @@ main > nav > .button-bar li .button {
color: black;
margin: 0;
}
-/* line 144, ../../../scss/_metastudio_styles.scss */
+/* line 298, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button.home {
font-weight: bold;
}
-/* line 147, ../../../scss/_metastudio_styles.scss */
+/* line 301, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button.settings, main > nav > .button-bar li .button#toggle-help {
padding: 6px 10px;
color: #333;
background-color: rgba(255, 255, 255, 0.3);
}
-/* line 152, ../../../scss/_metastudio_styles.scss */
+/* line 306, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button.settings:hover, main > nav > .button-bar li .button#toggle-help:hover {
background-color: rgba(0, 0, 0, 0.2);
color: white;
}
-/* line 157, ../../../scss/_metastudio_styles.scss */
+/* line 311, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button#toggle-help {
background-color: inherit;
}
-/* line 161, ../../../scss/_metastudio_styles.scss */
+/* line 315, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button.settings:after {
border: none;
}
-/* line 169, ../../../scss/_metastudio_styles.scss */
+/* line 323, ../../../scss/_app_styles.scss */
main > nav > .button-bar li .button:hover {
color: white;
}
-/* line 175, ../../../scss/_metastudio_styles.scss */
+/* line 329, ../../../scss/_app_styles.scss */
main > nav > .button-bar li.active .button {
- background-color: #0094de;
+ background-color: #0eacb5;
color: white;
}
-/* line 183, ../../../scss/_metastudio_styles.scss */
+/* line 337, ../../../scss/_app_styles.scss */
main > nav > .button-bar .app i {
display: none !important;
}
-/* line 195, ../../../scss/_metastudio_styles.scss */
+/* line 349, ../../../scss/_app_styles.scss */
main > aside > div h2 {
color: #111;
}
-/* line 198, ../../../scss/_metastudio_styles.scss */
+/* line 352, ../../../scss/_app_styles.scss */
main > aside > div h3 {
font-size: 1.2rem;
font-weight: normal;
color: #222;
}
-/* line 203, ../../../scss/_metastudio_styles.scss */
+/* line 357, ../../../scss/_app_styles.scss */
main > aside > div h4 {
font-size: 1rem;
color: #222;
}
-/* line 206, ../../../scss/_metastudio_styles.scss */
+/* line 360, ../../../scss/_app_styles.scss */
main > aside > div h4 span {
display: none;
}
-/* line 209, ../../../scss/_metastudio_styles.scss */
+/* line 363, ../../../scss/_app_styles.scss */
main > aside > div h4:hover span {
display: inline;
}
-/* line 213, ../../../scss/_metastudio_styles.scss */
+/* line 367, ../../../scss/_app_styles.scss */
main > aside > div h5, main > aside > div h6 {
margin: 0;
}
-/* line 217, ../../../scss/_metastudio_styles.scss */
+/* line 371, ../../../scss/_app_styles.scss */
main > aside > div .f-dropdown.content {
width: auto;
padding: 0;
border: 1px solid #222;
}
-/* line 221, ../../../scss/_metastudio_styles.scss */
+/* line 375, ../../../scss/_app_styles.scss */
main > aside > div .f-dropdown.content .item {
width: 70px;
}
-/* line 225, ../../../scss/_metastudio_styles.scss */
+/* line 379, ../../../scss/_app_styles.scss */
main > aside > div header {
padding: 10px;
}
-/* line 228, ../../../scss/_metastudio_styles.scss */
+/* line 382, ../../../scss/_app_styles.scss */
main > aside > div footer {
background-color: #222;
min-height: 1rem;
}
-/* line 231, ../../../scss/_metastudio_styles.scss */
+/* line 385, ../../../scss/_app_styles.scss */
main > aside > div footer label {
font-size: 0.7rem;
}
-/* line 238, ../../../scss/_metastudio_styles.scss */
-main > aside > div a, main > aside > div p {
- color: white;
-}
-/* line 240, ../../../scss/_metastudio_styles.scss */
-main > aside > div a:hover, main > aside > div p:hover {
- color: white;
-}
-/* line 244, ../../../scss/_metastudio_styles.scss */
+/* line 398, ../../../scss/_app_styles.scss */
main > aside > div .side-nav.collection {
background-color: #444;
padding: 0;
- border-bottom: 2px solid #009deb;
+ border-bottom: 2px solid #10c1cb;
margin: 0;
}
-/* line 249, ../../../scss/_metastudio_styles.scss */
+/* line 403, ../../../scss/_app_styles.scss */
main > aside > div .side-nav.collection li {
border-bottom: 1px solid #555;
}
-/* line 251, ../../../scss/_metastudio_styles.scss */
+/* line 405, ../../../scss/_app_styles.scss */
main > aside > div .side-nav.collection li a {
border-left: 2px solid black;
}
-/* line 254, ../../../scss/_metastudio_styles.scss */
+/* line 408, ../../../scss/_app_styles.scss */
main > aside > div .side-nav.collection li.active a, main > aside > div .side-nav.collection li a:hover {
color: white !important;
- border-left: 2px solid #009deb;
- background-color: #009deb;
+ border-left: 2px solid #10c1cb;
+ background-color: #10c1cb;
}
-/* line 266, ../../../scss/_metastudio_styles.scss */
+/* line 421, ../../../scss/_app_styles.scss */
article {
position: relative;
z-index: 1;
min-height: 400px;
overflow-x: visible;
}
-/* line 271, ../../../scss/_metastudio_styles.scss */
+/* line 426, ../../../scss/_app_styles.scss */
article > header, article form > header {
padding: 15px;
background-color: #f0f0f0;
}
-/* line 284, ../../../scss/_metastudio_styles.scss */
+/* line 439, ../../../scss/_app_styles.scss */
article h1:not(.subheader) .tabs {
display: inline-block;
position: relative;
bottom: -0.5rem;
}
-/* line 290, ../../../scss/_metastudio_styles.scss */
+/* line 445, ../../../scss/_app_styles.scss */
article h1:not(.subheader) div, article h1:not(.subheader) div input:not(.subheader) div {
display: inline-block;
position: relative;
}
-/* line 293, ../../../scss/_metastudio_styles.scss */
+/* line 448, ../../../scss/_app_styles.scss */
article h1:not(.subheader) div input {
height: 200%;
font-style: italic;
@@ -9373,90 +9657,90 @@ article h1:not(.subheader) div input {
border-bottom: 2px dotted #222;
background-color: inherit;
}
-/* line 303, ../../../scss/_metastudio_styles.scss */
+/* line 458, ../../../scss/_app_styles.scss */
article h1:not(.subheader) div input:hover {
background-color: white;
}
/* Card block */
-/* line 320, ../../../scss/_metastudio_styles.scss */
+/* line 468, ../../../scss/_app_styles.scss */
.card > * {
position: relative;
background-color: white;
padding: 7px;
- border: 1px dashed #cceeff;
+ border: 1px dashed #d0f9fb;
display: block;
opacity: 0.9;
overflow: hidden;
}
-/* line 330, ../../../scss/_metastudio_styles.scss */
+/* line 478, ../../../scss/_app_styles.scss */
.card > * > a {
color: inherit;
display: block;
position: relative;
z-index: 200;
}
-/* line 337, ../../../scss/_metastudio_styles.scss */
+/* line 485, ../../../scss/_app_styles.scss */
.card > *.published {
opacity: 1;
- background-color: #e5f6ff;
+ background-color: #e7fcfd;
}
-/* line 341, ../../../scss/_metastudio_styles.scss */
+/* line 489, ../../../scss/_app_styles.scss */
.card > *.unapproved {
opacity: 1;
border-style: solid;
border-color: #f04124;
}
-/* line 347, ../../../scss/_metastudio_styles.scss */
+/* line 495, ../../../scss/_app_styles.scss */
.card > *:hover {
border-style: solid;
opacity: 1;
}
-/* line 353, ../../../scss/_metastudio_styles.scss */
+/* line 501, ../../../scss/_app_styles.scss */
.card > *:hover i {
opacity: 0.3;
}
-/* line 356, ../../../scss/_metastudio_styles.scss */
+/* line 504, ../../../scss/_app_styles.scss */
.card > *:hover footer .age {
display: block;
}
-/* line 360, ../../../scss/_metastudio_styles.scss */
+/* line 508, ../../../scss/_app_styles.scss */
.card > * > i {
position: absolute;
top: -10px;
right: 10px;
font-size: 3rem;
- color: #0094de;
+ color: #0eacb5;
opacity: 0.3;
}
-/* line 368, ../../../scss/_metastudio_styles.scss */
+/* line 516, ../../../scss/_app_styles.scss */
.card > * .preview {
float: left;
padding-right: 5px;
padding-top: 4px;
}
-/* line 373, ../../../scss/_metastudio_styles.scss */
+/* line 521, ../../../scss/_app_styles.scss */
.card > * header {
overflow: hidden;
}
-/* line 376, ../../../scss/_metastudio_styles.scss */
+/* line 524, ../../../scss/_app_styles.scss */
.card > * h5 {
white-space: nowrap;
text-overflow: ellipsis;
margin-bottom: 0;
}
-/* line 381, ../../../scss/_metastudio_styles.scss */
+/* line 529, ../../../scss/_app_styles.scss */
.card > * .label, .card > * .label-list:empty:before {
opacity: 0.5;
}
-/* line 384, ../../../scss/_metastudio_styles.scss */
+/* line 532, ../../../scss/_app_styles.scss */
.card > * p {
color: #555;
height: 80px;
background-repeat: no-repeat;
font-size: 80%;
}
-/* line 390, ../../../scss/_metastudio_styles.scss */
+/* line 538, ../../../scss/_app_styles.scss */
.card > * .th {
margin: 20px auto;
width: 80px;
@@ -9464,23 +9748,23 @@ article h1:not(.subheader) div input:hover {
overflow: hidden;
display: none;
}
-/* line 396, ../../../scss/_metastudio_styles.scss */
+/* line 544, ../../../scss/_app_styles.scss */
.card > * .th:hover {
width: 150px;
height: 150px;
}
-/* line 400, ../../../scss/_metastudio_styles.scss */
+/* line 548, ../../../scss/_app_styles.scss */
.card > * .th img {
width: 100%;
}
-/* line 404, ../../../scss/_metastudio_styles.scss */
+/* line 552, ../../../scss/_app_styles.scss */
.card > * footer {
margin-top: 1rem;
font-size: 70%;
clear: both;
color: #e01818;
}
-/* line 409, ../../../scss/_metastudio_styles.scss */
+/* line 557, ../../../scss/_app_styles.scss */
.card > * footer .age {
display: none;
position: absolute;
@@ -9490,7 +9774,7 @@ article h1:not(.subheader) div input:hover {
width: 100%;
}
-/* line 420, ../../../scss/_metastudio_styles.scss */
+/* line 568, ../../../scss/_app_styles.scss */
.edit-card {
position: relative;
background-color: white;
@@ -9499,61 +9783,61 @@ article h1:not(.subheader) div input:hover {
}
/* Content Tabs */
-/* line 434, ../../../scss/_metastudio_styles.scss */
+/* line 581, ../../../scss/_app_styles.scss */
article .tabs {
display: inline-block;
}
-/* line 436, ../../../scss/_metastudio_styles.scss */
+/* line 583, ../../../scss/_app_styles.scss */
article .tabs dd a {
border-radius: 4px;
border: 1px transparent;
}
-/* line 440, ../../../scss/_metastudio_styles.scss */
+/* line 587, ../../../scss/_app_styles.scss */
article .tabs dd.active a {
- color: #009deb;
+ color: #10c1cb;
border: 1px solid;
}
-/* line 444, ../../../scss/_metastudio_styles.scss */
+/* line 591, ../../../scss/_app_styles.scss */
article .tabs dd:hover a {
- color: #009deb;
+ color: #10c1cb;
}
-/* line 448, ../../../scss/_metastudio_styles.scss */
+/* line 595, ../../../scss/_app_styles.scss */
article .tabs i {
margin-right: 5px;
font-size: 1.3rem;
}
-/* line 454, ../../../scss/_metastudio_styles.scss */
+/* line 601, ../../../scss/_app_styles.scss */
article section.content {
background-color: white;
border: 1px solid #eee;
}
/* Default card */
-/* line 463, ../../../scss/_metastudio_styles.scss */
+/* line 610, ../../../scss/_app_styles.scss */
.card > :hover .label, .card > :hover .label-list:empty:before {
opacity: 1;
}
-/* line 468, ../../../scss/_metastudio_styles.scss */
+/* line 615, ../../../scss/_app_styles.scss */
.gallery .card .th {
display: block;
}
/* Inline label list */
-/* line 476, ../../../scss/_metastudio_styles.scss */
+/* line 623, ../../../scss/_app_styles.scss */
.label-list {
display: inline-block;
text-align: left;
margin-bottom: 0.1rem;
}
-/* line 480, ../../../scss/_metastudio_styles.scss */
+/* line 627, ../../../scss/_app_styles.scss */
.label-list:empty:before {
content: "UNTAGGED";
opacity: 0.2 !important;
padding: 2px;
background-color: transparent;
}
-/* line 488, ../../../scss/_metastudio_styles.scss */
+/* line 635, ../../../scss/_app_styles.scss */
.label-list .label, .label-list .label-list:empty:before {
text-transform: uppercase;
background-color: transparent;
@@ -9562,78 +9846,78 @@ article section.content {
/*************************** 2. Custom CSS overrides ***********************/
/* Content area */
-/* line 504, ../../../scss/_metastudio_styles.scss */
+/* line 644, ../../../scss/_app_styles.scss */
article {
padding-bottom: 4rem;
}
-/* line 508, ../../../scss/_metastudio_styles.scss */
+/* line 648, ../../../scss/_app_styles.scss */
article > header {
border-bottom: 1px solid #ddd;
}
-/* line 512, ../../../scss/_metastudio_styles.scss */
+/* line 652, ../../../scss/_app_styles.scss */
article > footer {
border-top: 1px dotted #ddd;
}
-/* line 524, ../../../scss/_metastudio_styles.scss */
+/* line 664, ../../../scss/_app_styles.scss */
textarea {
min-height: 6rem;
}
/*
.orgitdown textarea{
- min-height: 15rem!important;
+ min-height: 15rem!important;
}
#content{
- min-height: 10rem;
+ min-height: 10rem;
}
*/
/*#content>p{
- font-size: inherit;
- line-height: 1.4;
- color: #222;
+ font-size: inherit;
+ line-height: 1.4;
+ color: #222;
}*/
/*************************** 3. Custom CSS Below ***********************/
/*CSS fix for tables generated via orgitdown*/
-/* line 544, ../../../scss/_metastudio_styles.scss */
+/* line 684, ../../../scss/_app_styles.scss */
#content table td, #content colgroup col {
float: none !important;
}
-/* line 549, ../../../scss/_metastudio_styles.scss */
+/* line 689, ../../../scss/_app_styles.scss */
.user {
color: inherit;
}
-/* line 552, ../../../scss/_metastudio_styles.scss */
+/* line 692, ../../../scss/_app_styles.scss */
.user {
color: inherit;
}
-/* line 555, ../../../scss/_metastudio_styles.scss */
+/* line 695, ../../../scss/_app_styles.scss */
.user i {
margin-right: 3px;
}
-/* line 558, ../../../scss/_metastudio_styles.scss */
+/* line 698, ../../../scss/_app_styles.scss */
.user:hover i {
opacity: 1;
}
-/* line 562, ../../../scss/_metastudio_styles.scss */
+/* line 702, ../../../scss/_app_styles.scss */
a.node {
display: block;
}
-/* line 566, ../../../scss/_metastudio_styles.scss */
+/* line 706, ../../../scss/_app_styles.scss */
.button.edit {
margin-bottom: 0;
}
/************ Forms **************/
/* Node edit */
-/* line 574, ../../../scss/_metastudio_styles.scss */
+/* line 714, ../../../scss/_app_styles.scss */
input.node-title {
font-size: 3rem;
height: 4rem;
@@ -9641,13 +9925,13 @@ input.node-title {
}
/* view-graph in node_details_base.html */
-/* line 581, ../../../scss/_metastudio_styles.scss */
+/* line 721, ../../../scss/_app_styles.scss */
.graph-height {
height: 70%;
}
/*for graph and location*/
-/* line 586, ../../../scss/_metastudio_styles.scss */
+/* line 726, ../../../scss/_app_styles.scss */
.graph-div {
height: 90%;
width: -webkit-calc(100% - 10px);
@@ -9661,13 +9945,13 @@ input.node-title {
}
/*for graph and location*/
-/* line 596, ../../../scss/_metastudio_styles.scss */
+/* line 736, ../../../scss/_app_styles.scss */
.graph-div h3 {
border-bottom: 2px inset #154534;
padding: 0.25em 0;
}
-/* line 601, ../../../scss/_metastudio_styles.scss */
+/* line 741, ../../../scss/_app_styles.scss */
#view-map-widget .close-reveal-modal, #view-map-edit-widget .close-reveal-modal {
z-index: 1;
background-color: captiontext;
@@ -9678,7 +9962,7 @@ input.node-title {
box-shadow: 0 1px 10px 2px #A9A9A9;
}
-/* line 612, ../../../scss/_metastudio_styles.scss */
+/* line 752, ../../../scss/_app_styles.scss */
#view-map-widget .close-reveal-modal:hover, #view-map-edit-widget .close-reveal-modal:hover {
background-color: white;
border-radius: 30px;
@@ -9691,7 +9975,7 @@ input.node-title {
/****************** CUSTOM *********************/
/* UI Button */
-/* line 627, ../../../scss/_metastudio_styles.scss */
+/* line 767, ../../../scss/_app_styles.scss */
.ui.button {
margin-right: 0.5rem;
border: 1px solid rgba(0, 0, 0, 0.2);
@@ -9700,361 +9984,69 @@ input.node-title {
padding: 0.8rem;
z-index: 500;
}
-/* line 637, ../../../scss/_metastudio_styles.scss */
+/* line 777, ../../../scss/_app_styles.scss */
.ui.button label {
color: #666;
}
-/* line 640, ../../../scss/_metastudio_styles.scss */
+/* line 780, ../../../scss/_app_styles.scss */
.ui.button small {
margin-left: 2px;
display: inline;
}
-/* line 644, ../../../scss/_metastudio_styles.scss */
+/* line 784, ../../../scss/_app_styles.scss */
.ui.button:hover, .ui.button:active {
border-color: rgba(255, 255, 255, 0.2);
background-color: rgba(0, 0, 0, 0.9);
}
-/* line 647, ../../../scss/_metastudio_styles.scss */
+/* line 787, ../../../scss/_app_styles.scss */
.ui.button:hover label, .ui.button:active label {
color: #ddd;
}
-/* line 650, ../../../scss/_metastudio_styles.scss */
+/* line 790, ../../../scss/_app_styles.scss */
.ui.button:hover small, .ui.button:active small {
display: inline;
}
-/* line 653, ../../../scss/_metastudio_styles.scss */
+/* line 793, ../../../scss/_app_styles.scss */
.ui.button:hover:focus, .ui.button:active:focus {
font-weight: bold;
}
-/* For landing page */
-/* line 662, ../../../scss/_metastudio_styles.scss */
-#landing > header {
- background-image: url("/static/ndf/css/themes/nroer/home_banner.jpg");
- position: relative;
- z-index: 50;
- background-color: #0A253A;
- padding: 1rem 0 1rem 0;
- border-bottom: 2px solid #00CEFD;
-}
-/* line 670, ../../../scss/_metastudio_styles.scss */
-#landing > header .logo {
- color: #555;
- text-align: center;
- padding: 1rem;
- background-color: rgba(0, 0, 0, 0.8);
-}
-/* line 675, ../../../scss/_metastudio_styles.scss */
-#landing > header .logo img {
- max-width: 75%;
- margin-bottom: 0.5rem;
-}
-/* line 680, ../../../scss/_metastudio_styles.scss */
-#landing > header .logo h1, #landing > header .logo article h1:not(.subheader) div input, article h1:not(.subheader) div #landing > header .logo input {
- font-size: 1.2rem;
- line-height: 1;
- font-weight: bold;
- text-transform: uppercase;
- color: white;
-}
-
-/* line 693, ../../../scss/_metastudio_styles.scss */
-.landing {
- position: relative;
-}
-/* line 696, ../../../scss/_metastudio_styles.scss */
-.landing h2 {
- margin-top: 2rem;
-}
-
-/* line 701, ../../../scss/_metastudio_styles.scss */
-section.promo {
- background-color: rgba(0, 0, 0, 0.9);
- border-bottom: 4px solid #00CEFD;
-}
-/* line 704, ../../../scss/_metastudio_styles.scss */
-section.promo .meta {
- padding-left: 2rem;
- padding-right: 2rem;
-}
-/* line 707, ../../../scss/_metastudio_styles.scss */
-section.promo .meta h4 {
- color: white;
-}
-
-/* line 714, ../../../scss/_metastudio_styles.scss */
-ul.partner img {
- max-height: 150px;
-}
-
-/* line 719, ../../../scss/_metastudio_styles.scss */
-div.banner {
- padding: 0 2rem;
- margin-bottom: 2rem;
- border: 2px solid #12b0ff;
- border-width: 2px 0;
-}
-/* line 724, ../../../scss/_metastudio_styles.scss */
-div.banner > * {
- background-color: #0094de;
- color: #eee;
- margin: 0;
-}
-/* line 726, ../../../scss/_metastudio_styles.scss */
-div.banner > * .slide {
- padding: 1rem;
- margin: 0;
- background-color: #0083c5;
- height: 250px !important;
-}
-/* line 731, ../../../scss/_metastudio_styles.scss */
-div.banner > * .slide > i {
- position: absolute;
- font-size: 15rem;
- pointer-events: none;
- color: white;
- opacity: 0.1;
- right: 5%;
-}
-/* line 742, ../../../scss/_metastudio_styles.scss */
-div.banner > * h3, div.banner > * h4, div.banner > * h5, div.banner > * h6, div.banner > * blockquote {
- color: white;
-}
-/* line 745, ../../../scss/_metastudio_styles.scss */
-div.banner > * blockquote {
- font-size: 140%;
- font-style: italic;
-}
-/* line 749, ../../../scss/_metastudio_styles.scss */
-div.banner > * p:first-child {
- color: white;
- font-size: 120%;
-}
-
-/* line 762, ../../../scss/_metastudio_styles.scss */
+/* line 802, ../../../scss/_app_styles.scss */
aside#help h4 {
color: black;
}
-/* line 765, ../../../scss/_metastudio_styles.scss */
+/* line 805, ../../../scss/_app_styles.scss */
aside#help p, aside#help h5, aside#help h6 {
color: #ddd;
padding: 0.3rem 0.9375rem;
}
-/* line 772, ../../../scss/_metastudio_styles.scss */
+/* line 812, ../../../scss/_app_styles.scss */
.align-center {
margin: 0 auto;
display: block;
}
-/* line 779, ../../../scss/_metastudio_styles.scss */
+/* line 818, ../../../scss/_app_styles.scss */
#profile-img {
height: 40px;
margin-right: 5px;
}
-/* line 788, ../../../scss/_metastudio_styles.scss */
+/* line 827, ../../../scss/_app_styles.scss */
#replies-area .disc-replies {
padding: 10px;
- background-color: #f8fdff;
+ background-color: #dffbfd;
width: 27em;
max-width: 40em;
margin-left: 48px;
margin-top: 10px;
}
-/* line 797, ../../../scss/_metastudio_styles.scss */
+/* line 836, ../../../scss/_app_styles.scss */
#replies-area .disc-replies .reply-btn {
cursor: pointer;
}
-/* line 801, ../../../scss/_metastudio_styles.scss */
+/* line 840, ../../../scss/_app_styles.scss */
#replies-area .disc-replies .reply-btn:hover {
font-weight: bold;
}
-
-/*
-* The Foundation Stylesheet
-* You can paste sass snippets from compass or foundation here
-* Consider submitting these snippets upstream
-* http://compass-style.org/reference/compass/css3/
-* http://foundation.zurb.com/docs/components/global.html
-*/
-/*
-* Foundation fixes and hacks. Please document issues on https://github.com/zurb/foundation/issues
-*/
-/* Too many apps cause breakage */
-/*
-/* Protects reflowing elements on error */
-/* line 20, ../../../scss/_app_styles.scss */
-[data-abide] span.error, [data-abide] small.error {
- position: absolute;
-}
-
-/*active color for side-nav links*/
-/* line 25, ../../../scss/_app_styles.scss */
-.side-nav li.active a:not(.button) {
- color: #acacac;
-}
-
-/*
-* Foundation extensions
-*/
-/* line 34, ../../../scss/_app_styles.scss */
-pre {
- width: 92%;
- overflow: auto;
- border: 1px solid #eee;
- border-left: 1rem solid #eee;
- font: lighter 1.2rem/2rem Monaco;
- background: url("/static/ndf/pre.png");
- background-size: 1px 4rem;
- padding-left: 0.5rem;
- font-family: monospace;
-}
-
-/* line 47, ../../../scss/_app_styles.scss */
-.fixme {
- opacity: 0.5;
-}
-/* line 50, ../../../scss/_app_styles.scss */
-.fixme:hover {
- opacity: 1;
- color: inherit;
-}
-/* line 53, ../../../scss/_app_styles.scss */
-.fixme:hover:after {
- content: " fixme";
- color: orange;
-}
-
-/* Utility class to display the child spans of this element on hover */
-/* line 62, ../../../scss/_app_styles.scss */
-.show-span-on-hover span {
- display: none;
-}
-/* line 65, ../../../scss/_app_styles.scss */
-.show-span-on-hover:hover span {
- display: inline;
-}
-
-/* line 71, ../../../scss/_app_styles.scss */
-.show-on-hover .show {
- display: none;
- z-index: 1000;
-}
-/* line 75, ../../../scss/_app_styles.scss */
-.show-on-hover:hover .show {
- display: block;
-}
-
-/* Utility class to display the next siblings on hoverr */
-/* line 80, ../../../scss/_app_styles.scss */
-.extra.app {
- display: none;
-}
-
-/* Effects */
-/* line 86, ../../../scss/_app_styles.scss */
-.drop-shadow, #landing > header {
- -webkit-box-shadow: 0px 0px 5px 1px black;
- box-shadow: 0px 0px 5px 1px black;
-}
-
-/* line 90, ../../../scss/_app_styles.scss */
-.rounded {
- border-radius: 2px;
- -webkit-border-radius: 2px;
-}
-
-/* line 94, ../../../scss/_app_styles.scss */
-.transition-opacity {
- transition: opacity .3s ease;
- -moz-transition: opacity .3s ease;
- -webkit-transition: opacity .3s ease;
- -o-transition: opacity .3s ease;
-}
-
-/*Ratings bar based on http://codepen.io/lsirivong/pen/ekBxI */
-/* line 103, ../../../scss/_app_styles.scss */
-.rating-bar {
- /* the hidden clearer */
- /* this is gross, I threw this in to override the starred
- buttons when hovering. */
-}
-/* line 106, ../../../scss/_app_styles.scss */
-.rating-bar > span {
- /* remove inline-block whitespace */
- font-size: 0;
- /* flip the order so we can use the + and ~ combinators */
- unicode-bidi: bidi-override;
- direction: rtl;
-}
-/* line 114, ../../../scss/_app_styles.scss */
-.rating-bar.unrated {
- /* If the user has not rated yet */
-}
-/* line 116, ../../../scss/_app_styles.scss */
-.rating-bar.unrated:checked ~ label:before {
- color: #aec0c9;
-}
-/* line 122, ../../../scss/_app_styles.scss */
-.rating-bar [type*="radio"] {
- display: none;
-}
-/* line 124, ../../../scss/_app_styles.scss */
-.rating-bar [type*="radio"] + label {
- /* only enough room for the star */
- display: inline-block;
- overflow: hidden;
- text-indent: 9999px;
- width: 1em;
- height: 1.4em;
- white-space: nowrap;
- font-size: 1.5rem;
- margin: 0;
-}
-/* line 134, ../../../scss/_app_styles.scss */
-.rating-bar [type*="radio"] + label:before {
- display: inline-block;
- text-indent: -9999px;
- content: '\2606';
- /* WHITE STAR */
- color: #888;
-}
-/* line 143, ../../../scss/_app_styles.scss */
-.rating-bar [type*="radio"]:checked ~ label:before, .rating-bar [type*="radio"] + label:hover ~ label:before, .rating-bar [type*="radio"] + label:hover:before {
- content: '\2605';
- /* BLACK STAR */
- color: #ff980d;
- text-shadow: 0 0 1px #333;
-}
-/* line 152, ../../../scss/_app_styles.scss */
-.rating-bar .last[type*="radio"] + label {
- text-indent: -9999px;
- width: .5em;
- margin-left: -.5em;
-}
-/* line 157, ../../../scss/_app_styles.scss */
-.rating-bar .last[type*="radio"] + label:before {
- width: .5em;
- height: 1.4em;
-}
-/* line 165, ../../../scss/_app_styles.scss */
-.rating-bar:hover [type*="radio"] + label:before {
- content: '\2606';
- /* WHITE STAR */
- color: #888;
- text-shadow: none;
-}
-/* line 171, ../../../scss/_app_styles.scss */
-.rating-bar:hover [type*="radio"] + label:hover ~ label:before,
-.rating-bar:hover [type*="radio"] + label:hover:before {
- content: '\2605';
- /* BLACK STAR */
- color: #ff980d;
- text-shadow: 0 0 1px #333;
-}
-
-/* line 180, ../../../scss/_app_styles.scss */
-body a:visited {
- color: #1d484a;
-}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/nroer/watermark.png b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/nroer/watermark.png
index db7e669..cf401ef 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/nroer/watermark.png
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/nroer/watermark.png
Binary files differ
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/tiss/styles.css b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/tiss/styles.css
new file mode 100644
index 0000000..4f59f22
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/tiss/styles.css
@@ -0,0 +1,9948 @@
+/*
+* Metastudio Customization SASS
+*/
+/*
+* Metstudio Default Skin File
+*/
+/* Colors */
+/* Something dark */
+/* Something bright */
+/*
+* Metstudio style settings file
+* Based on foundation settings file from bower_components/foundation/_settings
+* You can paste foundation sass variables here
+* http://foundation.zurb.com/docs/using-sass.html
+*/
+/* line 347, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+meta.foundation-version {
+ font-family: "/5.4.7/";
+}
+
+/* line 351, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+meta.foundation-mq-small {
+ font-family: "/only screen/";
+ width: 0em;
+}
+
+/* line 356, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+meta.foundation-mq-medium {
+ font-family: "/only screen and (min-width:40.063em)/";
+ width: 40.063em;
+}
+
+/* line 361, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+meta.foundation-mq-large {
+ font-family: "/only screen and (min-width:64.063em)/";
+ width: 64.063em;
+}
+
+/* line 366, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+meta.foundation-mq-xlarge {
+ font-family: "/only screen and (min-width:90.063em)/";
+ width: 90.063em;
+}
+
+/* line 371, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+meta.foundation-mq-xxlarge {
+ font-family: "/only screen and (min-width:120.063em)/";
+ width: 120.063em;
+}
+
+/* line 376, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+meta.foundation-data-attribute-namespace {
+ font-family: false;
+}
+
+/* line 383, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+html, body {
+ height: 100%;
+}
+
+/* line 388, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+*,
+*:before,
+*:after {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+/* line 393, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+html,
+body {
+ font-size: 15px;
+}
+
+/* line 396, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+body {
+ background: white;
+ color: #222222;
+ padding: 0;
+ margin: 0;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-weight: normal;
+ font-style: normal;
+ line-height: 1.5;
+ position: relative;
+ cursor: auto;
+}
+
+/* line 409, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+a:hover {
+ cursor: pointer;
+}
+
+/* line 412, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+img {
+ max-width: 100%;
+ height: auto;
+}
+
+/* line 414, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+img {
+ -ms-interpolation-mode: bicubic;
+}
+
+/* line 420, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+#map_canvas img,
+#map_canvas embed,
+#map_canvas object,
+.map_canvas img,
+.map_canvas embed,
+.map_canvas object {
+ max-width: none !important;
+}
+
+/* line 425, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.left {
+ float: left !important;
+}
+
+/* line 426, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.right {
+ float: right !important;
+}
+
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.clearfix:before, .clearfix:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.clearfix:after {
+ clear: both;
+}
+
+/* line 430, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.hide {
+ display: none !important;
+ visibility: hidden;
+}
+
+/* line 436, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.invisible {
+ visibility: hidden;
+}
+
+/* line 442, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.antialiased {
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+/* line 445, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+img {
+ display: inline-block;
+ vertical-align: middle;
+}
+
+/* line 455, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+textarea {
+ height: auto;
+ min-height: 50px;
+}
+
+/* line 458, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+select {
+ width: 100%;
+}
+
+/* line 218, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+.row {
+ width: 100%;
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 0;
+ margin-bottom: 0;
+ max-width: inherit;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.row:before, .row:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.row:after {
+ clear: both;
+}
+/* line 223, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+.row.collapse > .column,
+.row.collapse > .columns {
+ padding-left: 0;
+ padding-right: 0;
+}
+/* line 225, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+.row.collapse .row {
+ margin-left: 0;
+ margin-right: 0;
+}
+/* line 228, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+.row .row {
+ width: auto;
+ margin-left: -0.9375rem;
+ margin-right: -0.9375rem;
+ margin-top: 0;
+ margin-bottom: 0;
+ max-width: none;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.row .row:before, .row .row:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.row .row:after {
+ clear: both;
+}
+/* line 229, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+.row .row.collapse {
+ width: auto;
+ margin: 0;
+ max-width: none;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.row .row.collapse:before, .row .row.collapse:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.row .row.collapse:after {
+ clear: both;
+}
+
+/* line 234, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+.column,
+.columns {
+ padding-left: 0.9375rem;
+ padding-right: 0.9375rem;
+ width: 100%;
+ float: left;
+}
+
+/* line 236, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+[class*="column"] + [class*="column"]:last-child {
+ float: right;
+}
+
+/* line 237, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+[class*="column"] + [class*="column"].end {
+ float: left;
+}
+
+@media only screen {
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-0 {
+ position: relative;
+ left: 0%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-0 {
+ position: relative;
+ right: 0%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-1 {
+ position: relative;
+ left: 8.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-1 {
+ position: relative;
+ right: 8.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-2 {
+ position: relative;
+ left: 16.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-2 {
+ position: relative;
+ right: 16.66667%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-3 {
+ position: relative;
+ left: 25%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-3 {
+ position: relative;
+ right: 25%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-4 {
+ position: relative;
+ left: 33.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-4 {
+ position: relative;
+ right: 33.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-5 {
+ position: relative;
+ left: 41.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-5 {
+ position: relative;
+ right: 41.66667%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-6 {
+ position: relative;
+ left: 50%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-6 {
+ position: relative;
+ right: 50%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-7 {
+ position: relative;
+ left: 58.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-7 {
+ position: relative;
+ right: 58.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-8 {
+ position: relative;
+ left: 66.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-8 {
+ position: relative;
+ right: 66.66667%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-9 {
+ position: relative;
+ left: 75%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-9 {
+ position: relative;
+ right: 75%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-10 {
+ position: relative;
+ left: 83.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-10 {
+ position: relative;
+ right: 83.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-push-11 {
+ position: relative;
+ left: 91.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-pull-11 {
+ position: relative;
+ right: 91.66667%;
+ left: auto;
+ }
+
+ /* line 168, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column,
+ .columns {
+ position: relative;
+ padding-left: 0.9375rem;
+ padding-right: 0.9375rem;
+ float: left;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-1 {
+ width: 8.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-2 {
+ width: 16.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-3 {
+ width: 25%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-4 {
+ width: 33.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-5 {
+ width: 41.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-6 {
+ width: 50%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-7 {
+ width: 58.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-8 {
+ width: 66.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-9 {
+ width: 75%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-10 {
+ width: 83.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-11 {
+ width: 91.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-12 {
+ width: 100%;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-0 {
+ margin-left: 0% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-1 {
+ margin-left: 8.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-2 {
+ margin-left: 16.66667% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-3 {
+ margin-left: 25% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-4 {
+ margin-left: 33.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-5 {
+ margin-left: 41.66667% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-6 {
+ margin-left: 50% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-7 {
+ margin-left: 58.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-8 {
+ margin-left: 66.66667% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-9 {
+ margin-left: 75% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-10 {
+ margin-left: 83.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-offset-11 {
+ margin-left: 91.66667% !important;
+ }
+
+ /* line 180, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .small-reset-order {
+ margin-left: 0;
+ margin-right: 0;
+ left: auto;
+ right: auto;
+ float: left;
+ }
+
+ /* line 189, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.small-centered,
+ .columns.small-centered {
+ margin-left: auto;
+ margin-right: auto;
+ float: none;
+ }
+
+ /* line 192, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.small-uncentered,
+ .columns.small-uncentered {
+ margin-left: 0;
+ margin-right: 0;
+ float: left;
+ }
+
+ /* line 200, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.small-centered:last-child,
+ .columns.small-centered:last-child {
+ float: none;
+ }
+
+ /* line 206, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.small-uncentered:last-child,
+ .columns.small-uncentered:last-child {
+ float: left;
+ }
+
+ /* line 211, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.small-uncentered.opposite,
+ .columns.small-uncentered.opposite {
+ float: right;
+ }
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-0 {
+ position: relative;
+ left: 0%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-0 {
+ position: relative;
+ right: 0%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-1 {
+ position: relative;
+ left: 8.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-1 {
+ position: relative;
+ right: 8.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-2 {
+ position: relative;
+ left: 16.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-2 {
+ position: relative;
+ right: 16.66667%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-3 {
+ position: relative;
+ left: 25%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-3 {
+ position: relative;
+ right: 25%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-4 {
+ position: relative;
+ left: 33.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-4 {
+ position: relative;
+ right: 33.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-5 {
+ position: relative;
+ left: 41.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-5 {
+ position: relative;
+ right: 41.66667%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-6 {
+ position: relative;
+ left: 50%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-6 {
+ position: relative;
+ right: 50%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-7 {
+ position: relative;
+ left: 58.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-7 {
+ position: relative;
+ right: 58.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-8 {
+ position: relative;
+ left: 66.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-8 {
+ position: relative;
+ right: 66.66667%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-9 {
+ position: relative;
+ left: 75%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-9 {
+ position: relative;
+ right: 75%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-10 {
+ position: relative;
+ left: 83.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-10 {
+ position: relative;
+ right: 83.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-push-11 {
+ position: relative;
+ left: 91.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-pull-11 {
+ position: relative;
+ right: 91.66667%;
+ left: auto;
+ }
+
+ /* line 168, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column,
+ .columns {
+ position: relative;
+ padding-left: 0.9375rem;
+ padding-right: 0.9375rem;
+ float: left;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-1 {
+ width: 8.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-2 {
+ width: 16.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-3 {
+ width: 25%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-4 {
+ width: 33.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-5 {
+ width: 41.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-6 {
+ width: 50%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-7 {
+ width: 58.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-8 {
+ width: 66.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-9 {
+ width: 75%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-10 {
+ width: 83.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-11 {
+ width: 91.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-12 {
+ width: 100%;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-0 {
+ margin-left: 0% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-1 {
+ margin-left: 8.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-2 {
+ margin-left: 16.66667% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-3 {
+ margin-left: 25% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-4 {
+ margin-left: 33.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-5 {
+ margin-left: 41.66667% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-6 {
+ margin-left: 50% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-7 {
+ margin-left: 58.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-8 {
+ margin-left: 66.66667% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-9 {
+ margin-left: 75% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-10 {
+ margin-left: 83.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-offset-11 {
+ margin-left: 91.66667% !important;
+ }
+
+ /* line 180, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .medium-reset-order {
+ margin-left: 0;
+ margin-right: 0;
+ left: auto;
+ right: auto;
+ float: left;
+ }
+
+ /* line 189, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.medium-centered,
+ .columns.medium-centered {
+ margin-left: auto;
+ margin-right: auto;
+ float: none;
+ }
+
+ /* line 192, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.medium-uncentered,
+ .columns.medium-uncentered {
+ margin-left: 0;
+ margin-right: 0;
+ float: left;
+ }
+
+ /* line 200, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.medium-centered:last-child,
+ .columns.medium-centered:last-child {
+ float: none;
+ }
+
+ /* line 206, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.medium-uncentered:last-child,
+ .columns.medium-uncentered:last-child {
+ float: left;
+ }
+
+ /* line 211, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.medium-uncentered.opposite,
+ .columns.medium-uncentered.opposite {
+ float: right;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-0 {
+ position: relative;
+ left: 0%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-0 {
+ position: relative;
+ right: 0%;
+ left: auto;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-1 {
+ position: relative;
+ left: 8.33333%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-1 {
+ position: relative;
+ right: 8.33333%;
+ left: auto;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-2 {
+ position: relative;
+ left: 16.66667%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-2 {
+ position: relative;
+ right: 16.66667%;
+ left: auto;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-3 {
+ position: relative;
+ left: 25%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-3 {
+ position: relative;
+ right: 25%;
+ left: auto;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-4 {
+ position: relative;
+ left: 33.33333%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-4 {
+ position: relative;
+ right: 33.33333%;
+ left: auto;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-5 {
+ position: relative;
+ left: 41.66667%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-5 {
+ position: relative;
+ right: 41.66667%;
+ left: auto;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-6 {
+ position: relative;
+ left: 50%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-6 {
+ position: relative;
+ right: 50%;
+ left: auto;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-7 {
+ position: relative;
+ left: 58.33333%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-7 {
+ position: relative;
+ right: 58.33333%;
+ left: auto;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-8 {
+ position: relative;
+ left: 66.66667%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-8 {
+ position: relative;
+ right: 66.66667%;
+ left: auto;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-9 {
+ position: relative;
+ left: 75%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-9 {
+ position: relative;
+ right: 75%;
+ left: auto;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-10 {
+ position: relative;
+ left: 83.33333%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-10 {
+ position: relative;
+ right: 83.33333%;
+ left: auto;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-11 {
+ position: relative;
+ left: 91.66667%;
+ right: auto;
+ }
+
+ /* line 250, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-11 {
+ position: relative;
+ right: 91.66667%;
+ left: auto;
+ }
+}
+@media only screen and (min-width: 64.063em) {
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-0 {
+ position: relative;
+ left: 0%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-0 {
+ position: relative;
+ right: 0%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-1 {
+ position: relative;
+ left: 8.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-1 {
+ position: relative;
+ right: 8.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-2 {
+ position: relative;
+ left: 16.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-2 {
+ position: relative;
+ right: 16.66667%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-3 {
+ position: relative;
+ left: 25%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-3 {
+ position: relative;
+ right: 25%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-4 {
+ position: relative;
+ left: 33.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-4 {
+ position: relative;
+ right: 33.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-5 {
+ position: relative;
+ left: 41.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-5 {
+ position: relative;
+ right: 41.66667%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-6 {
+ position: relative;
+ left: 50%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-6 {
+ position: relative;
+ right: 50%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-7 {
+ position: relative;
+ left: 58.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-7 {
+ position: relative;
+ right: 58.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-8 {
+ position: relative;
+ left: 66.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-8 {
+ position: relative;
+ right: 66.66667%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-9 {
+ position: relative;
+ left: 75%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-9 {
+ position: relative;
+ right: 75%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-10 {
+ position: relative;
+ left: 83.33333%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-10 {
+ position: relative;
+ right: 83.33333%;
+ left: auto;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-push-11 {
+ position: relative;
+ left: 91.66667%;
+ right: auto;
+ }
+
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-pull-11 {
+ position: relative;
+ right: 91.66667%;
+ left: auto;
+ }
+
+ /* line 168, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column,
+ .columns {
+ position: relative;
+ padding-left: 0.9375rem;
+ padding-right: 0.9375rem;
+ float: left;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-1 {
+ width: 8.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-2 {
+ width: 16.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-3 {
+ width: 25%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-4 {
+ width: 33.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-5 {
+ width: 41.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-6 {
+ width: 50%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-7 {
+ width: 58.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-8 {
+ width: 66.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-9 {
+ width: 75%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-10 {
+ width: 83.33333%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-11 {
+ width: 91.66667%;
+ }
+
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-12 {
+ width: 100%;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-0 {
+ margin-left: 0% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-1 {
+ margin-left: 8.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-2 {
+ margin-left: 16.66667% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-3 {
+ margin-left: 25% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-4 {
+ margin-left: 33.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-5 {
+ margin-left: 41.66667% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-6 {
+ margin-left: 50% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-7 {
+ margin-left: 58.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-8 {
+ margin-left: 66.66667% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-9 {
+ margin-left: 75% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-10 {
+ margin-left: 83.33333% !important;
+ }
+
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-offset-11 {
+ margin-left: 91.66667% !important;
+ }
+
+ /* line 180, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .large-reset-order {
+ margin-left: 0;
+ margin-right: 0;
+ left: auto;
+ right: auto;
+ float: left;
+ }
+
+ /* line 189, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.large-centered,
+ .columns.large-centered {
+ margin-left: auto;
+ margin-right: auto;
+ float: none;
+ }
+
+ /* line 192, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.large-uncentered,
+ .columns.large-uncentered {
+ margin-left: 0;
+ margin-right: 0;
+ float: left;
+ }
+
+ /* line 200, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.large-centered:last-child,
+ .columns.large-centered:last-child {
+ float: none;
+ }
+
+ /* line 206, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.large-uncentered:last-child,
+ .columns.large-uncentered:last-child {
+ float: left;
+ }
+
+ /* line 211, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .column.large-uncentered.opposite,
+ .columns.large-uncentered.opposite {
+ float: right;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-0 {
+ position: relative;
+ left: 0%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-0 {
+ position: relative;
+ right: 0%;
+ left: auto;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-1 {
+ position: relative;
+ left: 8.33333%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-1 {
+ position: relative;
+ right: 8.33333%;
+ left: auto;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-2 {
+ position: relative;
+ left: 16.66667%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-2 {
+ position: relative;
+ right: 16.66667%;
+ left: auto;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-3 {
+ position: relative;
+ left: 25%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-3 {
+ position: relative;
+ right: 25%;
+ left: auto;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-4 {
+ position: relative;
+ left: 33.33333%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-4 {
+ position: relative;
+ right: 33.33333%;
+ left: auto;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-5 {
+ position: relative;
+ left: 41.66667%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-5 {
+ position: relative;
+ right: 41.66667%;
+ left: auto;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-6 {
+ position: relative;
+ left: 50%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-6 {
+ position: relative;
+ right: 50%;
+ left: auto;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-7 {
+ position: relative;
+ left: 58.33333%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-7 {
+ position: relative;
+ right: 58.33333%;
+ left: auto;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-8 {
+ position: relative;
+ left: 66.66667%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-8 {
+ position: relative;
+ right: 66.66667%;
+ left: auto;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-9 {
+ position: relative;
+ left: 75%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-9 {
+ position: relative;
+ right: 75%;
+ left: auto;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-10 {
+ position: relative;
+ left: 83.33333%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-10 {
+ position: relative;
+ right: 83.33333%;
+ left: auto;
+ }
+
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .push-11 {
+ position: relative;
+ left: 91.66667%;
+ right: auto;
+ }
+
+ /* line 261, ../../../bower_components/foundation/scss/foundation/components/_grid.scss */
+ .pull-11 {
+ position: relative;
+ right: 91.66667%;
+ left: auto;
+ }
+}
+/* line 129, ../../../bower_components/foundation/scss/foundation/components/_accordion.scss */
+.accordion {
+ margin-bottom: 0;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.accordion:before, .accordion:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.accordion:after {
+ clear: both;
+}
+/* line 132, ../../../bower_components/foundation/scss/foundation/components/_accordion.scss */
+.accordion .accordion-navigation, .accordion dd {
+ display: block;
+ margin-bottom: 0 !important;
+}
+/* line 135, ../../../bower_components/foundation/scss/foundation/components/_accordion.scss */
+.accordion .accordion-navigation.active > a, .accordion dd.active > a {
+ background: #e8e8e8;
+}
+/* line 136, ../../../bower_components/foundation/scss/foundation/components/_accordion.scss */
+.accordion .accordion-navigation > a, .accordion dd > a {
+ background: #efefef;
+ color: #222222;
+ padding: 1rem;
+ display: block;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 1rem;
+}
+/* line 143, ../../../bower_components/foundation/scss/foundation/components/_accordion.scss */
+.accordion .accordion-navigation > a:hover, .accordion dd > a:hover {
+ background: #e3e3e3;
+}
+/* line 146, ../../../bower_components/foundation/scss/foundation/components/_accordion.scss */
+.accordion .accordion-navigation > .content, .accordion dd > .content {
+ display: none;
+ padding: 0.9375rem;
+}
+/* line 149, ../../../bower_components/foundation/scss/foundation/components/_accordion.scss */
+.accordion .accordion-navigation > .content.active, .accordion dd > .content.active {
+ display: block;
+ background: white;
+}
+
+/* line 112, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
+.alert-box {
+ border-style: solid;
+ border-width: 1px;
+ display: block;
+ font-weight: normal;
+ margin-bottom: 1.25rem;
+ position: relative;
+ padding: 0.875rem 1.5rem 0.875rem 0.875rem;
+ font-size: 0.8125rem;
+ transition: opacity 300ms ease-out;
+ background-color: #0eacb5;
+ border-color: #0c949c;
+ color: white;
+}
+/* line 115, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
+.alert-box .close {
+ font-size: 1.375rem;
+ padding: 9px 6px 4px;
+ line-height: 0;
+ position: absolute;
+ top: 50%;
+ margin-top: -0.6875rem;
+ right: 0.25rem;
+ color: #333333;
+ opacity: 0.3;
+ background: inherit;
+}
+/* line 97, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
+.alert-box .close:hover, .alert-box .close:focus {
+ opacity: 0.5;
+}
+/* line 117, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
+.alert-box.radius {
+ border-radius: 5px;
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
+.alert-box.round {
+ border-radius: 1000px;
+}
+/* line 120, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
+.alert-box.success {
+ background-color: #43ac6a;
+ border-color: #3a945b;
+ color: white;
+}
+/* line 121, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
+.alert-box.alert {
+ background-color: #f04124;
+ border-color: #de2d0f;
+ color: white;
+}
+/* line 122, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
+.alert-box.secondary {
+ background-color: #a9b2b3;
+ border-color: #909b9c;
+ color: white;
+}
+/* line 123, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
+.alert-box.warning {
+ background-color: #f08a24;
+ border-color: #de770f;
+ color: white;
+}
+/* line 124, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
+.alert-box.info {
+ background-color: #fff0a5;
+ border-color: #ffe66a;
+ color: #383e3e;
+}
+/* line 125, ../../../bower_components/foundation/scss/foundation/components/_alert-boxes.scss */
+.alert-box.alert-close {
+ opacity: 0;
+}
+
+/* line 106, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+[class*="block-grid-"] {
+ display: block;
+ padding: 0;
+ margin: 0 -0.625rem;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+[class*="block-grid-"]:before, [class*="block-grid-"]:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+[class*="block-grid-"]:after {
+ clear: both;
+}
+/* line 50, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+[class*="block-grid-"] > li {
+ display: block;
+ height: auto;
+ float: left;
+ padding: 0 0.625rem 1.25rem;
+}
+
+@media only screen {
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-1 > li {
+ width: 100%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-1 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-1 > li:nth-of-type(1n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-2 > li {
+ width: 50%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-2 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-2 > li:nth-of-type(2n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-3 > li {
+ width: 33.33333%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-3 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-3 > li:nth-of-type(3n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-4 > li {
+ width: 25%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-4 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-4 > li:nth-of-type(4n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-5 > li {
+ width: 20%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-5 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-5 > li:nth-of-type(5n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-6 > li {
+ width: 16.66667%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-6 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-6 > li:nth-of-type(6n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-7 > li {
+ width: 14.28571%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-7 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-7 > li:nth-of-type(7n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-8 > li {
+ width: 12.5%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-8 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-8 > li:nth-of-type(8n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-9 > li {
+ width: 11.11111%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-9 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-9 > li:nth-of-type(9n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-10 > li {
+ width: 10%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-10 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-10 > li:nth-of-type(10n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-11 > li {
+ width: 9.09091%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-11 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-11 > li:nth-of-type(11n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-12 > li {
+ width: 8.33333%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-12 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .small-block-grid-12 > li:nth-of-type(12n+1) {
+ clear: both;
+ }
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-1 > li {
+ width: 100%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-1 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-1 > li:nth-of-type(1n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-2 > li {
+ width: 50%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-2 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-2 > li:nth-of-type(2n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-3 > li {
+ width: 33.33333%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-3 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-3 > li:nth-of-type(3n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-4 > li {
+ width: 25%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-4 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-4 > li:nth-of-type(4n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-5 > li {
+ width: 20%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-5 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-5 > li:nth-of-type(5n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-6 > li {
+ width: 16.66667%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-6 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-6 > li:nth-of-type(6n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-7 > li {
+ width: 14.28571%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-7 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-7 > li:nth-of-type(7n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-8 > li {
+ width: 12.5%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-8 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-8 > li:nth-of-type(8n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-9 > li {
+ width: 11.11111%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-9 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-9 > li:nth-of-type(9n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-10 > li {
+ width: 10%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-10 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-10 > li:nth-of-type(10n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-11 > li {
+ width: 9.09091%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-11 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-11 > li:nth-of-type(11n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-12 > li {
+ width: 8.33333%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-12 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .medium-block-grid-12 > li:nth-of-type(12n+1) {
+ clear: both;
+ }
+}
+@media only screen and (min-width: 64.063em) {
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-1 > li {
+ width: 100%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-1 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-1 > li:nth-of-type(1n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-2 > li {
+ width: 50%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-2 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-2 > li:nth-of-type(2n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-3 > li {
+ width: 33.33333%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-3 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-3 > li:nth-of-type(3n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-4 > li {
+ width: 25%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-4 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-4 > li:nth-of-type(4n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-5 > li {
+ width: 20%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-5 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-5 > li:nth-of-type(5n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-6 > li {
+ width: 16.66667%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-6 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-6 > li:nth-of-type(6n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-7 > li {
+ width: 14.28571%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-7 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-7 > li:nth-of-type(7n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-8 > li {
+ width: 12.5%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-8 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-8 > li:nth-of-type(8n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-9 > li {
+ width: 11.11111%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-9 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-9 > li:nth-of-type(9n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-10 > li {
+ width: 10%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-10 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-10 > li:nth-of-type(10n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-11 > li {
+ width: 9.09091%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-11 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-11 > li:nth-of-type(11n+1) {
+ clear: both;
+ }
+
+ /* line 61, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-12 > li {
+ width: 8.33333%;
+ list-style: none;
+ }
+ /* line 68, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-12 > li:nth-of-type(1n) {
+ clear: none;
+ }
+ /* line 69, ../../../bower_components/foundation/scss/foundation/components/_block-grid.scss */
+ .large-block-grid-12 > li:nth-of-type(12n+1) {
+ clear: both;
+ }
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs {
+ display: block;
+ padding: 0.5625rem 0.875rem 0.5625rem;
+ overflow: hidden;
+ margin-left: 0;
+ list-style: none;
+ border-style: solid;
+ border-width: 1px;
+ background-color: #10c1cb;
+ border-color: #0eaeb7;
+ border-radius: 5px;
+}
+/* line 122, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs > * {
+ margin: 0;
+ float: left;
+ font-size: 0.6875rem;
+ line-height: 0.6875rem;
+ text-transform: uppercase;
+ color: white;
+}
+/* line 68, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs > *:hover a, .breadcrumbs > *:focus a {
+ text-decoration: underline;
+}
+/* line 70, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs > * a {
+ color: white;
+}
+/* line 75, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs > *.current {
+ cursor: default;
+ color: white;
+}
+/* line 78, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs > *.current a {
+ cursor: default;
+ color: white;
+}
+/* line 84, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs > *.current:hover, .breadcrumbs > *.current:hover a, .breadcrumbs > *.current:focus, .breadcrumbs > *.current:focus a {
+ text-decoration: none;
+}
+/* line 88, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs > *.unavailable {
+ color: #999999;
+}
+/* line 90, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs > *.unavailable a {
+ color: #999999;
+}
+/* line 95, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs > *.unavailable:hover, .breadcrumbs > *.unavailable:hover a, .breadcrumbs > *.unavailable:focus,
+.breadcrumbs > *.unavailable a:focus {
+ text-decoration: none;
+ color: #999999;
+ cursor: default;
+}
+/* line 102, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs > *:before {
+ content: "/";
+ color: #555555;
+ margin: 0 0.75rem;
+ position: relative;
+ top: 1px;
+}
+/* line 110, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+.breadcrumbs > *:first-child:before {
+ content: " ";
+ margin: 0;
+}
+
+/* Accessibility - hides the forward slash */
+/* line 130, ../../../bower_components/foundation/scss/foundation/components/_breadcrumbs.scss */
+[aria-label="breadcrumbs"] [aria-hidden="true"]:after {
+ content: "/";
+}
+
+/* line 216, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button, .button {
+ border-style: solid;
+ border-width: 0px;
+ cursor: pointer;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-weight: normal;
+ line-height: normal;
+ margin: 0 0 1.25rem;
+ position: relative;
+ text-decoration: none;
+ text-align: center;
+ -webkit-appearance: none;
+ -webkit-border-radius: 0;
+ display: inline-block;
+ padding-top: 1rem;
+ padding-right: 2rem;
+ padding-bottom: 1.0625rem;
+ padding-left: 2rem;
+ font-size: 1rem;
+ background-color: #0eacb5;
+ border-color: #0b8a91;
+ color: white;
+ transition: background-color 300ms ease-out;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button:hover, button:focus, .button:hover, .button:focus {
+ background-color: #0b8a91;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button:hover, button:focus, .button:hover, .button:focus {
+ color: white;
+}
+/* line 223, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.secondary, .button.secondary {
+ background-color: #a9b2b3;
+ border-color: #859192;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.secondary:hover, button.secondary:focus, .button.secondary:hover, .button.secondary:focus {
+ background-color: #859192;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.secondary:hover, button.secondary:focus, .button.secondary:hover, .button.secondary:focus {
+ color: white;
+}
+/* line 224, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.success, .button.success {
+ background-color: #43ac6a;
+ border-color: #368a55;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.success:hover, button.success:focus, .button.success:hover, .button.success:focus {
+ background-color: #368a55;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.success:hover, button.success:focus, .button.success:hover, .button.success:focus {
+ color: white;
+}
+/* line 225, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.alert, .button.alert {
+ background-color: #f04124;
+ border-color: #cf2a0e;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.alert:hover, button.alert:focus, .button.alert:hover, .button.alert:focus {
+ background-color: #cf2a0e;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.alert:hover, button.alert:focus, .button.alert:hover, .button.alert:focus {
+ color: white;
+}
+/* line 226, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.warning, .button.warning {
+ background-color: #f08a24;
+ border-color: #cf6e0e;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.warning:hover, button.warning:focus, .button.warning:hover, .button.warning:focus {
+ background-color: #cf6e0e;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.warning:hover, button.warning:focus, .button.warning:hover, .button.warning:focus {
+ color: white;
+}
+/* line 227, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.info, .button.info {
+ background-color: #fff0a5;
+ border-color: #ffe251;
+ color: #333333;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.info:hover, button.info:focus, .button.info:hover, .button.info:focus {
+ background-color: #ffe251;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.info:hover, button.info:focus, .button.info:hover, .button.info:focus {
+ color: white;
+}
+/* line 229, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.large, .button.large {
+ padding-top: 1.125rem;
+ padding-right: 2.25rem;
+ padding-bottom: 1.1875rem;
+ padding-left: 2.25rem;
+ font-size: 1.25rem;
+}
+/* line 230, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.small, .button.small {
+ padding-top: 0.875rem;
+ padding-right: 1.75rem;
+ padding-bottom: 0.9375rem;
+ padding-left: 1.75rem;
+ font-size: 0.8125rem;
+}
+/* line 231, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.tiny, .button.tiny {
+ padding-top: 0.625rem;
+ padding-right: 1.25rem;
+ padding-bottom: 0.6875rem;
+ padding-left: 1.25rem;
+ font-size: 0.6875rem;
+}
+/* line 232, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.expand, .button.expand {
+ padding-right: 0;
+ padding-left: 0;
+ width: 100%;
+}
+/* line 234, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.left-align, .button.left-align {
+ text-align: left;
+ text-indent: 0.75rem;
+}
+/* line 235, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.right-align, .button.right-align {
+ text-align: right;
+ padding-right: 0.75rem;
+}
+/* line 237, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.radius, .button.radius {
+ border-radius: 5px;
+}
+/* line 238, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.round, .button.round {
+ border-radius: 1000px;
+}
+/* line 240, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled, button[disabled], .button.disabled, .button[disabled] {
+ background-color: #0eacb5;
+ border-color: #0b8a91;
+ color: white;
+ cursor: default;
+ opacity: 0.7;
+ box-shadow: none;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled:hover, button.disabled:focus, button[disabled]:hover, button[disabled]:focus, .button.disabled:hover, .button.disabled:focus, .button[disabled]:hover, .button[disabled]:focus {
+ background-color: #0b8a91;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled:hover, button.disabled:focus, button[disabled]:hover, button[disabled]:focus, .button.disabled:hover, .button.disabled:focus, .button[disabled]:hover, .button[disabled]:focus {
+ color: white;
+}
+/* line 179, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled:hover, button.disabled:focus, button[disabled]:hover, button[disabled]:focus, .button.disabled:hover, .button.disabled:focus, .button[disabled]:hover, .button[disabled]:focus {
+ background-color: #0eacb5;
+}
+/* line 241, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.secondary, button[disabled].secondary, .button.disabled.secondary, .button[disabled].secondary {
+ background-color: #a9b2b3;
+ border-color: #859192;
+ color: white;
+ cursor: default;
+ opacity: 0.7;
+ box-shadow: none;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.secondary:hover, button.disabled.secondary:focus, button[disabled].secondary:hover, button[disabled].secondary:focus, .button.disabled.secondary:hover, .button.disabled.secondary:focus, .button[disabled].secondary:hover, .button[disabled].secondary:focus {
+ background-color: #859192;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.secondary:hover, button.disabled.secondary:focus, button[disabled].secondary:hover, button[disabled].secondary:focus, .button.disabled.secondary:hover, .button.disabled.secondary:focus, .button[disabled].secondary:hover, .button[disabled].secondary:focus {
+ color: white;
+}
+/* line 179, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.secondary:hover, button.disabled.secondary:focus, button[disabled].secondary:hover, button[disabled].secondary:focus, .button.disabled.secondary:hover, .button.disabled.secondary:focus, .button[disabled].secondary:hover, .button[disabled].secondary:focus {
+ background-color: #a9b2b3;
+}
+/* line 242, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.success, button[disabled].success, .button.disabled.success, .button[disabled].success {
+ background-color: #43ac6a;
+ border-color: #368a55;
+ color: white;
+ cursor: default;
+ opacity: 0.7;
+ box-shadow: none;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.success:hover, button.disabled.success:focus, button[disabled].success:hover, button[disabled].success:focus, .button.disabled.success:hover, .button.disabled.success:focus, .button[disabled].success:hover, .button[disabled].success:focus {
+ background-color: #368a55;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.success:hover, button.disabled.success:focus, button[disabled].success:hover, button[disabled].success:focus, .button.disabled.success:hover, .button.disabled.success:focus, .button[disabled].success:hover, .button[disabled].success:focus {
+ color: white;
+}
+/* line 179, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.success:hover, button.disabled.success:focus, button[disabled].success:hover, button[disabled].success:focus, .button.disabled.success:hover, .button.disabled.success:focus, .button[disabled].success:hover, .button[disabled].success:focus {
+ background-color: #43ac6a;
+}
+/* line 243, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.alert, button[disabled].alert, .button.disabled.alert, .button[disabled].alert {
+ background-color: #f04124;
+ border-color: #cf2a0e;
+ color: white;
+ cursor: default;
+ opacity: 0.7;
+ box-shadow: none;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.alert:hover, button.disabled.alert:focus, button[disabled].alert:hover, button[disabled].alert:focus, .button.disabled.alert:hover, .button.disabled.alert:focus, .button[disabled].alert:hover, .button[disabled].alert:focus {
+ background-color: #cf2a0e;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.alert:hover, button.disabled.alert:focus, button[disabled].alert:hover, button[disabled].alert:focus, .button.disabled.alert:hover, .button.disabled.alert:focus, .button[disabled].alert:hover, .button[disabled].alert:focus {
+ color: white;
+}
+/* line 179, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.alert:hover, button.disabled.alert:focus, button[disabled].alert:hover, button[disabled].alert:focus, .button.disabled.alert:hover, .button.disabled.alert:focus, .button[disabled].alert:hover, .button[disabled].alert:focus {
+ background-color: #f04124;
+}
+/* line 244, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.warning, button[disabled].warning, .button.disabled.warning, .button[disabled].warning {
+ background-color: #f08a24;
+ border-color: #cf6e0e;
+ color: white;
+ cursor: default;
+ opacity: 0.7;
+ box-shadow: none;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.warning:hover, button.disabled.warning:focus, button[disabled].warning:hover, button[disabled].warning:focus, .button.disabled.warning:hover, .button.disabled.warning:focus, .button[disabled].warning:hover, .button[disabled].warning:focus {
+ background-color: #cf6e0e;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.warning:hover, button.disabled.warning:focus, button[disabled].warning:hover, button[disabled].warning:focus, .button.disabled.warning:hover, .button.disabled.warning:focus, .button[disabled].warning:hover, .button[disabled].warning:focus {
+ color: white;
+}
+/* line 179, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.warning:hover, button.disabled.warning:focus, button[disabled].warning:hover, button[disabled].warning:focus, .button.disabled.warning:hover, .button.disabled.warning:focus, .button[disabled].warning:hover, .button[disabled].warning:focus {
+ background-color: #f08a24;
+}
+/* line 245, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.info, button[disabled].info, .button.disabled.info, .button[disabled].info {
+ background-color: #fff0a5;
+ border-color: #ffe251;
+ color: #333333;
+ cursor: default;
+ opacity: 0.7;
+ box-shadow: none;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.info:hover, button.disabled.info:focus, button[disabled].info:hover, button[disabled].info:focus, .button.disabled.info:hover, .button.disabled.info:focus, .button[disabled].info:hover, .button[disabled].info:focus {
+ background-color: #ffe251;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.info:hover, button.disabled.info:focus, button[disabled].info:hover, button[disabled].info:focus, .button.disabled.info:hover, .button.disabled.info:focus, .button[disabled].info:hover, .button[disabled].info:focus {
+ color: white;
+}
+/* line 179, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button.disabled.info:hover, button.disabled.info:focus, button[disabled].info:hover, button[disabled].info:focus, .button.disabled.info:hover, .button.disabled.info:focus, .button[disabled].info:hover, .button[disabled].info:focus {
+ background-color: #fff0a5;
+}
+
+/* line 250, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+button::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+
+@media only screen and (min-width: 40.063em) {
+ /* line 253, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+ button, .button {
+ display: inline-block;
+ }
+}
+/* line 148, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group {
+ list-style: none;
+ margin: 0;
+ left: 0;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.button-group:before, .button-group:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.button-group:after {
+ clear: both;
+}
+/* line 150, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group > li {
+ margin: 0 -2px;
+ display: inline-block;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group > li > button, .button-group > li .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group > li:first-child button, .button-group > li:first-child .button {
+ border-left: 0;
+}
+/* line 153, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.stack > li {
+ margin: 0 -2px;
+ display: inline-block;
+ display: block;
+ margin: 0;
+ float: none;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.stack > li > button, .button-group.stack > li .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.stack > li:first-child button, .button-group.stack > li:first-child .button {
+ border-left: 0;
+}
+/* line 66, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.stack > li > button, .button-group.stack > li .button {
+ border-top: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ border-left-width: 0px;
+ margin: 0;
+ display: block;
+}
+/* line 75, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.stack > li:first-child button, .button-group.stack > li:first-child .button {
+ border-top: 0;
+}
+/* line 157, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.stack-for-small > li {
+ margin: 0 -2px;
+ display: inline-block;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.stack-for-small > li > button, .button-group.stack-for-small > li .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.stack-for-small > li:first-child button, .button-group.stack-for-small > li:first-child .button {
+ border-left: 0;
+}
+@media only screen and (max-width: 40em) {
+ /* line 157, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.stack-for-small > li {
+ margin: 0 -2px;
+ display: inline-block;
+ display: block;
+ margin: 0;
+ }
+ /* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.stack-for-small > li > button, .button-group.stack-for-small > li .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ }
+ /* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.stack-for-small > li:first-child button, .button-group.stack-for-small > li:first-child .button {
+ border-left: 0;
+ }
+ /* line 66, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.stack-for-small > li > button, .button-group.stack-for-small > li .button {
+ border-top: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ border-left-width: 0px;
+ margin: 0;
+ display: block;
+ }
+ /* line 75, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.stack-for-small > li:first-child button, .button-group.stack-for-small > li:first-child .button {
+ border-top: 0;
+ }
+}
+/* line 165, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius > * {
+ margin: 0 -2px;
+ display: inline-block;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius > * > button, .button-group.radius > * .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius > *:first-child button, .button-group.radius > *:first-child .button {
+ border-left: 0;
+}
+/* line 114, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius > *, .button-group.radius > * > a, .button-group.radius > * > button, .button-group.radius > * > .button {
+ border-radius: 0;
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius > *:first-child, .button-group.radius > *:first-child > a, .button-group.radius > *:first-child > button, .button-group.radius > *:first-child > .button {
+ -webkit-border-bottom-left-radius: 5px;
+ -webkit-border-top-left-radius: 5px;
+ border-bottom-left-radius: 5px;
+ border-top-left-radius: 5px;
+}
+/* line 129, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius > *:last-child, .button-group.radius > *:last-child > a, .button-group.radius > *:last-child > button, .button-group.radius > *:last-child > .button {
+ -webkit-border-bottom-right-radius: 5px;
+ -webkit-border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+ border-top-right-radius: 5px;
+}
+/* line 166, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius.stack > * {
+ margin: 0 -2px;
+ display: inline-block;
+ display: block;
+ margin: 0;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius.stack > * > button, .button-group.radius.stack > * .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius.stack > *:first-child button, .button-group.radius.stack > *:first-child .button {
+ border-left: 0;
+}
+/* line 66, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius.stack > * > button, .button-group.radius.stack > * .button {
+ border-top: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ border-left-width: 0px;
+ margin: 0;
+ display: block;
+}
+/* line 75, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius.stack > *:first-child button, .button-group.radius.stack > *:first-child .button {
+ border-top: 0;
+}
+/* line 114, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius.stack > *, .button-group.radius.stack > * > a, .button-group.radius.stack > * > button, .button-group.radius.stack > * > .button {
+ border-radius: 0;
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius.stack > *:first-child, .button-group.radius.stack > *:first-child > a, .button-group.radius.stack > *:first-child > button, .button-group.radius.stack > *:first-child > .button {
+ -webkit-top-left-radius: 5px;
+ -webkit-top-right-radius: 5px;
+ border-top-left-radius: 5px;
+ border-top-right-radius: 5px;
+}
+/* line 129, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.radius.stack > *:last-child, .button-group.radius.stack > *:last-child > a, .button-group.radius.stack > *:last-child > button, .button-group.radius.stack > *:last-child > .button {
+ -webkit-bottom-left-radius: 5px;
+ -webkit-bottom-right-radius: 5px;
+ border-bottom-left-radius: 5px;
+ border-bottom-right-radius: 5px;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 167, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > * {
+ margin: 0 -2px;
+ display: inline-block;
+ }
+ /* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > * > button, .button-group.radius.stack-for-small > * .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ }
+ /* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > *:first-child button, .button-group.radius.stack-for-small > *:first-child .button {
+ border-left: 0;
+ }
+ /* line 114, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > *, .button-group.radius.stack-for-small > * > a, .button-group.radius.stack-for-small > * > button, .button-group.radius.stack-for-small > * > .button {
+ border-radius: 0;
+ }
+ /* line 118, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > *:first-child, .button-group.radius.stack-for-small > *:first-child > a, .button-group.radius.stack-for-small > *:first-child > button, .button-group.radius.stack-for-small > *:first-child > .button {
+ -webkit-border-bottom-left-radius: 5px;
+ -webkit-border-top-left-radius: 5px;
+ border-bottom-left-radius: 5px;
+ border-top-left-radius: 5px;
+ }
+ /* line 129, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > *:last-child, .button-group.radius.stack-for-small > *:last-child > a, .button-group.radius.stack-for-small > *:last-child > button, .button-group.radius.stack-for-small > *:last-child > .button {
+ -webkit-border-bottom-right-radius: 5px;
+ -webkit-border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+ border-top-right-radius: 5px;
+ }
+}
+@media only screen and (max-width: 40em) {
+ /* line 167, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > * {
+ margin: 0 -2px;
+ display: inline-block;
+ display: block;
+ margin: 0;
+ }
+ /* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > * > button, .button-group.radius.stack-for-small > * .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ }
+ /* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > *:first-child button, .button-group.radius.stack-for-small > *:first-child .button {
+ border-left: 0;
+ }
+ /* line 66, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > * > button, .button-group.radius.stack-for-small > * .button {
+ border-top: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ border-left-width: 0px;
+ margin: 0;
+ display: block;
+ }
+ /* line 75, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > *:first-child button, .button-group.radius.stack-for-small > *:first-child .button {
+ border-top: 0;
+ }
+ /* line 114, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > *, .button-group.radius.stack-for-small > * > a, .button-group.radius.stack-for-small > * > button, .button-group.radius.stack-for-small > * > .button {
+ border-radius: 0;
+ }
+ /* line 118, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > *:first-child, .button-group.radius.stack-for-small > *:first-child > a, .button-group.radius.stack-for-small > *:first-child > button, .button-group.radius.stack-for-small > *:first-child > .button {
+ -webkit-top-left-radius: 5px;
+ -webkit-top-right-radius: 5px;
+ border-top-left-radius: 5px;
+ border-top-right-radius: 5px;
+ }
+ /* line 129, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.radius.stack-for-small > *:last-child, .button-group.radius.stack-for-small > *:last-child > a, .button-group.radius.stack-for-small > *:last-child > button, .button-group.radius.stack-for-small > *:last-child > .button {
+ -webkit-bottom-left-radius: 5px;
+ -webkit-bottom-right-radius: 5px;
+ border-bottom-left-radius: 5px;
+ border-bottom-right-radius: 5px;
+ }
+}
+/* line 176, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round > * {
+ margin: 0 -2px;
+ display: inline-block;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round > * > button, .button-group.round > * .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round > *:first-child button, .button-group.round > *:first-child .button {
+ border-left: 0;
+}
+/* line 114, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round > *, .button-group.round > * > a, .button-group.round > * > button, .button-group.round > * > .button {
+ border-radius: 0;
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round > *:first-child, .button-group.round > *:first-child > a, .button-group.round > *:first-child > button, .button-group.round > *:first-child > .button {
+ -webkit-border-bottom-left-radius: 1000px;
+ -webkit-border-top-left-radius: 1000px;
+ border-bottom-left-radius: 1000px;
+ border-top-left-radius: 1000px;
+}
+/* line 129, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round > *:last-child, .button-group.round > *:last-child > a, .button-group.round > *:last-child > button, .button-group.round > *:last-child > .button {
+ -webkit-border-bottom-right-radius: 1000px;
+ -webkit-border-top-right-radius: 1000px;
+ border-bottom-right-radius: 1000px;
+ border-top-right-radius: 1000px;
+}
+/* line 177, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round.stack > * {
+ margin: 0 -2px;
+ display: inline-block;
+ display: block;
+ margin: 0;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round.stack > * > button, .button-group.round.stack > * .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round.stack > *:first-child button, .button-group.round.stack > *:first-child .button {
+ border-left: 0;
+}
+/* line 66, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round.stack > * > button, .button-group.round.stack > * .button {
+ border-top: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ border-left-width: 0px;
+ margin: 0;
+ display: block;
+}
+/* line 75, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round.stack > *:first-child button, .button-group.round.stack > *:first-child .button {
+ border-top: 0;
+}
+/* line 114, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round.stack > *, .button-group.round.stack > * > a, .button-group.round.stack > * > button, .button-group.round.stack > * > .button {
+ border-radius: 0;
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round.stack > *:first-child, .button-group.round.stack > *:first-child > a, .button-group.round.stack > *:first-child > button, .button-group.round.stack > *:first-child > .button {
+ -webkit-top-left-radius: 1rem;
+ -webkit-top-right-radius: 1rem;
+ border-top-left-radius: 1rem;
+ border-top-right-radius: 1rem;
+}
+/* line 129, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.round.stack > *:last-child, .button-group.round.stack > *:last-child > a, .button-group.round.stack > *:last-child > button, .button-group.round.stack > *:last-child > .button {
+ -webkit-bottom-left-radius: 1rem;
+ -webkit-bottom-right-radius: 1rem;
+ border-bottom-left-radius: 1rem;
+ border-bottom-right-radius: 1rem;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > * {
+ margin: 0 -2px;
+ display: inline-block;
+ }
+ /* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > * > button, .button-group.round.stack-for-small > * .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ }
+ /* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > *:first-child button, .button-group.round.stack-for-small > *:first-child .button {
+ border-left: 0;
+ }
+ /* line 114, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > *, .button-group.round.stack-for-small > * > a, .button-group.round.stack-for-small > * > button, .button-group.round.stack-for-small > * > .button {
+ border-radius: 0;
+ }
+ /* line 118, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > *:first-child, .button-group.round.stack-for-small > *:first-child > a, .button-group.round.stack-for-small > *:first-child > button, .button-group.round.stack-for-small > *:first-child > .button {
+ -webkit-border-bottom-left-radius: 1000px;
+ -webkit-border-top-left-radius: 1000px;
+ border-bottom-left-radius: 1000px;
+ border-top-left-radius: 1000px;
+ }
+ /* line 129, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > *:last-child, .button-group.round.stack-for-small > *:last-child > a, .button-group.round.stack-for-small > *:last-child > button, .button-group.round.stack-for-small > *:last-child > .button {
+ -webkit-border-bottom-right-radius: 1000px;
+ -webkit-border-top-right-radius: 1000px;
+ border-bottom-right-radius: 1000px;
+ border-top-right-radius: 1000px;
+ }
+}
+@media only screen and (max-width: 40em) {
+ /* line 178, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > * {
+ margin: 0 -2px;
+ display: inline-block;
+ display: block;
+ margin: 0;
+ }
+ /* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > * > button, .button-group.round.stack-for-small > * .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ }
+ /* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > *:first-child button, .button-group.round.stack-for-small > *:first-child .button {
+ border-left: 0;
+ }
+ /* line 66, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > * > button, .button-group.round.stack-for-small > * .button {
+ border-top: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ border-left-width: 0px;
+ margin: 0;
+ display: block;
+ }
+ /* line 75, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > *:first-child button, .button-group.round.stack-for-small > *:first-child .button {
+ border-top: 0;
+ }
+ /* line 114, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > *, .button-group.round.stack-for-small > * > a, .button-group.round.stack-for-small > * > button, .button-group.round.stack-for-small > * > .button {
+ border-radius: 0;
+ }
+ /* line 118, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > *:first-child, .button-group.round.stack-for-small > *:first-child > a, .button-group.round.stack-for-small > *:first-child > button, .button-group.round.stack-for-small > *:first-child > .button {
+ -webkit-top-left-radius: 1rem;
+ -webkit-top-right-radius: 1rem;
+ border-top-left-radius: 1rem;
+ border-top-right-radius: 1rem;
+ }
+ /* line 129, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+ .button-group.round.stack-for-small > *:last-child, .button-group.round.stack-for-small > *:last-child > a, .button-group.round.stack-for-small > *:last-child > button, .button-group.round.stack-for-small > *:last-child > .button {
+ -webkit-bottom-left-radius: 1rem;
+ -webkit-bottom-right-radius: 1rem;
+ border-bottom-left-radius: 1rem;
+ border-bottom-right-radius: 1rem;
+ }
+}
+/* line 188, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-2 li {
+ margin: 0 -2px;
+ display: inline-block;
+ width: 50%;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-2 li > button, .button-group.even-2 li .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-2 li:first-child button, .button-group.even-2 li:first-child .button {
+ border-left: 0;
+}
+/* line 142, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-2 li button, .button-group.even-2 li .button {
+ width: 100%;
+}
+/* line 188, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-3 li {
+ margin: 0 -2px;
+ display: inline-block;
+ width: 33.33333%;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-3 li > button, .button-group.even-3 li .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-3 li:first-child button, .button-group.even-3 li:first-child .button {
+ border-left: 0;
+}
+/* line 142, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-3 li button, .button-group.even-3 li .button {
+ width: 100%;
+}
+/* line 188, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-4 li {
+ margin: 0 -2px;
+ display: inline-block;
+ width: 25%;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-4 li > button, .button-group.even-4 li .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-4 li:first-child button, .button-group.even-4 li:first-child .button {
+ border-left: 0;
+}
+/* line 142, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-4 li button, .button-group.even-4 li .button {
+ width: 100%;
+}
+/* line 188, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-5 li {
+ margin: 0 -2px;
+ display: inline-block;
+ width: 20%;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-5 li > button, .button-group.even-5 li .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-5 li:first-child button, .button-group.even-5 li:first-child .button {
+ border-left: 0;
+}
+/* line 142, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-5 li button, .button-group.even-5 li .button {
+ width: 100%;
+}
+/* line 188, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-6 li {
+ margin: 0 -2px;
+ display: inline-block;
+ width: 16.66667%;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-6 li > button, .button-group.even-6 li .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-6 li:first-child button, .button-group.even-6 li:first-child .button {
+ border-left: 0;
+}
+/* line 142, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-6 li button, .button-group.even-6 li .button {
+ width: 100%;
+}
+/* line 188, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-7 li {
+ margin: 0 -2px;
+ display: inline-block;
+ width: 14.28571%;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-7 li > button, .button-group.even-7 li .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-7 li:first-child button, .button-group.even-7 li:first-child .button {
+ border-left: 0;
+}
+/* line 142, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-7 li button, .button-group.even-7 li .button {
+ width: 100%;
+}
+/* line 188, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-8 li {
+ margin: 0 -2px;
+ display: inline-block;
+ width: 12.5%;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-8 li > button, .button-group.even-8 li .button {
+ border-left: 1px solid;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-8 li:first-child button, .button-group.even-8 li:first-child .button {
+ border-left: 0;
+}
+/* line 142, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-group.even-8 li button, .button-group.even-8 li .button {
+ width: 100%;
+}
+
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.button-bar:before, .button-bar:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.button-bar:after {
+ clear: both;
+}
+/* line 194, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-bar .button-group {
+ float: left;
+ margin-right: 0.625rem;
+}
+/* line 32, ../../../bower_components/foundation/scss/foundation/components/_button-groups.scss */
+.button-bar .button-group div {
+ overflow: hidden;
+}
+
+/* Clearing Styles */
+/* line 44, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-thumbs, [data-clearing] {
+ margin-bottom: 0;
+ margin-left: 0;
+ list-style: none;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.clearing-thumbs:before, .clearing-thumbs:after, [data-clearing]:before, [data-clearing]:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.clearing-thumbs:after, [data-clearing]:after {
+ clear: both;
+}
+/* line 50, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-thumbs li, [data-clearing] li {
+ float: left;
+ margin-right: 10px;
+}
+/* line 55, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-thumbs[class*="block-grid-"] li, [data-clearing][class*="block-grid-"] li {
+ margin-right: 0;
+}
+
+/* line 60, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-blackout {
+ background: #333333;
+ position: fixed;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ z-index: 998;
+}
+/* line 69, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-blackout .clearing-close {
+ display: block;
+}
+
+/* line 72, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-container {
+ position: relative;
+ z-index: 998;
+ height: 100%;
+ overflow: hidden;
+ margin: 0;
+}
+
+/* line 80, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-touch-label {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ color: #aaaaaa;
+ font-size: 0.6em;
+}
+
+/* line 88, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.visible-img {
+ height: 95%;
+ position: relative;
+}
+/* line 92, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.visible-img img {
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ margin-left: -50%;
+ max-height: 100%;
+ max-width: 100%;
+}
+
+/* line 102, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-caption {
+ color: #cccccc;
+ font-size: 0.875em;
+ line-height: 1.3;
+ margin-bottom: 0;
+ text-align: center;
+ bottom: 0;
+ background: #333333;
+ width: 100%;
+ padding: 10px 30px 20px;
+ position: absolute;
+ left: 0;
+}
+
+/* line 116, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-close {
+ z-index: 999;
+ padding-left: 20px;
+ padding-top: 10px;
+ font-size: 30px;
+ line-height: 1;
+ color: #cccccc;
+ display: none;
+}
+/* line 126, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-close:hover, .clearing-close:focus {
+ color: #cccccc;
+}
+
+/* line 129, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-assembled .clearing-container {
+ height: 100%;
+}
+/* line 130, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-assembled .clearing-container .carousel > ul {
+ display: none;
+}
+
+/* line 134, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-feature li {
+ display: none;
+}
+/* line 136, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+.clearing-feature li.clearing-featured-img {
+ display: block;
+}
+
+@media only screen and (min-width: 40.063em) {
+ /* line 144, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-main-prev,
+ .clearing-main-next {
+ position: absolute;
+ height: 100%;
+ width: 40px;
+ top: 0;
+ }
+ /* line 149, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-main-prev > span,
+ .clearing-main-next > span {
+ position: absolute;
+ top: 50%;
+ display: block;
+ width: 0;
+ height: 0;
+ border: solid 12px;
+ }
+ /* line 156, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-main-prev > span:hover,
+ .clearing-main-next > span:hover {
+ opacity: 0.8;
+ }
+
+ /* line 159, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-main-prev {
+ left: 0;
+ }
+ /* line 161, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-main-prev > span {
+ left: 5px;
+ border-color: transparent;
+ border-right-color: #cccccc;
+ }
+
+ /* line 167, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-main-next {
+ right: 0;
+ }
+ /* line 169, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-main-next > span {
+ border-color: transparent;
+ border-left-color: #cccccc;
+ }
+
+ /* line 176, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-main-prev.disabled,
+ .clearing-main-next.disabled {
+ opacity: 0.3;
+ }
+
+ /* line 180, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-assembled .clearing-container .carousel {
+ background: rgba(51, 51, 51, 0.8);
+ height: 120px;
+ margin-top: 10px;
+ text-align: center;
+ }
+ /* line 186, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-assembled .clearing-container .carousel > ul {
+ display: inline-block;
+ z-index: 999;
+ height: 100%;
+ position: relative;
+ float: none;
+ }
+ /* line 193, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-assembled .clearing-container .carousel > ul li {
+ display: block;
+ width: 120px;
+ min-height: inherit;
+ float: left;
+ overflow: hidden;
+ margin-right: 0;
+ padding: 0;
+ position: relative;
+ cursor: pointer;
+ opacity: 0.4;
+ clear: none;
+ }
+ /* line 207, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-assembled .clearing-container .carousel > ul li.fix-height img {
+ height: 100%;
+ max-width: none;
+ }
+ /* line 213, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-assembled .clearing-container .carousel > ul li a.th {
+ border: none;
+ box-shadow: none;
+ display: block;
+ }
+ /* line 219, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-assembled .clearing-container .carousel > ul li img {
+ cursor: pointer !important;
+ width: 100% !important;
+ }
+ /* line 224, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-assembled .clearing-container .carousel > ul li.visible {
+ opacity: 1;
+ }
+ /* line 225, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-assembled .clearing-container .carousel > ul li:hover {
+ opacity: 0.8;
+ }
+ /* line 230, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-assembled .clearing-container .visible-img {
+ background: #333333;
+ overflow: hidden;
+ height: 85%;
+ }
+
+ /* line 237, ../../../bower_components/foundation/scss/foundation/components/_clearing.scss */
+ .clearing-close {
+ position: absolute;
+ top: 10px;
+ right: 20px;
+ padding-left: 0;
+ padding-top: 0;
+ }
+}
+/* Foundation Dropdowns */
+/* line 225, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown {
+ position: absolute;
+ left: -9999px;
+ list-style: none;
+ margin-left: 0;
+ outline: none;
+ width: 100%;
+ max-height: none;
+ height: auto;
+ background: white;
+ border: solid 1px #cccccc;
+ font-size: 0.875rem;
+ z-index: 89;
+ margin-top: 2px;
+ max-width: 200px;
+}
+/* line 73, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown > *:first-child {
+ margin-top: 0;
+}
+/* line 74, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown > *:last-child {
+ margin-bottom: 0;
+}
+/* line 99, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown:before {
+ content: "";
+ display: block;
+ width: 0;
+ height: 0;
+ border: inset 6px;
+ border-color: transparent transparent white transparent;
+ border-bottom-style: solid;
+ position: absolute;
+ top: -12px;
+ left: 10px;
+ z-index: 89;
+}
+/* line 106, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown:after {
+ content: "";
+ display: block;
+ width: 0;
+ height: 0;
+ border: inset 7px;
+ border-color: transparent transparent #cccccc transparent;
+ border-bottom-style: solid;
+ position: absolute;
+ top: -14px;
+ left: 9px;
+ z-index: 88;
+}
+/* line 114, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.right:before {
+ left: auto;
+ right: 10px;
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.right:after {
+ left: auto;
+ right: 9px;
+}
+/* line 228, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-right {
+ position: absolute;
+ left: -9999px;
+ list-style: none;
+ margin-left: 0;
+ outline: none;
+ width: 100%;
+ max-height: none;
+ height: auto;
+ background: white;
+ border: solid 1px #cccccc;
+ font-size: 0.875rem;
+ z-index: 89;
+ margin-top: 0;
+ margin-left: 2px;
+ max-width: 200px;
+}
+/* line 73, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-right > *:first-child {
+ margin-top: 0;
+}
+/* line 74, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-right > *:last-child {
+ margin-bottom: 0;
+}
+/* line 128, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-right:before {
+ content: "";
+ display: block;
+ width: 0;
+ height: 0;
+ border: inset 6px;
+ border-color: transparent white transparent transparent;
+ border-right-style: solid;
+ position: absolute;
+ top: 10px;
+ left: -12px;
+ z-index: 89;
+}
+/* line 135, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-right:after {
+ content: "";
+ display: block;
+ width: 0;
+ height: 0;
+ border: inset 7px;
+ border-color: transparent #cccccc transparent transparent;
+ border-right-style: solid;
+ position: absolute;
+ top: 9px;
+ left: -14px;
+ z-index: 88;
+}
+/* line 232, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-left {
+ position: absolute;
+ left: -9999px;
+ list-style: none;
+ margin-left: 0;
+ outline: none;
+ width: 100%;
+ max-height: none;
+ height: auto;
+ background: white;
+ border: solid 1px #cccccc;
+ font-size: 0.875rem;
+ z-index: 89;
+ margin-top: 0;
+ margin-left: -2px;
+ max-width: 200px;
+}
+/* line 73, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-left > *:first-child {
+ margin-top: 0;
+}
+/* line 74, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-left > *:last-child {
+ margin-bottom: 0;
+}
+/* line 149, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-left:before {
+ content: "";
+ display: block;
+ width: 0;
+ height: 0;
+ border: inset 6px;
+ border-color: transparent transparent transparent white;
+ border-left-style: solid;
+ position: absolute;
+ top: 10px;
+ right: -12px;
+ left: auto;
+ z-index: 89;
+}
+/* line 157, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-left:after {
+ content: "";
+ display: block;
+ width: 0;
+ height: 0;
+ border: inset 7px;
+ border-color: transparent transparent transparent #cccccc;
+ border-left-style: solid;
+ position: absolute;
+ top: 9px;
+ right: -14px;
+ left: auto;
+ z-index: 88;
+}
+/* line 236, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-top {
+ position: absolute;
+ left: -9999px;
+ list-style: none;
+ margin-left: 0;
+ outline: none;
+ width: 100%;
+ max-height: none;
+ height: auto;
+ background: white;
+ border: solid 1px #cccccc;
+ font-size: 0.875rem;
+ z-index: 89;
+ margin-top: -2px;
+ margin-left: 0;
+ max-width: 200px;
+}
+/* line 73, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-top > *:first-child {
+ margin-top: 0;
+}
+/* line 74, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-top > *:last-child {
+ margin-bottom: 0;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-top:before {
+ content: "";
+ display: block;
+ width: 0;
+ height: 0;
+ border: inset 6px;
+ border-color: white transparent transparent transparent;
+ border-top-style: solid;
+ position: absolute;
+ top: auto;
+ bottom: -12px;
+ left: 10px;
+ right: auto;
+ z-index: 89;
+}
+/* line 181, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.drop-top:after {
+ content: "";
+ display: block;
+ width: 0;
+ height: 0;
+ border: inset 7px;
+ border-color: #cccccc transparent transparent transparent;
+ border-top-style: solid;
+ position: absolute;
+ top: auto;
+ bottom: -14px;
+ left: 9px;
+ right: auto;
+ z-index: 88;
+}
+/* line 241, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown li {
+ font-size: 0.875rem;
+ cursor: pointer;
+ line-height: 1.125rem;
+ margin: 0;
+}
+/* line 210, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown li:hover, .f-dropdown li:focus {
+ background: #eeeeee;
+}
+/* line 212, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown li.radius {
+ border-radius: 5px;
+}
+/* line 214, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown li a {
+ display: block;
+ padding: 0.5rem;
+ color: #555555;
+}
+/* line 244, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.content {
+ position: absolute;
+ left: -9999px;
+ list-style: none;
+ margin-left: 0;
+ outline: none;
+ padding: 1.25rem;
+ width: 100%;
+ height: auto;
+ max-height: none;
+ background: white;
+ border: solid 1px #cccccc;
+ font-size: 0.875rem;
+ z-index: 89;
+ max-width: 200px;
+}
+/* line 73, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.content > *:first-child {
+ margin-top: 0;
+}
+/* line 74, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.content > *:last-child {
+ margin-bottom: 0;
+}
+/* line 247, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.tiny {
+ max-width: 200px;
+}
+/* line 248, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.small {
+ max-width: 300px;
+}
+/* line 249, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.medium {
+ max-width: 500px;
+}
+/* line 250, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.large {
+ max-width: 800px;
+}
+/* line 251, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.mega {
+ width: 100% !important;
+ max-width: 100% !important;
+}
+/* line 255, ../../../bower_components/foundation/scss/foundation/components/_dropdown.scss */
+.f-dropdown.mega.open {
+ left: 0 !important;
+}
+
+/* line 123, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button, button.dropdown {
+ position: relative;
+ outline: none;
+ padding-right: 3.5625rem;
+}
+/* line 63, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button::after, button.dropdown::after {
+ position: absolute;
+ content: "";
+ width: 0;
+ height: 0;
+ display: block;
+ border-style: solid;
+ border-color: white transparent transparent transparent;
+ top: 50%;
+}
+/* line 98, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button::after, button.dropdown::after {
+ border-width: 0.375rem;
+ right: 1.40625rem;
+ margin-top: -0.15625rem;
+}
+/* line 117, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button::after, button.dropdown::after {
+ border-color: white transparent transparent transparent;
+}
+/* line 124, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button.tiny, button.dropdown.tiny {
+ padding-right: 2.625rem;
+}
+/* line 78, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button.tiny:after, button.dropdown.tiny:after {
+ border-width: 0.375rem;
+ right: 1.125rem;
+ margin-top: -0.125rem;
+}
+/* line 117, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button.tiny::after, button.dropdown.tiny::after {
+ border-color: white transparent transparent transparent;
+}
+/* line 125, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button.small, button.dropdown.small {
+ padding-right: 3.0625rem;
+}
+/* line 88, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button.small::after, button.dropdown.small::after {
+ border-width: 0.4375rem;
+ right: 1.3125rem;
+ margin-top: -0.15625rem;
+}
+/* line 117, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button.small::after, button.dropdown.small::after {
+ border-color: white transparent transparent transparent;
+}
+/* line 126, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button.large, button.dropdown.large {
+ padding-right: 3.625rem;
+}
+/* line 108, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button.large::after, button.dropdown.large::after {
+ border-width: 0.3125rem;
+ right: 1.71875rem;
+ margin-top: -0.15625rem;
+}
+/* line 117, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button.large::after, button.dropdown.large::after {
+ border-color: white transparent transparent transparent;
+}
+/* line 127, ../../../bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss */
+.dropdown.button.secondary:after, button.dropdown.secondary:after {
+ border-color: #333333 transparent transparent transparent;
+}
+
+/* line 49, ../../../bower_components/foundation/scss/foundation/components/_flex-video.scss */
+.flex-video {
+ position: relative;
+ padding-top: 1.5625rem;
+ padding-bottom: 67.5%;
+ height: 0;
+ margin-bottom: 1rem;
+ overflow: hidden;
+}
+/* line 32, ../../../bower_components/foundation/scss/foundation/components/_flex-video.scss */
+.flex-video.widescreen {
+ padding-bottom: 56.34%;
+}
+/* line 33, ../../../bower_components/foundation/scss/foundation/components/_flex-video.scss */
+.flex-video.vimeo {
+ padding-top: 0;
+}
+/* line 38, ../../../bower_components/foundation/scss/foundation/components/_flex-video.scss */
+.flex-video iframe,
+.flex-video object,
+.flex-video embed,
+.flex-video video {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}
+
+/* Standard Forms */
+/* line 380, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form {
+ margin: 0 0 1rem;
+}
+
+/* Using forms within rows, we need to set some defaults */
+/* line 86, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .row {
+ margin: 0 -0.5rem;
+}
+/* line 89, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .row .column,
+form .row .row .columns {
+ padding: 0 0.5rem;
+}
+/* line 92, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .row.collapse {
+ margin: 0;
+}
+/* line 95, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .row.collapse .column,
+form .row .row.collapse .columns {
+ padding: 0;
+}
+/* line 96, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .row.collapse input {
+ -webkit-border-bottom-right-radius: 0;
+ -webkit-border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+ border-top-right-radius: 0;
+}
+/* line 105, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row input.column,
+form .row input.columns,
+form .row textarea.column,
+form .row textarea.columns {
+ padding-left: 0.5rem;
+}
+
+/* Label Styles */
+/* line 386, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+label {
+ font-size: 0.875rem;
+ color: #4d4d4d;
+ cursor: pointer;
+ display: block;
+ font-weight: normal;
+ line-height: 1.5;
+ margin-bottom: 0;
+ /* Styles for required inputs */
+}
+/* line 387, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+label.right {
+ float: none !important;
+ text-align: right;
+}
+/* line 388, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+label.inline {
+ margin: 0 0 1rem 0;
+ padding: 0.5625rem 0;
+}
+/* line 390, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+label small {
+ text-transform: capitalize;
+ color: #676767;
+}
+
+/* Attach elements to the beginning or end of an input */
+/* line 398, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.prefix,
+.postfix {
+ display: block;
+ position: relative;
+ z-index: 2;
+ text-align: center;
+ width: 100%;
+ padding-top: 0;
+ padding-bottom: 0;
+ border-style: solid;
+ border-width: 1px;
+ overflow: hidden;
+ font-size: 0.875rem;
+ height: 2.3125rem;
+ line-height: 2.3125rem;
+}
+
+/* Adjust padding, alignment and radius if pre/post element is a button */
+/* line 401, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.postfix.button {
+ padding-left: 0;
+ padding-right: 0;
+ padding-top: 0;
+ padding-bottom: 0;
+ text-align: center;
+ line-height: 2.125rem;
+ border: none;
+}
+
+/* line 402, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.prefix.button {
+ padding-left: 0;
+ padding-right: 0;
+ padding-top: 0;
+ padding-bottom: 0;
+ text-align: center;
+ line-height: 2.125rem;
+ border: none;
+}
+
+/* line 404, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.prefix.button.radius {
+ border-radius: 0;
+ -webkit-border-bottom-left-radius: 5px;
+ -webkit-border-top-left-radius: 5px;
+ border-bottom-left-radius: 5px;
+ border-top-left-radius: 5px;
+}
+
+/* line 405, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.postfix.button.radius {
+ border-radius: 0;
+ -webkit-border-bottom-right-radius: 5px;
+ -webkit-border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+ border-top-right-radius: 5px;
+}
+
+/* line 406, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.prefix.button.round {
+ border-radius: 0;
+ -webkit-border-bottom-left-radius: 1000px;
+ -webkit-border-top-left-radius: 1000px;
+ border-bottom-left-radius: 1000px;
+ border-top-left-radius: 1000px;
+}
+
+/* line 407, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.postfix.button.round {
+ border-radius: 0;
+ -webkit-border-bottom-right-radius: 1000px;
+ -webkit-border-top-right-radius: 1000px;
+ border-bottom-right-radius: 1000px;
+ border-top-right-radius: 1000px;
+}
+
+/* Separate prefix and postfix styles when on span or label so buttons keep their own */
+/* line 410, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+span.prefix, label.prefix {
+ background: #f2f2f2;
+ border-right: none;
+ color: #333333;
+ border-color: #cccccc;
+}
+
+/* line 411, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+span.postfix, label.postfix {
+ background: #f2f2f2;
+ border-left: none;
+ color: #333333;
+ border-color: #cccccc;
+}
+
+/* We use this to get basic styling on all basic form elements */
+/* line 428, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+input[type="text"],
+input[type="password"],
+input[type="date"],
+input[type="datetime"],
+input[type="datetime-local"],
+input[type="month"],
+input[type="week"],
+input[type="email"],
+input[type="number"],
+input[type="search"],
+input[type="tel"],
+input[type="time"],
+input[type="url"],
+input[type="color"],
+textarea {
+ -webkit-appearance: none;
+ -webkit-border-radius: 0px;
+ background-color: white;
+ font-family: inherit;
+ border-style: solid;
+ border-width: 1px;
+ border-color: #cccccc;
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
+ color: rgba(0, 0, 0, 0.75);
+ display: block;
+ font-size: 0.875rem;
+ margin: 0 0 1rem 0;
+ padding: 0.5rem;
+ height: 2.3125rem;
+ width: 100%;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
+}
+/* line 185, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+input[type="text"]:focus,
+input[type="password"]:focus,
+input[type="date"]:focus,
+input[type="datetime"]:focus,
+input[type="datetime-local"]:focus,
+input[type="month"]:focus,
+input[type="week"]:focus,
+input[type="email"]:focus,
+input[type="number"]:focus,
+input[type="search"]:focus,
+input[type="tel"]:focus,
+input[type="time"]:focus,
+input[type="url"]:focus,
+input[type="color"]:focus,
+textarea:focus {
+ box-shadow: 0 0 5px #999999;
+ border-color: #999999;
+}
+/* line 132, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+input[type="text"]:focus,
+input[type="password"]:focus,
+input[type="date"]:focus,
+input[type="datetime"]:focus,
+input[type="datetime-local"]:focus,
+input[type="month"]:focus,
+input[type="week"]:focus,
+input[type="email"]:focus,
+input[type="number"]:focus,
+input[type="search"]:focus,
+input[type="tel"]:focus,
+input[type="time"]:focus,
+input[type="url"]:focus,
+input[type="color"]:focus,
+textarea:focus {
+ background: #fafafa;
+ border-color: #999999;
+ outline: none;
+}
+/* line 138, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+input[type="text"]:disabled,
+input[type="password"]:disabled,
+input[type="date"]:disabled,
+input[type="datetime"]:disabled,
+input[type="datetime-local"]:disabled,
+input[type="month"]:disabled,
+input[type="week"]:disabled,
+input[type="email"]:disabled,
+input[type="number"]:disabled,
+input[type="search"]:disabled,
+input[type="tel"]:disabled,
+input[type="time"]:disabled,
+input[type="url"]:disabled,
+input[type="color"]:disabled,
+textarea:disabled {
+ background-color: #dddddd;
+ cursor: default;
+}
+/* line 146, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+input[type="text"][disabled], input[type="text"][readonly], fieldset[disabled] input[type="text"],
+input[type="password"][disabled],
+input[type="password"][readonly], fieldset[disabled]
+input[type="password"],
+input[type="date"][disabled],
+input[type="date"][readonly], fieldset[disabled]
+input[type="date"],
+input[type="datetime"][disabled],
+input[type="datetime"][readonly], fieldset[disabled]
+input[type="datetime"],
+input[type="datetime-local"][disabled],
+input[type="datetime-local"][readonly], fieldset[disabled]
+input[type="datetime-local"],
+input[type="month"][disabled],
+input[type="month"][readonly], fieldset[disabled]
+input[type="month"],
+input[type="week"][disabled],
+input[type="week"][readonly], fieldset[disabled]
+input[type="week"],
+input[type="email"][disabled],
+input[type="email"][readonly], fieldset[disabled]
+input[type="email"],
+input[type="number"][disabled],
+input[type="number"][readonly], fieldset[disabled]
+input[type="number"],
+input[type="search"][disabled],
+input[type="search"][readonly], fieldset[disabled]
+input[type="search"],
+input[type="tel"][disabled],
+input[type="tel"][readonly], fieldset[disabled]
+input[type="tel"],
+input[type="time"][disabled],
+input[type="time"][readonly], fieldset[disabled]
+input[type="time"],
+input[type="url"][disabled],
+input[type="url"][readonly], fieldset[disabled]
+input[type="url"],
+input[type="color"][disabled],
+input[type="color"][readonly], fieldset[disabled]
+input[type="color"],
+textarea[disabled],
+textarea[readonly], fieldset[disabled]
+textarea {
+ background-color: #dddddd;
+ cursor: default;
+}
+/* line 435, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+input[type="text"].radius,
+input[type="password"].radius,
+input[type="date"].radius,
+input[type="datetime"].radius,
+input[type="datetime-local"].radius,
+input[type="month"].radius,
+input[type="week"].radius,
+input[type="email"].radius,
+input[type="number"].radius,
+input[type="search"].radius,
+input[type="tel"].radius,
+input[type="time"].radius,
+input[type="url"].radius,
+input[type="color"].radius,
+textarea.radius {
+ border-radius: 5px;
+}
+
+/* line 445, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .prefix-radius.row.collapse input,
+form .row .prefix-radius.row.collapse textarea,
+form .row .prefix-radius.row.collapse select {
+ border-radius: 0;
+ -webkit-border-bottom-right-radius: 5px;
+ -webkit-border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+ border-top-right-radius: 5px;
+}
+/* line 446, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .prefix-radius.row.collapse .prefix {
+ border-radius: 0;
+ -webkit-border-bottom-left-radius: 5px;
+ -webkit-border-top-left-radius: 5px;
+ border-bottom-left-radius: 5px;
+ border-top-left-radius: 5px;
+}
+/* line 451, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .postfix-radius.row.collapse input,
+form .row .postfix-radius.row.collapse textarea,
+form .row .postfix-radius.row.collapse select {
+ border-radius: 0;
+ -webkit-border-bottom-left-radius: 5px;
+ -webkit-border-top-left-radius: 5px;
+ border-bottom-left-radius: 5px;
+ border-top-left-radius: 5px;
+}
+/* line 452, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .postfix-radius.row.collapse .postfix {
+ border-radius: 0;
+ -webkit-border-bottom-right-radius: 5px;
+ -webkit-border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+ border-top-right-radius: 5px;
+}
+/* line 457, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .prefix-round.row.collapse input,
+form .row .prefix-round.row.collapse textarea,
+form .row .prefix-round.row.collapse select {
+ border-radius: 0;
+ -webkit-border-bottom-right-radius: 1000px;
+ -webkit-border-top-right-radius: 1000px;
+ border-bottom-right-radius: 1000px;
+ border-top-right-radius: 1000px;
+}
+/* line 458, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .prefix-round.row.collapse .prefix {
+ border-radius: 0;
+ -webkit-border-bottom-left-radius: 1000px;
+ -webkit-border-top-left-radius: 1000px;
+ border-bottom-left-radius: 1000px;
+ border-top-left-radius: 1000px;
+}
+/* line 463, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .postfix-round.row.collapse input,
+form .row .postfix-round.row.collapse textarea,
+form .row .postfix-round.row.collapse select {
+ border-radius: 0;
+ -webkit-border-bottom-left-radius: 1000px;
+ -webkit-border-top-left-radius: 1000px;
+ border-bottom-left-radius: 1000px;
+ border-top-left-radius: 1000px;
+}
+/* line 464, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+form .row .postfix-round.row.collapse .postfix {
+ border-radius: 0;
+ -webkit-border-bottom-right-radius: 1000px;
+ -webkit-border-top-right-radius: 1000px;
+ border-bottom-right-radius: 1000px;
+ border-top-right-radius: 1000px;
+}
+
+/* line 469, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+input[type="submit"] {
+ -webkit-appearance: none;
+ -webkit-border-radius: 0px;
+}
+
+/* Respect enforced amount of rows for textarea */
+/* line 475, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+textarea[rows] {
+ height: auto;
+}
+
+/* Not allow resize out of parent */
+/* line 480, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+textarea {
+ max-width: 100%;
+}
+
+/* Add height value for select elements to match text input height */
+/* line 485, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+select {
+ -webkit-appearance: none !important;
+ -webkit-border-radius: 0px;
+ background-color: #fafafa;
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+);
+ background-position: 100% center;
+ background-repeat: no-repeat;
+ border-style: solid;
+ border-width: 1px;
+ border-color: #cccccc;
+ padding: 0.5rem;
+ font-size: 0.875rem;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ color: rgba(0, 0, 0, 0.75);
+ line-height: normal;
+ border-radius: 0;
+ height: 2.3125rem;
+}
+/* line 330, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+select::-ms-expand {
+ display: none;
+}
+/* line 353, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+select.radius {
+ border-radius: 5px;
+}
+/* line 354, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+select:hover {
+ background-color: #f3f3f3;
+ border-color: #999999;
+}
+/* line 359, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+select:disabled {
+ background-color: #dddddd;
+ cursor: default;
+}
+
+/* Adjust margin for form elements below */
+/* line 494, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+input[type="file"],
+input[type="checkbox"],
+input[type="radio"],
+select {
+ margin: 0 0 1rem 0;
+}
+
+/* line 499, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+input[type="checkbox"] + label,
+input[type="radio"] + label {
+ display: inline-block;
+ margin-left: 0.5rem;
+ margin-right: 1rem;
+ margin-bottom: 0;
+ vertical-align: baseline;
+}
+
+/* Normalize file input width */
+/* line 508, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+input[type="file"] {
+ width: 100%;
+}
+
+/* HTML5 Number spinners settings */
+/* We add basic fieldset styling */
+/* line 522, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+fieldset {
+ border: 1px solid #dddddd;
+ padding: 1.25rem;
+ margin: 1.125rem 0;
+}
+/* line 273, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+fieldset legend {
+ font-weight: bold;
+ background: white;
+ padding: 0 0.1875rem;
+ margin: 0;
+ margin-left: -0.1875rem;
+}
+
+/* Error Handling */
+/* line 529, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+[data-abide] .error small.error, [data-abide] .error span.error, [data-abide] span.error, [data-abide] small.error {
+ display: block;
+ padding: 0.375rem 0.5625rem 0.5625rem;
+ margin-top: -1px;
+ margin-bottom: 1rem;
+ font-size: 0.75rem;
+ font-weight: normal;
+ font-style: italic;
+ background: #f04124;
+ color: white;
+}
+/* line 532, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+[data-abide] span.error, [data-abide] small.error {
+ display: none;
+}
+
+/* line 535, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+span.error, small.error {
+ display: block;
+ padding: 0.375rem 0.5625rem 0.5625rem;
+ margin-top: -1px;
+ margin-bottom: 1rem;
+ font-size: 0.75rem;
+ font-weight: normal;
+ font-style: italic;
+ background: #f04124;
+ color: white;
+}
+
+/* line 542, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.error input,
+.error textarea,
+.error select {
+ margin-bottom: 0;
+}
+/* line 547, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.error input[type="checkbox"],
+.error input[type="radio"] {
+ margin-bottom: 1rem;
+}
+/* line 552, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.error label,
+.error label.error {
+ color: #f04124;
+}
+/* line 556, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.error small.error {
+ display: block;
+ padding: 0.375rem 0.5625rem 0.5625rem;
+ margin-top: -1px;
+ margin-bottom: 1rem;
+ font-size: 0.75rem;
+ font-weight: normal;
+ font-style: italic;
+ background: #f04124;
+ color: white;
+}
+/* line 561, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.error > label > small {
+ color: #676767;
+ background: transparent;
+ padding: 0;
+ text-transform: capitalize;
+ font-style: normal;
+ font-size: 60%;
+ margin: 0;
+ display: inline;
+}
+/* line 573, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+.error span.error-message {
+ display: block;
+}
+
+/* line 580, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+input.error,
+textarea.error,
+select.error {
+ margin-bottom: 0;
+}
+
+/* line 583, ../../../bower_components/foundation/scss/foundation/components/_forms.scss */
+label.error {
+ color: #f04124;
+}
+
+/* line 208, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar {
+ width: 100%;
+ font-size: 0;
+ display: inline-block;
+ background: transparent;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > * {
+ text-align: center;
+ font-size: 1rem;
+ width: 25%;
+ margin: 0 auto;
+ display: block;
+ padding: 0.5rem;
+ float: left;
+}
+/* line 48, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > * i, .icon-bar > * img {
+ display: block;
+ margin: 0 auto;
+}
+/* line 52, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > * i + label, .icon-bar > * img + label {
+ margin-top: .0625rem;
+}
+/* line 57, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > * i {
+ font-size: 1.875rem;
+ vertical-align: middle;
+}
+/* line 62, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > * img {
+ width: 1.875rem;
+ height: 1.875rem;
+}
+/* line 70, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.label-right > * i, .icon-bar.label-right > * img {
+ margin: 0 .0625rem 0 0;
+ display: inline-block;
+}
+/* line 74, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.label-right > * i + label, .icon-bar.label-right > * img + label {
+ margin-top: 0;
+}
+/* line 79, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.label-right > * label {
+ display: inline-block;
+}
+/* line 82, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.vertical.label-right > * {
+ text-align: left;
+}
+/* line 86, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.vertical, .icon-bar.small-vertical {
+ height: 100%;
+ width: auto;
+}
+/* line 90, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.vertical .item, .icon-bar.small-vertical .item {
+ width: auto;
+ margin: auto;
+ float: none;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 97, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.medium-vertical {
+ height: 100%;
+ width: auto;
+ }
+ /* line 102, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.medium-vertical .item {
+ width: auto;
+ margin: auto;
+ float: none;
+ }
+}
+@media only screen and (min-width: 64.063em) {
+ /* line 109, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.large-vertical {
+ height: 100%;
+ width: auto;
+ }
+ /* line 114, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.large-vertical .item {
+ width: auto;
+ margin: auto;
+ float: none;
+ }
+}
+/* line 131, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > * {
+ font-size: 1rem;
+ padding: 0.5rem;
+}
+/* line 137, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > * i + label, .icon-bar > * img + label {
+ margin-top: .0625rem;
+}
+/* line 142, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > * i {
+ font-size: 1.875rem;
+}
+/* line 146, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > * img {
+ width: 1.875rem;
+ height: 1.875rem;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > *:hover {
+ background: #0eacb5;
+}
+/* line 170, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > * label {
+ color: white;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar > * i {
+ color: white;
+}
+
+/* line 223, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.two-up .item {
+ width: 50%;
+}
+/* line 224, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.two-up.vertical .item, .icon-bar.two-up.small-vertical .item {
+ width: auto;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 225, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.two-up.medium-vertical .item {
+ width: auto;
+ }
+}
+@media only screen and (min-width: 64.063em) {
+ /* line 230, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.two-up.large-vertical .item {
+ width: auto;
+ }
+}
+/* line 237, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.three-up .item {
+ width: 33.3333%;
+}
+/* line 238, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.three-up.vertical .item, .icon-bar.three-up.small-vertical .item {
+ width: auto;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 239, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.three-up.medium-vertical .item {
+ width: auto;
+ }
+}
+@media only screen and (min-width: 64.063em) {
+ /* line 244, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.three-up.large-vertical .item {
+ width: auto;
+ }
+}
+/* line 251, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.four-up .item {
+ width: 25%;
+}
+/* line 252, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.four-up.vertical .item, .icon-bar.four-up.small-vertical .item {
+ width: auto;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 253, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.four-up.medium-vertical .item {
+ width: auto;
+ }
+}
+@media only screen and (min-width: 64.063em) {
+ /* line 258, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.four-up.large-vertical .item {
+ width: auto;
+ }
+}
+/* line 265, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.five-up .item {
+ width: 20%;
+}
+/* line 266, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.five-up.vertical .item, .icon-bar.five-up.small-vertical .item {
+ width: auto;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 267, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.five-up.medium-vertical .item {
+ width: auto;
+ }
+}
+@media only screen and (min-width: 64.063em) {
+ /* line 272, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.five-up.large-vertical .item {
+ width: auto;
+ }
+}
+/* line 279, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.six-up .item {
+ width: 16.66667%;
+}
+/* line 280, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+.icon-bar.six-up.vertical .item, .icon-bar.six-up.small-vertical .item {
+ width: auto;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 281, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.six-up.medium-vertical .item {
+ width: auto;
+ }
+}
+@media only screen and (min-width: 64.063em) {
+ /* line 286, ../../../bower_components/foundation/scss/foundation/components/_icon-bar.scss */
+ .icon-bar.six-up.large-vertical .item {
+ width: auto;
+ }
+}
+
+/* line 53, ../../../bower_components/foundation/scss/foundation/components/_inline-lists.scss */
+.inline-list {
+ margin: 0 auto 1.0625rem auto;
+ margin-left: -1.375rem;
+ margin-right: 0;
+ padding: 0;
+ list-style: none;
+ overflow: hidden;
+}
+/* line 42, ../../../bower_components/foundation/scss/foundation/components/_inline-lists.scss */
+.inline-list > li {
+ list-style: none;
+ float: left;
+ margin-left: 1.375rem;
+ display: block;
+}
+/* line 47, ../../../bower_components/foundation/scss/foundation/components/_inline-lists.scss */
+.inline-list > li > * {
+ display: block;
+}
+
+/* Foundation Joyride */
+/* line 48, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-list {
+ display: none;
+}
+
+/* Default styles for the container */
+/* line 51, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-tip-guide {
+ display: none;
+ position: absolute;
+ background: #333333;
+ color: white;
+ z-index: 101;
+ top: 0;
+ left: 2.5%;
+ font-family: inherit;
+ font-weight: normal;
+ width: 95%;
+}
+
+/* line 64, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.lt-ie9 .joyride-tip-guide {
+ max-width: 800px;
+ left: 50%;
+ margin-left: -400px;
+}
+
+/* line 70, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-content-wrapper {
+ width: 100%;
+ padding: 1.125rem 1.25rem 1.5rem;
+}
+/* line 75, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-content-wrapper .button {
+ margin-bottom: 0 !important;
+}
+/* line 77, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-content-wrapper .joyride-prev-tip {
+ margin-right: 10px;
+}
+
+/* Add a little css triangle pip, older browser just miss out on the fanciness of it */
+/* line 82, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-tip-guide .joyride-nub {
+ display: block;
+ position: absolute;
+ left: 22px;
+ width: 0;
+ height: 0;
+ border: 10px solid #333333;
+}
+/* line 90, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-tip-guide .joyride-nub.top {
+ border-top-style: solid;
+ border-color: #333333;
+ border-top-color: transparent !important;
+ border-left-color: transparent !important;
+ border-right-color: transparent !important;
+ top: -20px;
+}
+/* line 98, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-tip-guide .joyride-nub.bottom {
+ border-bottom-style: solid;
+ border-color: #333333 !important;
+ border-bottom-color: transparent !important;
+ border-left-color: transparent !important;
+ border-right-color: transparent !important;
+ bottom: -20px;
+}
+/* line 107, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-tip-guide .joyride-nub.right {
+ right: -20px;
+}
+/* line 108, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-tip-guide .joyride-nub.left {
+ left: -20px;
+}
+
+/* Typography */
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-tip-guide h1, .joyride-tip-guide article h1:not(.subheader) div input, article h1:not(.subheader) div .joyride-tip-guide input,
+.joyride-tip-guide h2,
+.joyride-tip-guide h3,
+.joyride-tip-guide h4,
+.joyride-tip-guide h5,
+.joyride-tip-guide h6 {
+ line-height: 1.25;
+ margin: 0;
+ font-weight: bold;
+ color: white;
+}
+
+/* line 124, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-tip-guide p {
+ margin: 0 0 1.125rem 0;
+ font-size: 0.875rem;
+ line-height: 1.3;
+}
+
+/* line 130, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-timer-indicator-wrap {
+ width: 50px;
+ height: 3px;
+ border: solid 1px #555555;
+ position: absolute;
+ right: 1.0625rem;
+ bottom: 1rem;
+}
+
+/* line 138, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-timer-indicator {
+ display: block;
+ width: 0;
+ height: inherit;
+ background: #666666;
+}
+
+/* line 145, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-close-tip {
+ position: absolute;
+ right: 12px;
+ top: 10px;
+ color: #777777 !important;
+ text-decoration: none;
+ font-size: 24px;
+ font-weight: normal;
+ line-height: .5 !important;
+}
+/* line 156, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-close-tip:hover, .joyride-close-tip:focus {
+ color: #eeeeee !important;
+}
+
+/* line 159, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-modal-bg {
+ position: fixed;
+ height: 100%;
+ width: 100%;
+ background: transparent;
+ background: rgba(0, 0, 0, 0.5);
+ z-index: 100;
+ display: none;
+ top: 0;
+ left: 0;
+ cursor: pointer;
+}
+
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-expose-wrapper {
+ background-color: white;
+ position: absolute;
+ border-radius: 3px;
+ z-index: 102;
+ box-shadow: 0 0 15px white;
+}
+
+/* line 180, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+.joyride-expose-cover {
+ background: transparent;
+ border-radius: 3px;
+ position: absolute;
+ z-index: 9999;
+ top: 0;
+ left: 0;
+}
+
+/* Styles for screens that are at least 768px; */
+@media only screen and (min-width: 40.063em) {
+ /* line 192, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+ .joyride-tip-guide {
+ width: 300px;
+ left: inherit;
+ }
+ /* line 194, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+ .joyride-tip-guide .joyride-nub.bottom {
+ border-color: #333333 !important;
+ border-bottom-color: transparent !important;
+ border-left-color: transparent !important;
+ border-right-color: transparent !important;
+ bottom: -20px;
+ }
+ /* line 201, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+ .joyride-tip-guide .joyride-nub.right {
+ border-color: #333333 !important;
+ border-top-color: transparent !important;
+ border-right-color: transparent !important;
+ border-bottom-color: transparent !important;
+ top: 22px;
+ left: auto;
+ right: -20px;
+ }
+ /* line 209, ../../../bower_components/foundation/scss/foundation/components/_joyride.scss */
+ .joyride-tip-guide .joyride-nub.left {
+ border-color: #333333 !important;
+ border-top-color: transparent !important;
+ border-left-color: transparent !important;
+ border-bottom-color: transparent !important;
+ top: 22px;
+ left: -20px;
+ right: auto;
+ }
+}
+/* line 56, ../../../bower_components/foundation/scss/foundation/components/_keystrokes.scss */
+.keystroke,
+kbd {
+ background-color: #ededed;
+ border-color: #dddddd;
+ color: #222222;
+ border-style: solid;
+ border-width: 1px;
+ margin: 0;
+ font-family: "Consolas", "Menlo", "Courier", monospace;
+ font-size: inherit;
+ padding: 0.125rem 0.25rem 0;
+ border-radius: 5px;
+}
+
+/* line 91, ../../../bower_components/foundation/scss/foundation/components/_labels.scss */
+.label, .label-list:empty:before {
+ font-weight: normal;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ text-align: center;
+ text-decoration: none;
+ line-height: 1;
+ white-space: nowrap;
+ display: inline-block;
+ position: relative;
+ margin-bottom: inherit;
+ padding: 0.25rem 0.5rem 0.25rem;
+ font-size: 0.6875rem;
+ background-color: #0eacb5;
+ color: #666666;
+}
+/* line 96, ../../../bower_components/foundation/scss/foundation/components/_labels.scss */
+.label.radius, .radius.label-list:empty:before {
+ border-radius: 5px;
+}
+/* line 97, ../../../bower_components/foundation/scss/foundation/components/_labels.scss */
+.label.round, .round.label-list:empty:before {
+ border-radius: 1000px;
+}
+/* line 99, ../../../bower_components/foundation/scss/foundation/components/_labels.scss */
+.label.alert, .alert.label-list:empty:before {
+ background-color: #f04124;
+ color: #666666;
+}
+/* line 100, ../../../bower_components/foundation/scss/foundation/components/_labels.scss */
+.label.warning, .warning.label-list:empty:before {
+ background-color: #f08a24;
+ color: #666666;
+}
+/* line 101, ../../../bower_components/foundation/scss/foundation/components/_labels.scss */
+.label.success, .success.label-list:empty:before {
+ background-color: #43ac6a;
+ color: #666666;
+}
+/* line 102, ../../../bower_components/foundation/scss/foundation/components/_labels.scss */
+.label.secondary, .secondary.label-list:empty:before {
+ background-color: #a9b2b3;
+ color: #666666;
+}
+/* line 103, ../../../bower_components/foundation/scss/foundation/components/_labels.scss */
+.label.info, .info.label-list:empty:before {
+ background-color: #fff0a5;
+ color: #333333;
+}
+
+/* line 18, ../../../bower_components/foundation/scss/foundation/components/_magellan.scss */
+[data-magellan-expedition], [data-magellan-expedition-clone] {
+ background: white;
+ z-index: 50;
+ min-width: 100%;
+ padding: 10px;
+}
+/* line 24, ../../../bower_components/foundation/scss/foundation/components/_magellan.scss */
+[data-magellan-expedition] .sub-nav, [data-magellan-expedition-clone] .sub-nav {
+ margin-bottom: 0;
+}
+/* line 26, ../../../bower_components/foundation/scss/foundation/components/_magellan.scss */
+[data-magellan-expedition] .sub-nav dd, [data-magellan-expedition-clone] .sub-nav dd {
+ margin-bottom: 0;
+}
+/* line 27, ../../../bower_components/foundation/scss/foundation/components/_magellan.scss */
+[data-magellan-expedition] .sub-nav a, [data-magellan-expedition-clone] .sub-nav a {
+ line-height: 1.8em;
+}
+
+@-webkit-keyframes rotate {
+ /* line 54, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ from {
+ -webkit-transform: rotate(0deg);
+ }
+
+ /* line 55, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ to {
+ -webkit-transform: rotate(360deg);
+ }
+}
+
+@-moz-keyframes rotate {
+ /* line 58, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ from {
+ -moz-transform: rotate(0deg);
+ }
+
+ /* line 59, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ to {
+ -moz-transform: rotate(360deg);
+ }
+}
+
+@-o-keyframes rotate {
+ /* line 62, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ from {
+ -o-transform: rotate(0deg);
+ }
+
+ /* line 63, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ to {
+ -o-transform: rotate(360deg);
+ }
+}
+
+@keyframes rotate {
+ /* line 66, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ from {
+ transform: rotate(0deg);
+ }
+
+ /* line 67, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ to {
+ transform: rotate(360deg);
+ }
+}
+
+/* Orbit Graceful Loading */
+/* line 71, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.slideshow-wrapper {
+ position: relative;
+}
+/* line 74, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.slideshow-wrapper ul {
+ list-style-type: none;
+ margin: 0;
+}
+/* line 81, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.slideshow-wrapper ul li,
+.slideshow-wrapper ul li .orbit-caption {
+ display: none;
+}
+/* line 84, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.slideshow-wrapper ul li:first-child {
+ display: block;
+}
+/* line 87, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.slideshow-wrapper .orbit-container {
+ background-color: transparent;
+}
+/* line 90, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.slideshow-wrapper .orbit-container li {
+ display: block;
+}
+/* line 92, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.slideshow-wrapper .orbit-container li .orbit-caption {
+ display: block;
+}
+/* line 94, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.slideshow-wrapper .orbit-container .orbit-bullets li {
+ display: inline-block;
+}
+/* line 100, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.slideshow-wrapper .preloader {
+ display: block;
+ width: 40px;
+ height: 40px;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ margin-top: -20px;
+ margin-left: -20px;
+ border: solid 3px;
+ border-color: #555555 white;
+ border-radius: 1000px;
+ animation-name: rotate;
+ animation-duration: 1.5s;
+ animation-iteration-count: infinite;
+ animation-timing-function: linear;
+}
+
+/* line 120, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container {
+ overflow: hidden;
+ width: 100%;
+ position: relative;
+ background: none;
+}
+/* line 126, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-slides-container {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ position: relative;
+ -webkit-transform: translateZ(0);
+}
+/* line 135, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-slides-container img {
+ display: block;
+ max-width: 100%;
+}
+/* line 137, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-slides-container > * {
+ position: absolute;
+ top: 0;
+ width: 100%;
+ margin-left: 100%;
+}
+/* line 148, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-slides-container > *:first-child {
+ margin-left: 0%;
+}
+/* line 157, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-slides-container > * .orbit-caption {
+ position: absolute;
+ bottom: 0;
+ background-color: rgba(51, 51, 51, 0.8);
+ color: white;
+ width: 100%;
+ padding: 0.625rem 0.875rem;
+ font-size: 0.875rem;
+}
+/* line 174, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-slide-number {
+ position: absolute;
+ top: 10px;
+ left: 10px;
+ font-size: 12px;
+ color: white;
+ background: rgba(0, 0, 0, 0);
+ z-index: 10;
+}
+/* line 179, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-slide-number span {
+ font-weight: 700;
+ padding: 0.3125rem;
+}
+/* line 185, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-timer {
+ position: absolute;
+ top: 12px;
+ right: 10px;
+ height: 6px;
+ width: 100px;
+ z-index: 10;
+}
+/* line 192, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-timer .orbit-progress {
+ height: 3px;
+ background-color: rgba(255, 255, 255, 0.3);
+ display: block;
+ width: 0%;
+ position: relative;
+ right: 20px;
+ top: 5px;
+}
+/* line 205, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-timer > span {
+ display: none;
+ position: absolute;
+ top: 0px;
+ right: 0;
+ width: 11px;
+ height: 14px;
+ border: solid 4px white;
+ border-top: none;
+ border-bottom: none;
+}
+/* line 219, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-timer.paused > span {
+ right: -4px;
+ top: 0px;
+ width: 11px;
+ height: 14px;
+ border: inset 8px;
+ border-left-style: solid;
+ border-color: transparent;
+ border-left-color: white;
+}
+/* line 228, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-timer.paused > span.dark {
+ border-left-color: #333333;
+}
+/* line 237, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container:hover .orbit-timer > span {
+ display: block;
+}
+/* line 241, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-prev,
+.orbit-container .orbit-next {
+ position: absolute;
+ top: 45%;
+ margin-top: -25px;
+ width: 36px;
+ height: 60px;
+ line-height: 50px;
+ color: white;
+ background-color: transparent;
+ text-indent: -9999px !important;
+ z-index: 10;
+}
+/* line 253, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-prev:hover,
+.orbit-container .orbit-next:hover {
+ background-color: rgba(0, 0, 0, 0.3);
+}
+/* line 257, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-prev > span,
+.orbit-container .orbit-next > span {
+ position: absolute;
+ top: 50%;
+ margin-top: -10px;
+ display: block;
+ width: 0;
+ height: 0;
+ border: inset 10px;
+}
+/* line 267, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-prev {
+ left: 0;
+}
+/* line 268, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-prev > span {
+ border-right-style: solid;
+ border-color: transparent;
+ border-right-color: white;
+}
+/* line 273, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-prev:hover > span {
+ border-right-color: white;
+}
+/* line 277, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-next {
+ right: 0;
+}
+/* line 278, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-next > span {
+ border-color: transparent;
+ border-left-style: solid;
+ border-left-color: white;
+ left: 50%;
+ margin-left: -4px;
+}
+/* line 285, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-container .orbit-next:hover > span {
+ border-left-color: white;
+}
+
+/* line 291, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-bullets-container {
+ text-align: center;
+}
+
+/* line 292, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-bullets {
+ margin: 0 auto 30px auto;
+ overflow: hidden;
+ position: relative;
+ top: 10px;
+ float: none;
+ text-align: center;
+ display: block;
+}
+/* line 301, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-bullets li {
+ cursor: pointer;
+ display: inline-block;
+ width: 0.5625rem;
+ height: 0.5625rem;
+ background: #cccccc;
+ float: none;
+ margin-right: 6px;
+ border-radius: 1000px;
+}
+/* line 312, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-bullets li.active {
+ background: #999999;
+}
+/* line 316, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.orbit-bullets li:last-child {
+ margin-right: 0;
+}
+
+/* line 323, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.touch .orbit-container .orbit-prev,
+.touch .orbit-container .orbit-next {
+ display: none;
+}
+/* line 326, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+.touch .orbit-bullets {
+ display: none;
+}
+
+@media only screen and (min-width: 40.063em) {
+ /* line 335, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ .touch .orbit-container .orbit-prev,
+ .touch .orbit-container .orbit-next {
+ display: inherit;
+ }
+ /* line 338, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ .touch .orbit-bullets {
+ display: block;
+ }
+}
+@media only screen and (max-width: 40em) {
+ /* line 345, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ .orbit-stack-on-small .orbit-slides-container {
+ height: auto !important;
+ }
+ /* line 346, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ .orbit-stack-on-small .orbit-slides-container > * {
+ position: relative;
+ margin: 0% !important;
+ opacity: 1 !important;
+ }
+ /* line 352, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ .orbit-stack-on-small .orbit-slide-number {
+ display: none;
+ }
+
+ /* line 358, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ .orbit-timer {
+ display: none;
+ }
+
+ /* line 361, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ .orbit-next, .orbit-prev {
+ display: none;
+ }
+
+ /* line 364, ../../../bower_components/foundation/scss/foundation/components/_orbit.scss */
+ .orbit-bullets {
+ display: none;
+ }
+}
+/* line 149, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
+ul.pagination {
+ display: block;
+ min-height: 1.5rem;
+ margin-left: -0.3125rem;
+}
+/* line 104, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
+ul.pagination li {
+ height: 1.5rem;
+ color: #222222;
+ font-size: 0.875rem;
+ margin-left: 0.3125rem;
+}
+/* line 110, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
+ul.pagination li a, ul.pagination li button {
+ display: block;
+ padding: 0.0625rem 0.625rem 0.0625rem;
+ color: #999999;
+ background: none;
+ border-radius: 5px;
+ font-weight: normal;
+ font-size: 1em;
+ line-height: inherit;
+ transition: background-color 300ms ease-out;
+}
+/* line 126, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
+ul.pagination li:hover a,
+ul.pagination li a:focus, ul.pagination li:hover button,
+ul.pagination li button:focus {
+ background: #e6e6e6;
+}
+/* line 51, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
+ul.pagination li.unavailable a, ul.pagination li.unavailable button {
+ cursor: default;
+ color: #999999;
+}
+/* line 60, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
+ul.pagination li.unavailable:hover a, ul.pagination li.unavailable a:focus, ul.pagination li.unavailable:hover button, ul.pagination li.unavailable button:focus {
+ background: transparent;
+}
+/* line 68, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
+ul.pagination li.current a, ul.pagination li.current button {
+ background: #0eacb5;
+ color: white;
+ font-weight: bold;
+ cursor: default;
+}
+/* line 75, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
+ul.pagination li.current a:hover, ul.pagination li.current a:focus, ul.pagination li.current button:hover, ul.pagination li.current button:focus {
+ background: #0eacb5;
+}
+/* line 136, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
+ul.pagination li {
+ float: left;
+ display: block;
+}
+
+/* Pagination centred wrapper */
+/* line 154, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
+.pagination-centered {
+ text-align: center;
+}
+/* line 136, ../../../bower_components/foundation/scss/foundation/components/_pagination.scss */
+.pagination-centered ul.pagination li {
+ float: none;
+ display: inline-block;
+}
+
+/* Panels */
+/* line 79, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel {
+ border-style: solid;
+ border-width: 1px;
+ border-color: #c6f8fb;
+ margin-bottom: 1.25rem;
+ padding: 1.25rem;
+ background: #f9feff;
+ color: #333333;
+}
+/* line 54, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel > :first-child {
+ margin-top: 0;
+}
+/* line 55, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel > :last-child {
+ margin-bottom: 0;
+}
+/* line 60, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel h1, .panel article h1:not(.subheader) div input, article h1:not(.subheader) div .panel input, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6, .panel p, .panel li, .panel dl {
+ color: #333333;
+}
+/* line 67, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel h1, .panel article h1:not(.subheader) div input, article h1:not(.subheader) div .panel input, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6 {
+ line-height: 1;
+ margin-bottom: 0.625rem;
+}
+/* line 69, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel h1.subheader, .panel article h1:not(.subheader) div input.subheader, article h1:not(.subheader) div .panel input.subheader, .panel h2.subheader, .panel h3.subheader, .panel h4.subheader, .panel h5.subheader, .panel h6.subheader {
+ line-height: 1.4;
+}
+/* line 81, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel.callout {
+ border-style: solid;
+ border-width: 1px;
+ border-color: #bbf6fa;
+ margin-bottom: 1.25rem;
+ padding: 1.25rem;
+ background: #edfdfe;
+ color: #333333;
+}
+/* line 54, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel.callout > :first-child {
+ margin-top: 0;
+}
+/* line 55, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel.callout > :last-child {
+ margin-bottom: 0;
+}
+/* line 60, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel.callout h1, .panel.callout article h1:not(.subheader) div input, article h1:not(.subheader) div .panel.callout input, .panel.callout h2, .panel.callout h3, .panel.callout h4, .panel.callout h5, .panel.callout h6, .panel.callout p, .panel.callout li, .panel.callout dl {
+ color: #333333;
+}
+/* line 67, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel.callout h1, .panel.callout article h1:not(.subheader) div input, article h1:not(.subheader) div .panel.callout input, .panel.callout h2, .panel.callout h3, .panel.callout h4, .panel.callout h5, .panel.callout h6 {
+ line-height: 1;
+ margin-bottom: 0.625rem;
+}
+/* line 69, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel.callout h1.subheader, .panel.callout article h1:not(.subheader) div input.subheader, article h1:not(.subheader) div .panel.callout input.subheader, .panel.callout h2.subheader, .panel.callout h3.subheader, .panel.callout h4.subheader, .panel.callout h5.subheader, .panel.callout h6.subheader {
+ line-height: 1.4;
+}
+/* line 83, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel.callout a:not(.button) {
+ color: #0eacb5;
+}
+/* line 88, ../../../bower_components/foundation/scss/foundation/components/_panels.scss */
+.panel.radius {
+ border-radius: 5px;
+}
+
+/* Pricing Tables */
+/* line 139, ../../../bower_components/foundation/scss/foundation/components/_pricing-tables.scss */
+.pricing-table {
+ border: solid 1px #dddddd;
+ margin-left: 0;
+ margin-bottom: 1.25rem;
+}
+/* line 68, ../../../bower_components/foundation/scss/foundation/components/_pricing-tables.scss */
+.pricing-table * {
+ list-style: none;
+ line-height: 1;
+}
+/* line 142, ../../../bower_components/foundation/scss/foundation/components/_pricing-tables.scss */
+.pricing-table .title {
+ background-color: #333333;
+ padding: 0.9375rem 1.25rem;
+ text-align: center;
+ color: #eeeeee;
+ font-weight: normal;
+ font-size: 1rem;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+/* line 143, ../../../bower_components/foundation/scss/foundation/components/_pricing-tables.scss */
+.pricing-table .price {
+ background-color: #f6f6f6;
+ padding: 0.9375rem 1.25rem;
+ text-align: center;
+ color: #333333;
+ font-weight: normal;
+ font-size: 2rem;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+/* line 144, ../../../bower_components/foundation/scss/foundation/components/_pricing-tables.scss */
+.pricing-table .description {
+ background-color: white;
+ padding: 0.9375rem;
+ text-align: center;
+ color: #777777;
+ font-size: 0.75rem;
+ font-weight: normal;
+ line-height: 1.4;
+ border-bottom: dotted 1px #dddddd;
+}
+/* line 145, ../../../bower_components/foundation/scss/foundation/components/_pricing-tables.scss */
+.pricing-table .bullet-item {
+ background-color: white;
+ padding: 0.9375rem;
+ text-align: center;
+ color: #333333;
+ font-size: 0.875rem;
+ font-weight: normal;
+ border-bottom: dotted 1px #dddddd;
+}
+/* line 146, ../../../bower_components/foundation/scss/foundation/components/_pricing-tables.scss */
+.pricing-table .cta-button {
+ background-color: white;
+ text-align: center;
+ padding: 1.25rem 1.25rem 0;
+}
+
+/* Progress Bar */
+/* line 57, ../../../bower_components/foundation/scss/foundation/components/_progress-bars.scss */
+.progress {
+ background-color: #f6f6f6;
+ height: 1.5625rem;
+ border: 1px solid white;
+ padding: 0.125rem;
+ margin-bottom: 0.625rem;
+}
+/* line 61, ../../../bower_components/foundation/scss/foundation/components/_progress-bars.scss */
+.progress .meter {
+ background: #0eacb5;
+ height: 100%;
+ display: block;
+}
+/* line 64, ../../../bower_components/foundation/scss/foundation/components/_progress-bars.scss */
+.progress.secondary .meter {
+ background: #a9b2b3;
+ height: 100%;
+ display: block;
+}
+/* line 65, ../../../bower_components/foundation/scss/foundation/components/_progress-bars.scss */
+.progress.success .meter {
+ background: #43ac6a;
+ height: 100%;
+ display: block;
+}
+/* line 66, ../../../bower_components/foundation/scss/foundation/components/_progress-bars.scss */
+.progress.alert .meter {
+ background: #f04124;
+ height: 100%;
+ display: block;
+}
+/* line 68, ../../../bower_components/foundation/scss/foundation/components/_progress-bars.scss */
+.progress.radius {
+ border-radius: 5px;
+}
+/* line 69, ../../../bower_components/foundation/scss/foundation/components/_progress-bars.scss */
+.progress.radius .meter {
+ border-radius: 4px;
+}
+/* line 72, ../../../bower_components/foundation/scss/foundation/components/_progress-bars.scss */
+.progress.round {
+ border-radius: 1000px;
+}
+/* line 73, ../../../bower_components/foundation/scss/foundation/components/_progress-bars.scss */
+.progress.round .meter {
+ border-radius: 999px;
+}
+
+/* line 127, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider {
+ display: block;
+ position: relative;
+ width: 100%;
+ height: 1rem;
+ border: 1px solid #dddddd;
+ margin: 1.25rem 0;
+ -ms-touch-action: none;
+ touch-action: none;
+ background: #fafafa;
+}
+/* line 130, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.vertical-range {
+ display: block;
+ position: relative;
+ width: 100%;
+ height: 1rem;
+ border: 1px solid #dddddd;
+ margin: 1.25rem 0;
+ -ms-touch-action: none;
+ touch-action: none;
+ display: inline-block;
+ width: 1rem;
+ height: 12.5rem;
+}
+/* line 132, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.vertical-range .range-slider-handle {
+ margin-top: 0;
+ margin-left: -0.5rem;
+ position: absolute;
+ bottom: -10.5rem;
+}
+/* line 138, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.vertical-range .range-slider-active-segment {
+ width: 0.875rem;
+ height: auto;
+ bottom: 0;
+}
+/* line 144, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.radius {
+ background: #fafafa;
+ border-radius: 5px;
+}
+/* line 146, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.radius .range-slider-handle {
+ background: #0eacb5;
+ border-radius: 5px;
+}
+/* line 115, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.radius .range-slider-handle:hover {
+ background: #0c979f;
+}
+/* line 148, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.round {
+ background: #fafafa;
+ border-radius: 1000px;
+}
+/* line 150, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.round .range-slider-handle {
+ background: #0eacb5;
+ border-radius: 1000px;
+}
+/* line 115, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.round .range-slider-handle:hover {
+ background: #0c979f;
+}
+/* line 152, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.disabled, .range-slider[disabled] {
+ background: #fafafa;
+ cursor: default;
+ opacity: 0.7;
+}
+/* line 154, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.disabled .range-slider-handle, .range-slider[disabled] .range-slider-handle {
+ background: #0eacb5;
+ cursor: default;
+ opacity: 0.7;
+}
+/* line 115, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider.disabled .range-slider-handle:hover, .range-slider[disabled] .range-slider-handle:hover {
+ background: #0c979f;
+}
+
+/* line 157, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider-active-segment {
+ display: inline-block;
+ position: absolute;
+ height: 0.875rem;
+ background: #a8b0b1;
+}
+
+/* line 163, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider-handle {
+ display: inline-block;
+ position: absolute;
+ z-index: 1;
+ top: -0.3125rem;
+ width: 2rem;
+ height: 1.375rem;
+ border: 1px solid none;
+ cursor: pointer;
+ -ms-touch-action: manipulation;
+ touch-action: manipulation;
+ background: #0eacb5;
+}
+/* line 115, ../../../bower_components/foundation/scss/foundation/components/_range-slider.scss */
+.range-slider-handle:hover {
+ background: #0c979f;
+}
+
+/* line 165, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+.reveal-modal-bg {
+ position: fixed;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ background: black;
+ background: rgba(0, 0, 0, 0.45);
+ z-index: 1004;
+ display: none;
+ left: 0;
+}
+
+/* line 167, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+.reveal-modal, dialog {
+ visibility: hidden;
+ display: none;
+ position: absolute;
+ z-index: 1005;
+ width: 100vw;
+ top: 0;
+ border-radius: 5px;
+ left: 0;
+ background-color: white;
+ padding: 1.25rem;
+ border: solid 1px #666666;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
+ padding: 1.875rem;
+}
+@media only screen and (max-width: 40em) {
+ /* line 167, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+ .reveal-modal, dialog {
+ min-height: 100vh;
+ }
+}
+/* line 85, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+.reveal-modal .column, dialog .column, .reveal-modal .columns, dialog .columns {
+ min-width: 0;
+}
+/* line 88, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+.reveal-modal > :first-child, dialog > :first-child {
+ margin-top: 0;
+}
+/* line 90, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+.reveal-modal > :last-child, dialog > :last-child {
+ margin-bottom: 0;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 167, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+ .reveal-modal, dialog {
+ width: 80%;
+ max-width: inherit;
+ left: 0;
+ right: 0;
+ margin: 0 auto;
+ }
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 167, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+ .reveal-modal, dialog {
+ top: 6.25rem;
+ }
+}
+/* line 179, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+.reveal-modal.radius, dialog.radius {
+ border-radius: 5px;
+}
+/* line 180, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+.reveal-modal.round, dialog.round {
+ border-radius: 1000px;
+}
+/* line 181, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+.reveal-modal.collapse, dialog.collapse {
+ padding: 0;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 182, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+ .reveal-modal.tiny, dialog.tiny {
+ width: 30%;
+ max-width: inherit;
+ left: 0;
+ right: 0;
+ margin: 0 auto;
+ }
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 183, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+ .reveal-modal.small, dialog.small {
+ width: 40%;
+ max-width: inherit;
+ left: 0;
+ right: 0;
+ margin: 0 auto;
+ }
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 184, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+ .reveal-modal.medium, dialog.medium {
+ width: 60%;
+ max-width: inherit;
+ left: 0;
+ right: 0;
+ margin: 0 auto;
+ }
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 185, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+ .reveal-modal.large, dialog.large {
+ width: 70%;
+ max-width: inherit;
+ left: 0;
+ right: 0;
+ margin: 0 auto;
+ }
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 186, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+ .reveal-modal.xlarge, dialog.xlarge {
+ width: 95%;
+ max-width: inherit;
+ left: 0;
+ right: 0;
+ margin: 0 auto;
+ }
+}
+/* line 187, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+.reveal-modal.full, dialog.full {
+ top: 0;
+ left: 0;
+ height: 100%;
+ height: 100vh;
+ min-height: 100vh;
+ max-width: none !important;
+ margin-left: 0 !important;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 187, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+ .reveal-modal.full, dialog.full {
+ width: 100vw;
+ max-width: inherit;
+ left: 0;
+ right: 0;
+ margin: 0 auto;
+ }
+}
+/* line 198, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+.reveal-modal .close-reveal-modal, dialog .close-reveal-modal {
+ font-size: 2.5rem;
+ line-height: 1;
+ position: absolute;
+ top: 0.5rem;
+ right: 0.6875rem;
+ color: #aaaaaa;
+ font-weight: bold;
+ cursor: pointer;
+}
+
+/* line 201, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+dialog {
+ display: none;
+}
+/* line 205, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+dialog::backdrop, dialog + .backdrop {
+ position: fixed;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ background: black;
+ background: rgba(0, 0, 0, 0.45);
+ z-index: auto;
+ display: none;
+ left: 0;
+}
+/* line 209, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+dialog[open] {
+ display: block;
+}
+
+@media print {
+ /* line 216, ../../../bower_components/foundation/scss/foundation/components/_reveal.scss */
+ dialog, .reveal-modal, dialog {
+ display: none;
+ background: white !important;
+ }
+}
+/* line 114, ../../../bower_components/foundation/scss/foundation/components/_side-nav.scss */
+.side-nav {
+ display: block;
+ margin: 0;
+ padding: 0.875rem 0;
+ list-style-type: none;
+ list-style-position: outside;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+/* line 70, ../../../bower_components/foundation/scss/foundation/components/_side-nav.scss */
+.side-nav li {
+ margin: 0;
+ font-size: 0.875rem;
+ font-weight: normal;
+}
+/* line 75, ../../../bower_components/foundation/scss/foundation/components/_side-nav.scss */
+.side-nav li a:not(.button) {
+ display: block;
+ color: #888888;
+ margin: 0;
+ padding: 0.4375rem 0.875rem;
+}
+/* line 81, ../../../bower_components/foundation/scss/foundation/components/_side-nav.scss */
+.side-nav li a:not(.button):hover, .side-nav li a:not(.button):focus {
+ background: rgba(0, 0, 0, 0.025);
+ color: #acacac;
+}
+/* line 87, ../../../bower_components/foundation/scss/foundation/components/_side-nav.scss */
+.side-nav li.active > a:first-child:not(.button) {
+ color: #acacac;
+ font-weight: normal;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+/* line 93, ../../../bower_components/foundation/scss/foundation/components/_side-nav.scss */
+.side-nav li.divider {
+ border-top: 1px solid;
+ height: 0;
+ padding: 0;
+ list-style: none;
+ border-top-color: white;
+}
+/* line 101, ../../../bower_components/foundation/scss/foundation/components/_side-nav.scss */
+.side-nav li.heading {
+ color: #888888;
+ font-size: 0.875rem;
+ font-weight: bold;
+ text-transform: uppercase;
+}
+
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button {
+ position: relative;
+ padding-right: 5.0625rem;
+}
+/* line 76, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button span {
+ display: block;
+ height: 100%;
+ position: absolute;
+ right: 0;
+ top: 0;
+ border-left: solid 1px;
+}
+/* line 85, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button span:after {
+ position: absolute;
+ content: "";
+ width: 0;
+ height: 0;
+ display: block;
+ border-style: inset;
+ top: 50%;
+ left: 50%;
+}
+/* line 97, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button span:active {
+ background-color: rgba(0, 0, 0, 0.1);
+}
+/* line 103, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button span {
+ border-left-color: rgba(255, 255, 255, 0.5);
+}
+/* line 140, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button span {
+ width: 3.09375rem;
+}
+/* line 141, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button span:after {
+ border-top-style: solid;
+ border-width: 0.375rem;
+ top: 48%;
+ margin-left: -0.375rem;
+}
+/* line 166, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button span:after {
+ border-color: white transparent transparent transparent;
+}
+/* line 103, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.secondary span {
+ border-left-color: rgba(255, 255, 255, 0.5);
+}
+/* line 166, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.secondary span:after {
+ border-color: white transparent transparent transparent;
+}
+/* line 103, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.alert span {
+ border-left-color: rgba(255, 255, 255, 0.5);
+}
+/* line 103, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.success span {
+ border-left-color: rgba(255, 255, 255, 0.5);
+}
+/* line 179, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.tiny {
+ padding-right: 3.75rem;
+}
+/* line 112, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.tiny span {
+ width: 2.25rem;
+}
+/* line 113, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.tiny span:after {
+ border-top-style: solid;
+ border-width: 0.375rem;
+ top: 48%;
+ margin-left: -0.375rem;
+}
+/* line 180, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.small {
+ padding-right: 4.375rem;
+}
+/* line 126, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.small span {
+ width: 2.625rem;
+}
+/* line 127, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.small span:after {
+ border-top-style: solid;
+ border-width: 0.4375rem;
+ top: 48%;
+ margin-left: -0.375rem;
+}
+/* line 181, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.large {
+ padding-right: 5.5rem;
+}
+/* line 154, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.large span {
+ width: 3.4375rem;
+}
+/* line 155, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.large span:after {
+ border-top-style: solid;
+ border-width: 0.3125rem;
+ top: 48%;
+ margin-left: -0.375rem;
+}
+/* line 182, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.expand {
+ padding-left: 2rem;
+}
+/* line 166, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.secondary span:after {
+ border-color: #333333 transparent transparent transparent;
+}
+/* line 186, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.radius span {
+ -webkit-border-bottom-right-radius: 5px;
+ -webkit-border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+ border-top-right-radius: 5px;
+}
+/* line 187, ../../../bower_components/foundation/scss/foundation/components/_split-buttons.scss */
+.split.button.round span {
+ -webkit-border-bottom-right-radius: 1000px;
+ -webkit-border-top-right-radius: 1000px;
+ border-bottom-right-radius: 1000px;
+ border-top-right-radius: 1000px;
+}
+
+/* line 121, ../../../bower_components/foundation/scss/foundation/components/_sub-nav.scss */
+.sub-nav {
+ display: block;
+ width: auto;
+ overflow: hidden;
+ margin-bottom: -0.25rem 0 1.125rem;
+ padding-top: 0.25rem;
+}
+/* line 67, ../../../bower_components/foundation/scss/foundation/components/_sub-nav.scss */
+.sub-nav dt {
+ text-transform: uppercase;
+}
+/* line 73, ../../../bower_components/foundation/scss/foundation/components/_sub-nav.scss */
+.sub-nav dt,
+.sub-nav dd,
+.sub-nav li {
+ float: left;
+ display: inline;
+ margin-left: 1rem;
+ margin-bottom: 0;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-weight: normal;
+ font-size: 0.875rem;
+ color: #999999;
+}
+/* line 83, ../../../bower_components/foundation/scss/foundation/components/_sub-nav.scss */
+.sub-nav dt a,
+.sub-nav dd a,
+.sub-nav li a {
+ text-decoration: none;
+ color: #999999;
+ padding: 0.1875rem 1rem;
+}
+/* line 87, ../../../bower_components/foundation/scss/foundation/components/_sub-nav.scss */
+.sub-nav dt a:hover,
+.sub-nav dd a:hover,
+.sub-nav li a:hover {
+ color: #737373;
+}
+/* line 92, ../../../bower_components/foundation/scss/foundation/components/_sub-nav.scss */
+.sub-nav dt.active a,
+.sub-nav dd.active a,
+.sub-nav li.active a {
+ border-radius: 3px;
+ font-weight: normal;
+ background: #0eacb5;
+ padding: 0.1875rem 1rem;
+ cursor: default;
+ color: white;
+}
+/* line 99, ../../../bower_components/foundation/scss/foundation/components/_sub-nav.scss */
+.sub-nav dt.active a:hover,
+.sub-nav dd.active a:hover,
+.sub-nav li.active a:hover {
+ background: #0c949c;
+}
+
+/* line 204, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch {
+ padding: 0;
+ border: none;
+ position: relative;
+ outline: 0;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ user-select: none;
+}
+/* line 56, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch label {
+ display: block;
+ margin-bottom: 1rem;
+ position: relative;
+ color: transparent;
+ background: #dddddd;
+ text-indent: 100%;
+ width: 4rem;
+ height: 2rem;
+ cursor: pointer;
+ transition: left 0.15s ease-out;
+}
+/* line 72, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch input {
+ opacity: 0;
+ position: absolute;
+ top: 9px;
+ left: 10px;
+ padding: 0;
+}
+/* line 79, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch input + label {
+ margin-left: 0;
+ margin-right: 0;
+}
+/* line 86, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch label:after {
+ content: "";
+ display: block;
+ background: white;
+ position: absolute;
+ top: .25rem;
+ left: .25rem;
+ width: 1.5rem;
+ height: 1.5rem;
+ -webkit-transition: left 0.15s ease-out;
+ -moz-transition: left 0.15s ease-out;
+ transition: left 0.15s ease-out;
+ -webkit-transform: translate3d(0, 0, 0);
+ -moz-transform: translate3d(0, 0, 0);
+ transform: translate3d(0, 0, 0);
+}
+/* line 102, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch input:checked + label {
+ background: #0eacb5;
+}
+/* line 106, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch input:checked + label:after {
+ left: 2.25rem;
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch label {
+ width: 4rem;
+ height: 2rem;
+}
+/* line 122, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch label:after {
+ width: 1.5rem;
+ height: 1.5rem;
+}
+/* line 126, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch input:checked + label:after {
+ left: 2.25rem;
+}
+/* line 146, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch label {
+ color: transparent;
+ background: #dddddd;
+}
+/* line 151, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch label:after {
+ background: white;
+}
+/* line 155, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch input:checked + label {
+ background: #0eacb5;
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.large label {
+ width: 5rem;
+ height: 2.5rem;
+}
+/* line 122, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.large label:after {
+ width: 2rem;
+ height: 2rem;
+}
+/* line 126, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.large input:checked + label:after {
+ left: 2.75rem;
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.small label {
+ width: 3.5rem;
+ height: 1.75rem;
+}
+/* line 122, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.small label:after {
+ width: 1.25rem;
+ height: 1.25rem;
+}
+/* line 126, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.small input:checked + label:after {
+ left: 2rem;
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.tiny label {
+ width: 3rem;
+ height: 1.5rem;
+}
+/* line 122, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.tiny label:after {
+ width: 1rem;
+ height: 1rem;
+}
+/* line 126, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.tiny input:checked + label:after {
+ left: 1.75rem;
+}
+/* line 218, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.radius label {
+ border-radius: 4px;
+}
+/* line 219, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.radius label:after {
+ border-radius: 3px;
+}
+/* line 223, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.round {
+ border-radius: 1000px;
+}
+/* line 224, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.round label {
+ border-radius: 2rem;
+}
+/* line 225, ../../../bower_components/foundation/scss/foundation/components/_switches.scss */
+.switch.round label:after {
+ border-radius: 2rem;
+}
+
+/* line 131, ../../../bower_components/foundation/scss/foundation/components/_tables.scss */
+table {
+ background: white;
+ margin-bottom: 1.25rem;
+ border: solid 1px #dddddd;
+ table-layout: auto;
+}
+/* line 69, ../../../bower_components/foundation/scss/foundation/components/_tables.scss */
+table caption {
+ background: transparent;
+ color: #222222;
+ font-size: 1rem;
+ font-weight: bold;
+}
+/* line 78, ../../../bower_components/foundation/scss/foundation/components/_tables.scss */
+table thead {
+ background: whitesmoke;
+}
+/* line 83, ../../../bower_components/foundation/scss/foundation/components/_tables.scss */
+table thead tr th,
+table thead tr td {
+ padding: 0.5rem 0.625rem 0.625rem;
+ font-size: 0.875rem;
+ font-weight: bold;
+ color: #222222;
+}
+/* line 92, ../../../bower_components/foundation/scss/foundation/components/_tables.scss */
+table tfoot {
+ background: whitesmoke;
+}
+/* line 97, ../../../bower_components/foundation/scss/foundation/components/_tables.scss */
+table tfoot tr th,
+table tfoot tr td {
+ padding: 0.5rem 0.625rem 0.625rem;
+ font-size: 0.875rem;
+ font-weight: bold;
+ color: #222222;
+}
+/* line 108, ../../../bower_components/foundation/scss/foundation/components/_tables.scss */
+table tr th,
+table tr td {
+ padding: 0.5625rem 0.625rem;
+ font-size: 0.875rem;
+ color: #222222;
+ text-align: left;
+}
+/* line 117, ../../../bower_components/foundation/scss/foundation/components/_tables.scss */
+table tr.even, table tr.alt, table tr:nth-of-type(even) {
+ background: #f9f9f9;
+}
+/* line 125, ../../../bower_components/foundation/scss/foundation/components/_tables.scss */
+table thead tr th,
+table tfoot tr th,
+table tfoot tr td,
+table tbody tr th,
+table tbody tr td,
+table tr td {
+ display: table-cell;
+ line-height: 1.125rem;
+}
+
+/* line 30, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs {
+ margin-bottom: 0 !important;
+ margin-left: 0;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.tabs:before, .tabs:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.tabs:after {
+ clear: both;
+}
+/* line 34, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs dd, .tabs .tab-title {
+ position: relative;
+ margin-bottom: 0 !important;
+ list-style: none;
+ float: left;
+}
+/* line 39, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs dd > a, .tabs .tab-title > a {
+ outline: none;
+ display: block;
+ background-color: inherit;
+ color: #08676d;
+ padding: 0.4rem 0.8rem;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 1rem;
+}
+/* line 49, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs dd > a:hover, .tabs .tab-title > a:hover {
+ background-color: inherit;
+}
+/* line 55, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs dd.active a, .tabs .tab-title.active a {
+ background-color: inherit;
+ color: #08676d;
+}
+/* line 64, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs.radius dd:first-child a, .tabs.radius .tab:first-child a {
+ -webkit-border-bottom-left-radius: 5px;
+ -webkit-border-top-left-radius: 5px;
+ border-bottom-left-radius: 5px;
+ border-top-left-radius: 5px;
+}
+/* line 67, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs.radius dd:last-child a, .tabs.radius .tab:last-child a {
+ -webkit-border-bottom-right-radius: 5px;
+ -webkit-border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+ border-top-right-radius: 5px;
+}
+/* line 71, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs.vertical dd, .tabs.vertical .tab-title {
+ position: inherit;
+ float: none;
+ display: block;
+ top: auto;
+}
+
+/* line 80, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs-content {
+ margin-bottom: 1.5rem;
+ width: 100%;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.tabs-content:before, .tabs-content:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.tabs-content:after {
+ clear: both;
+}
+/* line 84, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs-content > .content {
+ display: none;
+ float: left;
+ padding: 0.9375rem 0;
+ width: 100%;
+}
+/* line 89, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs-content > .content.active {
+ display: block;
+ float: none;
+}
+/* line 90, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs-content > .content.contained {
+ padding: 0.9375rem;
+}
+/* line 92, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs-content.vertical {
+ display: block;
+}
+/* line 94, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.tabs-content.vertical > .content {
+ padding: 0 0.9375rem;
+}
+
+@media only screen and (min-width: 40.063em) {
+ /* line 99, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+ .tabs.vertical {
+ width: 20%;
+ max-width: 20%;
+ float: left;
+ margin: 0 0 1.25rem;
+ }
+
+ /* line 107, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+ .tabs-content.vertical {
+ width: 80%;
+ max-width: 80%;
+ float: left;
+ margin-left: -1px;
+ padding-left: 1rem;
+ }
+}
+/* line 117, ../../../bower_components/foundation/scss/foundation/components/_tabs.scss */
+.no-js .tabs-content > .content {
+ display: block;
+ float: none;
+}
+
+/* Image Thumbnails */
+/* line 59, ../../../bower_components/foundation/scss/foundation/components/_thumbs.scss */
+.th {
+ line-height: 0;
+ display: inline-block;
+ border: solid 4px white;
+ max-width: 100%;
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
+ transition: all 200ms ease-out;
+}
+/* line 49, ../../../bower_components/foundation/scss/foundation/components/_thumbs.scss */
+.th:hover, .th:focus {
+ box-shadow: 0 0 6px 1px rgba(14, 172, 181, 0.5);
+}
+/* line 63, ../../../bower_components/foundation/scss/foundation/components/_thumbs.scss */
+.th.radius {
+ border-radius: 5px;
+}
+
+/* Tooltips */
+/* line 38, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+.has-tip {
+ border-bottom: dotted 1px #cccccc;
+ cursor: help;
+ font-weight: bold;
+ color: #333333;
+}
+/* line 45, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+.has-tip:hover, .has-tip:focus {
+ border-bottom: dotted 1px #064d51;
+ color: #0eacb5;
+}
+/* line 51, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+.has-tip.tip-left, .has-tip.tip-right {
+ float: none !important;
+}
+
+/* line 54, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+.tooltip {
+ display: none;
+ position: absolute;
+ z-index: 1006;
+ font-weight: normal;
+ font-size: 0.875rem;
+ line-height: 1.3;
+ padding: 0.75rem;
+ max-width: 300px;
+ left: 50%;
+ width: 100%;
+ color: white;
+ background: #333333;
+}
+/* line 68, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+.tooltip > .nub {
+ display: block;
+ left: 5px;
+ position: absolute;
+ width: 0;
+ height: 0;
+ border: solid 5px;
+ border-color: transparent transparent #333333 transparent;
+ top: -10px;
+ pointer-events: none;
+}
+/* line 79, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+.tooltip > .nub.rtl {
+ left: auto;
+ right: 5px;
+}
+/* line 85, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+.tooltip.radius {
+ border-radius: 5px;
+}
+/* line 88, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+.tooltip.round {
+ border-radius: 1000px;
+}
+/* line 90, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+.tooltip.round > .nub {
+ left: 2rem;
+}
+/* line 95, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+.tooltip.opened {
+ color: #0eacb5 !important;
+ border-bottom: dotted 1px #064d51 !important;
+}
+
+/* line 101, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+.tap-to-close {
+ display: block;
+ font-size: 0.625rem;
+ color: #777777;
+ font-weight: normal;
+}
+
+@media only screen and (min-width: 40.063em) {
+ /* line 110, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+ .tooltip > .nub {
+ border-color: transparent transparent #333333 transparent;
+ top: -10px;
+ }
+ /* line 114, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+ .tooltip.tip-top > .nub {
+ border-color: #333333 transparent transparent transparent;
+ top: auto;
+ bottom: -10px;
+ }
+ /* line 121, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+ .tooltip.tip-left, .tooltip.tip-right {
+ float: none !important;
+ }
+ /* line 123, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+ .tooltip.tip-left > .nub {
+ border-color: transparent transparent transparent #333333;
+ right: -10px;
+ left: auto;
+ top: 50%;
+ margin-top: -5px;
+ }
+ /* line 130, ../../../bower_components/foundation/scss/foundation/components/_tooltips.scss */
+ .tooltip.tip-right > .nub {
+ border-color: transparent #333333 transparent transparent;
+ right: auto;
+ left: -10px;
+ top: 50%;
+ margin-top: -5px;
+ }
+}
+/* line 108, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+meta.foundation-mq-topbar {
+ font-family: "/only screen and (min-width:40.063em)/";
+ width: 40.063em;
+}
+
+/* Wrapped around .top-bar to contain to grid width */
+/* line 114, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.contain-to-grid {
+ width: 100%;
+ background: #222222;
+}
+/* line 118, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.contain-to-grid .top-bar {
+ margin-bottom: 0;
+}
+
+/* line 122, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.fixed {
+ width: 100%;
+ left: 0;
+ position: fixed;
+ top: 0;
+ z-index: 99;
+}
+/* line 129, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.fixed.expanded:not(.top-bar) {
+ overflow-y: auto;
+ height: auto;
+ width: 100%;
+ max-height: 100%;
+}
+/* line 135, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.fixed.expanded:not(.top-bar) .title-area {
+ position: fixed;
+ width: 100%;
+ z-index: 99;
+}
+/* line 141, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.fixed.expanded:not(.top-bar) .top-bar-section {
+ z-index: 98;
+ margin-top: 50px;
+}
+
+/* line 148, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar {
+ overflow: hidden;
+ height: 50px;
+ line-height: 50px;
+ position: relative;
+ background: #222222;
+ margin-bottom: 0;
+}
+/* line 157, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar ul {
+ margin-bottom: 0;
+ list-style: none;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar .row {
+ max-width: none;
+}
+/* line 165, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar form,
+.top-bar input {
+ margin-bottom: 0;
+}
+/* line 167, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar input {
+ height: 1.8rem;
+ padding-top: .35rem;
+ padding-bottom: .35rem;
+ font-size: 0.75rem;
+}
+/* line 169, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar .button, .top-bar button {
+ padding-top: 0.4125rem;
+ padding-bottom: 0.4125rem;
+ margin-bottom: 0;
+ font-size: 0.75rem;
+}
+@media only screen and (max-width: 40em) {
+ /* line 169, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar .button, .top-bar button {
+ position: relative;
+ top: -1px;
+ }
+}
+/* line 185, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar .title-area {
+ position: relative;
+ margin: 0;
+}
+/* line 190, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar .name {
+ height: 50px;
+ margin: 0;
+ font-size: 16px;
+}
+/* line 195, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar .name h1, .top-bar .name article h1:not(.subheader) div input, article h1:not(.subheader) div .top-bar .name input {
+ line-height: 50px;
+ font-size: 1.0625rem;
+ margin: 0;
+}
+/* line 199, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar .name h1 a, article h1:not(.subheader) div .top-bar .name input a {
+ font-weight: normal;
+ color: white;
+ width: 75%;
+ display: block;
+ padding: 0 16.66667px;
+}
+/* line 210, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar .toggle-topbar {
+ position: absolute;
+ right: 0;
+ top: 0;
+}
+/* line 215, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar .toggle-topbar a {
+ color: white;
+ text-transform: uppercase;
+ font-size: 0.8125rem;
+ font-weight: bold;
+ position: relative;
+ display: block;
+ padding: 0 16.66667px;
+ height: 50px;
+ line-height: 50px;
+}
+/* line 228, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar .toggle-topbar.menu-icon {
+ top: 50%;
+ margin-top: -16px;
+}
+/* line 232, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar .toggle-topbar.menu-icon a {
+ height: 34px;
+ line-height: 33px;
+ padding: 0 41.66667px 0 16.66667px;
+ color: white;
+ position: relative;
+}
+/* line 129, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.top-bar .toggle-topbar.menu-icon a span::after {
+ content: "";
+ position: absolute;
+ display: block;
+ height: 0;
+ top: 50%;
+ margin-top: -8px;
+ right: 16.66667px;
+ box-shadow: 0 0px 0 1px white, 0 7px 0 1px white, 0 14px 0 1px white;
+ width: 16px;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.top-bar .toggle-topbar.menu-icon a span:hover:after {
+ box-shadow: 0 0px 0 1px "", 0 7px 0 1px "", 0 14px 0 1px "";
+}
+/* line 261, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar.expanded {
+ height: auto;
+ background: transparent;
+}
+/* line 265, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar.expanded .title-area {
+ background: #222222;
+}
+/* line 268, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar.expanded .toggle-topbar a {
+ color: #888888;
+}
+/* line 269, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar.expanded .toggle-topbar a span::after {
+ box-shadow: 0 0px 0 1px #888888, 0 7px 0 1px #888888, 0 14px 0 1px #888888;
+}
+
+/* line 282, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section {
+ left: 0;
+ position: relative;
+ width: auto;
+ transition: left 300ms ease-out;
+}
+/* line 288, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul {
+ padding: 0;
+ width: 100%;
+ height: auto;
+ display: block;
+ font-size: 16px;
+ margin: 0;
+}
+/* line 298, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .divider,
+.top-bar-section [role="separator"] {
+ border-top: solid 1px #111111;
+ clear: both;
+ height: 1px;
+ width: 100%;
+}
+/* line 305, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li {
+ background: #333333;
+}
+/* line 307, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li > a {
+ display: block;
+ width: 100%;
+ color: white;
+ padding: 12px 0 12px 0;
+ padding-left: 16.66667px;
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 1rem;
+ font-weight: normal;
+ text-transform: none;
+}
+/* line 319, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li > a.button {
+ font-size: 1rem;
+ padding-right: 16.66667px;
+ padding-left: 16.66667px;
+ background-color: #0eacb5;
+ border-color: #0b8a91;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > a.button:hover, .top-bar-section ul li > a.button:focus {
+ background-color: #0b8a91;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > a.button:hover, .top-bar-section ul li > a.button:focus {
+ color: white;
+}
+/* line 325, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li > a.button.secondary {
+ background-color: #a9b2b3;
+ border-color: #859192;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > a.button.secondary:hover, .top-bar-section ul li > a.button.secondary:focus {
+ background-color: #859192;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > a.button.secondary:hover, .top-bar-section ul li > a.button.secondary:focus {
+ color: white;
+}
+/* line 326, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li > a.button.success {
+ background-color: #43ac6a;
+ border-color: #368a55;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > a.button.success:hover, .top-bar-section ul li > a.button.success:focus {
+ background-color: #368a55;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > a.button.success:hover, .top-bar-section ul li > a.button.success:focus {
+ color: white;
+}
+/* line 327, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li > a.button.alert {
+ background-color: #f04124;
+ border-color: #cf2a0e;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > a.button.alert:hover, .top-bar-section ul li > a.button.alert:focus {
+ background-color: #cf2a0e;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > a.button.alert:hover, .top-bar-section ul li > a.button.alert:focus {
+ color: white;
+}
+/* line 328, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li > a.button.warning {
+ background-color: #f08a24;
+ border-color: #cf6e0e;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > a.button.warning:hover, .top-bar-section ul li > a.button.warning:focus {
+ background-color: #cf6e0e;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > a.button.warning:hover, .top-bar-section ul li > a.button.warning:focus {
+ color: white;
+}
+/* line 331, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li > button {
+ font-size: 1rem;
+ padding-right: 16.66667px;
+ padding-left: 16.66667px;
+ background-color: #0eacb5;
+ border-color: #0b8a91;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > button:hover, .top-bar-section ul li > button:focus {
+ background-color: #0b8a91;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > button:hover, .top-bar-section ul li > button:focus {
+ color: white;
+}
+/* line 337, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li > button.secondary {
+ background-color: #a9b2b3;
+ border-color: #859192;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > button.secondary:hover, .top-bar-section ul li > button.secondary:focus {
+ background-color: #859192;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > button.secondary:hover, .top-bar-section ul li > button.secondary:focus {
+ color: white;
+}
+/* line 338, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li > button.success {
+ background-color: #43ac6a;
+ border-color: #368a55;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > button.success:hover, .top-bar-section ul li > button.success:focus {
+ background-color: #368a55;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > button.success:hover, .top-bar-section ul li > button.success:focus {
+ color: white;
+}
+/* line 339, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li > button.alert {
+ background-color: #f04124;
+ border-color: #cf2a0e;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > button.alert:hover, .top-bar-section ul li > button.alert:focus {
+ background-color: #cf2a0e;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > button.alert:hover, .top-bar-section ul li > button.alert:focus {
+ color: white;
+}
+/* line 340, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li > button.warning {
+ background-color: #f08a24;
+ border-color: #cf6e0e;
+ color: white;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > button.warning:hover, .top-bar-section ul li > button.warning:focus {
+ background-color: #cf6e0e;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_buttons.scss */
+.top-bar-section ul li > button.warning:hover, .top-bar-section ul li > button.warning:focus {
+ color: white;
+}
+/* line 344, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li:hover:not(.has-form) > a {
+ background-color: #555555;
+ background: #075b60;
+ color: white;
+}
+/* line 354, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li.active > a {
+ background: #10c1cb;
+ color: white;
+}
+/* line 357, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section ul li.active > a:hover {
+ background: #10c1cb;
+ color: white;
+}
+/* line 365, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .has-form {
+ padding: 16.66667px;
+}
+/* line 368, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .has-dropdown {
+ position: relative;
+}
+/* line 372, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .has-dropdown > a:after {
+ content: "";
+ display: block;
+ width: 0;
+ height: 0;
+ border: inset 5px;
+ border-color: transparent transparent transparent rgba(255, 255, 255, 0.4);
+ border-left-style: solid;
+ margin-right: 16.66667px;
+ margin-top: -4.5px;
+ position: absolute;
+ top: 50%;
+ right: 0;
+}
+/* line 384, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .has-dropdown.moved {
+ position: static;
+}
+/* line 385, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .has-dropdown.moved > .dropdown {
+ display: block;
+ position: static !important;
+ height: auto;
+ width: auto;
+ overflow: visible;
+ clip: auto;
+ position: absolute !important;
+ width: 100%;
+}
+/* line 389, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .has-dropdown.moved > a:after {
+ display: none;
+}
+/* line 396, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .dropdown {
+ padding: 0;
+ position: absolute;
+ left: 100%;
+ top: 0;
+ z-index: 99;
+ display: block;
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ clip: rect(1px, 1px, 1px, 1px);
+}
+/* line 404, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .dropdown li {
+ width: 100%;
+ height: auto;
+}
+/* line 408, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .dropdown li a {
+ font-weight: normal;
+ padding: 8px 16.66667px;
+}
+/* line 411, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .dropdown li a.parent-link {
+ font-weight: normal;
+}
+/* line 416, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .dropdown li.title h5, .top-bar-section .dropdown li.parent-link {
+ margin-bottom: 0;
+ margin-top: 0;
+ font-size: 1.125rem;
+}
+/* line 421, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .dropdown li.title h5 a, .top-bar-section .dropdown li.parent-link a {
+ color: white;
+ display: block;
+}
+/* line 425, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .dropdown li.title h5 a:hover, .top-bar-section .dropdown li.parent-link a:hover {
+ background: none;
+}
+/* line 428, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .dropdown li.has-form {
+ padding: 8px 16.66667px;
+}
+/* line 429, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .dropdown li .button, .top-bar-section .dropdown li button {
+ top: auto;
+}
+/* line 432, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.top-bar-section .dropdown label {
+ padding: 8px 16.66667px 2px;
+ margin-bottom: 0;
+ text-transform: uppercase;
+ color: #777777;
+ font-weight: bold;
+ font-size: 0.625rem;
+}
+
+/* line 443, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+.js-generated {
+ display: block;
+}
+
+@media only screen and (min-width: 40.063em) {
+ /* line 448, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar {
+ background: #222222;
+ overflow: visible;
+ }
+ /* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+ .top-bar:before, .top-bar:after {
+ content: " ";
+ display: table;
+ }
+ /* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+ .top-bar:after {
+ clear: both;
+ }
+ /* line 453, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar .toggle-topbar {
+ display: none;
+ }
+ /* line 455, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar .title-area {
+ float: left;
+ }
+ /* line 456, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar .name h1 a, article h1:not(.subheader) div .top-bar .name input a {
+ width: auto;
+ }
+ /* line 460, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar input,
+ .top-bar .button,
+ .top-bar button {
+ font-size: 0.875rem;
+ position: relative;
+ top: 7px;
+ }
+ /* line 466, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar.expanded {
+ background: #222222;
+ }
+
+ /* line 469, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .contain-to-grid .top-bar {
+ max-width: inherit;
+ margin: 0 auto;
+ margin-bottom: 0;
+ }
+
+ /* line 475, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section {
+ transition: none 0 0;
+ left: 0 !important;
+ }
+ /* line 479, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section ul {
+ width: auto;
+ height: auto !important;
+ display: inline;
+ }
+ /* line 484, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section ul li {
+ float: left;
+ }
+ /* line 486, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section ul li .js-generated {
+ display: none;
+ }
+ /* line 492, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section li.hover > a:not(.button) {
+ background-color: #555555;
+ background: #075b60;
+ color: white;
+ }
+ /* line 501, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section li:not(.has-form) a:not(.button) {
+ padding: 0 16.66667px;
+ line-height: 50px;
+ background: #222222;
+ }
+ /* line 505, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section li:not(.has-form) a:not(.button):hover {
+ background-color: #555555;
+ background: #075b60;
+ }
+ /* line 514, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section li.active:not(.has-form) a:not(.button) {
+ padding: 0 16.66667px;
+ line-height: 50px;
+ color: white;
+ background: #10c1cb;
+ }
+ /* line 519, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section li.active:not(.has-form) a:not(.button):hover {
+ background: #10c1cb;
+ color: white;
+ }
+ /* line 531, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .has-dropdown > a {
+ padding-right: 36.66667px !important;
+ }
+ /* line 533, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .has-dropdown > a:after {
+ content: "";
+ display: block;
+ width: 0;
+ height: 0;
+ border: inset 5px;
+ border-color: rgba(255, 255, 255, 0.4) transparent transparent transparent;
+ border-top-style: solid;
+ margin-top: -2.5px;
+ top: 25px;
+ }
+ /* line 542, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .has-dropdown.moved {
+ position: relative;
+ }
+ /* line 543, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .has-dropdown.moved > .dropdown {
+ display: block;
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ clip: rect(1px, 1px, 1px, 1px);
+ }
+ /* line 549, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .has-dropdown.hover > .dropdown, .top-bar-section .has-dropdown.not-click:hover > .dropdown {
+ display: block;
+ position: static !important;
+ height: auto;
+ width: auto;
+ overflow: visible;
+ clip: auto;
+ position: absolute !important;
+ }
+ /* line 553, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .has-dropdown > a:focus + .dropdown {
+ display: block;
+ position: static !important;
+ height: auto;
+ width: auto;
+ overflow: visible;
+ clip: auto;
+ position: absolute !important;
+ }
+ /* line 560, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .has-dropdown .dropdown li.has-dropdown > a:after {
+ border: none;
+ content: "\00bb";
+ top: 1rem;
+ margin-top: -1px;
+ right: 5px;
+ line-height: 1.2;
+ }
+ /* line 574, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .dropdown {
+ left: 0;
+ top: auto;
+ background: transparent;
+ min-width: 100%;
+ }
+ /* line 581, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .dropdown li a {
+ color: white;
+ line-height: 50px;
+ white-space: nowrap;
+ padding: 12px 16.66667px;
+ background: #333333;
+ }
+ /* line 590, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
+ color: white;
+ background: #333333;
+ }
+ /* line 595, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .dropdown li:not(.has-form):not(.active):hover > a:not(.button) {
+ color: white;
+ background-color: #555555;
+ background: #075b60;
+ }
+ /* line 604, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .dropdown li label {
+ white-space: nowrap;
+ background: #333333;
+ }
+ /* line 610, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .dropdown li .dropdown {
+ left: 100%;
+ top: 0;
+ }
+ /* line 618, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section > ul > .divider, .top-bar-section > ul > [role="separator"] {
+ border-bottom: none;
+ border-top: none;
+ border-right: solid 1px #3f3f3f;
+ clear: none;
+ height: 50px;
+ width: 0;
+ }
+ /* line 627, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .has-form {
+ background: #222222;
+ padding: 0 16.66667px;
+ height: 50px;
+ }
+ /* line 635, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .right li .dropdown {
+ left: auto;
+ right: 0;
+ }
+ /* line 639, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .right li .dropdown li .dropdown {
+ right: 100%;
+ }
+ /* line 643, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .left li .dropdown {
+ right: auto;
+ left: 0;
+ }
+ /* line 647, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .top-bar-section .left li .dropdown li .dropdown {
+ left: 100%;
+ }
+
+ /* line 657, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .no-js .top-bar-section ul li:hover > a {
+ background-color: #555555;
+ background: #075b60;
+ color: white;
+ }
+ /* line 666, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .no-js .top-bar-section ul li:active > a {
+ background: #10c1cb;
+ color: white;
+ }
+ /* line 674, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .no-js .top-bar-section .has-dropdown:hover > .dropdown {
+ display: block;
+ position: static !important;
+ height: auto;
+ width: auto;
+ overflow: visible;
+ clip: auto;
+ position: absolute !important;
+ }
+ /* line 678, ../../../bower_components/foundation/scss/foundation/components/_top-bar.scss */
+ .no-js .top-bar-section .has-dropdown > a:focus + .dropdown {
+ display: block;
+ position: static !important;
+ height: auto;
+ width: auto;
+ overflow: visible;
+ clip: auto;
+ position: absolute !important;
+ }
+}
+/* line 155, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+.text-left {
+ text-align: left !important;
+}
+
+/* line 156, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+.text-right {
+ text-align: right !important;
+}
+
+/* line 157, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+.text-center {
+ text-align: center !important;
+}
+
+/* line 158, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+.text-justify {
+ text-align: justify !important;
+}
+
+@media only screen and (max-width: 40em) {
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .small-only-text-left {
+ text-align: left !important;
+ }
+
+ /* line 163, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .small-only-text-right {
+ text-align: right !important;
+ }
+
+ /* line 164, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .small-only-text-center {
+ text-align: center !important;
+ }
+
+ /* line 165, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .small-only-text-justify {
+ text-align: justify !important;
+ }
+}
+@media only screen {
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .small-text-left {
+ text-align: left !important;
+ }
+
+ /* line 163, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .small-text-right {
+ text-align: right !important;
+ }
+
+ /* line 164, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .small-text-center {
+ text-align: center !important;
+ }
+
+ /* line 165, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .small-text-justify {
+ text-align: justify !important;
+ }
+}
+@media only screen and (min-width: 40.063em) and (max-width: 64em) {
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .medium-only-text-left {
+ text-align: left !important;
+ }
+
+ /* line 163, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .medium-only-text-right {
+ text-align: right !important;
+ }
+
+ /* line 164, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .medium-only-text-center {
+ text-align: center !important;
+ }
+
+ /* line 165, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .medium-only-text-justify {
+ text-align: justify !important;
+ }
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .medium-text-left {
+ text-align: left !important;
+ }
+
+ /* line 163, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .medium-text-right {
+ text-align: right !important;
+ }
+
+ /* line 164, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .medium-text-center {
+ text-align: center !important;
+ }
+
+ /* line 165, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .medium-text-justify {
+ text-align: justify !important;
+ }
+}
+@media only screen and (min-width: 64.063em) and (max-width: 90em) {
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .large-only-text-left {
+ text-align: left !important;
+ }
+
+ /* line 163, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .large-only-text-right {
+ text-align: right !important;
+ }
+
+ /* line 164, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .large-only-text-center {
+ text-align: center !important;
+ }
+
+ /* line 165, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .large-only-text-justify {
+ text-align: justify !important;
+ }
+}
+@media only screen and (min-width: 64.063em) {
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .large-text-left {
+ text-align: left !important;
+ }
+
+ /* line 163, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .large-text-right {
+ text-align: right !important;
+ }
+
+ /* line 164, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .large-text-center {
+ text-align: center !important;
+ }
+
+ /* line 165, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .large-text-justify {
+ text-align: justify !important;
+ }
+}
+@media only screen and (min-width: 90.063em) and (max-width: 120em) {
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xlarge-only-text-left {
+ text-align: left !important;
+ }
+
+ /* line 163, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xlarge-only-text-right {
+ text-align: right !important;
+ }
+
+ /* line 164, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xlarge-only-text-center {
+ text-align: center !important;
+ }
+
+ /* line 165, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xlarge-only-text-justify {
+ text-align: justify !important;
+ }
+}
+@media only screen and (min-width: 90.063em) {
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xlarge-text-left {
+ text-align: left !important;
+ }
+
+ /* line 163, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xlarge-text-right {
+ text-align: right !important;
+ }
+
+ /* line 164, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xlarge-text-center {
+ text-align: center !important;
+ }
+
+ /* line 165, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xlarge-text-justify {
+ text-align: justify !important;
+ }
+}
+@media only screen and (min-width: 120.063em) and (max-width: 99999999em) {
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xxlarge-only-text-left {
+ text-align: left !important;
+ }
+
+ /* line 163, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xxlarge-only-text-right {
+ text-align: right !important;
+ }
+
+ /* line 164, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xxlarge-only-text-center {
+ text-align: center !important;
+ }
+
+ /* line 165, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xxlarge-only-text-justify {
+ text-align: justify !important;
+ }
+}
+@media only screen and (min-width: 120.063em) {
+ /* line 162, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xxlarge-text-left {
+ text-align: left !important;
+ }
+
+ /* line 163, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xxlarge-text-right {
+ text-align: right !important;
+ }
+
+ /* line 164, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xxlarge-text-center {
+ text-align: center !important;
+ }
+
+ /* line 165, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .xxlarge-text-justify {
+ text-align: justify !important;
+ }
+}
+/* Typography resets */
+/* line 211, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+div,
+dl,
+dt,
+dd,
+ul,
+ol,
+li,
+h1,
+article h1:not(.subheader) div input,
+h2,
+h3,
+h4,
+h5,
+h6,
+pre,
+form,
+p,
+blockquote,
+th,
+td {
+ margin: 0;
+ padding: 0;
+}
+
+/* Default Link Styles */
+/* line 217, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+a {
+ color: #08676d;
+ text-decoration: none;
+ line-height: inherit;
+}
+/* line 223, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+a:hover, a:focus {
+ color: #043436;
+}
+/* line 230, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+a img {
+ border: none;
+}
+
+/* Default paragraph styles */
+/* line 234, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+p {
+ font-family: inherit;
+ font-weight: normal;
+ font-size: 1rem;
+ line-height: 1.4;
+ margin-bottom: 1.25rem;
+ text-rendering: optimizeLegibility;
+}
+/* line 242, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+p.lead {
+ font-size: 1.21875rem;
+ line-height: 1.6;
+}
+/* line 244, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+p aside {
+ font-size: 0.875rem;
+ line-height: 1.35;
+ font-style: italic;
+}
+
+/* Default header styles */
+/* line 252, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+h1, article h1:not(.subheader) div input, h2, h3, h4, h5, h6 {
+ font-family: "Source Sans Pro", "Open Sans", "Ubuntu", "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-weight: normal;
+ font-style: normal;
+ color: #222222;
+ text-rendering: optimizeLegibility;
+ margin-top: 0.2rem;
+ margin-bottom: 0.5rem;
+ line-height: 1.4;
+}
+/* line 262, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+h1 small, article h1:not(.subheader) div input small, h2 small, h3 small, h4 small, h5 small, h6 small {
+ font-size: 80%;
+ color: #6f6f6f;
+ line-height: 0;
+}
+
+/* line 269, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+h1, article h1:not(.subheader) div input {
+ font-size: 2.125rem;
+}
+
+/* line 270, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+h2 {
+ font-size: 1.6875rem;
+}
+
+/* line 271, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+h3 {
+ font-size: 1.375rem;
+}
+
+/* line 272, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+h4 {
+ font-size: 1.125rem;
+}
+
+/* line 273, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+h5 {
+ font-size: 1.125rem;
+}
+
+/* line 274, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+h6 {
+ font-size: 1rem;
+}
+
+/* line 276, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+.subheader {
+ line-height: 1.4;
+ color: #6f6f6f;
+ font-weight: normal;
+ margin-top: 0.2rem;
+ margin-bottom: 0.5rem;
+}
+
+/* line 278, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+hr {
+ border: solid #dddddd;
+ border-width: 1px 0 0;
+ clear: both;
+ margin: 1.25rem 0 1.1875rem;
+ height: 0;
+}
+
+/* Helpful Typography Defaults */
+/* line 288, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+em,
+i {
+ font-style: italic;
+ line-height: inherit;
+}
+
+/* line 294, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+strong,
+b {
+ font-weight: bold;
+ line-height: inherit;
+}
+
+/* line 299, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+small {
+ font-size: 80%;
+ line-height: inherit;
+}
+
+/* line 304, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+code {
+ font-family: Consolas, "Liberation Mono", Courier, monospace;
+ font-weight: normal;
+ color: #333333;
+ background-color: #e5e8e8;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #cdd2d2;
+ padding: 0.125rem 0.3125rem 0.0625rem;
+}
+
+/* Lists */
+/* line 318, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ul,
+ol,
+dl {
+ font-size: 1rem;
+ line-height: 1.4;
+ margin-bottom: 1.25rem;
+ list-style-position: outside;
+ font-family: inherit;
+}
+
+/* line 326, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ul {
+ margin-left: 1.1rem;
+}
+/* line 328, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ul.no-bullet {
+ margin-left: 0;
+}
+/* line 332, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ul.no-bullet li ul,
+ul.no-bullet li ol {
+ margin-left: 1.25rem;
+ margin-bottom: 0;
+ list-style: none;
+}
+
+/* Unordered Lists */
+/* line 345, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ul li ul,
+ul li ol {
+ margin-left: 1.25rem;
+ margin-bottom: 0;
+}
+/* line 353, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ul.square li ul, ul.circle li ul, ul.disc li ul {
+ list-style: inherit;
+}
+/* line 356, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ul.square {
+ list-style-type: square;
+ margin-left: 1.1rem;
+}
+/* line 357, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ul.circle {
+ list-style-type: circle;
+ margin-left: 1.1rem;
+}
+/* line 358, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ul.disc {
+ list-style-type: disc;
+ margin-left: 1.1rem;
+}
+/* line 359, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ul.no-bullet {
+ list-style: none;
+}
+
+/* Ordered Lists */
+/* line 363, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ol {
+ margin-left: 1.4rem;
+}
+/* line 367, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ol li ul,
+ol li ol {
+ margin-left: 1.25rem;
+ margin-bottom: 0;
+}
+
+/* Definition Lists */
+/* line 376, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+dl dt {
+ margin-bottom: 0.3rem;
+ font-weight: bold;
+}
+/* line 380, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+dl dd {
+ margin-bottom: 0.75rem;
+}
+
+/* Abbreviations */
+/* line 385, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+abbr,
+acronym {
+ text-transform: uppercase;
+ font-size: 90%;
+ color: #222222;
+ cursor: help;
+}
+
+/* line 391, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+abbr {
+ text-transform: none;
+}
+/* line 393, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+abbr[title] {
+ border-bottom: 1px dotted #dddddd;
+}
+
+/* Blockquotes */
+/* line 399, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+blockquote {
+ margin: 0 0 1.25rem;
+ padding: 0.5625rem 1.25rem 0 1.1875rem;
+ border-left: 1px solid #dddddd;
+}
+/* line 404, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+blockquote cite {
+ display: block;
+ font-size: 0.8125rem;
+ color: #555555;
+}
+/* line 408, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+blockquote cite:before {
+ content: "\2014 \0020";
+}
+/* line 413, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+blockquote cite a,
+blockquote cite a:visited {
+ color: #555555;
+}
+
+/* line 419, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+blockquote,
+blockquote p {
+ line-height: 1.4;
+ color: #6f6f6f;
+}
+
+/* Microformats */
+/* line 425, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+.vcard {
+ display: inline-block;
+ margin: 0 0 1.25rem 0;
+ border: 1px solid #dddddd;
+ padding: 0.625rem 0.75rem;
+}
+/* line 431, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+.vcard li {
+ margin: 0;
+ display: block;
+}
+/* line 435, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+.vcard .fn {
+ font-weight: bold;
+ font-size: 0.9375rem;
+}
+
+/* line 442, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+.vevent .summary {
+ font-weight: bold;
+}
+/* line 444, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+.vevent abbr {
+ cursor: default;
+ text-decoration: none;
+ font-weight: bold;
+ border: none;
+ padding: 0 0.0625rem;
+}
+
+@media only screen and (min-width: 40.063em) {
+ /* line 455, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ h1, article h1:not(.subheader) div input, h2, h3, h4, h5, h6 {
+ line-height: 1.4;
+ }
+
+ /* line 456, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ h1, article h1:not(.subheader) div input {
+ font-size: 2.75rem;
+ }
+
+ /* line 457, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ h2 {
+ font-size: 2.3125rem;
+ }
+
+ /* line 458, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ h3 {
+ font-size: 1.6875rem;
+ }
+
+ /* line 459, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ h4 {
+ font-size: 1.4375rem;
+ }
+
+ /* line 460, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ h5 {
+ font-size: 1.125rem;
+ }
+
+ /* line 461, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ h6 {
+ font-size: 1rem;
+ }
+}
+/*
+ * Print styles.
+ *
+ * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
+ * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
+*/
+/* line 472, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+.print-only {
+ display: none !important;
+}
+
+@media print {
+ /* line 474, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ * {
+ background: transparent !important;
+ color: black !important;
+ /* Black prints faster: h5bp.com/s */
+ box-shadow: none !important;
+ text-shadow: none !important;
+ }
+
+ /* line 482, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ a,
+ a:visited {
+ text-decoration: underline;
+ }
+
+ /* line 483, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ a[href]:after {
+ content: " (" attr(href) ")";
+ }
+
+ /* line 485, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ abbr[title]:after {
+ content: " (" attr(title) ")";
+ }
+
+ /* line 490, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .ir a:after,
+ a[href^="javascript:"]:after,
+ a[href^="#"]:after {
+ content: "";
+ }
+
+ /* line 493, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ pre,
+ blockquote {
+ border: 1px solid #999999;
+ page-break-inside: avoid;
+ }
+
+ /* line 498, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ thead {
+ display: table-header-group;
+ /* h5bp.com/t */
+ }
+
+ /* line 501, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ tr,
+ img {
+ page-break-inside: avoid;
+ }
+
+ /* line 503, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ img {
+ max-width: 100% !important;
+ }
+
+ @page {
+ margin: 0.5cm;
+}
+
+ /* line 509, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ p,
+ h2,
+ h3 {
+ orphans: 3;
+ widows: 3;
+ }
+
+ /* line 515, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ h2,
+ h3 {
+ page-break-after: avoid;
+ }
+
+ /* line 517, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .hide-on-print {
+ display: none !important;
+ }
+
+ /* line 518, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .print-only {
+ display: block !important;
+ }
+
+ /* line 519, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .hide-for-print {
+ display: none !important;
+ }
+
+ /* line 520, ../../../bower_components/foundation/scss/foundation/components/_type.scss */
+ .show-for-print {
+ display: inherit !important;
+ }
+}
+/* line 288, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.off-canvas-wrap {
+ -webkit-backface-visibility: hidden;
+ position: relative;
+ width: 100%;
+ overflow: hidden;
+}
+/* line 136, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.off-canvas-wrap.move-right, .off-canvas-wrap.move-left {
+ min-height: 100%;
+ -webkit-overflow-scrolling: touch;
+}
+
+/* line 289, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.inner-wrap {
+ -webkit-backface-visibility: hidden;
+ position: relative;
+ width: 100%;
+ -webkit-transition: -webkit-transform 500ms ease;
+ -moz-transition: -moz-transform 500ms ease;
+ -ms-transition: -ms-transform 500ms ease;
+ -o-transition: -o-transform 500ms ease;
+ transition: transform 500ms ease;
+}
+/* line 172, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.inner-wrap:before, .inner-wrap:after {
+ content: " ";
+ display: table;
+}
+/* line 173, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.inner-wrap:after {
+ clear: both;
+}
+
+/* line 291, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.tab-bar {
+ -webkit-backface-visibility: hidden;
+ background: #333333;
+ color: white;
+ height: 2.8125rem;
+ line-height: 2.8125rem;
+ position: relative;
+}
+/* line 168, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.tab-bar h1, .tab-bar article h1:not(.subheader) div input, article h1:not(.subheader) div .tab-bar input, .tab-bar h2, .tab-bar h3, .tab-bar h4, .tab-bar h5, .tab-bar h6 {
+ color: white;
+ font-weight: bold;
+ line-height: 2.8125rem;
+ margin: 0;
+}
+/* line 174, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.tab-bar h1, .tab-bar article h1:not(.subheader) div input, article h1:not(.subheader) div .tab-bar input, .tab-bar h2, .tab-bar h3, .tab-bar h4 {
+ font-size: 1.125rem;
+}
+
+/* line 293, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.left-small {
+ width: 2.8125rem;
+ height: 2.8125rem;
+ position: absolute;
+ top: 0;
+ border-right: solid 1px #1a1a1a;
+ left: 0;
+}
+
+/* line 294, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.right-small {
+ width: 2.8125rem;
+ height: 2.8125rem;
+ position: absolute;
+ top: 0;
+ border-left: solid 1px #1a1a1a;
+ right: 0;
+}
+
+/* line 296, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.tab-bar-section {
+ padding: 0 0.625rem;
+ position: absolute;
+ text-align: center;
+ height: 2.8125rem;
+ top: 0;
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 203, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+ .tab-bar-section.left, .tab-bar-section.right {
+ text-align: left;
+ }
+}
+/* line 207, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.tab-bar-section.left {
+ left: 0;
+ right: 2.8125rem;
+}
+/* line 211, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.tab-bar-section.right {
+ left: 2.8125rem;
+ right: 0;
+}
+/* line 215, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.tab-bar-section.middle {
+ left: 2.8125rem;
+ right: 2.8125rem;
+}
+
+/* line 300, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.tab-bar .menu-icon {
+ text-indent: 2.1875rem;
+ width: 2.8125rem;
+ height: 2.8125rem;
+ display: block;
+ padding: 0;
+ color: white;
+ position: relative;
+ transform: translate3d(0, 0, 0);
+}
+/* line 129, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.tab-bar .menu-icon span::after {
+ content: "";
+ position: absolute;
+ display: block;
+ height: 0;
+ top: 50%;
+ margin-top: -0.5rem;
+ left: 0.90625rem;
+ box-shadow: 0 0px 0 1px white, 0 7px 0 1px white, 0 14px 0 1px white;
+ width: 1rem;
+}
+/* line 162, ../../../bower_components/foundation/scss/foundation/components/_global.scss */
+.tab-bar .menu-icon span:hover:after {
+ box-shadow: 0 0px 0 1px #b3b3b3, 0 7px 0 1px #b3b3b3, 0 14px 0 1px #b3b3b3;
+}
+
+/* line 324, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.left-off-canvas-menu {
+ -webkit-backface-visibility: hidden;
+ width: 400px;
+ top: 0;
+ bottom: 0;
+ position: absolute;
+ overflow-x: hidden;
+ overflow-y: auto;
+ background: #333333;
+ z-index: 1001;
+ box-sizing: content-box;
+ transition: transform 500ms ease 0s;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ -ms-transform: translate(-100.5%, 0);
+ -webkit-transform: translate3d(-100.5%, 0, 0);
+ -moz-transform: translate3d(-100.5%, 0, 0);
+ -ms-transform: translate3d(-100.5%, 0, 0);
+ -o-transform: translate3d(-100.5%, 0, 0);
+ transform: translate3d(-100.5%, 0, 0);
+ left: 0;
+}
+/* line 105, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.left-off-canvas-menu * {
+ -webkit-backface-visibility: hidden;
+}
+
+/* line 325, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.right-off-canvas-menu {
+ -webkit-backface-visibility: hidden;
+ width: 400px;
+ top: 0;
+ bottom: 0;
+ position: absolute;
+ overflow-x: hidden;
+ overflow-y: auto;
+ background: #333333;
+ z-index: 1001;
+ box-sizing: content-box;
+ transition: transform 500ms ease 0s;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ -ms-transform: translate(100.5%, 0);
+ -webkit-transform: translate3d(100.5%, 0, 0);
+ -moz-transform: translate3d(100.5%, 0, 0);
+ -ms-transform: translate3d(100.5%, 0, 0);
+ -o-transform: translate3d(100.5%, 0, 0);
+ transform: translate3d(100.5%, 0, 0);
+ right: 0;
+}
+/* line 105, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.right-off-canvas-menu * {
+ -webkit-backface-visibility: hidden;
+}
+
+/* line 327, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+ul.off-canvas-list {
+ list-style-type: none;
+ padding: 0;
+ margin: 0;
+}
+/* line 229, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+ul.off-canvas-list li label {
+ display: block;
+ padding: 0.3rem 0.9375rem;
+ color: black;
+ text-transform: uppercase;
+ font-size: 0.75rem;
+ font-weight: bold;
+ background: #666666;
+ border-top: 1px solid #3a3a3a;
+ border-bottom: none;
+ margin: 0;
+}
+/* line 241, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+ul.off-canvas-list li a {
+ display: block;
+ padding: 0.66667rem;
+ color: rgba(255, 255, 255, 0.7);
+ border-bottom: 1px solid #262626;
+ transition: background 300ms ease;
+}
+/* line 247, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+ul.off-canvas-list li a:hover {
+ background: #242424;
+}
+
+/* line 333, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.move-right > .inner-wrap {
+ -ms-transform: translate(400px, 0);
+ -webkit-transform: translate3d(400px, 0, 0);
+ -moz-transform: translate3d(400px, 0, 0);
+ -ms-transform: translate3d(400px, 0, 0);
+ -o-transform: translate3d(400px, 0, 0);
+ transform: translate3d(400px, 0, 0);
+}
+/* line 336, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.move-right .exit-off-canvas {
+ -webkit-backface-visibility: hidden;
+ transition: background 300ms ease;
+ cursor: pointer;
+ box-shadow: -4px 0 4px rgba(0, 0, 0, 0.5), 4px 0 4px rgba(0, 0, 0, 0.5);
+ display: block;
+ position: absolute;
+ background: rgba(170, 170, 170, 0.3);
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ z-index: 1002;
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 276, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+ .move-right .exit-off-canvas:hover {
+ background: rgba(255, 255, 255, 0.05);
+ }
+}
+
+/* line 340, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.move-left > .inner-wrap {
+ -ms-transform: translate(-400px, 0);
+ -webkit-transform: translate3d(-400px, 0, 0);
+ -moz-transform: translate3d(-400px, 0, 0);
+ -ms-transform: translate3d(-400px, 0, 0);
+ -o-transform: translate3d(-400px, 0, 0);
+ transform: translate3d(-400px, 0, 0);
+}
+/* line 344, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.move-left .exit-off-canvas {
+ -webkit-backface-visibility: hidden;
+ transition: background 300ms ease;
+ cursor: pointer;
+ box-shadow: -4px 0 4px rgba(0, 0, 0, 0.5), 4px 0 4px rgba(0, 0, 0, 0.5);
+ display: block;
+ position: absolute;
+ background: rgba(170, 170, 170, 0.3);
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ z-index: 1002;
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 276, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+ .move-left .exit-off-canvas:hover {
+ background: rgba(255, 255, 255, 0.05);
+ }
+}
+
+/* line 347, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.offcanvas-overlap .left-off-canvas-menu, .offcanvas-overlap .right-off-canvas-menu {
+ -ms-transform: none;
+ -webkit-transform: none;
+ -moz-transform: none;
+ -o-transform: none;
+ transform: none;
+ z-index: 1003;
+}
+/* line 355, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.offcanvas-overlap .exit-off-canvas {
+ -webkit-backface-visibility: hidden;
+ transition: background 300ms ease;
+ cursor: pointer;
+ box-shadow: -4px 0 4px rgba(0, 0, 0, 0.5), 4px 0 4px rgba(0, 0, 0, 0.5);
+ display: block;
+ position: absolute;
+ background: rgba(170, 170, 170, 0.3);
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ z-index: 1002;
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 276, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+ .offcanvas-overlap .exit-off-canvas:hover {
+ background: rgba(255, 255, 255, 0.05);
+ }
+}
+
+/* line 358, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.offcanvas-overlap-left .right-off-canvas-menu {
+ -ms-transform: none;
+ -webkit-transform: none;
+ -moz-transform: none;
+ -o-transform: none;
+ transform: none;
+ z-index: 1003;
+}
+/* line 366, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.offcanvas-overlap-left .exit-off-canvas {
+ -webkit-backface-visibility: hidden;
+ transition: background 300ms ease;
+ cursor: pointer;
+ box-shadow: -4px 0 4px rgba(0, 0, 0, 0.5), 4px 0 4px rgba(0, 0, 0, 0.5);
+ display: block;
+ position: absolute;
+ background: rgba(170, 170, 170, 0.3);
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ z-index: 1002;
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 276, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+ .offcanvas-overlap-left .exit-off-canvas:hover {
+ background: rgba(255, 255, 255, 0.05);
+ }
+}
+
+/* line 369, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.offcanvas-overlap-right .left-off-canvas-menu {
+ -ms-transform: none;
+ -webkit-transform: none;
+ -moz-transform: none;
+ -o-transform: none;
+ transform: none;
+ z-index: 1003;
+}
+/* line 377, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.offcanvas-overlap-right .exit-off-canvas {
+ -webkit-backface-visibility: hidden;
+ transition: background 300ms ease;
+ cursor: pointer;
+ box-shadow: -4px 0 4px rgba(0, 0, 0, 0.5), 4px 0 4px rgba(0, 0, 0, 0.5);
+ display: block;
+ position: absolute;
+ background: rgba(170, 170, 170, 0.3);
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ z-index: 1002;
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+@media only screen and (min-width: 40.063em) {
+ /* line 276, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+ .offcanvas-overlap-right .exit-off-canvas:hover {
+ background: rgba(255, 255, 255, 0.05);
+ }
+}
+
+/* line 382, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.no-csstransforms .left-off-canvas-menu {
+ left: -400px;
+}
+/* line 383, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.no-csstransforms .right-off-canvas-menu {
+ right: -400px;
+}
+/* line 385, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.no-csstransforms .move-left > .inner-wrap {
+ right: 400px;
+}
+/* line 386, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.no-csstransforms .move-right > .inner-wrap {
+ left: 400px;
+}
+
+/* line 484, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.left-submenu {
+ -webkit-backface-visibility: hidden;
+ width: 400px;
+ top: 0;
+ bottom: 0;
+ position: absolute;
+ margin: 0;
+ overflow-x: hidden;
+ overflow-y: auto;
+ background: #333333;
+ z-index: 1002;
+ box-sizing: content-box;
+ -webkit-overflow-scrolling: touch;
+ -ms-transform: translate(-100%, 0);
+ -webkit-transform: translate3d(-100%, 0, 0);
+ -moz-transform: translate3d(-100%, 0, 0);
+ -ms-transform: translate3d(-100%, 0, 0);
+ -o-transform: translate3d(-100%, 0, 0);
+ transform: translate3d(-100%, 0, 0);
+ left: 0;
+ -webkit-transition: -webkit-transform 500ms ease;
+ -moz-transition: -moz-transform 500ms ease;
+ -ms-transition: -ms-transform 500ms ease;
+ -o-transition: -o-transform 500ms ease;
+ transition: transform 500ms ease;
+}
+/* line 397, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.left-submenu * {
+ -webkit-backface-visibility: hidden;
+}
+/* line 424, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.left-submenu .back > a {
+ padding: 0.3rem 0.9375rem;
+ color: black;
+ text-transform: uppercase;
+ font-weight: bold;
+ background: #444444;
+ border-top: 1px solid #3a3a3a;
+ border-bottom: none;
+ margin: 0;
+}
+/* line 432, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.left-submenu .back > a:hover {
+ background: #303030;
+ border-top: 1px solid #7b7b7b;
+ border-bottom: none;
+}
+/* line 455, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.left-submenu .back > a:before {
+ content: "\AB";
+ margin-right: 0.5rem;
+ display: inline;
+}
+/* line 486, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.left-submenu.move-right {
+ -ms-transform: translate(0%, 0);
+ -webkit-transform: translate3d(0%, 0, 0);
+ -moz-transform: translate3d(0%, 0, 0);
+ -ms-transform: translate3d(0%, 0, 0);
+ -o-transform: translate3d(0%, 0, 0);
+ transform: translate3d(0%, 0, 0);
+}
+
+/* line 491, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.right-submenu {
+ -webkit-backface-visibility: hidden;
+ width: 400px;
+ top: 0;
+ bottom: 0;
+ position: absolute;
+ margin: 0;
+ overflow-x: hidden;
+ overflow-y: auto;
+ background: #333333;
+ z-index: 1002;
+ box-sizing: content-box;
+ -webkit-overflow-scrolling: touch;
+ -ms-transform: translate(100%, 0);
+ -webkit-transform: translate3d(100%, 0, 0);
+ -moz-transform: translate3d(100%, 0, 0);
+ -ms-transform: translate3d(100%, 0, 0);
+ -o-transform: translate3d(100%, 0, 0);
+ transform: translate3d(100%, 0, 0);
+ right: 0;
+ -webkit-transition: -webkit-transform 500ms ease;
+ -moz-transition: -moz-transform 500ms ease;
+ -ms-transition: -ms-transform 500ms ease;
+ -o-transition: -o-transform 500ms ease;
+ transition: transform 500ms ease;
+}
+/* line 397, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.right-submenu * {
+ -webkit-backface-visibility: hidden;
+}
+/* line 424, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.right-submenu .back > a {
+ padding: 0.3rem 0.9375rem;
+ color: black;
+ text-transform: uppercase;
+ font-weight: bold;
+ background: #444444;
+ border-top: 1px solid #3a3a3a;
+ border-bottom: none;
+ margin: 0;
+}
+/* line 432, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.right-submenu .back > a:hover {
+ background: #303030;
+ border-top: 1px solid #7b7b7b;
+ border-bottom: none;
+}
+/* line 444, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.right-submenu .back > a:after {
+ content: "\BB";
+ margin-left: 0.5rem;
+ display: inline;
+}
+/* line 493, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.right-submenu.move-left {
+ -ms-transform: translate(0%, 0);
+ -webkit-transform: translate3d(0%, 0, 0);
+ -moz-transform: translate3d(0%, 0, 0);
+ -ms-transform: translate3d(0%, 0, 0);
+ -o-transform: translate3d(0%, 0, 0);
+ transform: translate3d(0%, 0, 0);
+}
+
+/* line 506, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.left-off-canvas-menu ul.off-canvas-list li.has-submenu > a:after {
+ content: "\BB";
+ margin-left: 0.5rem;
+ display: inline;
+}
+
+/* line 509, ../../../bower_components/foundation/scss/foundation/components/_offcanvas.scss */
+.right-off-canvas-menu ul.off-canvas-list li.has-submenu > a:before {
+ content: "\AB";
+ margin-right: 0.5rem;
+ display: inline;
+}
+
+/* small displays */
+@media only screen {
+ /* line 244, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .show-for-small-only, .show-for-small-up, .show-for-small, .show-for-small-down, .hide-for-medium-only, .hide-for-medium-up, .hide-for-medium, .show-for-medium-down, .hide-for-large-only, .hide-for-large-up, .hide-for-large, .show-for-large-down, .hide-for-xlarge-only, .hide-for-xlarge-up, .hide-for-xxlarge-only, .hide-for-xxlarge-up {
+ display: inherit !important;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hide-for-small-only, .hide-for-small-up, .hide-for-small, .hide-for-small-down, .show-for-medium-only, .show-for-medium-up, .show-for-medium, .hide-for-medium-down, .show-for-large-only, .show-for-large-up, .show-for-large, .hide-for-large-down, .show-for-xlarge-only, .show-for-xlarge-up, .show-for-xxlarge-only, .show-for-xxlarge-up {
+ display: none !important;
+ }
+
+ /* line 251, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .visible-for-small-only, .visible-for-small-up, .visible-for-small, .visible-for-small-down, .hidden-for-medium-only, .hidden-for-medium-up, .hidden-for-medium, .visible-for-medium-down, .hidden-for-large-only, .hidden-for-large-up, .hidden-for-large, .visible-for-large-down, .hidden-for-xlarge-only, .hidden-for-xlarge-up, .hidden-for-xxlarge-only, .hidden-for-xxlarge-up {
+ position: static !important;
+ height: auto;
+ width: auto;
+ overflow: visible;
+ clip: auto;
+ }
+
+ /* line 254, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hidden-for-small-only, .hidden-for-small-up, .hidden-for-small, .hidden-for-small-down, .visible-for-medium-only, .visible-for-medium-up, .visible-for-medium, .hidden-for-medium-down, .visible-for-large-only, .visible-for-large-up, .visible-for-large, .hidden-for-large-down, .visible-for-xlarge-only, .visible-for-xlarge-up, .visible-for-xxlarge-only, .visible-for-xxlarge-up {
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ clip: rect(1px, 1px, 1px, 1px);
+ }
+
+ /* line 259, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ table.show-for-small-only, table.show-for-small-up, table.show-for-small, table.show-for-small-down, table.hide-for-medium-only, table.hide-for-medium-up, table.hide-for-medium, table.show-for-medium-down, table.hide-for-large-only, table.hide-for-large-up, table.hide-for-large, table.show-for-large-down, table.hide-for-xlarge-only, table.hide-for-xlarge-up, table.hide-for-xxlarge-only, table.hide-for-xxlarge-up {
+ display: table !important;
+ }
+
+ /* line 262, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ thead.show-for-small-only, thead.show-for-small-up, thead.show-for-small, thead.show-for-small-down, thead.hide-for-medium-only, thead.hide-for-medium-up, thead.hide-for-medium, thead.show-for-medium-down, thead.hide-for-large-only, thead.hide-for-large-up, thead.hide-for-large, thead.show-for-large-down, thead.hide-for-xlarge-only, thead.hide-for-xlarge-up, thead.hide-for-xxlarge-only, thead.hide-for-xxlarge-up {
+ display: table-header-group !important;
+ }
+
+ /* line 265, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tbody.show-for-small-only, tbody.show-for-small-up, tbody.show-for-small, tbody.show-for-small-down, tbody.hide-for-medium-only, tbody.hide-for-medium-up, tbody.hide-for-medium, tbody.show-for-medium-down, tbody.hide-for-large-only, tbody.hide-for-large-up, tbody.hide-for-large, tbody.show-for-large-down, tbody.hide-for-xlarge-only, tbody.hide-for-xlarge-up, tbody.hide-for-xxlarge-only, tbody.hide-for-xxlarge-up {
+ display: table-row-group !important;
+ }
+
+ /* line 268, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tr.show-for-small-only, tr.show-for-small-up, tr.show-for-small, tr.show-for-small-down, tr.hide-for-medium-only, tr.hide-for-medium-up, tr.hide-for-medium, tr.show-for-medium-down, tr.hide-for-large-only, tr.hide-for-large-up, tr.hide-for-large, tr.show-for-large-down, tr.hide-for-xlarge-only, tr.hide-for-xlarge-up, tr.hide-for-xxlarge-only, tr.hide-for-xxlarge-up {
+ display: table-row !important;
+ }
+
+ /* line 271, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ th.show-for-small-only, td.show-for-small-only, th.show-for-small-up, td.show-for-small-up, th.show-for-small, td.show-for-small, th.show-for-small-down, td.show-for-small-down, th.hide-for-medium-only, td.hide-for-medium-only, th.hide-for-medium-up, td.hide-for-medium-up, th.hide-for-medium, td.hide-for-medium, th.show-for-medium-down, td.show-for-medium-down, th.hide-for-large-only, td.hide-for-large-only, th.hide-for-large-up, td.hide-for-large-up, th.hide-for-large, td.hide-for-large, th.show-for-large-down, td.show-for-large-down, th.hide-for-xlarge-only, td.hide-for-xlarge-only, th.hide-for-xlarge-up, td.hide-for-xlarge-up, th.hide-for-xxlarge-only, td.hide-for-xxlarge-only, th.hide-for-xxlarge-up, td.hide-for-xxlarge-up {
+ display: table-cell !important;
+ }
+}
+/* medium displays */
+@media only screen and (min-width: 40.063em) {
+ /* line 244, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hide-for-small-only, .show-for-small-up, .hide-for-small, .hide-for-small-down, .show-for-medium-only, .show-for-medium-up, .show-for-medium, .show-for-medium-down, .hide-for-large-only, .hide-for-large-up, .hide-for-large, .show-for-large-down, .hide-for-xlarge-only, .hide-for-xlarge-up, .hide-for-xxlarge-only, .hide-for-xxlarge-up {
+ display: inherit !important;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .show-for-small-only, .hide-for-small-up, .show-for-small, .show-for-small-down, .hide-for-medium-only, .hide-for-medium-up, .hide-for-medium, .hide-for-medium-down, .show-for-large-only, .show-for-large-up, .show-for-large, .hide-for-large-down, .show-for-xlarge-only, .show-for-xlarge-up, .show-for-xxlarge-only, .show-for-xxlarge-up {
+ display: none !important;
+ }
+
+ /* line 251, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hidden-for-small-only, .visible-for-small-up, .hidden-for-small, .hidden-for-small-down, .visible-for-medium-only, .visible-for-medium-up, .visible-for-medium, .visible-for-medium-down, .hidden-for-large-only, .hidden-for-large-up, .hidden-for-large, .visible-for-large-down, .hidden-for-xlarge-only, .hidden-for-xlarge-up, .hidden-for-xxlarge-only, .hidden-for-xxlarge-up {
+ position: static !important;
+ height: auto;
+ width: auto;
+ overflow: visible;
+ clip: auto;
+ }
+
+ /* line 254, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .visible-for-small-only, .hidden-for-small-up, .visible-for-small, .visible-for-small-down, .hidden-for-medium-only, .hidden-for-medium-up, .hidden-for-medium, .hidden-for-medium-down, .visible-for-large-only, .visible-for-large-up, .visible-for-large, .hidden-for-large-down, .visible-for-xlarge-only, .visible-for-xlarge-up, .visible-for-xxlarge-only, .visible-for-xxlarge-up {
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ clip: rect(1px, 1px, 1px, 1px);
+ }
+
+ /* line 259, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ table.hide-for-small-only, table.show-for-small-up, table.hide-for-small, table.hide-for-small-down, table.show-for-medium-only, table.show-for-medium-up, table.show-for-medium, table.show-for-medium-down, table.hide-for-large-only, table.hide-for-large-up, table.hide-for-large, table.show-for-large-down, table.hide-for-xlarge-only, table.hide-for-xlarge-up, table.hide-for-xxlarge-only, table.hide-for-xxlarge-up {
+ display: table !important;
+ }
+
+ /* line 262, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ thead.hide-for-small-only, thead.show-for-small-up, thead.hide-for-small, thead.hide-for-small-down, thead.show-for-medium-only, thead.show-for-medium-up, thead.show-for-medium, thead.show-for-medium-down, thead.hide-for-large-only, thead.hide-for-large-up, thead.hide-for-large, thead.show-for-large-down, thead.hide-for-xlarge-only, thead.hide-for-xlarge-up, thead.hide-for-xxlarge-only, thead.hide-for-xxlarge-up {
+ display: table-header-group !important;
+ }
+
+ /* line 265, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tbody.hide-for-small-only, tbody.show-for-small-up, tbody.hide-for-small, tbody.hide-for-small-down, tbody.show-for-medium-only, tbody.show-for-medium-up, tbody.show-for-medium, tbody.show-for-medium-down, tbody.hide-for-large-only, tbody.hide-for-large-up, tbody.hide-for-large, tbody.show-for-large-down, tbody.hide-for-xlarge-only, tbody.hide-for-xlarge-up, tbody.hide-for-xxlarge-only, tbody.hide-for-xxlarge-up {
+ display: table-row-group !important;
+ }
+
+ /* line 268, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tr.hide-for-small-only, tr.show-for-small-up, tr.hide-for-small, tr.hide-for-small-down, tr.show-for-medium-only, tr.show-for-medium-up, tr.show-for-medium, tr.show-for-medium-down, tr.hide-for-large-only, tr.hide-for-large-up, tr.hide-for-large, tr.show-for-large-down, tr.hide-for-xlarge-only, tr.hide-for-xlarge-up, tr.hide-for-xxlarge-only, tr.hide-for-xxlarge-up {
+ display: table-row !important;
+ }
+
+ /* line 271, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ th.hide-for-small-only, td.hide-for-small-only, th.show-for-small-up, td.show-for-small-up, th.hide-for-small, td.hide-for-small, th.hide-for-small-down, td.hide-for-small-down, th.show-for-medium-only, td.show-for-medium-only, th.show-for-medium-up, td.show-for-medium-up, th.show-for-medium, td.show-for-medium, th.show-for-medium-down, td.show-for-medium-down, th.hide-for-large-only, td.hide-for-large-only, th.hide-for-large-up, td.hide-for-large-up, th.hide-for-large, td.hide-for-large, th.show-for-large-down, td.show-for-large-down, th.hide-for-xlarge-only, td.hide-for-xlarge-only, th.hide-for-xlarge-up, td.hide-for-xlarge-up, th.hide-for-xxlarge-only, td.hide-for-xxlarge-only, th.hide-for-xxlarge-up, td.hide-for-xxlarge-up {
+ display: table-cell !important;
+ }
+}
+/* large displays */
+@media only screen and (min-width: 64.063em) {
+ /* line 244, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hide-for-small-only, .show-for-small-up, .hide-for-small, .hide-for-small-down, .hide-for-medium-only, .show-for-medium-up, .hide-for-medium, .hide-for-medium-down, .show-for-large-only, .show-for-large-up, .show-for-large, .show-for-large-down, .hide-for-xlarge-only, .hide-for-xlarge-up, .hide-for-xxlarge-only, .hide-for-xxlarge-up {
+ display: inherit !important;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .show-for-small-only, .hide-for-small-up, .show-for-small, .show-for-small-down, .show-for-medium-only, .hide-for-medium-up, .show-for-medium, .show-for-medium-down, .hide-for-large-only, .hide-for-large-up, .hide-for-large, .hide-for-large-down, .show-for-xlarge-only, .show-for-xlarge-up, .show-for-xxlarge-only, .show-for-xxlarge-up {
+ display: none !important;
+ }
+
+ /* line 251, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hidden-for-small-only, .visible-for-small-up, .hidden-for-small, .hidden-for-small-down, .hidden-for-medium-only, .visible-for-medium-up, .hidden-for-medium, .hidden-for-medium-down, .visible-for-large-only, .visible-for-large-up, .visible-for-large, .visible-for-large-down, .hidden-for-xlarge-only, .hidden-for-xlarge-up, .hidden-for-xxlarge-only, .hidden-for-xxlarge-up {
+ position: static !important;
+ height: auto;
+ width: auto;
+ overflow: visible;
+ clip: auto;
+ }
+
+ /* line 254, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .visible-for-small-only, .hidden-for-small-up, .visible-for-small, .visible-for-small-down, .visible-for-medium-only, .hidden-for-medium-up, .visible-for-medium, .visible-for-medium-down, .hidden-for-large-only, .hidden-for-large-up, .hidden-for-large, .hidden-for-large-down, .visible-for-xlarge-only, .visible-for-xlarge-up, .visible-for-xxlarge-only, .visible-for-xxlarge-up {
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ clip: rect(1px, 1px, 1px, 1px);
+ }
+
+ /* line 259, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ table.hide-for-small-only, table.show-for-small-up, table.hide-for-small, table.hide-for-small-down, table.hide-for-medium-only, table.show-for-medium-up, table.hide-for-medium, table.hide-for-medium-down, table.show-for-large-only, table.show-for-large-up, table.show-for-large, table.show-for-large-down, table.hide-for-xlarge-only, table.hide-for-xlarge-up, table.hide-for-xxlarge-only, table.hide-for-xxlarge-up {
+ display: table !important;
+ }
+
+ /* line 262, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ thead.hide-for-small-only, thead.show-for-small-up, thead.hide-for-small, thead.hide-for-small-down, thead.hide-for-medium-only, thead.show-for-medium-up, thead.hide-for-medium, thead.hide-for-medium-down, thead.show-for-large-only, thead.show-for-large-up, thead.show-for-large, thead.show-for-large-down, thead.hide-for-xlarge-only, thead.hide-for-xlarge-up, thead.hide-for-xxlarge-only, thead.hide-for-xxlarge-up {
+ display: table-header-group !important;
+ }
+
+ /* line 265, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tbody.hide-for-small-only, tbody.show-for-small-up, tbody.hide-for-small, tbody.hide-for-small-down, tbody.hide-for-medium-only, tbody.show-for-medium-up, tbody.hide-for-medium, tbody.hide-for-medium-down, tbody.show-for-large-only, tbody.show-for-large-up, tbody.show-for-large, tbody.show-for-large-down, tbody.hide-for-xlarge-only, tbody.hide-for-xlarge-up, tbody.hide-for-xxlarge-only, tbody.hide-for-xxlarge-up {
+ display: table-row-group !important;
+ }
+
+ /* line 268, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tr.hide-for-small-only, tr.show-for-small-up, tr.hide-for-small, tr.hide-for-small-down, tr.hide-for-medium-only, tr.show-for-medium-up, tr.hide-for-medium, tr.hide-for-medium-down, tr.show-for-large-only, tr.show-for-large-up, tr.show-for-large, tr.show-for-large-down, tr.hide-for-xlarge-only, tr.hide-for-xlarge-up, tr.hide-for-xxlarge-only, tr.hide-for-xxlarge-up {
+ display: table-row !important;
+ }
+
+ /* line 271, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ th.hide-for-small-only, td.hide-for-small-only, th.show-for-small-up, td.show-for-small-up, th.hide-for-small, td.hide-for-small, th.hide-for-small-down, td.hide-for-small-down, th.hide-for-medium-only, td.hide-for-medium-only, th.show-for-medium-up, td.show-for-medium-up, th.hide-for-medium, td.hide-for-medium, th.hide-for-medium-down, td.hide-for-medium-down, th.show-for-large-only, td.show-for-large-only, th.show-for-large-up, td.show-for-large-up, th.show-for-large, td.show-for-large, th.show-for-large-down, td.show-for-large-down, th.hide-for-xlarge-only, td.hide-for-xlarge-only, th.hide-for-xlarge-up, td.hide-for-xlarge-up, th.hide-for-xxlarge-only, td.hide-for-xxlarge-only, th.hide-for-xxlarge-up, td.hide-for-xxlarge-up {
+ display: table-cell !important;
+ }
+}
+/* xlarge displays */
+@media only screen and (min-width: 90.063em) {
+ /* line 244, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hide-for-small-only, .show-for-small-up, .hide-for-small, .hide-for-small-down, .hide-for-medium-only, .show-for-medium-up, .hide-for-medium, .hide-for-medium-down, .hide-for-large-only, .show-for-large-up, .hide-for-large, .hide-for-large-down, .show-for-xlarge-only, .show-for-xlarge-up, .hide-for-xxlarge-only, .hide-for-xxlarge-up {
+ display: inherit !important;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .show-for-small-only, .hide-for-small-up, .show-for-small, .show-for-small-down, .show-for-medium-only, .hide-for-medium-up, .show-for-medium, .show-for-medium-down, .show-for-large-only, .hide-for-large-up, .show-for-large, .show-for-large-down, .hide-for-xlarge-only, .hide-for-xlarge-up, .show-for-xxlarge-only, .show-for-xxlarge-up {
+ display: none !important;
+ }
+
+ /* line 251, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hidden-for-small-only, .visible-for-small-up, .hidden-for-small, .hidden-for-small-down, .hidden-for-medium-only, .visible-for-medium-up, .hidden-for-medium, .hidden-for-medium-down, .hidden-for-large-only, .visible-for-large-up, .hidden-for-large, .hidden-for-large-down, .visible-for-xlarge-only, .visible-for-xlarge-up, .hidden-for-xxlarge-only, .hidden-for-xxlarge-up {
+ position: static !important;
+ height: auto;
+ width: auto;
+ overflow: visible;
+ clip: auto;
+ }
+
+ /* line 254, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .visible-for-small-only, .hidden-for-small-up, .visible-for-small, .visible-for-small-down, .visible-for-medium-only, .hidden-for-medium-up, .visible-for-medium, .visible-for-medium-down, .visible-for-large-only, .hidden-for-large-up, .visible-for-large, .visible-for-large-down, .hidden-for-xlarge-only, .hidden-for-xlarge-up, .visible-for-xxlarge-only, .visible-for-xxlarge-up {
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ clip: rect(1px, 1px, 1px, 1px);
+ }
+
+ /* line 259, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ table.hide-for-small-only, table.show-for-small-up, table.hide-for-small, table.hide-for-small-down, table.hide-for-medium-only, table.show-for-medium-up, table.hide-for-medium, table.hide-for-medium-down, table.hide-for-large-only, table.show-for-large-up, table.hide-for-large, table.hide-for-large-down, table.show-for-xlarge-only, table.show-for-xlarge-up, table.hide-for-xxlarge-only, table.hide-for-xxlarge-up {
+ display: table !important;
+ }
+
+ /* line 262, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ thead.hide-for-small-only, thead.show-for-small-up, thead.hide-for-small, thead.hide-for-small-down, thead.hide-for-medium-only, thead.show-for-medium-up, thead.hide-for-medium, thead.hide-for-medium-down, thead.hide-for-large-only, thead.show-for-large-up, thead.hide-for-large, thead.hide-for-large-down, thead.show-for-xlarge-only, thead.show-for-xlarge-up, thead.hide-for-xxlarge-only, thead.hide-for-xxlarge-up {
+ display: table-header-group !important;
+ }
+
+ /* line 265, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tbody.hide-for-small-only, tbody.show-for-small-up, tbody.hide-for-small, tbody.hide-for-small-down, tbody.hide-for-medium-only, tbody.show-for-medium-up, tbody.hide-for-medium, tbody.hide-for-medium-down, tbody.hide-for-large-only, tbody.show-for-large-up, tbody.hide-for-large, tbody.hide-for-large-down, tbody.show-for-xlarge-only, tbody.show-for-xlarge-up, tbody.hide-for-xxlarge-only, tbody.hide-for-xxlarge-up {
+ display: table-row-group !important;
+ }
+
+ /* line 268, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tr.hide-for-small-only, tr.show-for-small-up, tr.hide-for-small, tr.hide-for-small-down, tr.hide-for-medium-only, tr.show-for-medium-up, tr.hide-for-medium, tr.hide-for-medium-down, tr.hide-for-large-only, tr.show-for-large-up, tr.hide-for-large, tr.hide-for-large-down, tr.show-for-xlarge-only, tr.show-for-xlarge-up, tr.hide-for-xxlarge-only, tr.hide-for-xxlarge-up {
+ display: table-row !important;
+ }
+
+ /* line 271, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ th.hide-for-small-only, td.hide-for-small-only, th.show-for-small-up, td.show-for-small-up, th.hide-for-small, td.hide-for-small, th.hide-for-small-down, td.hide-for-small-down, th.hide-for-medium-only, td.hide-for-medium-only, th.show-for-medium-up, td.show-for-medium-up, th.hide-for-medium, td.hide-for-medium, th.hide-for-medium-down, td.hide-for-medium-down, th.hide-for-large-only, td.hide-for-large-only, th.show-for-large-up, td.show-for-large-up, th.hide-for-large, td.hide-for-large, th.hide-for-large-down, td.hide-for-large-down, th.show-for-xlarge-only, td.show-for-xlarge-only, th.show-for-xlarge-up, td.show-for-xlarge-up, th.hide-for-xxlarge-only, td.hide-for-xxlarge-only, th.hide-for-xxlarge-up, td.hide-for-xxlarge-up {
+ display: table-cell !important;
+ }
+}
+/* xxlarge displays */
+@media only screen and (min-width: 120.063em) {
+ /* line 244, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hide-for-small-only, .show-for-small-up, .hide-for-small, .hide-for-small-down, .hide-for-medium-only, .show-for-medium-up, .hide-for-medium, .hide-for-medium-down, .hide-for-large-only, .show-for-large-up, .hide-for-large, .hide-for-large-down, .hide-for-xlarge-only, .show-for-xlarge-up, .show-for-xxlarge-only, .show-for-xxlarge-up {
+ display: inherit !important;
+ }
+
+ /* line 247, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .show-for-small-only, .hide-for-small-up, .show-for-small, .show-for-small-down, .show-for-medium-only, .hide-for-medium-up, .show-for-medium, .show-for-medium-down, .show-for-large-only, .hide-for-large-up, .show-for-large, .show-for-large-down, .show-for-xlarge-only, .hide-for-xlarge-up, .hide-for-xxlarge-only, .hide-for-xxlarge-up {
+ display: none !important;
+ }
+
+ /* line 251, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hidden-for-small-only, .visible-for-small-up, .hidden-for-small, .hidden-for-small-down, .hidden-for-medium-only, .visible-for-medium-up, .hidden-for-medium, .hidden-for-medium-down, .hidden-for-large-only, .visible-for-large-up, .hidden-for-large, .hidden-for-large-down, .hidden-for-xlarge-only, .visible-for-xlarge-up, .visible-for-xxlarge-only, .visible-for-xxlarge-up {
+ position: static !important;
+ height: auto;
+ width: auto;
+ overflow: visible;
+ clip: auto;
+ }
+
+ /* line 254, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .visible-for-small-only, .hidden-for-small-up, .visible-for-small, .visible-for-small-down, .visible-for-medium-only, .hidden-for-medium-up, .visible-for-medium, .visible-for-medium-down, .visible-for-large-only, .hidden-for-large-up, .visible-for-large, .visible-for-large-down, .visible-for-xlarge-only, .hidden-for-xlarge-up, .hidden-for-xxlarge-only, .hidden-for-xxlarge-up {
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ clip: rect(1px, 1px, 1px, 1px);
+ }
+
+ /* line 259, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ table.hide-for-small-only, table.show-for-small-up, table.hide-for-small, table.hide-for-small-down, table.hide-for-medium-only, table.show-for-medium-up, table.hide-for-medium, table.hide-for-medium-down, table.hide-for-large-only, table.show-for-large-up, table.hide-for-large, table.hide-for-large-down, table.hide-for-xlarge-only, table.show-for-xlarge-up, table.show-for-xxlarge-only, table.show-for-xxlarge-up {
+ display: table !important;
+ }
+
+ /* line 262, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ thead.hide-for-small-only, thead.show-for-small-up, thead.hide-for-small, thead.hide-for-small-down, thead.hide-for-medium-only, thead.show-for-medium-up, thead.hide-for-medium, thead.hide-for-medium-down, thead.hide-for-large-only, thead.show-for-large-up, thead.hide-for-large, thead.hide-for-large-down, thead.hide-for-xlarge-only, thead.show-for-xlarge-up, thead.show-for-xxlarge-only, thead.show-for-xxlarge-up {
+ display: table-header-group !important;
+ }
+
+ /* line 265, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tbody.hide-for-small-only, tbody.show-for-small-up, tbody.hide-for-small, tbody.hide-for-small-down, tbody.hide-for-medium-only, tbody.show-for-medium-up, tbody.hide-for-medium, tbody.hide-for-medium-down, tbody.hide-for-large-only, tbody.show-for-large-up, tbody.hide-for-large, tbody.hide-for-large-down, tbody.hide-for-xlarge-only, tbody.show-for-xlarge-up, tbody.show-for-xxlarge-only, tbody.show-for-xxlarge-up {
+ display: table-row-group !important;
+ }
+
+ /* line 268, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tr.hide-for-small-only, tr.show-for-small-up, tr.hide-for-small, tr.hide-for-small-down, tr.hide-for-medium-only, tr.show-for-medium-up, tr.hide-for-medium, tr.hide-for-medium-down, tr.hide-for-large-only, tr.show-for-large-up, tr.hide-for-large, tr.hide-for-large-down, tr.hide-for-xlarge-only, tr.show-for-xlarge-up, tr.show-for-xxlarge-only, tr.show-for-xxlarge-up {
+ display: table-row !important;
+ }
+
+ /* line 271, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ th.hide-for-small-only, td.hide-for-small-only, th.show-for-small-up, td.show-for-small-up, th.hide-for-small, td.hide-for-small, th.hide-for-small-down, td.hide-for-small-down, th.hide-for-medium-only, td.hide-for-medium-only, th.show-for-medium-up, td.show-for-medium-up, th.hide-for-medium, td.hide-for-medium, th.hide-for-medium-down, td.hide-for-medium-down, th.hide-for-large-only, td.hide-for-large-only, th.show-for-large-up, td.show-for-large-up, th.hide-for-large, td.hide-for-large, th.hide-for-large-down, td.hide-for-large-down, th.hide-for-xlarge-only, td.hide-for-xlarge-only, th.show-for-xlarge-up, td.show-for-xlarge-up, th.show-for-xxlarge-only, td.show-for-xxlarge-only, th.show-for-xxlarge-up, td.show-for-xxlarge-up {
+ display: table-cell !important;
+ }
+}
+/* Orientation targeting */
+/* line 286, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.show-for-landscape,
+.hide-for-portrait {
+ display: inherit !important;
+}
+
+/* line 288, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.hide-for-landscape,
+.show-for-portrait {
+ display: none !important;
+}
+
+/* Specific visibility for tables */
+/* line 293, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+table.hide-for-landscape, table.show-for-portrait {
+ display: table !important;
+}
+
+/* line 297, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+thead.hide-for-landscape, thead.show-for-portrait {
+ display: table-header-group !important;
+}
+
+/* line 301, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+tbody.hide-for-landscape, tbody.show-for-portrait {
+ display: table-row-group !important;
+}
+
+/* line 305, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+tr.hide-for-landscape, tr.show-for-portrait {
+ display: table-row !important;
+}
+
+/* line 310, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+td.hide-for-landscape, td.show-for-portrait,
+th.hide-for-landscape,
+th.show-for-portrait {
+ display: table-cell !important;
+}
+
+@media only screen and (orientation: landscape) {
+ /* line 315, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .show-for-landscape,
+ .hide-for-portrait {
+ display: inherit !important;
+ }
+
+ /* line 317, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hide-for-landscape,
+ .show-for-portrait {
+ display: none !important;
+ }
+
+ /* Specific visibility for tables */
+ /* line 322, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ table.show-for-landscape, table.hide-for-portrait {
+ display: table !important;
+ }
+
+ /* line 326, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ thead.show-for-landscape, thead.hide-for-portrait {
+ display: table-header-group !important;
+ }
+
+ /* line 330, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tbody.show-for-landscape, tbody.hide-for-portrait {
+ display: table-row-group !important;
+ }
+
+ /* line 334, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tr.show-for-landscape, tr.hide-for-portrait {
+ display: table-row !important;
+ }
+
+ /* line 339, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ td.show-for-landscape, td.hide-for-portrait,
+ th.show-for-landscape,
+ th.hide-for-portrait {
+ display: table-cell !important;
+ }
+}
+@media only screen and (orientation: portrait) {
+ /* line 345, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .show-for-portrait,
+ .hide-for-landscape {
+ display: inherit !important;
+ }
+
+ /* line 347, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hide-for-portrait,
+ .show-for-landscape {
+ display: none !important;
+ }
+
+ /* Specific visibility for tables */
+ /* line 352, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ table.show-for-portrait, table.hide-for-landscape {
+ display: table !important;
+ }
+
+ /* line 356, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ thead.show-for-portrait, thead.hide-for-landscape {
+ display: table-header-group !important;
+ }
+
+ /* line 360, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tbody.show-for-portrait, tbody.hide-for-landscape {
+ display: table-row-group !important;
+ }
+
+ /* line 364, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tr.show-for-portrait, tr.hide-for-landscape {
+ display: table-row !important;
+ }
+
+ /* line 369, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ td.show-for-portrait, td.hide-for-landscape,
+ th.show-for-portrait,
+ th.hide-for-landscape {
+ display: table-cell !important;
+ }
+}
+/* Touch-enabled device targeting */
+/* line 374, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.show-for-touch {
+ display: none !important;
+}
+
+/* line 375, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.hide-for-touch {
+ display: inherit !important;
+}
+
+/* line 376, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.touch .show-for-touch {
+ display: inherit !important;
+}
+
+/* line 377, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.touch .hide-for-touch {
+ display: none !important;
+}
+
+/* Specific visibility for tables */
+/* line 380, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+table.hide-for-touch {
+ display: table !important;
+}
+
+/* line 381, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.touch table.show-for-touch {
+ display: table !important;
+}
+
+/* line 382, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+thead.hide-for-touch {
+ display: table-header-group !important;
+}
+
+/* line 383, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.touch thead.show-for-touch {
+ display: table-header-group !important;
+}
+
+/* line 384, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+tbody.hide-for-touch {
+ display: table-row-group !important;
+}
+
+/* line 385, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.touch tbody.show-for-touch {
+ display: table-row-group !important;
+}
+
+/* line 386, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+tr.hide-for-touch {
+ display: table-row !important;
+}
+
+/* line 387, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.touch tr.show-for-touch {
+ display: table-row !important;
+}
+
+/* line 388, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+td.hide-for-touch {
+ display: table-cell !important;
+}
+
+/* line 389, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.touch td.show-for-touch {
+ display: table-cell !important;
+}
+
+/* line 390, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+th.hide-for-touch {
+ display: table-cell !important;
+}
+
+/* line 391, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+.touch th.show-for-touch {
+ display: table-cell !important;
+}
+
+/* Print visibility */
+@media print {
+ /* line 396, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .show-for-print {
+ display: block;
+ }
+
+ /* line 397, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ .hide-for-print {
+ display: none;
+ }
+
+ /* line 399, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ table.show-for-print {
+ display: table !important;
+ }
+
+ /* line 400, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ thead.show-for-print {
+ display: table-header-group !important;
+ }
+
+ /* line 401, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tbody.show-for-print {
+ display: table-row-group !important;
+ }
+
+ /* line 402, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ tr.show-for-print {
+ display: table-row !important;
+ }
+
+ /* line 403, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ td.show-for-print {
+ display: table-cell !important;
+ }
+
+ /* line 404, ../../../bower_components/foundation/scss/foundation/components/_visibility.scss */
+ th.show-for-print {
+ display: table-cell !important;
+ }
+}
+/*
+* Metstudio Platform Stylesheet
+*/
+/* line 6, ../../../scss/_metastudio_styles.scss */
+.workspace {
+ background: url("watermark.png") no-repeat 0 80%;
+ min-height: 100%;
+ margin-bottom: -130px !important;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+/* line 9, ../../../scss/_metastudio_styles.scss */
+.workspace .app.button-bar {
+ height: 45px;
+}
+/* line 21, ../../../scss/_metastudio_styles.scss */
+.workspace:after {
+ content: "";
+ display: block;
+ height: 130px;
+}
+
+/*
+* The Foundation Stylesheet
+* You can paste sass snippets from compass or foundation here
+* Consider submitting these snippets upstream
+* http://compass-style.org/reference/compass/css3/
+* http://foundation.zurb.com/docs/components/global.html
+*/
+/*
+* Foundation fixes and hacks. Please document issues on https://github.com/zurb/foundation/issues
+*/
+/* Too many apps cause breakage */
+/*
+/* Protects reflowing elements on error */
+/* line 21, ../../../scss/_app_styles.scss */
+[data-abide] span.error, [data-abide] small.error {
+ position: absolute;
+}
+
+/*active color for side-nav links*/
+/* line 26, ../../../scss/_app_styles.scss */
+.side-nav li.active a:not(.button) {
+ color: #acacac;
+}
+
+/*
+* Foundation extensions
+*/
+/* line 35, ../../../scss/_app_styles.scss */
+pre {
+ width: 92%;
+ overflow: auto;
+ border: 1px solid #eee;
+ border-left: 1rem solid #eee;
+ font: lighter 1.2rem/2rem Monaco;
+ background: url("/static/ndf/pre.png");
+ background-size: 1px 4rem;
+ padding-left: 0.5rem;
+ font-family: monospace;
+}
+
+/* line 48, ../../../scss/_app_styles.scss */
+.fixme {
+ opacity: 0.5;
+}
+/* line 51, ../../../scss/_app_styles.scss */
+.fixme:hover {
+ opacity: 1;
+ color: inherit;
+}
+/* line 54, ../../../scss/_app_styles.scss */
+.fixme:hover:after {
+ content: " fixme";
+ color: orange;
+}
+
+/* Utility class to display the child spans of this element on hover */
+/* line 63, ../../../scss/_app_styles.scss */
+.show-span-on-hover span {
+ display: none;
+}
+/* line 66, ../../../scss/_app_styles.scss */
+.show-span-on-hover:hover span {
+ display: inline;
+}
+
+/* line 72, ../../../scss/_app_styles.scss */
+.show-on-hover .show {
+ display: none;
+ z-index: 1000;
+}
+/* line 76, ../../../scss/_app_styles.scss */
+.show-on-hover:hover .show {
+ display: block;
+}
+
+/* Utility class to display the next siblings on hoverr */
+/* line 81, ../../../scss/_app_styles.scss */
+.extra.app {
+ display: none;
+}
+
+/* Effects */
+/* line 87, ../../../scss/_app_styles.scss */
+.drop-shadow {
+ -webkit-box-shadow: 0px 0px 5px 1px black;
+ box-shadow: 0px 0px 5px 1px black;
+}
+
+/* line 91, ../../../scss/_app_styles.scss */
+.rounded {
+ border-radius: 2px;
+ -webkit-border-radius: 2px;
+}
+
+/* line 95, ../../../scss/_app_styles.scss */
+.transition-opacity {
+ transition: opacity .3s ease;
+ -moz-transition: opacity .3s ease;
+ -webkit-transition: opacity .3s ease;
+ -o-transition: opacity .3s ease;
+}
+
+/*Ratings bar based on http://codepen.io/lsirivong/pen/ekBxI */
+/* line 104, ../../../scss/_app_styles.scss */
+.rating-bar {
+ /* the hidden clearer */
+ /* this is gross, I threw this in to override the starred
+ buttons when hovering. */
+}
+/* line 107, ../../../scss/_app_styles.scss */
+.rating-bar > span {
+ /* remove inline-block whitespace */
+ font-size: 0;
+ /* flip the order so we can use the + and ~ combinators */
+ unicode-bidi: bidi-override;
+ direction: rtl;
+}
+/* line 115, ../../../scss/_app_styles.scss */
+.rating-bar.unrated {
+ /* If the user has not rated yet */
+}
+/* line 117, ../../../scss/_app_styles.scss */
+.rating-bar.unrated:checked ~ label:before {
+ color: #a9b2b3;
+}
+/* line 123, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"] {
+ display: none;
+}
+/* line 125, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"] + label {
+ /* only enough room for the star */
+ display: inline-block;
+ overflow: hidden;
+ text-indent: 9999px;
+ width: 1em;
+ height: 1.4em;
+ white-space: nowrap;
+ font-size: 1.5rem;
+ margin: 0;
+}
+/* line 135, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"] + label:before {
+ display: inline-block;
+ text-indent: -9999px;
+ content: '\2606';
+ /* WHITE STAR */
+ color: #888;
+}
+/* line 144, ../../../scss/_app_styles.scss */
+.rating-bar [type*="radio"]:checked ~ label:before, .rating-bar [type*="radio"] + label:hover ~ label:before, .rating-bar [type*="radio"] + label:hover:before {
+ content: '\2605';
+ /* BLACK STAR */
+ color: #ff980d;
+ text-shadow: 0 0 1px #333;
+}
+/* line 153, ../../../scss/_app_styles.scss */
+.rating-bar .last[type*="radio"] + label {
+ text-indent: -9999px;
+ width: .5em;
+ margin-left: -.5em;
+}
+/* line 158, ../../../scss/_app_styles.scss */
+.rating-bar .last[type*="radio"] + label:before {
+ width: .5em;
+ height: 1.4em;
+}
+/* line 166, ../../../scss/_app_styles.scss */
+.rating-bar:hover [type*="radio"] + label:before {
+ content: '\2606';
+ /* WHITE STAR */
+ color: #888;
+ text-shadow: none;
+}
+/* line 172, ../../../scss/_app_styles.scss */
+.rating-bar:hover [type*="radio"] + label:hover ~ label:before,
+.rating-bar:hover [type*="radio"] + label:hover:before {
+ content: '\2605';
+ /* BLACK STAR */
+ color: #ff980d;
+ text-shadow: 0 0 1px #333;
+}
+
+/* line 181, ../../../scss/_app_styles.scss */
+body a:visited {
+ color: #1d484a;
+}
+
+/* line 189, ../../../scss/_app_styles.scss */
+body {
+ background-color: #fafafa;
+}
+
+/* line 195, ../../../scss/_app_styles.scss */
+.top-bar a.language.button {
+ padding: 5px 10px;
+ margin-top: 3px;
+ background-color: #555;
+ color: black;
+}
+/* line 200, ../../../scss/_app_styles.scss */
+.top-bar a.language.button:hover {
+ background-color: white;
+ color: black;
+}
+/* line 205, ../../../scss/_app_styles.scss */
+.top-bar ul.language-selector {
+ height: 50px;
+ float: right;
+ margin: 0;
+}
+/* line 210, ../../../scss/_app_styles.scss */
+.top-bar .active {
+ background-color: #08676d !important;
+}
+/* line 214, ../../../scss/_app_styles.scss */
+.top-bar h1 .flag, article h1:not(.subheader) div .top-bar input .flag {
+ height: 20px;
+ margin-bottom: 4px;
+ margin-right: 2px;
+}
+/* line 219, ../../../scss/_app_styles.scss */
+.top-bar h1 img, .top-bar article h1:not(.subheader) div input img, article h1:not(.subheader) div .top-bar input img {
+ /* Logo */
+ height: 40px;
+}
+/* line 223, ../../../scss/_app_styles.scss */
+.top-bar h1 a, .top-bar article h1:not(.subheader) div input a, article h1:not(.subheader) div .top-bar input a {
+ color: white !important;
+}
+/* line 227, ../../../scss/_app_styles.scss */
+.top-bar .group:hover {
+ background-color: #111;
+}
+/* line 232, ../../../scss/_app_styles.scss */
+.top-bar .logout {
+ background-color: #f04124 !important;
+}
+/* line 236, ../../../scss/_app_styles.scss */
+.top-bar .logout:hover {
+ background-color: #d32a0e !important;
+ transition: background-color 400ms ease-out;
+}
+
+/* line 244, ../../../scss/_app_styles.scss */
+body > footer {
+ padding: 20px 0;
+ position: relative;
+ color: #888;
+ min-height: 170px;
+ background-color: rgba(0, 0, 0, 0.8);
+}
+/* line 252, ../../../scss/_app_styles.scss */
+body > footer section:first-child {
+ border-bottom: 1px solid #222;
+ margin-bottom: 1rem;
+}
+/* line 256, ../../../scss/_app_styles.scss */
+body > footer a {
+ color: #bbbbbb !important;
+}
+/* line 258, ../../../scss/_app_styles.scss */
+body > footer a:hover {
+ color: #eee !important;
+}
+/* line 262, ../../../scss/_app_styles.scss */
+body > footer strong a {
+ border-bottom: 1px dotted #555;
+}
+
+/* line 268, ../../../scss/_app_styles.scss */
+.coll-arrows {
+ cursor: pointer;
+ display: block;
+ padding: 0.5rem;
+}
+/* line 273, ../../../scss/_app_styles.scss */
+.coll-arrows:hover {
+ background-color: #D3D3D3;
+}
+
+/* Sections */
+/* line 280, ../../../scss/_app_styles.scss */
+main > nav {
+ border-top: 3px solid black;
+ position: relative;
+ z-index: 10;
+}
+/* line 284, ../../../scss/_app_styles.scss */
+main > nav > .button-bar {
+ background-color: #10c1cb;
+ /* Hide icons till we can retreive custom icons from the system */
+}
+/* line 286, ../../../scss/_app_styles.scss */
+main > nav > .button-bar .button-group {
+ margin: 0;
+}
+/* line 288, ../../../scss/_app_styles.scss */
+main > nav > .button-bar .button-group.tools {
+ padding: 5px;
+}
+/* line 294, ../../../scss/_app_styles.scss */
+main > nav > .button-bar li .button {
+ border: none;
+ font-size: 0.8rem;
+ padding: 0.8rem 1rem;
+ background-color: transparent;
+ color: black;
+ margin: 0;
+}
+/* line 298, ../../../scss/_app_styles.scss */
+main > nav > .button-bar li .button.home {
+ font-weight: bold;
+}
+/* line 301, ../../../scss/_app_styles.scss */
+main > nav > .button-bar li .button.settings, main > nav > .button-bar li .button#toggle-help {
+ padding: 6px 10px;
+ color: #333;
+ background-color: rgba(255, 255, 255, 0.3);
+}
+/* line 306, ../../../scss/_app_styles.scss */
+main > nav > .button-bar li .button.settings:hover, main > nav > .button-bar li .button#toggle-help:hover {
+ background-color: rgba(0, 0, 0, 0.2);
+ color: white;
+}
+/* line 311, ../../../scss/_app_styles.scss */
+main > nav > .button-bar li .button#toggle-help {
+ background-color: inherit;
+}
+/* line 315, ../../../scss/_app_styles.scss */
+main > nav > .button-bar li .button.settings:after {
+ border: none;
+}
+/* line 323, ../../../scss/_app_styles.scss */
+main > nav > .button-bar li .button:hover {
+ color: white;
+}
+/* line 329, ../../../scss/_app_styles.scss */
+main > nav > .button-bar li.active .button {
+ background-color: #0eacb5;
+ color: white;
+}
+/* line 337, ../../../scss/_app_styles.scss */
+main > nav > .button-bar .app i {
+ display: none !important;
+}
+
+/* line 349, ../../../scss/_app_styles.scss */
+main > aside > div h2 {
+ color: #111;
+}
+/* line 352, ../../../scss/_app_styles.scss */
+main > aside > div h3 {
+ font-size: 1.2rem;
+ font-weight: normal;
+ color: #222;
+}
+/* line 357, ../../../scss/_app_styles.scss */
+main > aside > div h4 {
+ font-size: 1rem;
+ color: #222;
+}
+/* line 360, ../../../scss/_app_styles.scss */
+main > aside > div h4 span {
+ display: none;
+}
+/* line 363, ../../../scss/_app_styles.scss */
+main > aside > div h4:hover span {
+ display: inline;
+}
+/* line 367, ../../../scss/_app_styles.scss */
+main > aside > div h5, main > aside > div h6 {
+ margin: 0;
+}
+/* line 371, ../../../scss/_app_styles.scss */
+main > aside > div .f-dropdown.content {
+ width: auto;
+ padding: 0;
+ border: 1px solid #222;
+}
+/* line 375, ../../../scss/_app_styles.scss */
+main > aside > div .f-dropdown.content .item {
+ width: 70px;
+}
+/* line 379, ../../../scss/_app_styles.scss */
+main > aside > div header {
+ padding: 10px;
+}
+/* line 382, ../../../scss/_app_styles.scss */
+main > aside > div footer {
+ background-color: #222;
+ min-height: 1rem;
+}
+/* line 385, ../../../scss/_app_styles.scss */
+main > aside > div footer label {
+ font-size: 0.7rem;
+}
+/* line 398, ../../../scss/_app_styles.scss */
+main > aside > div .side-nav.collection {
+ background-color: #444;
+ padding: 0;
+ border-bottom: 2px solid #10c1cb;
+ margin: 0;
+}
+/* line 403, ../../../scss/_app_styles.scss */
+main > aside > div .side-nav.collection li {
+ border-bottom: 1px solid #555;
+}
+/* line 405, ../../../scss/_app_styles.scss */
+main > aside > div .side-nav.collection li a {
+ border-left: 2px solid black;
+}
+/* line 408, ../../../scss/_app_styles.scss */
+main > aside > div .side-nav.collection li.active a, main > aside > div .side-nav.collection li a:hover {
+ color: white !important;
+ border-left: 2px solid #10c1cb;
+ background-color: #10c1cb;
+}
+
+/* line 421, ../../../scss/_app_styles.scss */
+article {
+ position: relative;
+ z-index: 1;
+ min-height: 400px;
+ overflow-x: visible;
+}
+/* line 426, ../../../scss/_app_styles.scss */
+article > header, article form > header {
+ padding: 15px;
+ background-color: #f0f0f0;
+}
+/* line 439, ../../../scss/_app_styles.scss */
+article h1:not(.subheader) .tabs {
+ display: inline-block;
+ position: relative;
+ bottom: -0.5rem;
+}
+/* line 445, ../../../scss/_app_styles.scss */
+article h1:not(.subheader) div, article h1:not(.subheader) div input:not(.subheader) div {
+ display: inline-block;
+ position: relative;
+}
+/* line 448, ../../../scss/_app_styles.scss */
+article h1:not(.subheader) div input {
+ height: 200%;
+ font-style: italic;
+ padding-left: 5px;
+ box-shadow: none;
+ border-width: 0 0 2px 0;
+ border-bottom: 2px dotted #222;
+ background-color: inherit;
+}
+/* line 458, ../../../scss/_app_styles.scss */
+article h1:not(.subheader) div input:hover {
+ background-color: white;
+}
+
+/* Card block */
+/* line 468, ../../../scss/_app_styles.scss */
+.card > * {
+ position: relative;
+ background-color: white;
+ padding: 7px;
+ border: 1px dashed #d0f9fb;
+ display: block;
+ opacity: 0.9;
+ overflow: hidden;
+}
+/* line 478, ../../../scss/_app_styles.scss */
+.card > * > a {
+ color: inherit;
+ display: block;
+ position: relative;
+ z-index: 200;
+}
+/* line 485, ../../../scss/_app_styles.scss */
+.card > *.published {
+ opacity: 1;
+ background-color: #e7fcfd;
+}
+/* line 489, ../../../scss/_app_styles.scss */
+.card > *.unapproved {
+ opacity: 1;
+ border-style: solid;
+ border-color: #f04124;
+}
+/* line 495, ../../../scss/_app_styles.scss */
+.card > *:hover {
+ border-style: solid;
+ opacity: 1;
+}
+/* line 501, ../../../scss/_app_styles.scss */
+.card > *:hover i {
+ opacity: 0.3;
+}
+/* line 504, ../../../scss/_app_styles.scss */
+.card > *:hover footer .age {
+ display: block;
+}
+/* line 508, ../../../scss/_app_styles.scss */
+.card > * > i {
+ position: absolute;
+ top: -10px;
+ right: 10px;
+ font-size: 3rem;
+ color: #0eacb5;
+ opacity: 0.3;
+}
+/* line 516, ../../../scss/_app_styles.scss */
+.card > * .preview {
+ float: left;
+ padding-right: 5px;
+ padding-top: 4px;
+}
+/* line 521, ../../../scss/_app_styles.scss */
+.card > * header {
+ overflow: hidden;
+}
+/* line 524, ../../../scss/_app_styles.scss */
+.card > * h5 {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ margin-bottom: 0;
+}
+/* line 529, ../../../scss/_app_styles.scss */
+.card > * .label, .card > * .label-list:empty:before {
+ opacity: 0.5;
+}
+/* line 532, ../../../scss/_app_styles.scss */
+.card > * p {
+ color: #555;
+ height: 80px;
+ background-repeat: no-repeat;
+ font-size: 80%;
+}
+/* line 538, ../../../scss/_app_styles.scss */
+.card > * .th {
+ margin: 20px auto;
+ width: 80px;
+ height: 80px;
+ overflow: hidden;
+ display: none;
+}
+/* line 544, ../../../scss/_app_styles.scss */
+.card > * .th:hover {
+ width: 150px;
+ height: 150px;
+}
+/* line 548, ../../../scss/_app_styles.scss */
+.card > * .th img {
+ width: 100%;
+}
+/* line 552, ../../../scss/_app_styles.scss */
+.card > * footer {
+ margin-top: 1rem;
+ font-size: 70%;
+ clear: both;
+ color: #e01818;
+}
+/* line 557, ../../../scss/_app_styles.scss */
+.card > * footer .age {
+ display: none;
+ position: absolute;
+ background-color: white;
+ z-index: 100;
+ bottom: 0;
+ width: 100%;
+}
+
+/* line 568, ../../../scss/_app_styles.scss */
+.edit-card {
+ position: relative;
+ background-color: white;
+ padding: 10px;
+ display: block;
+}
+
+/* Content Tabs */
+/* line 581, ../../../scss/_app_styles.scss */
+article .tabs {
+ display: inline-block;
+}
+/* line 583, ../../../scss/_app_styles.scss */
+article .tabs dd a {
+ border-radius: 4px;
+ border: 1px transparent;
+}
+/* line 587, ../../../scss/_app_styles.scss */
+article .tabs dd.active a {
+ color: #10c1cb;
+ border: 1px solid;
+}
+/* line 591, ../../../scss/_app_styles.scss */
+article .tabs dd:hover a {
+ color: #10c1cb;
+}
+/* line 595, ../../../scss/_app_styles.scss */
+article .tabs i {
+ margin-right: 5px;
+ font-size: 1.3rem;
+}
+/* line 601, ../../../scss/_app_styles.scss */
+article section.content {
+ background-color: white;
+ border: 1px solid #eee;
+}
+
+/* Default card */
+/* line 610, ../../../scss/_app_styles.scss */
+.card > :hover .label, .card > :hover .label-list:empty:before {
+ opacity: 1;
+}
+
+/* line 615, ../../../scss/_app_styles.scss */
+.gallery .card .th {
+ display: block;
+}
+
+/* Inline label list */
+/* line 623, ../../../scss/_app_styles.scss */
+.label-list {
+ display: inline-block;
+ text-align: left;
+ margin-bottom: 0.1rem;
+}
+/* line 627, ../../../scss/_app_styles.scss */
+.label-list:empty:before {
+ content: "UNTAGGED";
+ opacity: 0.2 !important;
+ padding: 2px;
+ background-color: transparent;
+}
+/* line 635, ../../../scss/_app_styles.scss */
+.label-list .label, .label-list .label-list:empty:before {
+ text-transform: uppercase;
+ background-color: transparent;
+ padding: 2px;
+}
+
+/*************************** 2. Custom CSS overrides ***********************/
+/* Content area */
+/* line 644, ../../../scss/_app_styles.scss */
+article {
+ padding-bottom: 4rem;
+}
+/* line 648, ../../../scss/_app_styles.scss */
+article > header {
+ border-bottom: 1px solid #ddd;
+}
+/* line 652, ../../../scss/_app_styles.scss */
+article > footer {
+ border-top: 1px dotted #ddd;
+}
+
+/* line 664, ../../../scss/_app_styles.scss */
+textarea {
+ min-height: 6rem;
+}
+
+/*
+.orgitdown textarea{
+ min-height: 15rem!important;
+}
+#content{
+ min-height: 10rem;
+
+}
+*/
+/*#content>p{
+ font-size: inherit;
+ line-height: 1.4;
+ color: #222;
+}*/
+/*************************** 3. Custom CSS Below ***********************/
+/*CSS fix for tables generated via orgitdown*/
+/* line 684, ../../../scss/_app_styles.scss */
+#content table td, #content colgroup col {
+ float: none !important;
+}
+
+/* line 689, ../../../scss/_app_styles.scss */
+.user {
+ color: inherit;
+}
+
+/* line 692, ../../../scss/_app_styles.scss */
+.user {
+ color: inherit;
+}
+
+/* line 695, ../../../scss/_app_styles.scss */
+.user i {
+ margin-right: 3px;
+}
+
+/* line 698, ../../../scss/_app_styles.scss */
+.user:hover i {
+ opacity: 1;
+}
+
+/* line 702, ../../../scss/_app_styles.scss */
+a.node {
+ display: block;
+}
+
+/* line 706, ../../../scss/_app_styles.scss */
+.button.edit {
+ margin-bottom: 0;
+}
+
+/************ Forms **************/
+/* Node edit */
+/* line 714, ../../../scss/_app_styles.scss */
+input.node-title {
+ font-size: 3rem;
+ height: 4rem;
+ display: inline-block;
+}
+
+/* view-graph in node_details_base.html */
+/* line 721, ../../../scss/_app_styles.scss */
+.graph-height {
+ height: 70%;
+}
+
+/*for graph and location*/
+/* line 726, ../../../scss/_app_styles.scss */
+.graph-div {
+ height: 90%;
+ width: -webkit-calc(100% - 10px);
+ width: -o-calc(100% - 10px);
+ width: -moz-calc(100% - 10px);
+ width: calc(100% - 10px) !important;
+ top: 5% !important;
+ left: 5px !important;
+ padding: 0px !important;
+ margin-left: 0 !important;
+}
+
+/*for graph and location*/
+/* line 736, ../../../scss/_app_styles.scss */
+.graph-div h3 {
+ border-bottom: 2px inset #154534;
+ padding: 0.25em 0;
+}
+
+/* line 741, ../../../scss/_app_styles.scss */
+#view-map-widget .close-reveal-modal, #view-map-edit-widget .close-reveal-modal {
+ z-index: 1;
+ background-color: captiontext;
+ padding: 5px 15px 10px;
+ color: white !important;
+ opacity: 0.8;
+ font-size: 2rem;
+ box-shadow: 0 1px 10px 2px #A9A9A9;
+}
+
+/* line 752, ../../../scss/_app_styles.scss */
+#view-map-widget .close-reveal-modal:hover, #view-map-edit-widget .close-reveal-modal:hover {
+ background-color: white;
+ border-radius: 30px;
+ padding: 5px 15px 10px;
+ transition: 2s;
+ opacity: 1;
+ color: black !important;
+ font-size: 2rem;
+}
+
+/****************** CUSTOM *********************/
+/* UI Button */
+/* line 767, ../../../scss/_app_styles.scss */
+.ui.button {
+ margin-right: 0.5rem;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ background-color: rgba(0, 0, 0, 0.5);
+ color: #ddd;
+ padding: 0.8rem;
+ z-index: 500;
+}
+/* line 777, ../../../scss/_app_styles.scss */
+.ui.button label {
+ color: #666;
+}
+/* line 780, ../../../scss/_app_styles.scss */
+.ui.button small {
+ margin-left: 2px;
+ display: inline;
+}
+/* line 784, ../../../scss/_app_styles.scss */
+.ui.button:hover, .ui.button:active {
+ border-color: rgba(255, 255, 255, 0.2);
+ background-color: rgba(0, 0, 0, 0.9);
+}
+/* line 787, ../../../scss/_app_styles.scss */
+.ui.button:hover label, .ui.button:active label {
+ color: #ddd;
+}
+/* line 790, ../../../scss/_app_styles.scss */
+.ui.button:hover small, .ui.button:active small {
+ display: inline;
+}
+/* line 793, ../../../scss/_app_styles.scss */
+.ui.button:hover:focus, .ui.button:active:focus {
+ font-weight: bold;
+}
+
+/* line 802, ../../../scss/_app_styles.scss */
+aside#help h4 {
+ color: black;
+}
+/* line 805, ../../../scss/_app_styles.scss */
+aside#help p, aside#help h5, aside#help h6 {
+ color: #ddd;
+ padding: 0.3rem 0.9375rem;
+}
+
+/* line 812, ../../../scss/_app_styles.scss */
+.align-center {
+ margin: 0 auto;
+ display: block;
+}
+
+/* line 818, ../../../scss/_app_styles.scss */
+#profile-img {
+ height: 40px;
+ margin-right: 5px;
+}
+
+/* line 827, ../../../scss/_app_styles.scss */
+#replies-area .disc-replies {
+ padding: 10px;
+ background-color: #dffbfd;
+ width: 27em;
+ max-width: 40em;
+ margin-left: 48px;
+ margin-top: 10px;
+}
+/* line 836, ../../../scss/_app_styles.scss */
+#replies-area .disc-replies .reply-btn {
+ cursor: pointer;
+}
+/* line 840, ../../../scss/_app_styles.scss */
+#replies-area .disc-replies .reply-btn:hover {
+ font-weight: bold;
+}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/tiss/watermark.png b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/tiss/watermark.png
new file mode 100644
index 0000000..e87b314
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/tiss/watermark.png
Binary files differ
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_app_styles.scss b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_app_styles.scss
index 9807314..72342e7 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_app_styles.scss
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_app_styles.scss
@@ -13,7 +13,8 @@
/* Too many apps cause breakage */
-
+//Import any custom css
+//@import url("../../custom.css");
/*
/* Protects reflowing elements on error */
@@ -180,4 +181,663 @@ body a{
&:visited{
color: #1d484a;
}
-} \ No newline at end of file
+}
+
+
+// ------| following style lines were there in _metastudio_styles.scss |------
+
+body{
+ background-color: #fafafa;
+}
+
+
+.top-bar{
+ a.language.button{
+ padding: 5px 10px;
+ margin-top:3px;
+ background-color: #555;
+ color:black;
+ &:hover{
+ background-color: white;
+ color:black;
+ }
+ }
+ ul.language-selector{
+ height: $topbar-height;
+ float: right;
+ margin:0;
+ }
+ .active{
+ background-color:$theme-text-color!important;
+ }
+ h1{
+ .flag{
+ height: 20px;
+ margin-bottom: 4px;
+ margin-right: 2px;
+ }
+ img{
+ /* Logo */
+ height: $topbar-height * 0.8;
+ }
+ a{
+ color:white!important;
+ }
+ }
+ .group:hover{
+ background-color: #111;
+ }
+
+ // user logout option of RHS dropdown
+ .logout{
+ background-color: $alert-color !important;
+ }
+
+ .logout:hover {
+ background-color: darken($alert-color, 10%) !important;
+ transition: background-color 400ms ease-out;
+ }
+}
+
+
+
+body>footer{
+ //Site footer
+ padding:20px 0;
+ position: relative;
+ color:#888;
+ min-height: 170px;
+ background-color: rgba(0,0,0,0.8);
+
+ section:first-child{
+ border-bottom: 1px solid #222;
+ margin-bottom: 1rem;
+ }
+ a{
+ color: #bbbbbb !important;
+ &:hover{
+ color:#eee !important;
+ }
+ }
+ strong a{
+ border-bottom: 1px dotted #555;
+ }
+}
+
+
+.coll-arrows{
+ cursor:pointer;
+ display: block;
+ padding: 0.5rem;
+
+ &:hover{
+ background-color: #D3D3D3;
+ }
+}
+
+
+/* Sections */
+main>nav{
+ border-top:3px solid black;
+ position: relative;
+ z-index: 10;
+ &>.button-bar{
+ background-color: $active-color;
+ .button-group{
+ margin: 0;
+ &.tools{
+ padding: 5px;
+ }
+ }
+ li{
+
+ .button{
+ border: none;
+ font-size: 0.8rem;
+ padding: 0.8rem 1rem;
+ &.home{
+ font-weight: bold;
+ }
+ &.settings,&#toggle-help{
+ padding: 6px 10px;
+ color: #333;
+ // font-size: 110%;
+ background-color: rgba(255,255,255,0.3);
+ &:hover{
+ background-color: rgba(0,0,0,0.2);
+ color:white;
+ }
+ }
+ &#toggle-help{
+ background-color: inherit;
+ }
+ &.settings{
+ &:after{
+ border: none;
+ }
+ }
+
+ background-color: transparent;
+ color: black;
+ margin: 0;
+ &:hover{
+ color:white;
+ }
+ }
+
+ &.active{
+ .button{
+ background-color: $primary-color;
+ color:white;
+ }
+ }
+ }
+
+ /* Hide icons till we can retreive custom icons from the system */
+ .app i{
+ display: none!important;
+ }
+ }
+}
+
+
+main>aside{
+ &>div{
+
+
+
+ h2{
+ color:#111;
+ }
+ h3{
+ font-size: 1.2rem;
+ font-weight: normal;
+ color: #222;
+ }
+ h4{
+ font-size: 1rem;
+ color: #222;
+ span{
+ display: none;
+ }
+ &:hover span{
+ display: inline;
+ }
+ }
+ h5,h6{
+ margin: 0;
+ }
+
+ .f-dropdown.content{
+ width: auto;
+ padding: 0;
+ border: 1px solid #222;
+ .item{
+ width: 70px;
+ }
+ }
+ header{
+ padding: 10px;
+ }
+ footer{
+ background-color: #222;
+ min-height: 1rem;
+ label{
+ font-size: 0.7rem;
+ }
+ }
+
+
+ // Aside link styles
+ a,p{
+ // color: white;
+ &:hover{
+ // color:white;
+ }
+ }
+ .side-nav.collection{
+ background-color: #444;
+ padding: 0;
+ border-bottom: 2px solid $active-color;
+ margin: 0;
+ li{
+ border-bottom: 1px solid #555;
+ a{
+ border-left: 2px solid black;
+ }
+ &.active a,a:hover{
+ color:white!important;
+ border-left: 2px solid $active-color;
+ background-color: $active-color;
+ }
+ }
+ }
+
+ }
+}
+
+
+// Article styles
+article{
+ position: relative;
+ z-index: 1;
+ min-height: 400px;
+ overflow-x: visible;
+ &>header,form>header{
+ padding: 15px;
+ // margin-bottom: 0.5rem;
+ background-color: #f0f0f0;
+ }
+
+ &>footer{
+ }
+
+ h1:not(.subheader){
+ // font-family: $serif-font;
+ // font-style: italic;
+ //
+ .tabs{
+ display: inline-block;
+ position: relative;
+ bottom: -0.5rem;
+ }
+
+ div{
+ display:inline-block;
+ position: relative;
+ input{
+ height:200%;
+ font-style: italic;
+ @extend h1;
+ padding-left:5px;
+ box-shadow: none;
+ border-width: 0 0 2px 0;
+ border-bottom: 2px dotted #222;
+ background-color: inherit;
+
+ &:hover{
+ background-color: white;
+ }
+ }
+ }
+ }
+}
+
+
+/* Card block */
+.card>*{
+ position: relative;
+ background-color: white;
+ padding:7px;
+ border: 1px dashed darken($bg-color,10%);
+ display: block;
+ //color:$bg-color;
+ opacity:0.9;
+ overflow: hidden;
+
+ >a{
+ color:inherit;
+ display: block;
+ position: relative;
+ z-index: 200;
+ }
+
+ &.published{
+ opacity: 1;
+ background-color: darken($bg-color,5%);
+ }
+ &.unapproved{
+ opacity: 1;
+ border-style: solid;
+ border-color: $alert-color;
+ }
+
+ &:hover{
+ border-style:solid;
+ opacity:1;
+ >a{
+
+ }
+ i{
+ opacity:0.3;
+ }
+ footer .age{
+ display: block;
+ }
+}
+ &>i{
+ position: absolute;
+ top: -10px;
+ right: 10px;
+ font-size: 3rem;
+ color:$theme-color;
+ opacity: 0.3;
+}
+ .preview{
+ float: left;
+ padding-right: 5px;
+ padding-top: 4px;
+ }
+ header{
+ overflow: hidden;
+ }
+ h5{
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ margin-bottom: 0;
+ }
+ .label{
+ opacity:0.5;
+ }
+ p{
+ color: #555;
+ height: 80px;
+ background-repeat: no-repeat;
+ font-size: 80%;
+ }
+ .th{
+ margin:20px auto;
+ width:80px;
+ height: 80px;
+ overflow: hidden;
+ display: none;
+ &:hover{
+ width: 150px;
+ height: 150px;
+ }
+ img{
+ width: 100%;
+ }
+}
+ footer{
+ margin-top: 1rem;
+ font-size: 70%;
+ clear: both;
+ color: $meta-color;
+ .age{
+ display: none;
+ position: absolute;
+ background-color: white;
+ z-index: 100;
+ bottom: 0;
+ width: 100%;
+ }
+ }
+}
+
+.edit-card{
+ position: relative;
+ background-color: $bg-color;
+ padding:10px;
+ // border: 1px dashed darken($bg-color,10%);
+ display: block;
+}
+
+
+/* Content Tabs */
+article{
+
+
+.tabs {
+ display: inline-block;
+ dd a{
+ border-radius: 4px;
+ border: 1px transparent;
+ }
+ dd.active a{
+ color:$active-color;
+ border: 1px solid;
+ }
+ dd:hover a{
+ color:$active-color;
+ }
+
+ i{
+ margin-right: 5px;
+ font-size: 1.3rem;
+}
+}
+
+ section.content{
+ background-color:white;
+ border: 1px solid #eee;
+ }
+
+
+}
+
+/* Default card */
+.card>:hover .label{
+ opacity:1;
+}
+
+
+.gallery .card .th{
+ display: block;
+}
+
+
+
+/* Inline label list */
+
+.label-list{
+ display: inline-block;
+ text-align: left;
+ margin-bottom: 0.1rem;
+ &:empty:before{
+ content:"UNTAGGED";
+ @extend .label;
+ opacity:0.2!important;
+ padding: 2px;
+ background-color: transparent;
+ }
+
+ .label{
+ text-transform: uppercase;
+ background-color: transparent;
+ padding: 2px;
+}
+}
+
+/*************************** 2. Custom CSS overrides ***********************/
+/* Content area */
+article{
+
+ padding-bottom: 4rem;
+
+ &>header{
+ border-bottom: 1px solid #ddd;
+// margin-bottom: 1rem!important;
+}
+ &>footer{
+ border-top: 1px dotted #ddd;
+}
+ .breadcrumbs{
+ // display: none;
+ // background-color: #eee;
+}
+}
+
+
+
+
+textarea{
+ min-height: 6rem;
+}
+/*
+.orgitdown textarea{
+ min-height: 15rem!important;
+}
+#content{
+ min-height: 10rem;
+
+}
+*/
+/*#content>p{
+ font-size: inherit;
+ line-height: 1.4;
+ color: #222;
+}*/
+/*************************** 3. Custom CSS Below ***********************/
+
+/*CSS fix for tables generated via orgitdown*/
+#content table td, #content colgroup col{
+ float: none !important;
+}
+
+
+.user{
+ color: inherit;
+}
+.user{
+ color: inherit;
+}
+.user i{
+margin-right: 3px;
+}
+.user:hover i{
+ opacity:1;
+}
+
+a.node{
+ display:block;
+}
+
+.button.edit{
+ margin-bottom: 0;
+}
+
+
+/************ Forms **************/
+
+/* Node edit */
+input.node-title{
+ font-size: 3rem;
+ height: 4rem;
+ display: inline-block;
+}
+
+/* view-graph in node_details_base.html */
+.graph-height{
+ height:70%;
+}
+
+/*for graph and location*/
+.graph-div {
+ height: 90%;
+ width: -webkit-calc(100% - 10px); width:-o-calc(100% - 10px); width: -moz-calc(100% - 10px); width: calc(100% - 10px) !important;
+ top: 5% !important;
+ left: 5px !important;
+ padding: 0px !important;
+ margin-left: 0 !important;
+}
+
+/*for graph and location*/
+.graph-div h3{
+ border-bottom: 2px inset #154534;
+ padding: 0.25em 0;
+}
+
+#view-map-widget .close-reveal-modal, #view-map-edit-widget .close-reveal-modal{
+
+ z-index:1;
+ background-color: captiontext;
+ padding: 5px 15px 10px;
+ color:white !important;
+ opacity:0.8;
+ font-size: 2rem;
+ box-shadow: 0 1px 10px 2px #A9A9A9;
+}
+
+#view-map-widget .close-reveal-modal:hover, #view-map-edit-widget .close-reveal-modal:hover{
+
+ background-color: white;
+ border-radius: 30px;
+ padding: 5px 15px 10px;
+ transition:2s;
+ opacity:1;
+ color:black !important;
+ font-size: 2rem;
+}
+
+
+/****************** CUSTOM *********************/
+
+/* UI Button */
+.ui.button{
+ margin-right: 0.5rem;
+ border: 1px solid rgba(0,0,0,0.2);
+ background-color: rgba(0,0,0,0.5);
+ color: #ddd;
+ padding: 0.8rem;
+ z-index: 500;
+ &.language{
+
+ }
+ label{
+ color:#666;
+ }
+ small{
+ margin-left: 2px;
+ display: inline;
+ }
+ &:hover,&:active{
+ border-color: rgba(255,255,255,0.2);
+ background-color: rgba(0,0,0,0.9);
+ label{
+ color:#ddd;
+ }
+ small{
+ display: inline;
+ }
+ &:focus{
+ font-weight: bold;
+ }
+ }
+}
+
+
+// Off Canvas Areas
+aside#help{
+ h4{
+ color:black;
+ }
+ p,h5,h6{
+ color:#ddd;
+ padding: 0.3rem 0.9375rem;
+ }
+}
+
+
+.align-center {
+ margin: 0 auto;
+ display: block;
+}
+
+
+#profile-img {
+ height: 40px;
+ margin-right: 5px;
+ // width: 40px;
+}
+
+
+// discussion
+
+#replies-area .disc-replies {
+
+ padding:10px;
+ background-color: lighten($primary-color, 55%);
+ width:27em;
+ max-width: 40em;
+ margin-left: 48px;
+ margin-top: 10px;
+
+ .reply-btn{
+ cursor: pointer;
+ }
+
+ .reply-btn:hover {
+ font-weight: bold;
+ }
+}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_metastudio_styles.scss b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_metastudio_styles.scss
index b4a84db..315b5e7 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_metastudio_styles.scss
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_metastudio_styles.scss
@@ -2,62 +2,6 @@
* Metstudio Platform Stylesheet
*/
-//Import any custom css
-//@import url("../../custom.css");
-
-body{
- background-color: #fafafa;
-}
-
-
-.top-bar{
- a.language.button{
- padding: 5px 10px;
- margin-top:3px;
- background-color: #555;
- color:black;
- &:hover{
- background-color: white;
- color:black;
- }
- }
- ul.language-selector{
- height: $topbar-height;
- float: right;
- margin:0;
- }
- .active{
- background-color:$theme-text-color!important;
- }
- h1{
- .flag{
- height: 20px;
- margin-bottom: 4px;
- margin-right: 2px;
- }
- img{
- /* Logo */
- height: $topbar-height * 0.8;
- }
- a{
- color:white!important;
- }
- }
- .group:hover{
- background-color: #111;
- }
-
- // user logout option of RHS dropdown
- .logout{
- background-color: $alert-color !important;
- }
-
- .logout:hover {
- background-color: darken($alert-color, 10%) !important;
- transition: background-color 400ms ease-out;
- }
-}
-
.workspace{
@@ -68,737 +12,16 @@ body{
//This is the main content container between the header and footer
background: url("watermark.png") no-repeat 0 80%;
- min-height: 100%;
- margin-bottom: -130px!important;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
+ min-height: 100%;
+ margin-bottom: -130px!important;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
&:after{
//Hack for setting div height to the height of the browser window
- content:"";
- display:block;
- height:130px; // allows the content of the footer to be visible at the bottom. This should match the margin-bottom of the div
- }
-}
-
-
- body>footer{
- //Site footer
- padding:20px 0;
- position: relative;
- color:#888;
- min-height: 170px;
- background-color: rgba(0,0,0,0.8);
-
- section:first-child{
- border-bottom: 1px solid #222;
- margin-bottom: 1rem;
- }
- a{
- color: #777;
- &:hover{
- color:#eee;
- }
- }
- strong a{
- border-bottom: 1px dotted #555;
- }
-
- }
-
-
- .coll-arrows{
- cursor:pointer;
- display: block;
- padding: 0.5rem;
-
- &:hover{
- background-color: #D3D3D3;
- }
- }
-
-
-
-/* Sections */
-
-
-main>nav{
- border-top:3px solid black;
- position: relative;
- z-index: 10;
-&>.button-bar{
- background-color: $active-color;
- .button-group{
- margin: 0;
- &.tools{
- padding: 5px;
- }
- }
- li{
-
- .button{
- border: none;
- font-size: 0.8rem;
- padding: 0.8rem 1rem;
- &.home{
- font-weight: bold;
- }
- &.settings,&#toggle-help{
- padding: 6px 10px;
- color: #333;
- // font-size: 110%;
- background-color: rgba(255,255,255,0.3);
- &:hover{
- background-color: rgba(0,0,0,0.2);
- color:white;
- }
- }
- &#toggle-help{
- background-color: inherit;
- }
- &.settings{
- &:after{
- border: none;
- }
- }
-
- background-color: transparent;
- color: black;
- margin: 0;
- &:hover{
- color:white;
- }
- }
-
- &.active{
- .button{
- background-color: $primary-color;
- color:white;
- }
- }
- }
-
- /* Hide icons till we can retreive custom icons from the system */
- .app i{
- display: none!important;
- }
-}
-}
-
-
-main>aside{
- &>div{
-
-
-
- h2{
- color:#111;
- }
- h3{
- font-size: 1.2rem;
- font-weight: normal;
- color: #222;
- }
- h4{
- font-size: 1rem;
- color: #222;
- span{
- display: none;
- }
- &:hover span{
- display: inline;
- }
- }
- h5,h6{
- margin: 0;
- }
-
- .f-dropdown.content{
- width: auto;
- padding: 0;
- border: 1px solid #222;
- .item{
- width: 70px;
- }
- }
- header{
- padding: 10px;
- }
- footer{
- background-color: #222;
- min-height: 1rem;
- label{
- font-size: 0.7rem;
- }
- }
-
-
- // Aside link styles
- a,p{
- color: white;
- &:hover{
- color:white;
- }
- }
- .side-nav.collection{
- background-color: #444;
- padding: 0;
- border-bottom: 2px solid $active-color;
- margin: 0;
- li{
- border-bottom: 1px solid #555;
- a{
- border-left: 2px solid black;
- }
- &.active a,a:hover{
- color:white!important;
- border-left: 2px solid $active-color;
- background-color: $active-color;
- }
- }
- }
-
- }
-}
-
-// Article styles
- article{
- position: relative;
- z-index: 1;
- min-height: 400px;
- overflow-x: visible;
- &>header,form>header{
- padding: 15px;
-// margin-bottom: 0.5rem;
- background-color: #f0f0f0;
- }
-
- &>footer{
- }
-
-h1:not(.subheader){
-// font-family: $serif-font;
-// font-style: italic;
-//
- .tabs{
- display: inline-block;
- position: relative;
- bottom: -0.5rem;
- }
-
- div{
- display:inline-block;
- position: relative;
- input{
- height:200%;
- font-style: italic;
- @extend h1;
- padding-left:5px;
- box-shadow: none;
- border-width: 0 0 2px 0;
- border-bottom: 2px dotted #222;
- background-color: inherit;
-
- &:hover{
- background-color: white;
- }
- }
- }
-}
- }
-
-
-
-
-
-
-/* Card block */
-
-
-
-.card>*{
- position: relative;
- background-color: white;
- padding:7px;
- border: 1px dashed darken($bg-color,10%);
- display: block;
- //color:$bg-color;
- opacity:0.9;
- overflow: hidden;
-
- >a{
- color:inherit;
- display: block;
- position: relative;
- z-index: 200;
- }
-
- &.published{
- opacity: 1;
- background-color: darken($bg-color,5%);
- }
- &.unapproved{
- opacity: 1;
- border-style: solid;
- border-color: $alert-color;
- }
-
- &:hover{
- border-style:solid;
- opacity:1;
- >a{
-
- }
- i{
- opacity:0.3;
- }
- footer .age{
- display: block;
- }
-}
- &>i{
- position: absolute;
- top: -10px;
- right: 10px;
- font-size: 3rem;
- color:$theme-color;
- opacity: 0.3;
-}
- .preview{
- float: left;
- padding-right: 5px;
- padding-top: 4px;
- }
- header{
- overflow: hidden;
- }
- h5{
- white-space: nowrap;
- text-overflow: ellipsis;
- margin-bottom: 0;
- }
- .label{
- opacity:0.5;
- }
- p{
- color: #555;
- height: 80px;
- background-repeat: no-repeat;
- font-size: 80%;
- }
- .th{
- margin:20px auto;
- width:80px;
- height: 80px;
- overflow: hidden;
- display: none;
- &:hover{
- width: 150px;
- height: 150px;
- }
- img{
- width: 100%;
- }
-}
- footer{
- margin-top: 1rem;
- font-size: 70%;
- clear: both;
- color: $meta-color;
- .age{
- display: none;
- position: absolute;
- background-color: white;
- z-index: 100;
- bottom: 0;
- width: 100%;
- }
- }
-}
-
-.edit-card{
- position: relative;
- background-color: $bg-color;
- padding:10px;
-// border: 1px dashed darken($bg-color,10%);
- display: block;
-
-}
-
-
-/* Content Tabs */
-article{
-
-
-.tabs {
- display: inline-block;
- dd a{
- border-radius: 4px;
- border: 1px transparent;
- }
- dd.active a{
- color:$active-color;
- border: 1px solid;
- }
- dd:hover a{
- color:$active-color;
- }
-
- i{
- margin-right: 5px;
- font-size: 1.3rem;
-}
-}
-
- section.content{
- background-color:white;
- border: 1px solid #eee;
- }
-
-
-}
-
-/* Default card */
-.card>:hover .label{
- opacity:1;
-}
-
-
-.gallery .card .th{
- display: block;
-}
-
-
-
-/* Inline label list */
-
-.label-list{
- display: inline-block;
- text-align: left;
- margin-bottom: 0.1rem;
- &:empty:before{
- content:"UNTAGGED";
- @extend .label;
- opacity:0.2!important;
- padding: 2px;
- background-color: transparent;
- }
-
- .label{
- text-transform: uppercase;
- background-color: transparent;
- padding: 2px;
-}
-}
-
-
-
-
-/*************************** 2. Custom CSS overrides ***********************/
-
-
-/* Content area */
-
-
-article{
-
- padding-bottom: 4rem;
-
- &>header{
- border-bottom: 1px solid #ddd;
-// margin-bottom: 1rem!important;
-}
- &>footer{
- border-top: 1px dotted #ddd;
-}
- .breadcrumbs{
- // display: none;
- // background-color: #eee;
-}
-}
-
-
-
-
-textarea{
- min-height: 6rem;
-}
-/*
-.orgitdown textarea{
- min-height: 15rem!important;
-}
-#content{
- min-height: 10rem;
-
-}
-*/
-/*#content>p{
- font-size: inherit;
- line-height: 1.4;
- color: #222;
-}*/
-/*************************** 3. Custom CSS Below ***********************/
-
-/*CSS fix for tables generated via orgitdown*/
-#content table td, #content colgroup col{
- float: none !important;
-}
-
-
-.user{
- color: inherit;
-}
-.user{
- color: inherit;
-}
-.user i{
-margin-right: 3px;
-}
-.user:hover i{
- opacity:1;
-}
-
-a.node{
- display:block;
-}
-
-.button.edit{
- margin-bottom: 0;
-}
-
-
-/************ Forms **************/
-
-/* Node edit */
-input.node-title{
- font-size: 3rem;
- height: 4rem;
- display: inline-block;
-}
-
-/* view-graph in node_details_base.html */
-.graph-height{
- height:70%;
-}
-
-/*for graph and location*/
-.graph-div {
- height: 90%;
- width: -webkit-calc(100% - 10px); width:-o-calc(100% - 10px); width: -moz-calc(100% - 10px); width: calc(100% - 10px) !important;
- top: 5% !important;
- left: 5px !important;
- padding: 0px !important;
- margin-left: 0 !important;
-}
-
-/*for graph and location*/
-.graph-div h3{
- border-bottom: 2px inset #154534;
- padding: 0.25em 0;
-}
-
-#view-map-widget .close-reveal-modal, #view-map-edit-widget .close-reveal-modal{
-
- z-index:1;
- background-color: captiontext;
- padding: 5px 15px 10px;
- color:white !important;
- opacity:0.8;
- font-size: 2rem;
- box-shadow: 0 1px 10px 2px #A9A9A9;
-}
-
-#view-map-widget .close-reveal-modal:hover, #view-map-edit-widget .close-reveal-modal:hover{
-
- background-color: white;
- border-radius: 30px;
- padding: 5px 15px 10px;
- transition:2s;
- opacity:1;
- color:black !important;
- font-size: 2rem;
-}
-
-
-/****************** CUSTOM *********************/
-
-/* UI Button */
-.ui.button{
- margin-right: 0.5rem;
- border: 1px solid rgba(0,0,0,0.2);
- background-color: rgba(0,0,0,0.5);
- color: #ddd;
- padding: 0.8rem;
- z-index: 500;
- &.language{
-
- }
- label{
- color:#666;
- }
- small{
- margin-left: 2px;
- display: inline;
- }
- &:hover,&:active{
- border-color: rgba(255,255,255,0.2);
- background-color: rgba(0,0,0,0.9);
- label{
- color:#ddd;
- }
- small{
- display: inline;
- }
- &:focus{
- font-weight: bold;
- }
- }
-}
-
-
-/* For landing page */
-
- #landing>header{
- background-image: url("/static/ndf/css/themes/nroer/home_banner.jpg");
- position: relative;
- z-index: 50;
- background-color: #0A253A;
- padding:1rem 0 1rem 0;
- @extend .drop-shadow;
- border-bottom: 2px solid #00CEFD;
- .logo{
- color:#555;
- text-align: center;
- padding: 1rem;
- background-color: rgba(0,0,0,0.8);
- img{
- max-width: 75%;
- margin-bottom: 0.5rem;
- }
-
- h1{
- font-size: 1.2rem;
- line-height: 1;
- font-weight: bold;
- text-transform: uppercase;
- color:white;
-
- }
- }
-
-
- }
-
-.landing{
- position: relative;
-
- h2{
- margin-top: 2rem;
- }
-
-}
-section.promo{
- background-color: rgba(0,0,0,0.9);
- border-bottom: 4px solid #00CEFD;
- .meta{
- padding-left: 2rem;
- padding-right: 2rem;
- h4{
- color:white;
- }
- }
-}
-
-ul.partner{
- img{
- max-height: 150px;
- }
-}
-
-div.banner{
- padding:0 2rem;
- margin-bottom: 2rem;
- border:2px solid lighten($primary-color,10%);
- border-width: 2px 0;
- &>*{
- background-color: $primary-color;
- .slide{
- padding: 1rem;
- margin: 0;
- background-color: darken($primary-color,5%);
- height:250px!important;
- &>i{
- position: absolute;
- font-size: 15rem;
- pointer-events: none;
- color: white;
- opacity:0.1;
- right:5%;
- }
- }
- color:#eee;
- margin:0;
- h3,h4,h5,h6,blockquote{
- color:white;
- }
- blockquote{
- font-size: 140%;
- font-style:italic;
- }
- p:first-child{
- color:white;
- font-size:120%;
- }
-
- }
- // Slick Carousel
- .slick-dots .button{
- }
-}
-
-// Off Canvas Areas
-aside#help{
- h4{
- color:black;
- }
- p,h5,h6{
- color:#ddd;
- padding: 0.3rem 0.9375rem;
- }
-}
-
-
-.align-center {
- margin: 0 auto;
- display: block;
-}
-
-
-
-#profile-img {
- height: 40px;
- margin-right: 5px;
- // width: 40px;
-}
-
-
-// discussion
-
-#replies-area .disc-replies {
-
- padding:10px;
- background-color: lighten($primary-color, 55%);
- width:27em;
- max-width: 40em;
- margin-left: 48px;
- margin-top: 10px;
-
- .reply-btn{
- cursor: pointer;
- }
-
- .reply-btn:hover {
- font-weight: bold;
- }
+ content:"";
+ display:block;
+ height:130px; // allows the content of the footer to be visible at the bottom. This should match the margin-bottom of the div
+ }
}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_nroer_styles.scss b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_nroer_styles.scss
new file mode 100644
index 0000000..8f782c2
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_nroer_styles.scss
@@ -0,0 +1,127 @@
+/*
+* NROER Platform Stylesheet
+*/
+
+
+.workspace{
+
+ // group level menu bar
+ .app.button-bar {
+ height: 45px;
+ }
+
+ //This is the main content container between the header and footer
+ background: url("watermark.png") no-repeat 1% 65%;
+ min-height: 100%;
+ margin-bottom: -130px!important;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+
+ &:after{
+ //Hack for setting div height to the height of the browser window
+ content:"";
+ display:block;
+ height:130px; // allows the content of the footer to be visible at the bottom. This should match the margin-bottom of the div
+ }
+}
+
+
+/* For landing page */
+ #landing>header{
+ background-image: url("/static/ndf/css/themes/nroer/home_banner.jpg");
+ position: relative;
+ z-index: 50;
+ background-color: #0A253A;
+ padding:1rem 0 1rem 0;
+ @extend .drop-shadow;
+ border-bottom: 2px solid #00CEFD;
+ .logo{
+ color:#555;
+ text-align: center;
+ padding: 1rem;
+ background-color: rgba(0,0,0,0.8);
+ img{
+ max-width: 75%;
+ margin-bottom: 0.5rem;
+ }
+
+ h1{
+ font-size: 1.2rem;
+ line-height: 1;
+ font-weight: bold;
+ text-transform: uppercase;
+ color:white;
+
+ }
+ }
+
+
+ }
+
+.landing{
+ position: relative;
+
+ h2{
+ margin-top: 2rem;
+ }
+
+}
+section.promo{
+ background-color: rgba(0,0,0,0.9);
+ border-bottom: 4px solid #00CEFD;
+ .meta{
+ padding-left: 2rem;
+ padding-right: 2rem;
+ h4{
+ color:white;
+ }
+ }
+}
+
+ul.partner{
+ img{
+ max-height: 150px;
+ }
+}
+
+div.banner{
+ padding:0 2rem;
+ margin-bottom: 2rem;
+ border:2px solid lighten($primary-color,10%);
+ border-width: 2px 0;
+ &>*{
+ background-color: $primary-color;
+ .slide{
+ padding: 1rem;
+ margin: 0;
+ background-color: darken($primary-color,5%);
+ height:50vh !important;
+ &>i{
+ position: absolute;
+ font-size: 17rem;
+ pointer-events: none;
+ color: white;
+ opacity:0.1;
+ right:5%;
+ }
+ }
+ color:#eee;
+ margin:0;
+ h3,h4,h5,h6,blockquote{
+ color:white;
+ }
+ blockquote{
+ font-size: 140%;
+ font-style:italic;
+ }
+ p:first-child{
+ color:white;
+ font-size:120%;
+ }
+
+ }
+ // Slick Carousel
+ .slick-dots .button{
+ }
+}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/nroer/_theme_settings.scss b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/nroer/_theme_settings.scss
index 0bd8f59..7e6abc1 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/nroer/_theme_settings.scss
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/nroer/_theme_settings.scss
@@ -14,5 +14,6 @@ $color5:#468966;
$logo-color:#1c5c31;
-$theme-color:#0094de; /* Something dark */
+// $theme-color:#0094de; /* Something dark */
+$theme-color:#0eacb5; /* Something dark */
$highlight-color:#FF980D; /* Something bright */
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/nroer/styles.scss b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/nroer/styles.scss
index ff42559..2e24f78 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/nroer/styles.scss
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/nroer/styles.scss
@@ -1,5 +1,5 @@
/*
-* Metastudio Customization SASS
+* NROER Customization SASS
*/
// First load settings for the theme
@@ -10,9 +10,11 @@
// Import foundation
@import "../bower_components/foundation/scss/foundation";
-// Import the Metastudio platform styles
-@import "../../metastudio_styles";
-// First import all the common styles for the Metastudio Platform
+
+// Import the NROER platform styles
+@import "../../nroer_styles";
+
+// First import all the common styles for the NROER Platform
@import "../../_app_styles";
// Write your custom styles here
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/tiss/_theme_settings.scss b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/tiss/_theme_settings.scss
new file mode 100644
index 0000000..cb255f3
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/tiss/_theme_settings.scss
@@ -0,0 +1,19 @@
+/*
+* Metstudio Default Skin File
+*/
+
+//Kuler https://kuler.adobe.com/Firenze-color-theme-24198/edit/?copy=true
+
+$color0:#fff0a5;
+$color1:#ffb03b;
+$color2:#b64926;
+$color3:#8e2800;
+$color5:#468966;
+
+/* Colors */
+
+$logo-color:#1c5c31;
+
+$theme-color:#0eacb5; /* Something dark */
+$highlight-color:#FF980D; /* Something bright */
+
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/tiss/styles.scss b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/tiss/styles.scss
new file mode 100644
index 0000000..aba2639
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/themes/tiss/styles.scss
@@ -0,0 +1,18 @@
+/*
+* Metastudio Customization SASS
+*/
+
+// First load settings for the theme
+@import "theme_settings";
+
+// Then load customized metastudio settings for foundation
+@import "../../metastudio_settings";
+
+// Import foundation
+@import "../bower_components/foundation/scss/foundation";
+
+// Import the Metastudio platform styles
+@import "../../metastudio_styles";
+
+// First import all the common styles for the Metastudio Platform
+@import "../../_app_styles"; \ No newline at end of file
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/base.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/base.html
index 3f056b1..0ca8ba4 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/base.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/base.html
@@ -20,7 +20,7 @@
<!-- Foundation 5 - Responsive CSS Framework http://foundation.zurb.com/docs/css.html-->
<link rel="stylesheet" href="/static/ndf/bower_components/foundation/css/normalize.css">
- <link rel="stylesheet" href="/static/ndf/css/themes/metastudio/styles.css">
+ <link rel="stylesheet" href="/static/ndf/css/themes/{{site.SITE_NAME|lower}}/styles.css">
<!-- Foundation Icon Font http://zurb.com/playground/foundation-icon-fonts-3 -->
<link rel="stylesheet" href="/static/ndf/bower_components/foundation-icon-fonts/foundation-icons.css">
@@ -92,7 +92,7 @@
<li>
<!-- <a href="{#% url 'GAPPS' 'home' 'topics' %#}" {#% if nroer_menu.top_menu_selected == "Repository" %#}class="active"{#% endif %#}> -->
- <a href="{% url 'topics' 'home' %}" {% if nroer_menu.top_menu_selected == "Repository" %}class="active"{% endif %}>
+ <a href="{% url 'repository' 'home' %}" {% if nroer_menu.top_menu_selected == "Repository" %}class="active"{% endif %}>
Repository
</a>
</li>
@@ -318,7 +318,7 @@
<!-- <li> -->
{% if group_name_tag %}
- {% if not "/nroer_groups" in request.path %}
+ {% if not "/partner/" in request.path %}
<!-- while listing the partners and/or groups cards dont show any text -->
{% if "/dashboard/group" in request.path %}
<a title="About - {{ group_object.name }}" href="{% url 'groupchange' group_object.name %}">
@@ -342,7 +342,8 @@
{% if group_name_tag == "home" %}
<!-- NROER level-two menu -->
- {% if request.path|length > 6 %}
+ {% if request.path|length > 6 and "repository" not in request.path %}
+ {% if "/partner/" not in request.path %}
<ul class="button-group nroer-menu">
{% for each_gapp in nroer_menu.gapps %}
{% for k, v in each_gapp.items %}
@@ -356,6 +357,7 @@
{% endfor %}
</ul>
{% endif %}
+ {% endif %}
{% else %}
{% get_gapps_iconbar request groupid %}
{% endif %}
@@ -545,6 +547,11 @@
return "<i class='fi-page'></i>"
});
+ $(".card .ebook").prepend(function(){
+ /* Attaches icon for node type */
+ return "<i class='fi-book'></i>"
+ });
+
$("aside.page").prepend(function(){
/* Attaches icon for node type */
return "<i class='fi-page'></i>"
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/collection_ajax_view.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/collection_ajax_view.html
index cad1c92..cf9a049 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/collection_ajax_view.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/collection_ajax_view.html
@@ -161,8 +161,8 @@
<!-- For displaying related nodes in topic page -->
<!-- Related node means all collection elements of its teme item i.e all siblings of topic node -->
<fieldset>
- <legend>Related Topics</legend>
- {% if prior_obj %}
+ {% if prior_obj %}
+ <legend>Topics of {{prior_obj.name}}</legend>
{% for each in prior_obj.collection_set %}
<!-- To get the node object -->
@@ -175,7 +175,7 @@
{% endfor %}
- {% endif %}
+ {% endif %}
</fieldset>
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course.html
index 3ff890b..6e73468 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course.html
@@ -14,15 +14,19 @@
{% block meta_content %}
<h2 class="subheader">{% trans "Courses" %}</h2>
- {% if user.is_authenticated %}
- {% user_access_policy groupid request.user as user_access %}
- {% if user_access == "allow" %}
+ {% if site.SITE_NAME != "NROER" %}
- <a class="small button" href="{% url 'create_edit' group_name_tag %}">
- <span class="fi-plus">&nbsp;&nbsp; {% trans "New" %} {{title}} </span>
- </a>
+ {% if user.is_authenticated %}
+ {% user_access_policy groupid request.user as user_access %}
+ {% if user_access == "allow" %}
+
+ <a class="small button" href="{% url 'create_edit' group_name_tag %}">
+ <span class="fi-plus">&nbsp;&nbsp; {% trans "New" %} {{title}} </span>
+ </a>
+
+ {% endif %}
+ {% endif %}
- {% endif %}
{% endif %}
{% endblock %}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/create_partner.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/create_partner.html
new file mode 100644
index 0000000..6db8515
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/create_partner.html
@@ -0,0 +1,216 @@
+
+{% extends "ndf/base.html" %}
+{% load i18n %}
+{% load ndf_tags %}
+
+{% block title %} Create a new partner {% endblock %}
+
+{% block meta_content %}
+{% endblock %}
+
+{% block related_content %}
+ {% if groups %}
+ <b>{% trans "Existing Partners:" %}</b>
+
+ {% get_existing_groups_excluding_username as groups%}
+ {% for items in groups %}
+ <br>{{items.name|truncatechars:25}}
+ {% endfor %}
+ {% endif %}
+{% endblock %}
+
+{% block body_content %}
+
+ <h2>{% trans "Create a new partner" %}</h2><br>
+
+ <form data-abide id="create_group" class="row" method="post" action="{% url 'create_partner' group_id %}">
+ {% csrf_token %}
+
+ <div class="small-12 columns" style='display:table; border:1px; border-spacing:10px; '>
+ <div style='display:table-row;' >
+ <div style='display:table-cell;'>
+ <font size="3">{% trans "Name of the Partner" %}</font>
+ </div>
+ <div style='display:table-cell;'>
+ <input type="text" id="group_name" name="groupname" placeholder="Enter partner Name" required>
+ <small class="error">{% trans "Name is required and must be a string" %}</small>
+ <label id="message" style="display:none; color:red"></label>
+ </div>
+
+ <div style='display:table-cell;'>
+ <font size="3" >{% trans "Partner Type" %}</font>
+ </div>
+ <div style='display:table-cell;'>
+ <select name="group_type" class="gtype">
+ <option id="PUBLIC">{% trans "PUBLIC" %}</option>
+ <option id="PRIVATE">{% trans "PRIVATE" %}</option>
+ <option id="ANONYMOUS">{% trans "ANONYMOUS" %}</option>
+ </select>
+ </div>
+ </div>
+
+ <div style='display:table-row;'>
+ <div style='display:table-cell;'>
+ <font size="3" >{% trans "Partner Editing policy" %}</font>
+ </div>
+ <div style='display:table-cell;'>
+ <select name="edit_policy" class="editp">
+ <option id="EDITABLE_NON_MODERATED">{% trans "EDITABLE_NON_MODERATED" %}</option>
+ <option id="EDITABLE_MODERATED">{% trans "EDITABLE_MODERATED" %}</option>
+ <option id="NON_EDITABLE">{% trans "NON_EDITABLE" %}</option>
+ </select>
+ </div>
+ <div style='display:table-cell;'>
+ <font size="3" >{% trans "Partner Subscription policy" %}</font>
+ </div>
+ <div style='display:table-cell;'>
+ <select name="subscription" class="subscptn">
+ <option id="OPEN">{% trans "OPEN" %}</option>
+ <option id="BY_REQUEST">{% trans "BY_REQUEST" %}</option>
+ <option id="BY_INVITATION">{% trans "BY_INVITATION" %}</option>
+ </select>
+ </div>
+ </div>
+ <div style='display:table-row;'>
+ <div style='display:table-cell;'>
+ <font size="3" >{% trans "Group Encryption policy" %}</font>
+ </div>
+ <div style='display:table-cell;'>
+ <select name="encryption" class="encr" disabled>
+ <option id="NOT_ENCRYPTED">{% trans "NOT_ENCRYPTED" %}</option>
+ <option id="ENCRYPTED">{% trans "ENCRYPTED" %}</option>
+ </select>
+ </div>
+
+ <div style='display:table-cell;'>
+ <font size="3" >{% trans "Group Existance visibility" %}</font>
+ </div>
+ <div style='display:table-cell;'>
+ <select name="existance" class="existance" disabled>
+ <option id="ANNOUNCED">{% trans "ANNOUNCED" %}</option>
+ <option id="NOT_ANNOUNCED">{% trans "NOT_ANNOUNCED" %}</option>
+ </select>
+ </div>
+ </div>
+ <div style='display:table-row;'>
+ <div style='display:table-cell;' colspan='2'>
+ <!-- <input type="button" id="savegrp" value="Create Group" class="button" onClick="check_values()">
+ <input type="submit" id="grpsubmit" value="Create Group" class="button" style="visibility:hidden" > -->
+ <input type="submit" value="Create Partner" id="grpsubmit" class="button">
+ </div>
+ </div>
+ <!-- <input type="hidden" id="nodes_list" value="{{nodes_list}}"> -->
+ </div>
+ </form>
+{% endblock %}
+
+{% block head %}
+<script type="text/javascript">
+ /*
+ function check_group_name()
+ {
+ var gname=$("#group_name").val();
+ $.ajax({
+ url: '/home/group/check_group/',
+ data: {gname:gname},
+ success: function(data){
+ if (data=="success"){
+ alert("group already exists");
+ $("#group_name").val("");
+ $("#group_name").focus();
+ }
+ }
+ }); //end_ajax
+ }
+
+ function check_values()
+ {
+ check_group_name();
+ var gpname = $("#group_name").val();
+ if (gpname == "")
+ {
+ alert("Group name can not be empty")
+ $("#group_name").focus();
+ }
+ else
+ {
+ $("#grpsubmit").trigger("click");
+ }
+ }
+ */
+
+ $(document).ready(function()
+ {
+ /*
+ $("#group_name").change(function(){
+ var name = $("#group_name").val().trim();
+ var nodes = $("#nodes_list").val();
+ if (nodes.indexOf(name) > 0)
+ {
+ $("#message").css("display", "block");
+ $("#message").html("Name '"+ name +"' already exist .. Please choose another name");
+ $("#group_name").val("");
+ }
+ else
+ {
+ $("#message").css("display", "none");
+ }
+ });
+ */
+
+ // New Form: Conditional Display
+ $(".login-mode").change(function(){
+ /* Hide other options if anonymous login is allowed */
+ $("#closed-group").slideToggle();
+ });
+
+ $("#member-mode").slideToggle();
+ $("[name='join-mode']").change(function(){
+ /* Hide invitation options if open membership */
+ $("#member-mode").slideToggle();
+ });
+
+ $("[name='edit-mode']").change(function(){
+ /* Hide moderation options if editing is disabled */
+ $("#moderate-mode").slideToggle();
+ });
+
+ // $("#group_name").focusout(function(){
+ // check_group_name();
+ // }); //end_focusout
+ }); //end_document_ready
+
+</script>
+{% endblock %}
+
+{% block script %}
+
+ $("#node_search_form").parent().hide();
+
+ // method to provide autocomplete/intellisence of forum names
+
+ $("#create_partner").submit(function(event){
+ var name = $("#group_name").val().trim().toLowerCase();
+ var nodes = {{nodes_list|safe}}
+
+ if (name != "")
+ {
+ if (nodes.indexOf(name) != -1)
+ {
+ $("#message").css("display", "block");
+ $("#message").text("Group '"+ name +"' already exist. Please choose another name");
+ event.preventDefault();
+ }
+ }
+ else if (name == ""){
+ $("#message").css("display", "block");
+ $("#message").text("Group name cannot be empty.");
+ event.preventDefault();
+ }
+ else
+ {
+ $("#message").css("display", "none");
+ }
+ });
+
+{% endblock %}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/drawer_widget.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/drawer_widget.html
index c725196..a29ce23 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/drawer_widget.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/drawer_widget.html
@@ -483,11 +483,28 @@
$('#{{widget_for}}_search').bind('keydown change', function(e) {
if (is_RT == "RelationType") {
var search_text = (this.value).toLowerCase();
- var search_text_len = search_text.length
+ var search_text_len = (search_text.length + 1);
+
+ if (e.keyCode == 8) {
+ // If backspace pressed, then show all
+ search_text_len = 0;
+ }
var $li = $( ".{{widget_for}}.pricing-table.drawer1 li.bullet-item" );
- if (search_text_len > 2) {
+ if (search_text_len < 3) {
+ $li.filter(function() {
+ if ($(this).css("display") == "none") {
+ return true;
+ }
+
+ else {
+ return false;
+ }
+ }).show();
+ }
+
+ else if (search_text_len > 2) {
$(".searching").css("display", "block");
$li.each(function() {
if ($(this).text().toLowerCase().indexOf(search_text) >= 0) {
@@ -500,18 +517,6 @@
});
$(".searching").css("display", "none");
}
-
- else if (search_text_len == 2) {
- $li.filter(function() {
- if ($(this).css("display") == "none") {
- return true;
- }
-
- else {
- return false;
- }
- }).show();
- }
}
else {
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/ebook.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/ebook.html
new file mode 100644
index 0000000..895cd4f
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/ebook.html
@@ -0,0 +1,63 @@
+{% extends "ndf/base.html" %}
+
+{% load ndf_tags %}
+
+{% block title %} Repository {% endblock %}
+
+{% block body_content %}
+
+<ul class="small-block-grid-1 medium-block-grid-2 large-block-grid-4">
+
+<!-- {#% get_preferred_lang request page_nodes "Page" as page_nodes %#} -->
+
+ {% group_type_info groupid request.user as grouptype %}
+
+ <!-- Existing card list-->
+ {% for node in all_ebooks %}
+
+ <li class="card">
+ {% if grouptype == "Moderated" %}
+ {% if node.status == "DRAFT" %}
+ <div class="draft ebook">
+ {% elif node.status == "PUBLISHED" %}
+ <div class="published ebook">
+ {% endif %}
+ {% else %}
+ <div class='{% if node.status == "PUBLISHED" %}published{% endif %} ebook'>
+ {% endif %}
+
+ <a href="{% url 'page_details' group_name_tag node %}">
+ <div class="row">
+ <div class="small-10 columns">
+ <b>
+ {{ node.name }}{% if node.collection_set %} <i class="fi-page-multiple"></i> {% endif %}
+ </b>
+ </div>
+ </div>
+ {% if node.status == "PUBLISHED" or node.created_by == request.user.id %}
+ <span style="font-size:12px;">{{ node.html_content|default_if_none:"Add some description."|safe|striptags|truncatechars:75 }}</span><br/>
+ {% endif %}
+ <footer>
+ <div class="age">
+ {{ node.member_of_names_list|join:', ' }} created {{node.created_at|timesince}} ago
+ <br/>
+ by <span class="user" href="{% url 'dashboard' node.created_by %}" data-gnow="">{{node.user_details_dict.created_by}}</span>
+ </div>
+ <span><strong>{{node.contributors|length}}</strong> Contributor{{node.contributors|pluralize}}</span>
+ </footer>
+ </a>
+
+ <div class="label-list small-12 columns">
+ {% for tag in node.tags|slice:":3" %}
+ <a href="{% url 'tag_info' groupid tag %}"><span class="label" style="background-color:yellow;">{{tag}}</span></a>
+ {% endfor %}
+ </div>
+
+ </div>
+ </li>
+
+ {% endfor %}
+
+</ul>
+
+{% endblock %}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/edit_group.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/edit_group.html
index f597ab9..ba64f27 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/edit_group.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/edit_group.html
@@ -210,140 +210,197 @@ ul#graph-hover.f-dropdown{
</dl>
<br/>
+
<dl class="accordion" data-accordion>
<dd>
<a id="app_selected" href="#mySystemtype">{% blocktrans with node.name as name %} Click here to select apps for {{name}} {% endblocktrans %}</a>
- <div id="mySystemtype" class="content">
+ <div id="mySystemtype" class="content">
- <div id="app_drawer" >
+ <div id="app_drawer" >
{% include "ndf/drawer_widget.html" with widget_for="collection_set" %}
- </div>
-<input type="button" id="save_gapps" class="button small-10 small-push-1 column" value="Save">
+ </div>
+ <input type="button" id="save_gapps" class="button small-10 small-push-1 column" value="Save">
+
+ </div>
+
+ </dd>
- </div>
-</dd>
</dl>
{{ block.super }}
{% endblock %}
{% block script %}
-var datas= ""
-var old_group_name;
-$(document).on('click',"#app_selected",function(){
-$('#mySystemtype #collection_set_drawer1').html("");
- $('#mySystemtype #collection_set_drawer2').html("");
- $('#mySystemtype #collection_set_drawer1').html('<li class="price"><input type="text" placeholder="Type here to search in the resources" id="collection_set_search" class="margin-0"></li>');
-var url='/{{groupid}}/group/app_selection/'+'{{node}}';
-
- $.getJSON( url, function( data ) {
- $.each(data ,function(index , drawer_elements){
- if(index == 0)
- {
- $.each(drawer_elements.drawer1, function(index, element) {
- $('#mySystemtype #collection_set_drawer1').append("<li id='"+element.id+"' class='bullet-item text-left'>"+element.name+"</li>");
- });
- }
- if(index == 1)
- {
- $.each(drawer_elements.drawer2, function(index, element) {
- $('#mySystemtype #collection_set_drawer2').append("<li id='"+element.id+"' class='bullet-item text-left'>"+element.name+"</li>");
+
+ $("#app_selected").click( function() {
+ var url="{% url 'app_selection' groupid %}";
+
+ $.getJSON( url, function( data ) {
+ $.each(data ,function(index, drawer_elements) {
+ if(index == 0) {
+ $.each(drawer_elements.drawer1, function(index, element) {
+ $('#mySystemtype #collection_set_drawer1').append("<li id='"+element.id+"' class='bullet-item text-left'>"+element.name+"</li>");
+ });
+ }
+
+ if(index == 1) {
+ $.each(drawer_elements.drawer2, function(index, element) {
+ $('#mySystemtype #collection_set_drawer2').append("<li id='"+element.id+"' class='bullet-item text-left'>"+element.name+"</li>");
+ });
+ }
});
+ });
+ });
+
+ function fetch_selected_apps() {
+ var selected_apps_list = [];
+ $.each($('#mySystemtype #collection_set_drawer2 li'), function(index,item) {
+ selected_apps_list.push(item.id);
+ });
+ return selected_apps_list;
+ }
+
+ $("#save_gapps").click( function() {
+ selected_apps_list = fetch_selected_apps();
+ apps_to_set = JSON.stringify(selected_apps_list);
+
+ $.ajax({
+ url:"{% url 'app_selection' groupid %}",
+
+ type: 'POST',
+
+ data: {
+ apps_to_set: apps_to_set,
+ csrfmiddlewaretoken: '{{csrf_token}}'
+ },
+
+ beforeSend: function(){
+ $("#ajax_load_image").show();
+ $("#body").css({"opacity":"0.1"})
+ },
+
+ success: function(data){
+ alert("Apps set for this group successfully.");
+ location.reload();
+ },
+
+ complete: function(){
+ $("#ajax_load_image").hide();
+ $("#body").css({"opacity":""});
+ }
+ }); //end of ajax
+ }); //end_of_click_save_gapps
+
+ // Search-Box for LHS drawer of resources
+ $('#collection_set_search').bind('keydown change', function(e) {
+ var search_text = (this.value).toLowerCase();
+ var search_text_len = (search_text.length + 1);
+
+ if (e.keyCode == 8) {
+ // If backspace pressed, then show all
+ search_text_len = 0;
}
- });
- });
-});
-
-
-function get_all_data(){
- $.each($('#mySystemtype #collection_set_drawer2 li'),function(index,item){
- datas=datas+String(item.id)+",";
- });
-}
-
-
-$(document).on('click',"#save_gapps",function(){
-get_all_data();
-apps_to_set=datas;
-$.ajax({
-url:'/{{groupid}}/group/app_selection/{{node}}',
-type: 'POST',
-data: {apps_to_set:apps_to_set,csrfmiddlewaretoken: '{{csrf_token}}'},
- beforeSend: function(){
- $("#ajax_load_image").show();
- $("#body").css({"opacity":"0.1",})
- },
- success: function(data){
- alert("Successfully set apps for this group");
- },
- complete: function(){
- $("#ajax_load_image").hide();
- $("#body").css({"opacity":"",})
-
- }
-
-}); //end of ajax
-}); //end_of_click_save_gapps
-
-{% get_user_object node.created_by as user_obj %}
-{% ifequal user_obj.username user.username %}
-var edit_policy = document.getElementById("edit_policy")
-var group_type = document.getElementById("group_type")
-var subscription_policy = document.getElementById("subscription_policy")
-var visibility_policy = document.getElementById("visibility_policy")
-var disclosure_policy = document.getElementById("disclosure_policy")
-var encryption_policy = document.getElementById("encryption_policy")
-var agency_type = document.getElementById("agency_type")
-
-{% if node.edit_policy %}
-$("select#edit_policy option[value='{{node.edit_policy}}']").prop("selected", true);
-{% endif %}
-
-{% if node.group_type %}
-$("select#group_type option[value='{{node.group_type}}']").prop("selected", true);
-{% endif %}
-
-{% if node.subscription_policy %}
-$("select#subscription_policy option[value='{{node.subscription_policy}}']").prop("selected", true);
-{% endif %}
-
-{% if node.visibility_policy %}
-$("select#visibility_policy option[value='{{node.visibility_policy}}']").prop("selected", true);
-{% endif %}
+ var $li = $( ".collection_set.pricing-table.drawer1 li.bullet-item" );
-{% if node.disclosure_policy %}
-$("select#disclosure_policy option[value='{{node.disclosure_policy}}']").prop("selected", true);
-{% endif %}
+ if (search_text_len < 3) {
+ $li.filter(function() {
+ if ($(this).css("display") == "none") {
+ return true;
+ }
-{% if node.encryption_policy %}
-$("select#encryption_policy option[value='{{node.encryption_policy}}']").prop("selected", true);
-{% endif %}
+ else {
+ return false;
+ }
+ }).show();
+ }
-{% if node.agency_type %}
-$("select#agency_type option[value='{{node.agency_type}}']").prop("selected", true);
-{% endif %}
+ else if (search_text_len > 2) {
+ $(".searching").css("display", "block");
+ $li.each(function() {
+ if ($(this).text().toLowerCase().indexOf(search_text) >= 0) {
+ $(this).css("display", "block");
+ }
-$(document).on('click',"#changeButton",function(){
-$.ajax({
-url:'/{{node}}/ajax/change_group_settings/',
-type: 'POST',
-data: {edit_policy:edit_policy.value, group_type:group_type.value, subscription_policy:subscription_policy.value, visibility_policy:visibility_policy.value, disclosure_policy:disclosure_policy.value, encryption_policy:encryption_policy.value, agency_type:agency_type, csrfmiddlewaretoken: '{{ csrf_token }}', group_id:"{{node}}"},
-beforeSend: function() {
-$("#ajax_search").show();
-},
-success: function(result){
-$("#ajax_search").hide();
-$("#status").html(result);
-}
-});
-});
+ else{
+ $(this).css("display", "none");
+ }
+ });
+ $(".searching").css("display", "none");
+ }
+ });
+
+ {% get_user_object node.created_by as user_obj %}
+ {% ifequal user_obj.username user.username %}
+ var edit_policy = document.getElementById("edit_policy")
+ var group_type = document.getElementById("group_type")
+ var subscription_policy = document.getElementById("subscription_policy")
+ var visibility_policy = document.getElementById("visibility_policy")
+ var disclosure_policy = document.getElementById("disclosure_policy")
+ var encryption_policy = document.getElementById("encryption_policy")
+ var agency_type = document.getElementById("agency_type")
+
+ {% if node.edit_policy %}
+ $("select#edit_policy option[value='{{node.edit_policy}}']").prop("selected", true);
+ {% endif %}
+
+ {% if node.group_type %}
+ $("select#group_type option[value='{{node.group_type}}']").prop("selected", true);
+ {% endif %}
+
+ {% if node.subscription_policy %}
+ $("select#subscription_policy option[value='{{node.subscription_policy}}']").prop("selected", true);
+ {% endif %}
+
+ {% if node.visibility_policy %}
+ $("select#visibility_policy option[value='{{node.visibility_policy}}']").prop("selected", true);
+ {% endif %}
+
+ {% if node.disclosure_policy %}
+ $("select#disclosure_policy option[value='{{node.disclosure_policy}}']").prop("selected", true);
+ {% endif %}
+
+ {% if node.encryption_policy %}
+ $("select#encryption_policy option[value='{{node.encryption_policy}}']").prop("selected", true);
+ {% endif %}
+
+ {% if node.agency_type %}
+ $("select#agency_type option[value='{{node.agency_type}}']").prop("selected", true);
+ {% endif %}
+
+ $(document).on('click', "#changeButton", function() {
+ $.ajax({
+ url: '/{{node}}/ajax/change_group_settings/',
+
+ type: 'POST',
+
+ data: {
+ edit_policy: edit_policy.value,
+ group_type: group_type.value,
+ subscription_policy: subscription_policy.value,
+ visibility_policy: visibility_policy.value,
+ disclosure_policy: disclosure_policy.value,
+ encryption_policy: encryption_policy.value,
+ agency_type: agency_type,
+ csrfmiddlewaretoken: '{{ csrf_token }}',
+ group_id:"{{node}}"
+ },
+
+ beforeSend: function() {
+ $("#ajax_search").show();
+ },
+
+ success: function(result){
+ $("#ajax_search").hide();
+ $("#status").html(result);
+ }
+ });
+ });
-{% else %}
-{% endifequal %}
+ {% endifequal %}
{% endblock %}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html
index 579a907..9a8eede 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html
@@ -102,6 +102,19 @@
</a>
</dd><br/>
{% endif %}
+
+ <!-- eBooks -->
+ {% if ebook_pages %}
+ <dd data-filetype="eBooks">
+ <a href="#view-ebook">
+ <i class="fi-book"></i>
+ {% trans "eBooks" %}
+ <span class="count">
+ ({{ ebook_pages }})
+ </span>
+ </a>
+ </dd><br/>
+ {% endif %}
<!-- Audio -->
{% if audio_pages %}
@@ -140,6 +153,8 @@
{% endif %}
<!-- Pandora -->
+ {% comment %}
+ <!--
{% if site.SITE_VIDEO == 'pandora_and_local' %}
<dd data-filetype="Videos">
@@ -148,6 +163,8 @@
</a>
</dd><br/>
{% endif %}
+ -->
+ {% endcomment %}
{% if site.SITE_VIDEO == 'pandora' %}
<dd data-filetype="Videos">
@@ -263,7 +280,19 @@
{% endif %}
- <!-- Tab View 4 - Audios -->
+ <!-- Tab View 4 - e-book -->
+ {% if ebook_pages %}
+ <div class="content" id="view-ebook" data-filetype="eBooks">
+ {% if title == "E-Library" %}
+ <a href='{% url "elib_paged_file_objs" group_name_tag "eBooks" 1 %}' class="first-load">1</a>
+ {% else %}
+ <a href='{% url "paged_file_objs" group_name_tag "eBooks" 1 %}' class="first-load">1</a>
+ {% endif %}
+ </div>
+ {% endif %}
+
+
+ <!-- Tab View 5 - Audios -->
{% if audio_pages %}
<div class="content" id="view-audio" data-filetype="Audios">
{% if title == "E-Library" %}
@@ -274,7 +303,7 @@
</div>
{% endif %}
- <!-- Tab View #3 - Images -->
+ <!-- Tab View 6 - Images -->
<div class="content" id="view-image" data-filetype="Images">
{% if title == "E-Library" %}
<a href='{% url "elib_paged_file_objs" group_name_tag "Images" 1 %}' class="first-load">1</a>
@@ -283,7 +312,7 @@
{% endif %}
</div>
- <!-- Tab View #4 - Videos -->
+ <!-- Tab View 7 - Videos -->
<div class="content" id="view-video" data-filetype="Videos">
{% if title == "E-Library" %}
<a href='{% url "elib_paged_file_objs" group_name_tag "Videos" 1 %}' class="first-load">1</a>
@@ -292,7 +321,7 @@
{% endif %}
</div>
- <!-- Tab View #5 - pandora Videos -->
+ <!-- Tab View 8 - pandora Videos -->
<div class="content" id="view-pandora-video" data-filetype="Videos">
{% if title == "E-Library" %}
<a href='{% url "elib_paged_file_objs" group_name_tag "Videos" 1 %}' class="first-load">1</a>
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/gapps_iconbar.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/gapps_iconbar.html
index c147d2a..4f68450 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/gapps_iconbar.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/gapps_iconbar.html
@@ -1,13 +1,7 @@
{% load ndf_tags %}
{% load i18n %}
-{% get_group_name groupid as group_name_tag %}
<!-- GApps Menubar -->
-{% check_gapp_menus groupid as check_menu %}
-
-{% if check_menu %}
- {% get_apps_for_groups groupid as gapps %}
-{% endif %}
<style type="text/css">
.top-bar.app {
@@ -47,7 +41,6 @@
.app.top-bar-section ul > li{
background-color: #0eacb5 !important;
}
-
</style>
<input type="hidden" value="{{newgroup}}">
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/landing_page_nroer.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/landing_page_nroer.html
index 2b735e4..89f52e2 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/landing_page_nroer.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/landing_page_nroer.html
@@ -20,7 +20,7 @@
{% get_site_variables as site %}
{% get_all_users_int_count as all_users %}
{% get_all_file_int_count as all_files %}
-
+<!--
<div>
<div class="row">
<div class="medium-6 columns">
@@ -34,13 +34,14 @@
</div>
</div>
</div>
-
+ -->
<article class="landing row">
<section class="promo">
<div class="banner">
<div id="group-banner">
<div class="slide row" style="background-color:#10a05d">
+ <br/>
<i class="fi-torsos"></i>
<h3 class="medium-12 columns">
<blockquote>Connecting Knowledge, Connecting People..</blockquote>
@@ -51,30 +52,38 @@
</div>
<div class="medium-4 columns">
- <a href="../accounts/register/" class="main large ui button">Join NROER</a>
+ <a href="../accounts/register/" class="main large ui button">Let's Join NROER</a>
</div>
+
+ <h4 class="medium-12 columns">
+ {{all_files}} open resources &nbsp; | &nbsp; <span>{{all_users}} Members</span>
+ </h4>
</div>
<div class="slide row" style="background-color:#3710a0">
-
+ <br/>
<i class="fi-web"></i>
<div class="medium-12 columns">
<div class="row">
<div class="medium-3 columns">
- <h4>Collaborative</h4>
- <p>Built by the people, and for the people, we believe in making education a truly social process</p>
+ <h3>Collaborative</h3>
+ <br/>
+ <h5>Built by the people, and for the people, we believe in making education a truly social process</h5>
</div>
<div class="medium-3 columns">
- <h4>Open</h4>
- <p>The project is built on the philosophies of keeping knowledge free and open to everyone</p>
+ <h3>Open</h3>
+ <br/>
+ <h5>The project is built on the philosophies of keeping knowledge free and open to everyone</h5>
</div>
<div class="medium-3 columns">
- <h4>Accessible</h4>
- <p>With official partnerships with national educational organisations and institutes, NROER offers unparalleled reach to humanity</p>
+ <h3>Accessible</h3>
+ <br/>
+ <h5>With official partnerships with national educational organisations and institutes, NROER offers unparalleled reach to humanity</h5>
</div>
<div class="medium-3 columns">
- <h4>Semantic</h4>
- <p>Developed using the latest in open semantic standards, educational resources can finally become machine readable</p>
+ <h3>Semantic</h3>
+ <br/>
+ <h5>Developed using the latest in open semantic standards, educational resources can finally become machine readable</h5>
</div>
</div>
</div>
@@ -84,7 +93,7 @@
</div>
</div>
<!-- end of banner -->
-
+<!--
<div class="meta row">
<div class="medium-4 columns">
<a href="{{ site.PARTNERS }}" class="main large ui button">
@@ -110,13 +119,13 @@
</a>
</div>
</div>
+-->
</section>
-
+<!--
<section class="content small-12 columns">
<div class="row">
<div class="medium-12 columns">
<h2>Development Partners</h2>
- <!-- <ul class="partner small-block-grid-6"> -->
<ul class="partner small-block-grid-6">
<li>
<a>
@@ -251,7 +260,8 @@
</ul>
</div>
</div>
- </section>
+ </section>
+-->
</article>
<script>
@@ -267,6 +277,14 @@
// $("#partner-list li").clone().appendTo("#partner-list");
// }
+ // redundantly kept to improve the speed of forming slideshow.
+ // Along with that to ensure this script found it's elements. Hence forth kept in .ready() too.
+ $("#group-banner").slick({
+ dots: true,
+ autoplaySpeed: 7000,
+ autoplay: true
+ });
+
$(document).ready(function(){
try{
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/node_ajax_view.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/node_ajax_view.html
index 6e90934..715c4e3 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/node_ajax_view.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/node_ajax_view.html
@@ -295,7 +295,15 @@ table {
{% if breadcrumbs_list %}
<ul class="breadcrumbs">
{% for e in breadcrumbs_list %}
- <li><b><a class="current" id="{{e.0}}" style="color:black;">{{e.1}}</a></b></li>
+
+ <li><b>
+ {% if node.pk != e.0 %}
+ <a class="current" id="{{e.0}}" style="color:black;">{{e.1}}</a>
+ {% else %}
+ {{e.1}}
+ {% endif %}
+ </b></li>
+
{% endfor %}
</ul>
{% endif %}
@@ -343,15 +351,26 @@ table {
{% endfor %}
</ul>
</li>
- {% elif k == "textcomplexity" %}
+ {% elif k == "educationaluse" %}
<li>
- <a> {% trans "Text Complexity" %} &raquo;</a>
+ <a> {% trans "Educational Use" %} &raquo;</a>
<ul>
{% for opts in v %}
<li class="view_list edu-sub-li view-filters" id="{{k}}" title="{{opts}}"><a>{% trans opts %}</a></li>
{% endfor %}
</ul>
</li>
+ <!-- Commented bellow filters for time being will be using this filter at different place "So dont remove this code" -->
+ {% comment %}
+ <!-- {% elif k == "textcomplexity" %}
+ <li>
+ <a> {% trans "Text Complexity" %} &raquo;</a>
+ <ul>
+ {% for opts in v %}
+ <li class="view_list edu-sub-li view-filters" id="{{k}}" title="{{opts}}"><a>{% trans opts %}</a></li>
+ {% endfor %}
+ </ul>
+ </li>
{% elif k == "educationalalignment" %}
<li>
<a> {% trans "Educational Alignment" %} &raquo;</a>
@@ -360,7 +379,8 @@ table {
<li class="view_list edu-sub-li view-filters" id="{{k}}" title="{{opts}}"><a>{% trans opts %}</a></li>
{% endfor %}
</ul>
- </li>
+ </li> -->
+ {% endcomment %}
{% elif k == "language" %}
<li>
<a> {% trans "Language" %} &raquo;</a>
@@ -388,15 +408,6 @@ table {
{% endfor %}
</ul>
</li>
- {% elif k == "curricular" %}
- <li>
- <a> {% trans "Curricular" %} &raquo;</a>
- <ul>
- {% for opts in v %}
- <li class="view_list edu-sub-li view-filters" id="{{k}}" title="{{opts}}"><a>{% trans opts %}</a></li>
- {% endfor %}
- </ul>
- </li>
{% endif %}
{% endfor %}
@@ -517,13 +528,13 @@ table {
{% get_teaches_list node as teaches_list %}
{% if teaches_list %}
<div class="panel">
- <h6>This resource teaches you: </h6>
+ <h6>Resource for: </h6>
{% for each_node in teaches_list %}
{% get_grid_fs_object each_node as grid_fs_obj %}
{% if each_node.mime_type %}
- <a href="{% url 'read_file' group_name_tag each_node.pk grid_fs_obj.filename %}">{{ each_node.name }}</a>,&nbsp;
+ <a href="{% url 'read_file' group_name_tag each_node.pk grid_fs_obj.filename %}{% if nav_list %}?nav_li={{nav_list}}{% endif %}">{{ each_node.name }}</a>,&nbsp;
{% else %}
- <a href="{% url 'topic_details' group_name_tag each_node.pk %}">{{ each_node.name }}</a>
+ <a href="{% url 'topic_details' group_name_tag each_node.pk %}{% if nav_list %}?nav_li={{nav_list}}{% endif %}">{{ each_node.name }}</a>
{% if not forloop.last %},&nbsp; {% endif %}
{% endif %}
{% endfor %}
@@ -745,12 +756,9 @@ table {
</div>
<br/>
<div>
- {% if node.prior_node|length > 0 %}
-
- {% for index_key, each_node in node.prior_node_dict.items %}
{% get_grid_fs_object each_node as grid_fs_obj %}
- {% if "Group" in node.member_of_names_list %}
- {% get_object_value node as objvalue %}
+ {% if "Group" in node.member_of_names_list %}
+ {% get_object_value node as objvalue %}
<table style="width:60%; border-width:0px;" >
<tbody>
{% for key, value in objvalue.items %}
@@ -767,8 +775,6 @@ table {
<tbody>
</table>
{% endif%}
- {% endfor %}
- {% endif %}
</div>
<!-- </div> -->
@@ -778,80 +784,89 @@ table {
<!-- <div class="content" id="view-graph"> </div> -->
<div class="topic_content" id="contents">
- {% get_all_resources request node.pk as resources %}
- {% for key, val in resources.items %}
- <fieldset id="{{key}}">
- <legend>{{key}}</legend>
- {% if key == "Images" %}
- {% for k,v in val.items %}
- {% if k == "fallback_lang" %}
- {% for each in v %}
- <a href ="{% url 'image_detail' group_name_tag each.pk %}" style="display: inline-block">
- <img src="{% url 'getFileThumbnail' group_name_tag each.pk %}" />
- <br/><div>{{each.name}}</div>
- </a>&nbsp;&nbsp;&nbsp;&nbsp;
- {% endfor %}
- {% elif k == "other_languages" %}
- {% if v %}
- <fieldset id="{{k}}">
- <legend>{% trans "In other languages" %}</legend>
- {% for each in v %}
- <a href ="{% url 'image_detail' group_name_tag each.pk %}" style="display: inline-block">
- <img src="{% url 'getFileThumbnail' group_name_tag each.pk %}" />
- <br/><div>{{each.name}}</div>
- </a>&nbsp;&nbsp;&nbsp;&nbsp;
- {% endfor %}
- </fieldset>
- {% endif %}
- {% endif %}
- {% endfor %}
- {% elif key == "Videos" %}
- {% for k,v in val.items %}
- {% if k == "fallback_lang" %}
- {% for each in v %}
- <a href ="{% url 'video_detail' group_name_tag each.pk %}" style="display: inline-block">
- <img src="{% url 'getFileThumbnail' group_name_tag each.pk %}" />
- <br/><div>{{each.name}}</div>
- </a>&nbsp;&nbsp;&nbsp;&nbsp;
- {% endfor %}
- {% elif k == "other_languages" %}
- {% if v %}
- <fieldset id="{{k}}">
- <legend>{% trans "In other languages" %}</legend>
- {% for each in v %}
- <a href ="{% url 'video_detail' group_name_tag each.pk %}" style="display: inline-block">
- <img src="{% url 'getFileThumbnail' group_name_tag each.pk %}" />
- <br/><div>{{each.name}}</div>
- </a>&nbsp;&nbsp;&nbsp;&nbsp;
- {% endfor %}
- </fieldset>
- {% endif %}
- {% endif %}
- {% endfor %}
- {% else %}
- {% for k,v in val.items %}
- {% if k == "fallback_lang" %}
- {% for each in v %}
- <a href ="{% url 'file_detail' group_name_tag each.pk %}"> {{each.name}} </a>&nbsp;&nbsp;&nbsp;
- {% endfor %}
- {% elif k == "other_languages" %}
- {% if v %}
- <fieldset id="{{k}}">
- <legend>{% trans "In other languages" %}</legend>
- {% for each in v %}
- <a href ="{% url 'file_detail' group_name_tag each.pk %}"> {{each.name}} </a>&nbsp;&nbsp;&nbsp;
- {% endfor %}
- {% endif %}
- {% endif %}
- {% endfor %}
- </fieldset>
- {% endif %}
- </fieldset>
- {% endfor %}
- </div>
- {% endif %}
- <!-- End of displaying topic page contents -->
+ {{node.content_org}}
+
+ {% get_all_resources request node.pk as resources %}
+ {% for key, val in resources.items %}
+ <fieldset id="{{key}}">
+ <legend>{{key}}</legend>
+ {% if key == "Images" %}
+ {% for k,v in val.items %}
+ {% if k == "fallback_lang" %}
+ {% for each in v %}
+
+ <a href ="{% url 'image_detail' group_name_tag each.pk %}?nav_li={{nav_list}}" style="display: inline-block">
+ <img src="{% url 'getFileThumbnail' group_name_tag each.pk %}" />
+ <br/><div>{{each.name}}</div>
+ </a>&nbsp;&nbsp;&nbsp;&nbsp;
+ {% endfor %}
+ {% elif k == "other_languages" %}
+ {% if v %}
+ <fieldset id="{{k}}">
+ <legend>{% trans "In other languages" %}</legend>
+ {% for each in v %}
+ <a href ="{% url 'image_detail' group_name_tag each.pk %}?nav_li={{nav_list}}" style="display: inline-block">
+ <img src="{% url 'getFileThumbnail' group_name_tag each.pk %}" />
+ <br/><div>{{each.name}}</div>
+ </a>&nbsp;&nbsp;&nbsp;&nbsp;
+ {% endfor %}
+ </fieldset>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+
+ {% elif key == "Videos" %}
+ {% for k,v in val.items %}
+ {% if k == "fallback_lang" %}
+ {% for each in v %}
+ <a href ="{% url 'video_detail' group_name_tag each.pk %}?nav_li={{nav_list}}" style="display: inline-block">
+ <img src="{% url 'getFileThumbnail' group_name_tag each.pk %}" />
+ <br/><div>{{each.name}}</div>
+ </a>&nbsp;&nbsp;&nbsp;&nbsp;
+ {% endfor %}
+ {% elif k == "other_languages" %}
+ {% if v %}
+ <fieldset id="{{k}}">
+ <legend>{% trans "In other languages" %}</legend>
+ {% for each in v %}
+ <a href ="{% url 'video_detail' group_name_tag each.pk %}?nav_li={{nav_list}}" style="display: inline-block">
+ <img src="{% url 'getFileThumbnail' group_name_tag each.pk %}" />
+ <br/><div>{{each.name}}</div>
+ </a>&nbsp;&nbsp;&nbsp;&nbsp;
+ {% endfor %}
+ </fieldset>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+
+ {% else %}
+ {% for k,v in val.items %}
+ {% if k == "fallback_lang" %}
+ {% for each in v %}
+ <a href ="{% url 'file_detail' group_name_tag each.pk %}?nav_li={{nav_list}}"> {{each.name}} </a>&nbsp;
+ &nbsp;&nbsp;
+ {% endfor %}
+ {% elif k == "other_languages" %}
+ {% if v %}
+ <fieldset id="{{k}}">
+ <legend>{% trans "In other languages" %}</legend>
+ {% for each in v %}
+ <a href ="{% url 'file_detail' group_name_tag each.pk %}?nav_li={{nav_list}}"> {{each.name}} </a>&nbsp;
+ &nbsp;&nbsp;
+ {% endfor %}
+ </fieldset>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+
+ {% endif %}
+
+ </fieldset>
+ {% endfor %}
</div>
+ <!-- End of displaying topic page contents -->
+ {% endif %}
+
{% if "Topic" in node.member_of_names_list or "Concept" in node.member_of_names_list %}
<!-- Below code/widgets will only be shown for all resource instances/documents
@@ -902,7 +917,7 @@ table {
<dd class="accordion-navigation">
<a href="#panel1a" style="font-color:blue">Overview</a>
<div id="panel1a" class="content active">
- <table id="panel1a" align ="center" style="width:80%; border-width:0px; height: 200px;">
+ <table id="panel1a" align ="center" style="width:80%; border-width:0px; height: 200px; display: block;overflow-y: scroll;">
<tbody>
{% get_json node.pk as jsonobj %}
@@ -945,7 +960,7 @@ table {
{% if key == "collection_set" %}
{% if "None" not in value %}
- <table align ="center" style="width:80%; border-width:0px; height: 200px;" >
+ <table align ="center" style="width:80%; border-width:0px; height: 200px; display: block;overflow-y: scroll;" >
<tbody>
<tr>
{% for each in value %}
@@ -973,7 +988,7 @@ table {
{% for key, value in obj.items %}
{% if key == "attribute_set" %}
{% if "None" not in value %}
- <table align ="center" style="width:80%; border-width:0px; height: 200px;" >
+ <table align ="center" style="width:80%; border-width:0px; height: 200px;display: block;overflow-y: scroll;" >
<tbody>
<tr>
{% for k, v in value.items %}
@@ -991,9 +1006,6 @@ table {
No Attributes associted with {{node.name}} resource.
{% endif %}
{% endfor %}
-
-
-
</div>
</dd>
<dd class="accordion-navigation">
@@ -1261,6 +1273,7 @@ table {
<li><a href="#view-dependency-graph" data-reveal-id="view-dependency-graph">{% trans "Dependency Graph" %}</a></li>
{% endif %}
</ul>
+
{% endif %}
<!--
@@ -1283,21 +1296,27 @@ table {
<span class="label">{% trans "No tags defined" %}</span>
{% endif %}
- </div><hr/>
+ </div>
- <div>
- {% include "ndf/rating.html" %}
- </div><br/>
+ {% if "File" in node.member_of_names_list or "Page" in node.member_of_names_list %}
+ <div>
+ {% include "ndf/rating.html" %}
+ </div><br/>
+ {% endif %}
<div>
<ul class="side-nav">
- <li><b>{% trans "In other languages" %}</b></li>
+ <!-- Bellow part is commented because we are already listing other language resources in topic page -->
+ <!-- For time being commented this part to avoid confusion -->
+ {% comment %}
+ <!-- <li><b>{% trans "In other languages" %}</b></li>
{% get_possible_translations node as tran %}
{% for each in tran %}
{% for k,v in each.items %}
<li><a href="{% url 'page_details' groupid k %}">{{v}}</a></li>
{% endfor %}
- {% endfor %}
+ {% endfor %} -->
+ {% endcomment %}
<!-- This button translates given resource -->
{% if user.is_authenticated %}
@@ -1541,6 +1560,7 @@ table {
if (data != "{}"){
var k = Object.keys(data_obj); // To get the keys from incomming data
if (selected){
+
fs = "<b><i><u>Resources with "+ selected + ": " + choice +" </u></i></b><br/>" // Fieldset for one element
}
else{
@@ -1557,13 +1577,13 @@ table {
for (var i = 0; i < len; i++) {
var res_id = data_obj[key][i][1]
if (key == "Images"){
- cont_list += "<a data-id="+res_id+" href='{% url 'image_detail' group_name_tag 'replace_with_id' %}' style='display: inline-block'><img data-id="+res_id+" src='' data-src='{% url 'getFileThumbnail' group_name_tag 'replace_with_id' %}' /> <br/><div>"+data_obj[key][i][0]+"</div></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
+ cont_list += "<a data-id="+res_id+" href='{% url 'image_detail' group_name_tag 'replace_with_id' %}?nav_li={{nav_list}}' style='display: inline-block'><img data-id="+res_id+" src='' data-src='{% url 'getFileThumbnail' group_name_tag 'replace_with_id' %}' /> <br/><div>"+data_obj[key][i][0]+"</div></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}
else if(key == "Videos"){
- cont_list += "<a data-id="+res_id+" href='{% url 'video_detail' group_name_tag 'replace_with_id' %}' style='display: inline-block'><img data-id="+res_id+" src='' data-src='{% url 'getFileThumbnail' group_name_tag 'replace_with_id' %}' /> <br/><div>"+data_obj[key][i][0]+"</div></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
+ cont_list += "<a data-id="+res_id+" href='{% url 'video_detail' group_name_tag 'replace_with_id' %}?nav_li={{nav_list}}' style='display: inline-block'><img data-id="+res_id+" src='' data-src='{% url 'getFileThumbnail' group_name_tag 'replace_with_id' %}' /> <br/><div>"+data_obj[key][i][0]+"</div></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}
else{
- cont_list += "<a data-id="+res_id+" href='{% url 'file_detail' group_name_tag 'replace_with_id' %}' style='display: inline-block'>"+data_obj[key][i][0]+"</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
+ cont_list += "<a data-id="+res_id+" href='{% url 'file_detail' group_name_tag 'replace_with_id' %}?nav_li={{nav_list}}' style='display: inline-block'>"+data_obj[key][i][0]+"</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}
}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/partner.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/partner.html
new file mode 100644
index 0000000..8f8fe80
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/partner.html
@@ -0,0 +1,134 @@
+{% extends "ndf/base.html" %}
+{% load i18n %}
+{% load ndf_tags %}
+{% load pagination_tags %}
+{% get_group_name groupid as group_name_tag %}
+
+{% block title %} Partner {% endblock %}
+
+{% block meta_content %}
+<h2 class="subheader">{% trans groups_category %}</h2>
+{% endblock %}
+
+
+{% block help_content %}
+
+{% endblock %}
+
+
+{% block search_content %}
+ {% include "ndf/node_search_base.html" %}
+{% endblock %}
+
+
+{% block related_content %}
+ {% if user.is_authenticated %}
+ {% user_access_policy groupid request.user as user_access %}
+ {% if user_access == "allow" %}
+ <br/>
+ <div class="create card">
+ <div class="group">
+ <br/>
+ <a class="button medium" href="{% url 'create_partner' group_name_tag %}">
+ <span class="fi-plus">&nbsp;&nbsp;{% trans "New Partner" %}</span>
+ </a>
+ </div>
+ </div>
+ {% endif %}
+ {% endif %}
+{% endblock %}
+
+
+{% block body_content %}
+{% get_group_name groupid as group_name_tag %}
+<header class="row">
+ <dl class="tabs" data-tab data-options="deep_linking:true">
+ <dd class="active"><a href="#panel2-1"><i class="fi-eye"></i> All {{ groups_category }} {% if group_nodes_count %}({{ group_nodes_count }}){% endif %}</a></dd>
+ <!--<dd><a href="#panel2-3"><i class="fi-trophy"></i> Popular Groups</a></dd>-->
+ </dl>
+</header>
+
+<div class="content row">
+
+{% if searching and group_nodes_count > 0 %}
+
+ <div class="small-12 columns end">
+ <p>{% trans "Search Results:" %} <span class="label success round">Found {{group_nodes_count}} {{title|lower}}{{group_nodes_count|pluralize}}.</span></p>
+ </div>
+
+{% elif searching and group_nodes_count == 0 %}
+ <div class="small-12 columns">
+ <p>{% trans "Search Results:" %} <span class="label alert">No {{title|lower}}{{group_nodes_count|pluralize}} matched your search criteria!!!</span></p>
+ </div>
+
+{% endif %}
+
+<ul class="small-block-grid-1 medium-block-grid-2 large-block-grid-4">
+
+ <!-- Existing card list-->
+ {% get_group_type request.path request.user as group_type %}
+ {% group_type_info groupid request.user as grouptype %}
+
+ {% autopaginate group_nodes 23 %}
+
+ {% for node in group_nodes %}
+ {% if node.name != request.user.username %}
+
+ <li class="card">
+ {% if grouptype == "Moderated" %}
+ {% if node.status == "DRAFT" %}
+ <div class="draft group">
+ {% elif node.status == "PUBLISHED" %}
+ <div class="published group">
+ {% endif %}
+ {% else %}
+ <div class='{% if node.status == "PUBLISHED" %}published{% endif %} group'>
+ {% endif %}
+
+ <a href="{% url 'partnerlist' node.pk %}">
+ <div class="row">
+ <div class="small-10 columns">
+ <b>
+ {{ node.name }}{% if node.collection_set %} <i class="fi-page-multiple"></i> {% endif %}
+ </b>
+ </div>
+ </div>
+
+ <span style="font-size:12px;">{{ node.html_content|default_if_none:"Add some description."|safe|striptags|truncatechars:75 }}</span><br/>
+
+ <footer>
+ <div class="age">
+ {{ node.agency_type}} created {{node.created_at|timesince}} ago by <span class="user" href="{% url 'dashboard' node.created_by %}" data-gnow="">{{node.user_details_dict.created_by}}</span>
+ </div>
+ <span><strong>{{node.author_set|length}}</strong> Members</span>
+ {% get_group_resources node as obj_count %}
+ <span class="right"><strong>{{obj_count}}</strong> Objects</span>
+ </footer>
+ </a>
+
+ <div class="label-list small-12 columns">
+ {% for tag in node.tags|slice:":3" %}
+ <a href="{% url 'tag_info' groupid tag %}"><span class="label" style="background-color:yellow;">{{tag}}</span></a>
+ {% endfor %}
+ </div>
+
+ </div>
+ </li>
+ {% endif %}
+
+ {% empty %}
+ {% if not searching %}
+ <div class="row">
+ <div class="small-12 columns">
+ {% blocktrans %} <h5>There are no partners created yet. <b>Be the first to create a {{ groups_category }}!</b></h5> {% endblocktrans %}
+ </div>
+ </div>
+ {% endif %}
+
+ {% endfor %}
+
+</ul>
+
+{% paginate %}
+
+{% endblock %}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/partner_list.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/partner_list.html
new file mode 100644
index 0000000..091f423
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/partner_list.html
@@ -0,0 +1,111 @@
+{% extends "ndf/base.html" %}
+{% load i18n %}
+{% load ndf_tags %}
+{% load pagination_tags %}
+{% get_group_name groupid as group_name_tag %}
+
+{% block title %} Partner {% endblock %}
+
+{% block meta_content %}
+<h2 class="subheader">{% trans "Partners" %}</h2>
+{% endblock %}
+
+
+{% block help_content %}
+
+{% endblock %}
+
+
+{% block search_content %}
+ {% include "ndf/node_search_base.html" %}
+{% endblock %}
+
+
+{% block related_content %}
+ {% if user.is_authenticated %}
+ {% user_access_policy groupid request.user as user_access %}
+ {% if user_access == "allow" %}
+ <br/>
+ <div class="create card">
+ <div class="group">
+ <br/>
+ <a class="button medium" href="{% url 'create_partner' group_name_tag %}">
+ <span class="fi-plus">&nbsp;&nbsp;{% trans "New Partner" %}</span>
+ </a>
+ </div>
+ </div>
+ {% endif %}
+ {% endif %}
+{% endblock %}
+
+
+{% block body_content %}
+<ul class="small-block-grid-1 medium-block-grid-2 large-block-grid-4">
+
+ <!-- Existing card list-->
+ {% get_group_type request.path request.user as group_type %}
+ {% group_type_info groupid request.user as grouptype %}
+
+ {% autopaginate group_nodes 23 %}
+
+ {% for node in group_nodes %}
+ {% if node.name != request.user.username %}
+
+ <li class="card">
+ {% if grouptype == "Moderated" %}
+ {% if node.status == "DRAFT" %}
+ <div class="draft group">
+ {% elif node.status == "PUBLISHED" %}
+ <div class="published group">
+ {% endif %}
+ {% else %}
+ <div class='{% if node.status == "PUBLISHED" %}published{% endif %} group'>
+ {% endif %}
+
+ <a href="{% url 'groupchange' node.pk %}">
+ <div class="row">
+ <div class="small-10 columns">
+ <b>
+ {{ node.name }}{% if node.collection_set %} <i class="fi-page-multiple"></i> {% endif %}
+ </b>
+ </div>
+ </div>
+
+ <span style="font-size:12px;">{{ node.html_content|default_if_none:"Add some description."|safe|striptags|truncatechars:75 }}</span><br/>
+
+ <footer>
+ <div class="age">
+ {{ node.agency_type}} created {{node.created_at|timesince}} ago by <span class="user" href="" data-gnow="">{{node.user_details_dict.created_by}}</span>
+ </div>
+ <span><strong>{{node.author_set|length}}</strong> Members</span>
+ {% get_group_resources node as obj_count %}
+ <span class="right"><strong>{{obj_count}}</strong> Objects</span>
+ </footer>
+ </a>
+
+ <div class="label-list small-12 columns">
+ {% for tag in node.tags|slice:":3" %}
+ <a href="{% url 'tag_info' groupid tag %}"><span class="label" style="background-color:yellow;">{{tag}}</span></a>
+ {% endfor %}
+ </div>
+
+ </div>
+ </li>
+ {% endif %}
+
+ {% empty %}
+ {% if not searching %}
+ <div class="row">
+ <div class="small-12 columns">
+ {% blocktrans %} <h5>There are no partners created yet. <b>Be the first to create a Partner!</b></h5> {% endblocktrans %}
+ </div>
+ </div>
+ {% endif %}
+
+ {% endfor %}
+
+</ul>
+
+{% paginate %}
+
+{% endblock %}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/repository.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/repository.html
new file mode 100644
index 0000000..b15c853
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/repository.html
@@ -0,0 +1,81 @@
+{% extends "ndf/base.html" %}
+
+{% load ndf_tags %}
+
+{% block title %} Repository {% endblock %}
+
+{% block style %}
+
+ .card-holder{
+ padding-left: 5%;
+ }
+
+ .app-card{
+ width: 12rem;
+ min-height: 20rem;
+ margin: 20px 1rem;
+ background-color: #efefef;
+ border: thin solid lightgray;
+ float: left;
+ padding: 1em;
+ }
+
+ .app-card:hover{
+ box-shadow: 0px 0px 15px gray;
+ border: thin solid lightgray;
+ border-radius: 5px;
+ transition: ease 0.6s;
+ }
+
+ .icons{
+ position: absolute;
+ font-size: 7em;
+ z-index: 0;
+ opacity: 0.1;
+ padding-top: 5rem;
+ }
+
+{% endblock %}
+
+{% block body_content %}
+
+ {% comment %}
+ <!--
+ <ul class="inline-list">
+ {% for each_gapp in gapps_dict %}
+ <li>
+ <a class="app-card text-center"
+ {% if each_gapp.values.0 %} href="{% url each_gapp.values.0 group_id %}" {% endif %} >
+ <i class="icons fi-asterisk"></i>
+ <h4><small>{{ each_gapp.keys.0 }}</small></h4>
+ <hr/>
+ </a>
+ </li>
+ {% endfor %}
+ </ul>
+ -->
+ {% endcomment %}
+
+ <ul class="inline-list card-holder">
+ {% for each_gapp in gapps_obj_list %}
+ <li>
+ <a class="app-card text-center" href="{% url each_gapp.name|lower group_id %}">
+ <h4><small>{{ each_gapp.altnames }}</small></h4>
+ <hr/>
+ <i class="icons {{ each_gapp.url }}"></i>
+ <p>{{ each_gapp.content|safe }}</p>
+ </a>
+ </li>
+ {% endfor %}
+ </ul>
+
+ <script type="text/javascript">
+ // removing left panel:
+ $("main.row > aside.columns").detach();
+
+ // making body_content block to take 12-large columns
+ $article = $("main.row > article.columns");
+ $article.removeClass("medium-10").addClass("large-12");
+ </script>
+
+{% endblock %} \ No newline at end of file
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html
index 772d1d4..eae3cc0 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html
@@ -34,6 +34,7 @@
TreeTillNode();
{% endif %}
+
});
@@ -43,7 +44,7 @@
var tree_build = $(".themes").not(".jqtree-loading");
var node = tree_build.tree('getNodeById', url);
- tree_build.tree('selectNode', node);
+ tree_build.tree('openNode', node);
// Javascript function to be used for checking objects in specific time of interval
setTimeout(function(){
@@ -87,7 +88,7 @@
{% user_access_policy groupid request.user as user_access %}
{% if user_access == "allow" %}
- '&nbsp;&nbsp;<a id="top" class="topic" href="/{{groupid}}/topics/'+node.id+'/"> </a>'
+ '&nbsp;&nbsp;<a id='+node.id+' class="topic" href="/{{groupid}}/topics/'+node.id+'/"> </a>'
{% endif %}
);
@@ -185,6 +186,19 @@
};
+
+ // method to handle hover on topics
+ function showTopicStats(){
+ // Javascript function to be used for checking objects in specific time of interval
+ setTimeout(function(){
+ $(".jqtree-title.jqtree_common").hover( function(){alert(this.textContent)});
+ // console.log($(".jqtree-element.jqtree_common"))
+ if( ($(".jqtree-title.jqtree_common").length <= 0) ) { showTopicStats() }
+ }, 1000 );
+ }
+
+ // showTopicStats();
+
</script>
<style>
@@ -268,43 +282,37 @@
{% endblock %}
{% block meta_content %}
-{% if user.is_authenticated %}
-{% user_access_policy groupid request.user as user_access %}
+ <a class="Tp" href="{% url 'topics' group_name_tag %}" title="Click to go to themes card view"><h2 class="subheader">{% trans "Themes" %}</h2></a>
+{% endblock %}
-<ul class="no-bullet" id="app-set-item">
+{% block related_content %}
+ {% if user.is_authenticated %}
+ {% user_access_policy groupid request.user as user_access %}
- {% get_memberof_objects_count theme_GST_id groupid as count %}
-
- <li class="selected-app-set-item">
- <div>
- {% if user_access == "allow" %}
- <a href="{% url "theme_topic_create" groupid theme_GST_id %}" style="float:right;color:#0b8a91;" title="Add Theme">
- +&nbsp;Add
- </a>
- {% endif %}
-
- <a href="{% url "theme_list" groupid app_id theme_GST_id %}" style="color:#0b8a91;">
- Theme ({{count}})
- </a>
-
- </div>
- </li>
-
-</ul>
-<hr/>
-<br/>
-
-<ul class="no-bullet">
- <li>
- <div>
- <a href="{% url 'topics' group_name_tag %}"> <input class="small button" type="button" value="Themes" > </a>
- </div>
- </li>
-
- <br/>
-
-</ul>
-{% endif %}
+ <div class="panel" style="background-color:#ddd;">
+ <ul class="no-bullet" id="app-set-item">
+
+ {% get_memberof_objects_count theme_GST_id groupid as count %}
+
+ <li class="selected-app-set-item">
+ <div>
+ {% if user_access == "allow" %}
+ <a href="{% url "theme_topic_create" groupid theme_GST_id %}" style="float:right;color:#0b8a91;" title="Add Theme">
+ +&nbsp;Add
+ </a>
+ {% endif %}
+
+ <a href="{% url "theme_list" groupid app_id theme_GST_id %}" style="color:#0b8a91;">
+ Theme ({{count}})
+ </a>
+
+ </div>
+ </li>
+
+ </ul>
+ </div>
+
+ {% endif %}
{% endblock %}
@@ -396,7 +404,7 @@
<!-- For displaying themes items -->
{% if themes_cards %}
- <h3 class="subheader">Themes</h3><hr/>
+
<div class="content row" id="panel2-4">
<ul class="small-block-grid-1 medium-block-grid-2 large-block-grid-4">
@@ -561,9 +569,15 @@
<script type="text/javascript">
// ------ jqtree tree ------
+ $("document").on("hover", ".jqtree-title.jqtree_common", function(){
+ setTimeout(function(){
+ }, 1000);
+
+ alert($(this).siblings("a").attr("id"));
+ });
$("#add_theme_item").click(function() {
- $.ajax({
+ $.ajax({
type: "POST",
url: "{% url 'add_theme_item' groupid %}",
datatype: "html",
@@ -590,7 +604,7 @@
});
- // script for fold themes hierarchy
+ // script for fold themes_cards hierarchy
$(".fold").click(function() {
$(function() {
location.href = "{% url 'theme_page' group_name_tag app_id %}";
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/trainer_create_edit.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/trainer_create_edit.html
index 0659c12..8ecfe6d 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/trainer_create_edit.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/trainer_create_edit.html
@@ -427,14 +427,9 @@
{% blocktrans with label_val=nussd_course_type.altnames %} {{label_val}} {% endblocktrans %}
</label>
</div>
- <div class="small-6 columns">
+ <div class="small-6 columns end">
{% html_widget groupid "" nussd_course_type %}
</div>
-
- <!-- View button: To populate course details -->
- <div class="small-2 columns end">
- <input type="button" class="button tiny round expand" value="View" id="btnCourseDetails">
- </div>
</div>
</div>
</div>
@@ -642,118 +637,107 @@
tab_id = parent_tab.attr("id");
// Special case for Course tab
if (tab_id == "panel_{{property_order_list.2.0}}") {
- var row_count = $("#tblCourseDetails >tbody >tr").length;
-
- if (row_count < 2) {
- $("#alertModalLabel").text("Add atleast two Courses which you volunteer to teach. To do so please follow below instructions:<br>1. Click on 'View' button, to change Course Type<br>2. Select required Course enrollment details and add it.");
- $("#alertModal").addClass("alert");
- $("#alertModal").foundation('reveal', 'open');
-
- return false;
- }
-
- else {
- event.preventDefault();
+ event.preventDefault();
- // Reset course_requirements (dictionary), only when node exists meaning while editing
- if (node_id != "") {
- if (JSON.stringify(course_requirements) == "{}") {
- course_requirements = node_course_requirements;
- }
+ // Reset course_requirements (dictionary), only when node exists meaning while editing
+ if (node_id != "") {
+ if (JSON.stringify(course_requirements) == "{}") {
+ course_requirements = node_course_requirements;
+ }
- else {
- $.each(course_requirements, function(k, v) {
- if (node_course_requirements.hasOwnProperty(k)) {
- $.each(course_requirements[k], function(index, dict_val) {
- $.each(node_course_requirements[k], function(index, node_dict_val) {
- if (dict_val["text"] == node_dict_val["text"]) {
- dict_val["has_qualification"] = node_dict_val["has_qualification"];
- return false;
- }
- });
+ else {
+ $.each(course_requirements, function(k, v) {
+ if (node_course_requirements.hasOwnProperty(k)) {
+ $.each(course_requirements[k], function(index, dict_val) {
+ $.each(node_course_requirements[k], function(index, node_dict_val) {
+ if (dict_val["text"] == node_dict_val["text"]) {
+ dict_val["has_qualification"] = node_dict_val["has_qualification"];
+ return false;
+ }
});
- }
- });
- }
+ });
+ }
+ });
}
+ }
- // Set Course Requirements
- fieldset = ""
- course_list = []
- $("#tblCourseDetails > tbody > tr").each(function(index) {
- courseSelected = $(this).find(".course").html();
-
- if (course_list.indexOf(courseSelected) < 0) {
- course_list.push(courseSelected);
-
- main_fieldset_legend_name = '{% trans "Course Qualification Specifications" %}'
- main_fieldset_legend = "<legend>" +
- "<label><b>" + main_fieldset_legend_name + "</b></label>" +
- "</legend>"
-
- inner_fieldset_legend_name = '{% trans "' + courseSelected + '" %}'
- inner_fieldset_legend = "<legend>" +
- "<label><b>" + inner_fieldset_legend_name + "</b></label>" +
- "</legend>"
-
- if (course_requirements.hasOwnProperty(courseSelected) && course_requirements[courseSelected] != "None") {
- th1 = "{% trans 'Mandatory' %}"
- th2 = "{% trans 'Qualifications' %}"
- th3 = "{% trans 'Select' %}"
- specification_table_head = "<thead>" +
- "<th class='width-10p text-center'>" + th1 + "</th>" +
- "<th class='width-80p'>" + th2 + "</th>" +
- "<th class='width-10p text-center'>" + th3 + "</th>" +
- "</thead>"
-
- table_rows = ""
-
- $.each(course_requirements[courseSelected], function(index, requirement_dict){
- td1 = "<i class='fi-x medium'></i>";
- if (requirement_dict["mandatory"]) {
- td1 = "<i class='fi-check medium'></i>";
- }
+ // Set Course Requirements
+ fieldset = "";
+ course_list = [];
+ main_fieldset_legend = "";
+ $("#tblCourseDetails > tbody > tr").each(function(index) {
+ courseSelected = $(this).find(".course").html();
+
+ if (course_list.indexOf(courseSelected) < 0) {
+ course_list.push(courseSelected);
+
+ main_fieldset_legend_name = '{% trans "Course Qualification Specifications" %}'
+ main_fieldset_legend = "<legend>" +
+ "<label><b>" + main_fieldset_legend_name + "</b></label>" +
+ "</legend>"
+
+ inner_fieldset_legend_name = '{% trans "' + courseSelected + '" %}'
+ inner_fieldset_legend = "<legend>" +
+ "<label><b>" + inner_fieldset_legend_name + "</b></label>" +
+ "</legend>"
+
+ if (course_requirements.hasOwnProperty(courseSelected) && course_requirements[courseSelected] != "None") {
+ th1 = "{% trans 'Mandatory' %}"
+ th2 = "{% trans 'Qualifications' %}"
+ th3 = "{% trans 'Select' %}"
+ specification_table_head = "<thead>" +
+ "<th class='width-10p text-center'>" + th1 + "</th>" +
+ "<th class='width-80p'>" + th2 + "</th>" +
+ "<th class='width-10p text-center'>" + th3 + "</th>" +
+ "</thead>"
+
+ table_rows = ""
+
+ $.each(course_requirements[courseSelected], function(index, requirement_dict){
+ td1 = "<i class='fi-x medium'></i>";
+ if (requirement_dict["mandatory"]) {
+ td1 = "<i class='fi-check medium'></i>";
+ }
- td2 = requirement_dict["text"];
- td3 = "<input type='checkbox' class='margin-0r requirement' id='has_requirement_'" + (index+1) + " name='has_requirement_'" + (index+1) + ">";
- if (requirement_dict.hasOwnProperty("has_qualification")) {
- if (requirement_dict["has_qualification"]) {
- td3 = "<input type='checkbox' class='margin-0r requirement' id='has_requirement_'" + (index+1) + " name='has_requirement_'" + (index+1) + " checked=''>";
- }
+ td2 = requirement_dict["text"];
+ td3 = "<input type='checkbox' class='margin-0r requirement' id='has_requirement_'" + (index+1) + " name='has_requirement_'" + (index+1) + ">";
+ if (requirement_dict.hasOwnProperty("has_qualification")) {
+ if (requirement_dict["has_qualification"]) {
+ td3 = "<input type='checkbox' class='margin-0r requirement' id='has_requirement_'" + (index+1) + " name='has_requirement_'" + (index+1) + " checked=''>";
}
- table_rows += "<tr>" +
- "<td class='mandatory text-center'>" + td1 + "</td>" +
- "<td class='text'>" + td2 + "</td>" +
- "<td class='other text-center'>" + td3 + "</td>" +
- "</tr>"
- });
-
- specification_table_body = "<tbody>" +
- table_rows +
- "</tbody>"
+ }
+ table_rows += "<tr>" +
+ "<td class='mandatory text-center'>" + td1 + "</td>" +
+ "<td class='text'>" + td2 + "</td>" +
+ "<td class='other text-center'>" + td3 + "</td>" +
+ "</tr>"
+ });
- specification_table = "<table id='tblCourseRequirements'>" +
- specification_table_head +
- specification_table_body +
- "</table>"
- }
+ specification_table_body = "<tbody>" +
+ table_rows +
+ "</tbody>"
- else {
- // Dont show table
- specification_table = "<label class='note'>No qualification specifications are defined for this course !!!</label>"
- }
+ specification_table = "<table id='tblCourseRequirements'>" +
+ specification_table_head +
+ specification_table_body +
+ "</table>"
+ }
- fieldset += "<fieldset id='fs" + (index + 1) + "'>" +
- inner_fieldset_legend +
- specification_table +
- "</fieldset>"
+ else {
+ // Dont show table
+ specification_table = "<label class='note'>No qualification specifications are defined for this course !!!</label>"
}
- });
- $("#fsCourseRequirements").html(main_fieldset_legend + fieldset);
- // Move to next Tab
- $('.active').removeClass('active').next().addClass('active');
- }
+ fieldset += "<fieldset id='fs" + (index + 1) + "'>" +
+ inner_fieldset_legend +
+ specification_table +
+ "</fieldset>"
+ }
+ });
+ $("#fsCourseRequirements").html(main_fieldset_legend + fieldset);
+
+ // Move to next Tab
+ $('.active').removeClass('active').next().addClass('active');
}
else if(parent_tab.find(':input[data-invalid]').length == 0) {
@@ -868,32 +852,41 @@
});
}
+ function is_course_n_college_set(course_college_list, value_as_list) {
+ for (var i = 0; i < course_college_list.length; i++) {
+ if (course_college_list[i][0] === value_as_list[0] && course_college_list[i][1] === value_as_list[1]) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ var prev_nussd_course_type = "";
// If "nussd_course_type" is changed --------------------------------------------------------------
- $("#nussd_course_type").on('change click', function(){
+ $("#nussd_course_type").on('change', function(){
// Empty all dropdowns of "fsCourseDetails" -------------------------------------------------------
empty3Select();
// hide fieldset (fsCourseDetails)
$("#fsCourseDetails").addClass("hide");
- });
- // On click of "btnCourseDetails" -----------------------------------------------------------------
- $("#btnCourseDetails").click(function() {
- // Forcefully blur nussd_course_type, so that it becomes data-invalid if not fill
- $("#nussd_course_type").blur();
-
- // Then check for data-invalid attribute
- // if it doesn't exists, then only proceed to next step
- if($("#nussd_course_type").attr("data-invalid") != "" && !$("#nussd_course_type").attr("data-invalid")) {
+ nussd_course_type = $("#nussd_course_type").val();
+ if(prev_nussd_course_type != nussd_course_type) {
// Check whether any rows in "tblCourseDetails" exists
// If yes, extract "ann_course_id" from those rows
- ann_course_id_list = [];
+ course_n_college_list = [];
$("#tblCourseDetails > tbody > tr").each(function() {
- ann_course_id_list.push($(this).find(".ann_course_id").attr("id"));
+ row = $(this).find(".ann_course_id");
+ row_course_id = row.data("courseId");
+ row_organization_id = row.data("organizationId");
+
+ course_n_college_list.push([row_course_id, row_organization_id])
});
- nussd_course_type = $("#nussd_course_type").val();
+ // Reset prev_nussd_course_type
+ prev_nussd_course_type = nussd_course_type;
success_state = false;
$.ajax({
url: "{% url 'get_course_details_for_trainer' group_id %}",
@@ -920,6 +913,8 @@
if (success_state) {
// Populate course_data (dictionary)
+ course_data = {};
+
$.each(data["course_enrollement_details"], function(k, v_list){
// Add Course
if (!course_data.hasOwnProperty(k)) {
@@ -933,9 +928,9 @@
}
if (!course_data[k][v_dict["university"]].hasOwnProperty(v_dict["college"])) {
- if (ann_course_id_list.indexOf(v_dict["ann_course_id"]) < 0) {
+ if (!is_course_n_college_set(course_n_college_list, [v_dict["ann_course_id"], v_dict["organization_id"]])) {
// Doesn't exists in table-rows, so add it
- course_data[k][v_dict["university"]][v_dict["college"]] = v_dict["ann_course_id"];
+ course_data[k][v_dict["university"]][v_dict["college"]] = [v_dict["ann_course_id"], v_dict["organization_id"]];
}
else {
@@ -1022,7 +1017,9 @@
courseSelected = $("#selCourse").val();
universitySelected = $("#selUniversity").val();
collegeSelected = $("#selCollege").val();
- ann_course_id = course_data[courseSelected][universitySelected][collegeSelected]
+
+ ann_course_id = course_data[courseSelected][universitySelected][collegeSelected][0]
+ organization_id = course_data[courseSelected][universitySelected][collegeSelected][1]
// Remove from course_data, and
// from respective College, University & Course dropdown
@@ -1053,7 +1050,7 @@
"<td class='course'>" + courseSelected + "</td>" +
"<td class='college'>" + collegeSelected + "</td>" +
"<td class='text-center other'>" +
- "<input type='checkbox' class='ann_course_id' style='margin: 0.4rem 0 0 0;' id='"+ ann_course_id +"' name='delete_course'>" +
+ "<input type='checkbox' class='ann_course_id' style='margin: 0.4rem 0 0 0;' id='"+ ann_course_id +"' name='delete_course' data-course-id='"+ ann_course_id +"' data-organization-id='"+ organization_id +"' >" +
"<input type='hidden' class='university' value='" + universitySelected + "' >" +
"</td>" +
"</tr>"
@@ -1121,13 +1118,12 @@
table_row = $(this).closest("tr");
// Fetch Course enrollment details from given row
- // Course, University, College & Announced Course Id
+ // Course, University, College & Course Id
courseSelected = table_row.find(".course").html();
collegeSelected = table_row.find(".college").html();
universitySelected = table_row.find(".university").val();
annCourseIdSelected = table_row.find(".ann_course_id").attr("id");
-
// Add fetched data into course_data
if (course_data.hasOwnProperty(courseSelected)) {
if (course_data[courseSelected].hasOwnProperty(universitySelected)) {
@@ -1190,14 +1186,21 @@
});
// On click of "btnSaveTrainer" -------------------------------------------------------------------
- $(document).on("click", "#btnSaveTrainer", function() {
- // Store Announced Courses
- ann_course_id_list = []
+ $(document).on("click", "#btnSaveTrainer", function(event) {
+ // Store Course(s) & Organization (College for Voulntary Teacher / University for Master Trainer)
+ // This list holds list(s) where each list has course and organization Ids
+ course_n_organization_id = [];
+
$("#tblCourseDetails > tbody > tr").each(function() {
- ann_course_id_list.push($(this).find(".ann_course_id").attr("id"));
+ row = $(this).find(".ann_course_id");
+
+ row_course_id = row.data("courseId");
+ row_organization_id = row.data("organizationId");
+
+ course_n_organization_id.push([row_course_id, row_organization_id]);
});
- $("input[name='{{property_order_list.2.1.0.name}}']").val(JSON.stringify(ann_course_id_list));
+ $("input[name='{{property_order_list.2.1.0.name}}']").val(JSON.stringify(course_n_organization_id));
// Store trainer's Course specification
course_requirements_list = [];
@@ -1233,18 +1236,18 @@
$("#selCollege").removeAttr("required");
// Store concatenated value of first, middle & last name field's values into name field (hidden input field)
- name = ""
- first_name = $("#first_name").val().trim()
- middle_name = $("#middle_name").val().trim()
- last_name = $("#last_name").val().trim()
+ name = "";
+ first_name = $("#first_name").val().trim();
+ middle_name = $("#middle_name").val().trim();
+ last_name = $("#last_name").val().trim();
- name = first_name
+ name = first_name;
if (middle_name != "") {
- name = first_name + " " + middle_name
+ name = first_name + " " + middle_name;
}
if (last_name != "") {
- name = name + " " + last_name
+ name = name + " " + last_name;
}
$("#name").val(name);
@@ -1308,15 +1311,15 @@
// Signature Upload File Size Limit ---------------------------------------------------------------
$("#uploadBtn_signature").change(function() {
- var max_size = 40
- var fsize=this.files[0].size
- fsize=fsize/1024
- if(fsize<=max_size){
+ var max_size = 40;
+ var fsize = this.files[0].size;
+ fsize = fsize/1024;
+ if(fsize <= max_size) {
$('#uploadFile_signature').val(this.value);
- }
+ }
else {
alert("Sorry. Max File Size Limit Exceeded");
- $(this).val("")
+ $(this).val("");
$('#uploadFile_signature').val(this.value);
}
});
@@ -1367,19 +1370,19 @@
// Fill "tblCourseDetails", if editing node & values already exist for ann_course_id --------------
{% if title == "Voluntary Teacher" %}
- {% for each in node.trainer_of_course %}
- course_details = "{{each.name}}"
- course_details = course_details.split(" -- ");
+ {% for each_course_college in node.trainer_teaches_course_in_college %}
+ // Returns another list holding elements in following order
+ // course-type, course-name, college-name, course-id, college-id
// Add a row with values (taken from node's attribute) into table
var table_row = "<tr>" +
"<td class='counter'>{{forloop.counter}}.</td>" +
- "<td class='courseType'>" + course_details[1] + "</td>" +
- "<td class='course'>" + course_details[0] + "</td>" +
- "<td class='college'>" + course_details[2] + "</td>" +
+ "<td class='courseType'>{{each_course_college.0}}</td>" +
+ "<td class='course'>{{each_course_college.1}}</td>" +
+ "<td class='college'>{{each_course_college.2}}</td>" +
"<td class='text-center other'>" +
- "<input type='checkbox' class='ann_course_id' style='margin: 0.4rem 0 0 0;' id='{{each.pk}}' name='delete_course'>" +
- "<input type='hidden' class='university' value='' >" +
+ "<input type='checkbox' class='ann_course_id' style='margin: 0.4rem 0 0 0;' id='{{each_course_college.3}}' name='delete_course' data-course-id='{{each_course_college.3}}' data-organization-id='{{each_course_college.4}}' >" +
+ "<input type='hidden' class='university' value='{{each_course_college.5}}' >" +
"</td>" +
"</tr>"
$("#tblCourseDetails > tbody:last").append(table_row);
@@ -1467,5 +1470,4 @@
{% endfor %}
{% endif %}
-
{% endblock %}
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/uDashboard.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/uDashboard.html
index f98baec..9642155 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/uDashboard.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/uDashboard.html
@@ -28,7 +28,7 @@
.style2 {
color: #10c1cb;
font-size: 10em;
- text-shadow: 0 1px 0 #0092b3, 0 2px 0 #0087a6, 0 3px 0 #008099, 0 4px 0 #00758c, 0 5px 0 #555, 0 6px 0 #006a80, 0 0 0 #006073, 0 8px 7px #005566;
+ text-shadow: 0 1px 0 #0092b3, 0 2px 0 #0087a6;
}
.style-text {
@@ -68,43 +68,46 @@
<div class="row">
<div class="small-2 columns">
<div class="text-center">
- {% if user.is_authenticated %}
- {% if prof_pic_obj %}
- <div class="div-height">
- <img src="{% url 'getFileThumbnail' group_id prof_pic_obj.pk %}" class="img-height"/>
- </div>
- {% else %}
- <div class="div-height">
- <i class="fi-torso style2 text-center"></i>
- </div>
- {% endif %}
-
- {% if user_id == usr %}
- <div class="row">
- <div class="small-12 columns">
- <input type="button" class="button tiny round expand margin-p5" id="btnUploadProfilePic" style="font-size:15px;" value="{% if prof_pic_obj %}Change{% else %}Upload{% endif %}">
- </div>
- </div>
- {% endif %}
-
- <div id="pic_div" class="hide" class="row">
- <form class="dropzone" id ="docPost" enctype="multipart/form-data" method="post" action="{% url 'dashboard' usr %}">
- {% csrf_token %}
- <input type="file" name="has_profile_pic" id="docFile" accept="image/*" class="hide" />
- <input type="text" id="txtSelectedFiles" readonly="" class="small-12 columns margin-p5">
- <input type="submit" id="submitpostid" value="Save" style="font-size:15px;" class="small-6 small-centered columns button tiny margin-p5" />
- <input type="hidden" name="type" value="profile_pic">
- <input type="hidden" name="user" value="{{usr}}">
- <p id="message" style="display:none">
- {% trans "Please wait for uploading profile picture" %}
- </p>
-
- </form>
- </div>
-
- {% else %}
- <p><em>{% trans "You are Not Authorised user please login to upload profile picture" %} </em></p>
- {% endif %}
+ {% if prof_pic_obj %}
+ <div class="div-height">
+ <img src="{% url 'getFileThumbnail' group_id prof_pic_obj.pk %}" class="img-height"/>
+ </div>
+ {% else %}
+ <div class="div-height">
+ <i class="fi-torso style2 text-center"></i>
+ </div>
+
+ {% endif %}
+ {% if user.is_authenticated %}
+ {% if user_id == usr %}
+ <div style="height:10px;">
+ <!-- div to seprate height -->
+ </div>
+
+ <div class="row" >
+ <div class="small-12 columns" >
+ <br>
+ <input type="button" class="button tiny round expand margin-p5" id="btnUploadProfilePic" style="font-size:15px; " value="{% if prof_pic_obj %}Change{% else %}Upload{% endif %}">
+ </div>
+ </div>
+ {% endif %}
+
+ <div id="pic_div" class="hide" class="row">
+ <form class="dropzone" id ="docPost" enctype="multipart/form-data" method="post" action="{% url 'dashboard' usr %}">
+ {% csrf_token %}
+ <input type="file" name="has_profile_pic" id="docFile" accept="image/*" class="hide" />
+ <input type="text" id="txtSelectedFiles" readonly="" class="small-12 columns margin-p5">
+ <input type="submit" id="submitpostid" value="Save" style="font-size:15px;" class="small-6 small-centered columns button tiny margin-p5" />
+ <input type="hidden" name="type" value="profile_pic">
+ <input type="hidden" name="user" value="{{usr}}">
+ <p id="message" style="display:none">
+ {% trans "Please wait for uploading profile picture" %}
+ </p>
+
+ </form>
+ </div>
+
+ {% endif %}
</div>
</div>
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/registration/registration_form.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/registration/registration_form.html
index c41f718..74388b6 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/registration/registration_form.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/registration/registration_form.html
@@ -26,6 +26,8 @@
{% endblock %}
{% block body_content %}
+ {% get_site_registration_variable_visibility as site_registration_variable_visibility %}
+
<!-- Heading -->
<div class="row" style="margin: 1.2rem 0;">
<div class="small-10 large-10 small-centered large-centered columns">
@@ -110,6 +112,7 @@
</div>
</div>
+ {% if site_registration_variable_visibility.AUTHOR_AGENCY_TYPE %}
<!-- Occupation -->
<div class="row">
<div class="small-3 large-3 columns">
@@ -121,25 +124,28 @@
{% get_author_agency_types as agency_types %}
<select id="id_agency_type" name="agency_type">
- <option value="">{% trans "- - - Select Group Agency Type - - -" %}</option>
+ <option value="">{% trans "- - - Select Occupation - - -" %}</option>
{% for each in agency_types %}
<option id="{{each}}" name="group_agency_type">{{each}}</option>
{% endfor %}
</select>
</div>
</div>
+ {% endif %}
- <!-- Affiliation -->
+ {% if site_registration_variable_visibility.AFFILIATION %}
+ <!-- Organization -->
<div class="row">
<div class="small-3 large-3 columns">
<label for="id_affiliation" class="right inline">
- {% trans "Affiliation" %}
+ {% trans "Organization" %}
</label>
</div>
<div class="small-6 large-6 columns end">
<input type="text" id="id_affiliation" name="group_affiliation">
</div>
</div>
+ {% endif %}
<!-- Send Activation button -->
<div class="row">
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templatetags/ndf_tags.py b/gnowsys-ndf/gnowsys_ndf/ndf/templatetags/ndf_tags.py
index 472d27f..88329f2 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templatetags/ndf_tags.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templatetags/ndf_tags.py
@@ -1,8 +1,7 @@
-
''' -- imports from python libraries -- '''
import re
# import magic
-import collections
+from collections import OrderedDict
from time import time
import json
import ox
@@ -29,7 +28,7 @@ except ImportError:
from gnowsys_ndf.ndf.models import node_collection, triple_collection
from gnowsys_ndf.ndf.models import *
-from gnowsys_ndf.ndf.views.methods import check_existing_group,get_all_gapps,get_all_resources_for_group,get_execution_time
+from gnowsys_ndf.ndf.views.methods import check_existing_group, get_gapps, get_all_resources_for_group, get_execution_time
from gnowsys_ndf.ndf.views.methods import get_drawers, get_group_name_id, cast_to_data_type
from gnowsys_ndf.mobwrite.models import TextObj
from pymongo.errors import InvalidId as invalid_id
@@ -41,13 +40,44 @@ from django.contrib.sites.models import Site
from gnowsys_ndf.ndf.node_metadata_details import schema_dict
register = Library()
-at_apps_list = node_collection.one({'_type': 'AttributeType', 'name': 'apps_list'})
+at_apps_list = node_collection.one({
+ "_type": "AttributeType", "name": "apps_list"
+})
translation_set=[]
check=[]
@get_execution_time
@register.assignment_tag
+def get_site_registration_variable_visibility(registration_variable=None):
+ """Returns dictionary variable holding variables defined in settings file
+ for Author's class regarding their visibility in registration template
+
+ If looking for value of single variable, then pass that variable name as
+ string which will return it's corresponding value. For example,
+ bool_val = get_site_registration_variable_visibility(
+ registration_variable="GSTUDIO_REGISTRATION_AUTHOR_AGENCY_TYPE"
+ )
+
+ Otherwise, if no parameter is passed, then returns a dictionary variable.
+ For example,
+ site_dict = get_site_registration_variable_visibility()
+ In order to fetch given variable's value from above dictionay use following:
+ site_registration_dict["AUTHOR_AGENCY_TYPE"]
+ site_registration_dict["AFFILIATION"]
+ """
+ if registration_variable:
+ return eval(registration_variable)
+
+ else:
+ site_registration_variable_visibility = {}
+ site_registration_variable_visibility["AUTHOR_AGENCY_TYPE"] = GSTUDIO_REGISTRATION_AUTHOR_AGENCY_TYPE
+ site_registration_variable_visibility["AFFILIATION"] = GSTUDIO_REGISTRATION_AFFILIATION
+ return site_registration_variable_visibility
+
+
+@get_execution_time
+@register.assignment_tag
def get_site_variables():
site_var={}
site_var['ORG_NAME']=GSTUDIO_ORG_NAME
@@ -201,9 +231,9 @@ def get_group_resources(group):
@register.assignment_tag
def all_gapps():
try:
- return get_all_gapps()
+ return get_gapps()
except Exception as expt:
- print "Error in get_all_gapps "+str(expt)
+ print "Error in get_gapps "+str(expt)
@get_execution_time
@register.assignment_tag
@@ -219,75 +249,6 @@ def get_site_info():
sitename = Site.objects.all()[0].name.__str__()
return sitename
-@get_execution_time
-@register.assignment_tag
-def check_gapp_menus(groupid):
- ins_objectid = ObjectId()
- if ins_objectid.is_valid(groupid) is False :
- group_ins = node_collection.find_one({'_type': "Group", "name": groupid})
- if group_ins:
- groupid = str(group_ins._id)
- else :
- pass
- grp = node_collection.one({'_id': ObjectId(groupid)})
- if not at_apps_list:
- return False
- poss_atts=grp.get_possible_attributes(grp.member_of)
- if not poss_atts:
- return False
- return True
-
-@get_execution_time
-@register.assignment_tag
-def get_apps_for_groups(groupid):
- try:
- ret_dict={}
- grp = node_collection.one({'_id': ObjectId(groupid)})
- poss_atts=grp.get_possible_attributes(at_apps_list._id)
- if poss_atts:
- list_apps=poss_atts['apps_list']['object_value']
- counter=1
- for each in list_apps:
- obdict={}
- obdict['id']=each['_id']
- obdict['name']=each['name'].lower()
- ret_dict[counter]=obdict
- counter+=1
- return ret_dict
- else:
- gpid = node_collection.one({'$and':[{'_type':u'Group'},{'name':u'home'}]})
- gapps = {}
- i = 0;
- meta_type = node_collection.one({'$and':[{'_type':'MetaType'},{'name': META_TYPE[0]}]})
- GAPPS = node_collection.find({'$and':[{'_type':'GSystemType'},{'member_of':{'$all':[meta_type._id]}}]}).sort("created_at")
- group_obj = node_collection.one({'_id':ObjectId(groupid)})
-
- # Forcefully setting GAPPS (Image, Video & Group) to be hidden from group(s)
- not_in_menu_bar = []
- if group_obj.name == "home":
- # From "home" group hide following GAPPS: Image, Video
- not_in_menu_bar = ["Image", "Video"]
- else :
- # From other remaining groups hide following GAPPS: Group, Image, Video
- not_in_menu_bar = ["Image", "Video", "Group"]
-
- # Defalut GAPPS to be listed on gapps-meubar/gapps-iconbar
- global DEFAULT_GAPPS_LIST
- if not DEFAULT_GAPPS_LIST:
- # If DEFAULT_GAPPS_LIST is empty, set bulit-in GAPPS (setting_gapps) list from settings file
- DEFAULT_GAPPS_LIST = setting_gapps
-
- for node in GAPPS:
- if node:
- if node.name not in not_in_menu_bar and node.name in DEFAULT_GAPPS_LIST:
- i = i+1;
- if node.name in setting_gapps:
- gapps[i] = {'id': node._id, 'name': node.name.lower()}
- else:
- gapps[i] = {'id': node._id, 'name': node.name}
- return gapps
- except Exception as exptn:
- print "Exception in get_apps_for_groups "+str(exptn)
@get_execution_time
@register.assignment_tag
@@ -588,58 +549,68 @@ def shelf_allowed(node):
@get_execution_time
@register.inclusion_tag('ndf/gapps_iconbar.html')
def get_gapps_iconbar(request, group_id):
- """Get Gapps menu-bar
- """
- try:
- selectedGapp = request.META["PATH_INFO"]
- group_name = ""
- gpid = node_collection.one({'$and':[{'_type':u'Group'},{'name':u'home'}]})
- gapps = {}
- i = 0;
- meta_type = node_collection.one({'$and':[{'_type':'MetaType'},{'name': META_TYPE[0]}]})
-
- GAPPS = node_collection.find({'$and':[{'_type':'GSystemType'},{'member_of':{'$all':[meta_type._id]}}]}).sort("created_at")
- group_obj = node_collection.one({'_id':ObjectId(group_id)})
-
- # Forcefully setting GAPPS (Image, Video & Group) to be hidden from group(s)
- not_in_menu_bar = []
- if group_obj.name == "home":
- # From "home" group hide following GAPPS: Image, Video
- not_in_menu_bar = ["Image", "Video"]
- else :
- # From other remaining groups hide following GAPPS: Group, Image, Video
- not_in_menu_bar = ["Image", "Video", "Group"]
-
- # Defalut GAPPS to be listed on gapps-meubar/gapps-iconbar
- global DEFAULT_GAPPS_LIST
- if not DEFAULT_GAPPS_LIST:
- # If DEFAULT_GAPPS_LIST is empty, set bulit-in GAPPS (setting_gapps) list from settings file
- DEFAULT_GAPPS_LIST = setting_gapps
-
- for node in GAPPS:
- #node = node_collection.one({'_type': 'GSystemType', 'name': app, 'member_of': {'$all': [meta_type._id]}})
- if node:
- if node.name not in not_in_menu_bar and node.name in DEFAULT_GAPPS_LIST:
- i = i+1;
- gapps[i] = {'id': node._id, 'name': node.name.lower()}
-
- if len(selectedGapp.split("/")) > 2 :
- selectedGapp = selectedGapp.split("/")[2]
- else :
- selectedGapp = selectedGapp.split("/")[1]
- if group_id == None:
- group_id=gpid._id
- group_obj=node_collection.one({'_id':ObjectId(group_id)})
- if not group_obj:
- group_id=gpid._id
- else :
- group_name = group_obj.name
-
- return {'template': 'ndf/gapps_iconbar.html', 'request': request, 'gapps': gapps, 'selectedGapp':selectedGapp,'groupid':group_id, 'group_name':group_name}
- except invalid_id:
- gpid=node_collection.one({'$and':[{'_type':u'Group'},{'name':u'home'}]})
- group_id=gpid._id
- return {'template': 'ndf/gapps_iconbar.html', 'request': request, 'gapps': gapps, 'selectedGapp':selectedGapp,'groupid':group_id}
+ """Get GApps menu-bar
+ """
+ try:
+ group_name, group_id = get_group_name_id(group_id)
+ selected_gapp = request.META["PATH_INFO"]
+ if len(selected_gapp.split("/")) > 2:
+ selected_gapp = selected_gapp.split("/")[2]
+ else:
+ selected_gapp = selected_gapp.split("/")[1]
+
+ # If apps_list are set for given group
+ # then list them
+ # Otherwise fetch default apps list
+ gapps_list = []
+
+ group_name = ""
+ group_id = ObjectId(group_id)
+ # Fetch group
+ group_obj = node_collection.one({
+ "_id": group_id
+ }, {
+ "name": 1, "attribute_set.apps_list": 1
+ })
+ if group_obj:
+ group_name = group_obj.name
+
+ # Look for list of gapps already set for group
+ for attr in group_obj.attribute_set:
+ if attr and "apps_list" in attr:
+ gapps_list = attr["apps_list"]
+ break
+
+ if not gapps_list:
+ # If gapps not found for group, then make use of default apps list
+ gapps_list = get_gapps(default_gapp_listing=True)
+
+ i = 0
+ gapps = {}
+ for node in gapps_list:
+ if node:
+ i += 1
+ gapps[i] = {"id": node["_id"], "name": node["name"].lower()}
+
+ return {
+ "template": "ndf/gapps_iconbar.html",
+ "request": request,
+ "groupid": group_id, "group_name_tag": group_name,
+ "gapps": gapps, "selectedGapp": selected_gapp
+ }
+
+ except invalid_id:
+ gpid = node_collection.one({
+ "_type": u"Group"
+ }, {
+ "name": u"home"
+ })
+ group_id = gpid._id
+ return {
+ 'template': 'ndf/gapps_iconbar.html',
+ 'request': request, 'gapps': gapps, 'selectedGapp': selected_gapp,
+ 'groupid': group_id
+ }
@get_execution_time
@register.assignment_tag
@@ -656,6 +627,7 @@ def get_nroer_menu(request, group_name):
nroer_menu_dict = {}
top_menu_selected = ""
+ selected_gapp = ""
if (len(url_split) > 1) and (url_split[1] != "dashboard"):
selected_gapp = url_split[1] # expecting e-library etc. type of extract
@@ -671,24 +643,27 @@ def get_nroer_menu(request, group_name):
break
# print "selected_gapp : ", selected_gapp
+ if (selected_gapp == "partner") and (len(url_split) > 2) and (url_split[2] in ["Partners", "Groups"]):
+ top_menu_selected = url_split[2]
mapping = GSTUDIO_NROER_MENU_MAPPINGS
# deciding "top level menu selection"
- if (group_name == "home") and nroer_menu_dict.has_key("selected_gapp"):
+ if ((group_name == "home") and nroer_menu_dict.has_key("selected_gapp")) or (selected_gapp == "repository"):
top_menu_selected = "Repository"
+ # print top_menu_selected
- elif group_name in mapping.values():
+ elif (group_name in mapping.values()):
sub_menu_selected = mapping.keys()[mapping.values().index(group_name)] # get key of/from mapping
nroer_menu_dict["sub_menu_selected"] = sub_menu_selected
# with help of sub_menu_selected get it's parent from GSTUDIO_NROER_MENU
top_menu_selected = [i.keys()[0] for i in GSTUDIO_NROER_MENU[1:] if sub_menu_selected in i.values()[0]][0]
-
# for Partners, "Curated Zone" should not appear
gapps = gapps[1:] if (top_menu_selected in ["Partners", "Groups"]) else gapps
elif (len(url_split) >= 3) and ("nroer_groups" in url_split) and (url_split[2] in [i.keys()[0] for i in GSTUDIO_NROER_MENU[1:]]):
+ # print "top_menu_selected ", top_menu_selected
top_menu_selected = url_split[2]
gapps = ""
# elif - put this for sub groups. Needs to fire queries etc. for future perspective.
@@ -1989,7 +1964,7 @@ def get_translation_relation(obj_id, translation_list = [], r_list = []):
@register.assignment_tag
def get_object_value(node):
at_set = ['contact_point','house_street','town_city','state','pin_code','email_id','telephone','website']
- att_name_value= collections.OrderedDict()
+ att_name_value= OrderedDict()
for each in at_set:
attribute_type = node_collection.one({'_type':"AttributeType" , 'name':each})
@@ -2030,7 +2005,7 @@ def del_underscore(var):
# this function used for info-box implementation
# which convert str to dict type & returns dict which used for rendering in template
def str_to_dict(str1):
- dict_format = json.loads(str1, object_pairs_hook = collections.OrderedDict)
+ dict_format = json.loads(str1, object_pairs_hook = OrderedDict)
keys_to_remove = ('_id','access_policy','rating', 'fs_file_ids', 'content_org', 'content', 'comment_enabled', 'annotations', 'login_required','status','featured','module_set','property_order','url') # keys needs to hide
keys_by_ids = ('member_of', 'group_set', 'collection_set','prior_node') # keys holds list of ids
keys_by_userid = ('modified_by', 'contributors', 'created_by', 'author_set') # keys holds dada from User table
@@ -2069,31 +2044,35 @@ def str_to_dict(str1):
if k in keys_by_dict:
att_dic = {}
if "None" not in dict_format[k]:
-
if type(dict_format[k]) != str and k == "attribute_set":
-
for att in dict_format[k]:
for k1, v1 in att.items():
- if type(v1) == list :
- str1=",".join(v1)
+ if type(v1) == list:
+ str1 = ""
+ if type(v1[0]) in [OrderedDict, dict]:
+ for each in v1:
+ str1 += each["name"] + ", "
+ else:
+ str1 = ",".join(v1)
att_dic[k1] = str1
+ dict_format[k] = att_dic
else:
att_dic[k1] = v1
- dict_format[k] = att_dic
+ dict_format[k] = att_dic
if k == "relation_set":
for each in dict_format[k]:
for k1, v1 in each.items():
for rel in v1:
rel = node_collection.one({'_id':ObjectId(rel)})
att_dic[k1] = rel.name
- dict_format[k] = att_dic
+ dict_format[k] = att_dic
if k in keys_by_filesize:
filesize_dic = {}
for k1, v1 in dict_format[k].items():
filesize_dic[k1] = v1
dict_format[k] = filesize_dic
- order_dict_format = collections.OrderedDict()
+ order_dict_format = OrderedDict()
order_val=['altnames','language','plural','_type','member_of','created_by','created_at','tags','modified_by','author_set','group_set','collection_set','contributors','last_update','start_publication','location','license','attribute_set','relation_set']
for each in order_val:
order_dict_format[each]=dict_format[each]
@@ -2163,19 +2142,22 @@ def get_version_of_module(module_id):
@get_execution_time
@register.assignment_tag
def get_group_name(groupid):
- group_name = ""
- ins_objectid = ObjectId()
- if ins_objectid.is_valid(groupid) is True :
- group_ins = node_collection.find_one({'_type': "Group","_id": ObjectId(groupid)})
- if group_ins:
- group_name = group_ins.name
- else :
- auth = node_collection.one({'_type': 'Author', "_id": ObjectId(groupid) })
- if auth :
- group_name = auth.name
+ # group_name = ""
+ # ins_objectid = ObjectId()
+ # if ins_objectid.is_valid(groupid) is True :
+ # group_ins = node_collection.find_one({'_type': "Group","_id": ObjectId(groupid)})
+ # if group_ins:
+ # group_name = group_ins.name
+ # else :
+ # auth = node_collection.one({'_type': 'Author', "_id": ObjectId(groupid) })
+ # if auth :
+ # group_name = auth.name
+
+ # else :
+ # pass
+
+ group_name, group_id = get_group_name_id(groupid)
- else :
- pass
return group_name
@get_execution_time
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py
index 47eee38..3da4907 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py
@@ -45,6 +45,7 @@ urlpatterns = patterns('',
(r'^(?P<group_id>[^/]+)/video', include('gnowsys_ndf.ndf.urls.video')),
(r'^(?P<group_id>[^/]+)/page', include('gnowsys_ndf.ndf.urls.page')),
(r'^(?P<group_id>[^/]+)/group', include('gnowsys_ndf.ndf.urls.group')),
+ (r'^(?P<group_id>[^/]+)/partner', include('gnowsys_ndf.ndf.urls.partner')),
(r'^(?P<group_id>[^/]+)/forum', include('gnowsys_ndf.ndf.urls.forum')),
(r'^(?P<group_id>[^/]+)/quiz', include('gnowsys_ndf.ndf.urls.quiz')),
(r'^(?P<group_id>[^/]+)/course', include('gnowsys_ndf.ndf.urls.course')),
@@ -59,6 +60,7 @@ urlpatterns = patterns('',
(r'^(?P<group_id>[^/]+)/ratings', include('gnowsys_ndf.ndf.urls.ratings')),
(r'^(?P<group_id>[^/]+)/topics', include('gnowsys_ndf.ndf.urls.topics')),
(r'^(?P<group_id>[^/]+)/e-library', include('gnowsys_ndf.ndf.urls.e-library')),
+ (r'^(?P<group_id>[^/]+)/e-book', include('gnowsys_ndf.ndf.urls.e-book')),
(r'^(?P<group_id>[^/]+)/term', include('gnowsys_ndf.ndf.urls.term')),
(r'^(?P<group_id>[^/]+)/event', include('gnowsys_ndf.ndf.urls.event')),
(r'^(?P<group_id>[^/]+)/data-review', include('gnowsys_ndf.ndf.urls.data_review')),
@@ -100,7 +102,9 @@ urlpatterns = patterns('',
url(r'^(?P<group_id>[^/]+)/visualize', include('gnowsys_ndf.ndf.urls.visualise_urls')),
url(r'^(?P<group_id>[^/]+)/$', 'gnowsys_ndf.ndf.views.group.group_dashboard', name='groupchange'),
-
+ # ---listing sub partners---
+ url(r'^(?P<group_id>[^/]+)/partners$', 'gnowsys_ndf.ndf.views.partner.partner_list', name='partnerlist'),
+ # --------end of listing sub partners--------
# -- tags --
url(r'^(?P<group_id>[^/]+)/tags$', 'gnowsys_ndf.ndf.views.methods.tag_info', name='tag_info'),
url(r'^(?P<group_id>[^/]+)/tags/(?P<tagname>[^/]+)$', 'gnowsys_ndf.ndf.views.methods.tag_info', name='tag_info'),
@@ -125,6 +129,8 @@ urlpatterns = patterns('',
(r'^benchmarker/', include('gnowsys_ndf.benchmarker.urls')),
+ url(r'^(?P<group_id>[^/]+)/repository/?$', 'gnowsys_ndf.ndf.views.methods.repository', name='repository'),
+
# django-registration
url(r'^accounts/password/change/done/', auth_views.password_change_done, name='password_change_done'),
url(r'^accounts/password/change/', auth_views.password_change, {'password_change_form': UserChangeform}),
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/e-book.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/e-book.py
new file mode 100644
index 0000000..3370118
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/e-book.py
@@ -0,0 +1,5 @@
+from django.conf.urls import patterns, url
+
+urlpatterns = patterns('gnowsys_ndf.ndf.views.e-book',
+ url(r'^[/]$', 'ebook_listing', name='e-book'),
+ )
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py
index d4ec1b5..fe7803a 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py
@@ -9,7 +9,7 @@ urlpatterns = patterns('gnowsys_ndf.ndf.views.group',
url(r'^/switch_group/(?P<node_id>[\w-]+)$', 'switch_group', name='switch_group'),
url(r'^/app_selection/', 'app_selection', name='app_selection'),
url(r'^/create_sub_group/', 'create_sub_group', name='create_sub_group'),
- url(r'^/(?P<groups_category>[\w-]+)/nroer_groups/?$', 'nroer_groups', name='nroer_groups'),
+ #url(r'^/(?P<groups_category>[\w-]+)/nroer_groups/?$', 'nroer_groups', name='nroer_groups'),
url(r'^/(?P<app_id>[\w-]+)/value/(?P<agency_type>[\w-]+)/?$', 'group', name='groups_by_agency_type'),
)
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/partner.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/partner.py
new file mode 100644
index 0000000..03cdcd1
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/partner.py
@@ -0,0 +1,6 @@
+from django.conf.urls import patterns, url
+
+urlpatterns = patterns('gnowsys_ndf.ndf.views.partner',
+ url(r'^/create_partner/', 'create_partner', name='create_partner'),
+ url(r'^/(?P<groups_category>[\w-]+)', 'nroer_groups', name='nroer_groups'),
+ )
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/ajax_views.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/ajax_views.py
index 783a905..25910d8 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/ajax_views.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/ajax_views.py
@@ -3853,6 +3853,7 @@ def get_anncourses_allstudents(request, group_id):
response_dict["message"] = error_message
return HttpResponse(json.dumps(response_dict))
+
@get_execution_time
def get_course_details_for_trainer(request, group_id):
"""
@@ -3874,7 +3875,6 @@ def get_course_details_for_trainer(request, group_id):
3) Key: college; Value: College GSystem's document
"""
response_dict = {'success': False, 'message': ""}
- all_students_text = ""
try:
if request.is_ajax() and request.method == "GET":
@@ -3883,88 +3883,113 @@ def get_course_details_for_trainer(request, group_id):
# Check whether any field has missing value or not
if course_type == "" or trainer_type == "":
- error_message = "Invalid data: No data found in any of the field(s)!!!"
- raise Exception(error_message)
-
- # Fetch required GSystemTypes (NUSSD Course, Announced Course, University, College)
- course_gst = node_collection.one({'_type': "GSystemType", 'name': "NUSSD Course"}, {'_id': 1})
- ann_course_gst = node_collection.one({'_type': "GSystemType", 'name': "Announced Course"}, {'_id': 1})
- college_gst = node_collection.one({'_type': "GSystemType", 'name': "College"}, {'_id': 1})
- university_gst = node_collection.one({'_type': "GSystemType", 'name': "University"}, {'_id': 1})
- mis_admin = node_collection.one({'_type': "Group", 'name': "MIS_admin"}, {'_id': 1})
+ error_message = "Invalid data: No data found in any of the field(s)!!!"
+ raise Exception(error_message)
- # Query that fetches Announced Course GSystems
- # Group by Course
- # Populate a list of Announced Course & College ObjectIds
- op = node_collection.collection.aggregate([
- {'$match': {
- 'member_of': ann_course_gst._id,
- 'group_set': mis_admin._id,
- 'status': u"PUBLISHED",
- 'attribute_set.nussd_course_type': course_type
- }},
- {'$group': {
- '_id': {'course_id': "$relation_set.announced_for"},
- 'college_wise_data': {'$addToSet': {'ann_course_id': "$_id", 'college_id': "$relation_set.acourse_for_college"}}
- }}
- ])
-
- if op["result"]:
- course_enrollement_details = {}
- course_requirements = {}
- college_dict = {}
- university_dict = {}
-
-
- for each in op["result"]:
- course = None
- if trainer_type == "Voluntary Teacher":
- course = node_collection.one({'member_of': course_gst._id, '_id': {'$in': each["_id"]["course_id"][0]}}, {'_id': 1, 'name': 1, 'attribute_set.voln_tr_qualifications': 1})
-
- for requirement in course.attribute_set:
- if requirement:
- course_requirements[course.name] = requirement["voln_tr_qualifications"]
-
- elif trainer_type == "Master Trainer":
- course = node_collection.one({'member_of': course_gst._id, '_id': {'$in': each["_id"]["course_id"][0]}}, {'_id': 1, 'name': 1, 'attribute_set.mast_tr_qualifications': 1})
+ # Using below text variable to fetch specific attribute based on which
+ # type of trainer we are dealing with
+ # Voluntary Teacher -- voln_tr_qualifications
+ # Master Trainer -- mast_tr_qualifications
+ fetch_attribute_for_trainer = ""
+ bool_trainer_type = None
+ if trainer_type == "Voluntary Teacher":
+ fetch_attribute_for_trainer = "voln_tr_qualifications"
+ bool_trainer_type = True
+ elif trainer_type == "Master Trainer":
+ fetch_attribute_for_trainer = "mast_tr_qualifications"
+ bool_trainer_type = False
- for requirement in course.attribute_set:
+ # Fetch required GSystemTypes (NUSSD Course, Announced Course, University, College)
+ course_gst = node_collection.one({
+ '_type': "GSystemType", 'name': "NUSSD Course"
+ }, {
+ '_id': 1
+ })
+ college_gst = node_collection.one({
+ '_type': "GSystemType", 'name': "College"
+ }, {
+ '_id': 1
+ })
+ university_gst = node_collection.one({
+ '_type': "GSystemType", 'name': "University"
+ }, {
+ '_id': 1
+ })
+ mis_admin = node_collection.one({
+ '_type': "Group", 'name': "MIS_admin"
+ }, {
+ '_id': 1
+ })
+
+ course_enrollement_details = {}
+ course_requirements = {}
+ college_dict = {}
+ university_dict = {}
+ course_dict = {}
+
+ # Fetching NUSSD Course(s) registered under MIS_admin group
+ nussd_courses_cur = node_collection.find({
+ "member_of": course_gst._id,
+ "group_set": mis_admin._id,
+ "attribute_set.nussd_course_type": course_type
+ }, {
+ "name": 1,
+ "attribute_set." + fetch_attribute_for_trainer: 1
+ })
+
+ for course in nussd_courses_cur:
+ course_dict[course.name] = course._id
+
+ # Set given course's requirements
+ for requirement in course.attribute_set:
if requirement:
- course_requirements[course.name] = requirement["mast_tr_qualifications"]
+ course_requirements[course.name] = requirement[fetch_attribute_for_trainer]
course_enrollement_details[course.name] = []
- if course:
- for each_data in each["college_wise_data"]:
- data_dict = {}
- data_dict['ann_course_id'] = each_data["ann_course_id"]
-
- college_gs = None
- college_id = each_data["college_id"][0][0]
- if college_id not in college_dict:
- college_gs = node_collection.one({'member_of': college_gst._id, '_id': college_id}, {'_id': 1, 'name': 1, 'member_of': 1, 'created_by': 1, 'created_at': 1, 'content': 1})
- college_dict[college_id] = college_gs
- else:
- college_gs = college_dict[college_id]
- data_dict['college'] = college_gs.name
-
+ if nussd_courses_cur.count():
+ college_cur = node_collection.find({
+ "member_of": college_gst._id,
+ "group_set": mis_admin._id
+ }, {
+ "name": 1,
+ "college_affiliated_to": 1
+ })
+ for college in college_cur:
university_gs = None
- if college_id not in university_dict:
- university_gs = node_collection.one({'member_of': university_gst._id, 'relation_set.affiliated_college': college_gs._id}, {'_id': 1, 'name': 1})
- university_dict[college_id] = university_gs
- else:
- university_gs = university_dict[college_id]
- data_dict['university'] = university_gs.name
-
- course_enrollement_details[course.name].append(data_dict)
-
- else:
- error_message = "No Course exists with such ObjectId(" + str(each["_id"]["course_id"])
- raise Exception(error_message)
-
- else:
- error_message = "No Course(s) announced of given type ("+course_type+") "
- raise Exception(error_message)
+ if college._id not in university_dict:
+ university_gs = node_collection.find_one({
+ 'member_of': university_gst._id,
+ 'relation_set.affiliated_college': college._id
+ }, {
+ '_id': 1,
+ 'name': 1
+ })
+ if university_gs:
+ university_dict[college._id] = university_gs
+
+ college_data = {}
+ college_data["college"] = college.name
+ college_data["university"] = university_gs.name
+ if bool_trainer_type:
+ # If bool_trainer_type (True, i.e Voluntary Teacher)
+ # Set organization_id as College's ObjectId
+ # As creating linking between Voluntary Teacher & College
+ college_data["organization_id"] = college._id
+ else:
+ # If bool_trainer_type (False, i.e Master Trainer)
+ # Set organization_id as University's ObjectId
+ # As creating linking between Master Trainer & University
+ college_data["organization_id"] = university_gs._id
+ college_dict[college._id] = college_data
+
+ if college._id in university_dict:
+ for course_name in course_enrollement_details.keys():
+ data_dict = {}
+ data_dict["ann_course_id"] = course_dict[course_name]
+ data_dict.update(college_dict[college._id])
+
+ course_enrollement_details[course_name].append(data_dict)
response_dict["course_enrollement_details"] = course_enrollement_details
response_dict["course_requirements"] = course_requirements
@@ -3984,6 +4009,7 @@ def get_course_details_for_trainer(request, group_id):
response_dict["message"] = error_message
return HttpResponse(json.dumps(response_dict))
+
@get_execution_time
def get_students_for_approval(request, group_id):
"""This returns data-review list of students that need approval for Course enrollment.
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/course.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/course.py
index 210e378..3efb3cb 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/course.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/course.py
@@ -34,7 +34,7 @@ GST_COURSE = node_collection.one({'_type': "GSystemType", 'name': GAPPS[7]})
app = GST_COURSE
-@login_required
+# @login_required
@get_execution_time
def course(request, group_id, course_id=None):
"""
@@ -617,16 +617,19 @@ def course_create_edit(request, group_id, app_id, app_set_id=None, app_set_insta
if app_set_instance_id:
course_gs.get_neighbourhood(course_gs.member_of)
context_variables['node'] = course_gs
- # for attr in course_gs.attribute_set:
- # if attr:
- # for eachk, eachv in attr.items():
- # context_variables[eachk] = eachv
-
- # for rel in course_gs.relation_set:
- # if rel:
- # for eachk, eachv in rel.items():
- # get_node_name = node_collection.one({'_id': eachv[0]})
- # context_variables[eachk] = get_node_name.name
+
+ if "Announced Course" in course_gs.member_of_names_list:
+ for attr in course_gs.attribute_set:
+ if attr:
+ for eachk, eachv in attr.items():
+ context_variables[eachk] = eachv
+
+ for rel in course_gs.relation_set:
+ if rel:
+ for eachk, eachv in rel.items():
+ if eachv:
+ get_node_name = node_collection.one({'_id': eachv[0]})
+ context_variables[eachk] = get_node_name.name
try:
return render_to_response(
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/e-book.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/e-book.py
new file mode 100644
index 0000000..cef517a
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/e-book.py
@@ -0,0 +1,49 @@
+''' -- imports from installed packages -- '''
+from django.shortcuts import render_to_response
+from django.template import RequestContext
+# from django.core.urlresolvers import reverse
+from mongokit import paginator
+
+
+try:
+ from bson import ObjectId
+except ImportError: # old pymongo
+ from pymongo.objectid import ObjectId
+
+''' -- imports from application folders/files -- '''
+from gnowsys_ndf.settings import GAPPS
+from gnowsys_ndf.ndf.models import Node, GRelation,GSystemType,File,Triple
+from gnowsys_ndf.ndf.models import node_collection
+from gnowsys_ndf.ndf.views.file import *
+from gnowsys_ndf.ndf.views.methods import get_group_name_id, cast_to_data_type,get_execution_time
+
+
+GST_FILE = node_collection.one({'_type':'GSystemType', 'name': "File"})
+ebook_gst = node_collection.one({'_type':'GSystemType', 'name': "E-Book"})
+GST_IMAGE = node_collection.one({'_type':'GSystemType', 'name': GAPPS[3]})
+GST_VIDEO = node_collection.one({'_type':'GSystemType', 'name': GAPPS[4]})
+e_library_GST = node_collection.one({'_type':'GSystemType', 'name': 'E-Library'})
+pandora_video_st = node_collection.one({'_type':'GSystemType', 'name': 'Pandora_video'})
+app = node_collection.one({'_type':'GSystemType', 'name': 'E-Library'})
+
+@get_execution_time
+def ebook_listing(request, group_id, page_no=1):
+
+ group_name, group_id = get_group_name_id(group_id)
+
+ all_ebooks = node_collection.find({"_type": "File", "attribute_set.educationaluse": "eBooks"})
+ # all_ebook = node_collection.find({"_type": "File", "member_of": {"$in":[gst_ebook._id]} })
+
+
+ # return render_to_response("ndf/page_list.html",
+ # {'title': "E-Book",
+ # 'appId':app._id,
+ # 'shelf_list': shelf_list,'shelves': shelves,
+ # 'searching': True, 'query': search_field,
+ # 'page_nodes': all_ebook, 'groupid':group_id, 'group_id':group_id
+ # },
+ # context_instance=RequestContext(request) )
+
+ return render_to_response("ndf/ebook.html",
+ {"all_ebooks": all_ebooks, "group_id": group_id, "groupid": group_id},
+ context_instance = RequestContext(request))
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/e-library.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/e-library.py
index 7924dca..56ffac3 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/e-library.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/e-library.py
@@ -116,15 +116,16 @@ def resource_list(request, group_id, app_id=None, page_no=1):
educationaluse_stats["all"] = files.count()
+ # print educationaluse_stats
result_paginated_cur = files
result_pages = paginator.Paginator(result_paginated_cur, page_no, no_of_objs_pp)
-
datavisual.append({"name":"Doc", "count": educationaluse_stats.get("Documents", 0)})
datavisual.append({"name":"Image","count": educationaluse_stats.get("Images", 0)})
datavisual.append({"name":"Video","count": educationaluse_stats.get("Videos", 0)})
datavisual.append({"name":"Interactives","count": educationaluse_stats.get("Interactives", 0)})
datavisual.append({"name":"Audios","count": educationaluse_stats.get("Audios", 0)})
+ datavisual.append({"name":"eBooks","count": educationaluse_stats.get("eBooks", 0)})
datavisual = json.dumps(datavisual)
return render_to_response("ndf/resource_list.html",
@@ -132,7 +133,7 @@ def resource_list(request, group_id, app_id=None, page_no=1):
'appId':app._id,
# 'already_uploaded': already_uploaded,'shelf_list': shelf_list,'shelves': shelves,
'files': files,
- "detail_urlname": "file_detail",
+ "detail_urlname": "file_detail", 'ebook_pages': educationaluse_stats.get("eBooks", 0),
'file_pages': result_pages, 'image_pages': educationaluse_stats.get("Images", 0), 'interactive_pages': educationaluse_stats.get("Interactives", 0), 'educationaluse_stats': json.dumps(educationaluse_stats),
'doc_pages': educationaluse_stats.get("Documents", 0), 'video_pages': educationaluse_stats.get("Videos", 0), 'audio_pages': educationaluse_stats.get("Audios", 0),
'groupid': group_id, 'group_id':group_id,"datavisual":datavisual
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/event.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/event.py
index 571bd54..2d7e62a 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/event.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/event.py
@@ -505,7 +505,7 @@ def event_create_edit(request, group_id, app_set_id=None, app_set_instance_id=No
event_coordinator_str = ""
event_organized_by = []
event_coordinator = []
- event_node = collection.Node.one({'_id':ObjectId(event_gs._id)})
+ event_node = node_collection.one({'_id':ObjectId(event_gs._id)})
for i in event_node.relation_set:
if unicode('event_organised_by') in i.keys():
event_organized_by = i['event_organised_by']
@@ -517,14 +517,14 @@ def event_create_edit(request, group_id, app_set_id=None, app_set_instance_id=No
site = Site.objects.get(pk=1)
site = site.name.__str__()
event_link = "http://" + site + event_url
- event_organized_by_cur = collection.Node.find({"_id":{'$in':event_organized_by}})
- event_coordinator_cur = collection.Node.find({"_id":{'$in':event_coordinator}})
+ event_organized_by_cur = node_collection.find({"_id":{'$in':event_organized_by}})
+ event_coordinator_cur = node_collection.find({"_id":{'$in':event_coordinator}})
for i in event_coordinator_cur:
event_coordinator_str = event_coordinator_str + i.name + " "
for i in event_organized_by_cur:
event_organizer_str = event_coordinator_str + i.name + " "
for j in event_attendees:
- auth = collection.Node.one({"_id":ObjectId(j)})
+ auth = node_collection.one({"_id":ObjectId(j)})
user_obj = User.objects.get(id=auth.created_by)
if user_obj not in to_user_list:
to_user_list.append(user_obj)
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/file.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/file.py
index cfa4ef8..7a499ed 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/file.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/file.py
@@ -1167,6 +1167,14 @@ def file_detail(request, group_id, _id):
shelves = []
shelf_list = {}
+ # First get the navigation list till topic from theme map
+ nav_l=request.GET.get('nav_li','')
+ breadcrumbs_list = []
+ nav_li = ""
+
+ if nav_l:
+ nav_li = nav_l
+
if auth:
has_shelf_RT = node_collection.one({'_type': 'RelationType', 'name': u'has_shelf' })
shelf = triple_collection.find({'_type': 'GRelation', 'subject': ObjectId(auth._id), 'relation_type.$id': has_shelf_RT._id })
@@ -1192,7 +1200,7 @@ def file_detail(request, group_id, _id):
'groupid':group_id,
'annotations' : annotations,
'shelf_list': shelf_list,
- 'shelves': shelves,
+ 'shelves': shelves, 'nav_list':nav_li,
'imageCollection':imageCollection
},
context_instance = RequestContext(request)
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/group.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/group.py
index f6415d3..17c456f 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/group.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/group.py
@@ -23,15 +23,12 @@ from gnowsys_ndf.settings import GAPPS, GROUP_AGENCY_TYPES, GSTUDIO_NROER_MENU,
# from gnowsys_ndf.ndf.models import GSystemType, GSystem, Group, Triple
from gnowsys_ndf.ndf.models import node_collection, triple_collection
from gnowsys_ndf.ndf.views.ajax_views import set_drawer_widget
-from gnowsys_ndf.ndf.templatetags.ndf_tags import get_existing_groups, get_all_user_groups
+from gnowsys_ndf.ndf.templatetags.ndf_tags import get_all_user_groups # get_existing_groups
from gnowsys_ndf.ndf.views.methods import *
# ######################################################################################################################################
gst_group = node_collection.one({"_type": "GSystemType", 'name': GAPPS[2]})
-get_all_usergroups = get_all_user_groups()
-at_apps_list = node_collection.one({'$and':[{'_type':'AttributeType'},{'name':'apps_list'}]})
-ins_objectid = ObjectId()
app = gst_group
# ######################################################################################################################################
@@ -47,7 +44,6 @@ def group(request, group_id, app_id=None, agency_type=None):
group_name, group_id = get_group_name_id(group_id)
query_dict = {}
- # print "aisisririririr"
if (app_id == "agency_type") and (agency_type in GROUP_AGENCY_TYPES):
query_dict["agency_type"] = agency_type
# print "=========", app_id, agency_type
@@ -274,7 +270,8 @@ def create_group(request,group_id):
nodes_list.append(str((each.name).strip().lower()))
return render_to_response("ndf/create_group.html", {'groupid': group_id, 'appId': app._id, 'group_id': group_id, 'nodes_list': nodes_list},RequestContext(request))
-
+
+
# @get_execution_time
#def home_dashboard(request):
# try:
@@ -285,6 +282,7 @@ def create_group(request,group_id):
# print "frhome--",groupobj
# return render_to_response("ndf/groupdashboard.html",{'groupobj':groupobj,'user':request.user,'curgroup':groupobj},context_instance=RequestContext(request))
+
@login_required
@get_execution_time
def populate_list_of_members():
@@ -294,6 +292,7 @@ def populate_list_of_members():
memList.append(mem.username)
return memList
+
@login_required
@get_execution_time
def populate_list_of_group_members(group_id):
@@ -308,17 +307,16 @@ def populate_list_of_group_members(group_id):
for author in author_list.author_set:
name_author = User.objects.get(pk=author)
memList.append(name_author)
-
- # print "members in group: ", memList
return memList
except:
return []
+
@get_execution_time
-def group_dashboard(request,group_id=None):
+def group_dashboard(request, group_id=None):
# # print "reahcing"
# if ins_objectid.is_valid(group_id) is False :
- # group_ins = node_collection.find_one({'_type': "Group","name": group_id})
+ # group_ins = node_collection.find_one({'_type': "Group","name": group_id})
# auth = node_collection.one({'_type': 'Author', 'name': unicode(request.user.username) })
# if group_ins:
# group_id = str(group_ins._id)
@@ -409,7 +407,7 @@ def group_dashboard(request,group_id=None):
@login_required
@get_execution_time
-def edit_group(request,group_id):
+def edit_group(request, group_id):
ins_objectid = ObjectId()
is_auth_node = False
if ins_objectid.is_valid(group_id) is False :
@@ -465,60 +463,70 @@ def edit_group(request,group_id):
@login_required
@get_execution_time
-def app_selection(request,group_id):
- ins_objectid = ObjectId()
- if ins_objectid.is_valid(group_id) is False :
- group_ins = node_collection.find_one({'_type': "Group","name": group_id})
- auth = node_collection.one({'_type': 'Author', 'name': unicode(request.user.username) })
- if group_ins:
- group_id = str(group_ins._id)
- else :
- auth = node_collection.one({'_type': 'Author', 'name': unicode(request.user.username) })
- if auth :
- group_id = str(auth._id)
- else :
- pass
-
- try:
- grp=node_collection.one({"_id":ObjectId(group_id)})
- if request.method == "POST":
- lst=[]
- apps_to_set = request.POST['apps_to_set']
- apps_list=apps_to_set.split(",")
- if apps_list:
- for each in apps_list:
- if each:
- obj=node_collection.one({'_id':ObjectId(each)})
- lst.append(obj)
- gattribute = triple_collection.one({'_type': 'GAttribute', 'subject': grp._id, 'attribute_type.$id': at_apps_list._id})
- if gattribute:
- gattribute.delete()
- if lst:
- ga_node = create_gattribute(grp._id, at_apps_list, lst)
- # create_attribute=triple_collection.collection.GAttribute()
- # create_attribute.attribute_type=at_apps_list
- # create_attribute.subject=grp._id
- # create_attribute.object_value=lst
- # create_attribute.save()
- return HttpResponse("Success")
-
+def app_selection(request, group_id):
+ if ObjectId.is_valid(group_id) is False:
+ group_ins = node_collection.find_one({
+ '_type': "Group", "name": group_id
+ })
+ auth = node_collection.one({
+ '_type': 'Author', 'name': unicode(request.user.username)
+ })
+ if group_ins:
+ group_id = str(group_ins._id)
+ else:
+ auth = collection.Node.one({
+ '_type': 'Author', 'name': unicode(request.user.username)
+ })
+ if auth:
+ group_id = str(auth._id)
else:
- list_apps=[]
-
- if not at_apps_list:
- return HttpResponse("Failure")
- poss_atts=grp.get_possible_attributes(at_apps_list._id)
-
- if poss_atts:
- list_apps=poss_atts['apps_list']['object_value']
- st = get_all_gapps()
- # print "inapp_list view",st,list_apps
- data_list=set_drawer_widget(st,list_apps)
- return HttpResponse(json.dumps(data_list))
+ pass
+
+ try:
+ grp = node_collection.one({
+ "_id": ObjectId(group_id)
+ }, {
+ "name": 1, "attribute_set.apps_list": 1
+ })
+ if request.method == "POST":
+ apps_to_set = request.POST['apps_to_set']
+ apps_to_set = json.loads(apps_to_set)
+
+ apps_to_set = [
+ ObjectId(app_id) for app_id in apps_to_set if app_id
+ ]
+
+ apps_list = []
+ apps_list_append = apps_list.append
+ for each in apps_to_set:
+ apps_list_append(
+ node_collection.find_one({
+ "_id": each
+ })
+ )
+
+ at_apps_list = node_collection.one({
+ '_type': 'AttributeType', 'name': 'apps_list'
+ })
+ ga_node = create_gattribute(grp._id, at_apps_list, apps_list)
+ return HttpResponse("Apps list updated successfully.")
+
+ else:
+ list_apps = []
+
+ for attr in grp.attribute_set:
+ if attr and "apps_list" in attr:
+ list_apps = attr["apps_list"]
+ break
+
+ st = get_gapps(already_selected_gapps=list_apps)
+
+ data_list = set_drawer_widget(st, list_apps)
+ return HttpResponse(json.dumps(data_list))
+
+ except Exception as e:
+ print "Error in app_selection " + str(e)
- except Exception as e:
- print "Error in app_selection "+str(e)
-
@get_execution_time
def switch_group(request,group_id,node_id):
@@ -589,6 +597,7 @@ def switch_group(request,group_id,node_id):
print "Exception in switch_group"+str(e)
return HttpResponse("Failure")
+
@login_required
@get_execution_time
def publish_group(request,group_id,node):
@@ -744,34 +753,3 @@ def create_sub_group(request,group_id):
print "Exception in create subgroup "+str(e)
-@get_execution_time
-def nroer_groups(request, group_id, groups_category):
- # print "asdfasfsafdsadf"
- group_name, group_id = get_group_name_id(group_id)
-
- mapping = GSTUDIO_NROER_MENU_MAPPINGS
-
- # loop over nroer menu except "Repository"
- for each_item in GSTUDIO_NROER_MENU[1:]:
- temp_key_name = each_item.keys()[0]
- if temp_key_name == groups_category:
- groups_names_list = each_item.get(groups_category, [])
-
- # mapping for the text names in list
- groups_names_list = [mapping.get(i) for i in groups_names_list]
- break
-
- group_nodes = node_collection.find({ '_type': "Group",
- '_id': {'$nin': [ObjectId(group_id)]},
- 'name': {'$nin': ["home"], '$in': groups_names_list},
- 'group_type': "PUBLIC"
- })#.sort('last_update', -1)
-
- group_nodes_count = group_nodes.count() if group_nodes else 0
-
- return render_to_response("ndf/group.html",
- {'group_nodes': group_nodes,
- 'group_nodes_count': group_nodes_count,
- 'groupid': group_id, 'group_id': group_id
- }, context_instance=RequestContext(request))
-
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/imageDashboard.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/imageDashboard.py
index a253a4b..ba4d273 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/imageDashboard.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/imageDashboard.py
@@ -160,6 +160,15 @@ def image_detail(request, group_id, _id):
else :
pass
img_node = node_collection.one({"_id": ObjectId(_id)})
+
+ # First get the navigation list till topic from theme map
+ nav_l=request.GET.get('nav_li','')
+ breadcrumbs_list = []
+ nav_li = ""
+
+ if nav_l:
+ nav_li = nav_l
+
if img_node._type == "GSystemType":
return imageDashboard(request, group_id, _id)
img_node.get_neighbourhood(img_node.member_of)
@@ -179,7 +188,7 @@ def image_detail(request, group_id, _id):
return render_to_response("ndf/image_detail.html",
{ 'node': img_node,
- 'group_id': group_id,
+ 'group_id': group_id, 'nav_list':nav_li,
'groupid':group_id, 'imageCollection': imageCollection
},
context_instance = RequestContext(request)
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/methods.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/methods.py
index f4fb0a6..2e4dc49 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/methods.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/methods.py
@@ -5,40 +5,39 @@ from django.contrib.auth.decorators import login_required
from django.template import RequestContext
from django.template.loader import render_to_string
from django.template.defaultfilters import slugify
-from django.shortcuts import render_to_response, render
+from django.shortcuts import render_to_response # , render
from django.http import HttpResponse
from django.core.serializers.json import DjangoJSONEncoder
from mongokit import paginator
import mongokit
-import datetime
-import time
-import sys
''' -- imports from application folders/files -- '''
-from gnowsys_ndf.settings import GAPPS,BENCHMARK
-from gnowsys_ndf.ndf.models import node_collection, triple_collection
+from gnowsys_ndf.settings import META_TYPE, GSTUDIO_NROER_GAPPS
+from gnowsys_ndf.settings import DEFAULT_GAPPS_LIST, WORKING_GAPPS, BENCHMARK
+from gnowsys_ndf.ndf.models import db, node_collection, triple_collection
from gnowsys_ndf.ndf.models import *
from gnowsys_ndf.ndf.org2any import org2html
from gnowsys_ndf.mobwrite.models import TextObj
-from gnowsys_ndf.ndf.models import HistoryManager,Benchmark
+from gnowsys_ndf.ndf.models import HistoryManager, Benchmark
from gnowsys_ndf.notification import models as notification
''' -- imports from python libraries -- '''
# import os -- Keep such imports here
+import datetime
+import time
+from sys import getsizeof, exc_info
import subprocess
import re
import ast
import string
import json
import locale
-from datetime import datetime,timedelta,date
-import csv
-from collections import Counter
+from datetime import datetime, timedelta, date
+# import csv
+# from collections import Counter
+from collections import OrderedDict
-db = get_database()
-collection = db[Node.collection_name]
col = db[Benchmark.collection_name]
-from collections import OrderedDict
history_manager = HistoryManager()
theme_GST = node_collection.one({'_type': 'GSystemType', 'name': 'Theme'})
@@ -58,7 +57,7 @@ def get_execution_time(f):
time1 = time.time()
total_parm_size = 0
for key, value in kwargs.iteritems():
- total_parm_size = total_parm_size + sys.getsizeof(value)
+ total_parm_size = total_parm_size + getsizeof(value)
total_param = len(kwargs)
ret = f(*args,**kwargs)
t2 = time.clock()
@@ -70,7 +69,7 @@ def get_execution_time(f):
benchmark_node.parameters = unicode(total_param)
benchmark_node.size_of_parameters = unicode(total_parm_size)
benchmark_node.last_update = datetime.today()
- #benchmark_node.functionOplength = unicode(sys.getsizeof(ret))
+ #benchmark_node.functionOplength = unicode(getsizeof(ret))
try:
benchmark_node.calling_url = unicode(args[0].path)
except:
@@ -163,14 +162,62 @@ def get_all_resources_for_group(group_id):
return obj_resources
-
@get_execution_time
-def get_all_gapps():
- meta_type_gapp = node_collection.one({'$and': [{'_type': 'MetaType'}, {'name': 'GAPP'}]})
- all_gapps = node_collection.find({'$and': [{'_type': 'GSystemType'}, {'member_of': {'$all': [meta_type_gapp._id]}}]})
- return list(all_gapps)
+def get_gapps(default_gapp_listing=False, already_selected_gapps=[]):
+ """Returns list of GApps.
+
+ Arguments:
+ default_gapp_listing -- (Optional argument)
+ - This is to decide which list should be considered for listing GAPPs;
+ that is, in menu-bar and GAPPs selection menu for a given group
+ - True: DEFAULT_GAPPS (menu-bar)
+ - At present used in listing GAPPS whenever a new group is created
+ - False: WORKING_GAPPS (selection-menu)
+ - At present used in listing GAPPS for setting-up GAPPS for a group
+
+ already_selected_gapps -- (Optional argument)
+ - List of GApps already set for a given group in form of
+ dictionary variable
+ - If specified, then these listed GApps are excluded from
+ the list of GApps returned by this function
+
+ Returns:
+ - List of GApps where each GApp is in form of node/dictionary
+ """
+ gapps_list = []
+
+ global DEFAULT_GAPPS_LIST
+ gapps_list = DEFAULT_GAPPS_LIST
+
+ if not gapps_list or not default_gapp_listing:
+ # If DEFAULT_GAPPS_LIST not set (i.e. empty)
+ # Or we need to setup list for selection purpose of GAPPS
+ # for a group
+ gapps_list = WORKING_GAPPS
+
+ # If already_selected_gapps is non-empty,
+ # Then append their names in list of GApps to be excluded
+ if already_selected_gapps:
+ gapps_list_remove = gapps_list.remove
+ for each_gapp in already_selected_gapps:
+ gapp_name = each_gapp["name"]
+
+ if gapp_name in gapps_list:
+ gapps_list_remove(gapp_name)
+
+ # Find all GAPPs
+ meta_type = node_collection.one({
+ "_type": "MetaType", "name": META_TYPE[0]
+ })
+ gapps_cur = None
+ gapps_cur = node_collection.find({
+ "_type": "GSystemType", "member_of": meta_type._id,
+ "name": {"$in": gapps_list}
+ }).sort("created_at")
+
+ return list(gapps_cur)
+
-#checks forum notification turn off for an author objec
@get_execution_time
def forum_notification_status(group_id,user_id):
"""Checks forum notification turn off for an author object
@@ -193,6 +240,7 @@ def forum_notification_status(group_id,user_id):
except Exception as e:
print "Exception in forum notification status check "+str(e)
+
@get_execution_time
def get_forum_repl_type(forrep_id):
forum_st = node_collection.one({'$and': [{'_type': 'GSystemType'}, {'name': GAPPS[5]}]})
@@ -1637,9 +1685,9 @@ def parse_template_data(field_data_type, field_value, **kwargs):
elif type(field_data_type) == list:
- if kwargs.has_key("field_instance"):
+ if "field_instance" in kwargs:
if kwargs["field_instance"]["_type"] == RelationType or kwargs["field_instance"]["_type"] == "RelationType":
- # Write RT related code
+ # Write RT related code
if not field_value:
return None
if field_value:
@@ -1835,349 +1883,353 @@ def create_gattribute(subject_id, attribute_type_node, object_value=None, **kwar
return ga_node
-
-@get_execution_time
+# @get_execution_time
def create_grelation(subject_id, relation_type_node, right_subject_id_or_list, **kwargs):
- """Creates single or multiple GRelation documents (instances) based on given
- RelationType's cardinality (one-to-one / one-to-many).
+ """Creates single or multiple GRelation documents (instances) based on given
+ RelationType's cardinality (one-to-one / one-to-many).
- Arguments:
- subject_id -- ObjectId of the subject-node
- relation_type_node -- Document of the RelationType node (Embedded document)
- right_subject_id_or_list --
- - When one to one relationship: Single ObjectId of the right_subject node
- - When one to many relationship: List of ObjectId(s) of the right_subject node(s)
-
- Returns:
- - When one to one relationship: Created/Updated/Existed document.
- - When one to many relationship: Created/Updated/Existed list of documents.
-
- """
- gr_node = None
- multi_relations = False
-
- try:
- subject_id = ObjectId(subject_id)
-
- if relation_type_node["object_cardinality"]:
- # If object_cardinality value exists and greater than 1 (or eaqual to 100)
- # Then it signifies it's a one to many type of relationship
- # assign multi_relations = True
- if relation_type_node["object_cardinality"] > 1:
- multi_relations = True
-
- # Check whether right_subject_id_or_list is list or not
- # If not convert it to list
- if not isinstance(right_subject_id_or_list, list):
- right_subject_id_or_list = [right_subject_id_or_list]
-
- # Check whether all values of a list are of ObjectId data-type or not
- # If not convert them to ObjectId
- for i, each in enumerate(right_subject_id_or_list):
- right_subject_id_or_list[i] = ObjectId(each)
-
- if multi_relations:
- # For dealing with multiple relations (one to many)
-
- # Iterate and find all relationships (including DELETED ones' also)
- nodes = triple_collection.find(
- {'_type': "GRelation", 'subject': subject_id, 'relation_type.$id': relation_type_node._id}
- )
-
- gr_node_list = []
-
- for n in nodes:
- if n.right_subject in right_subject_id_or_list:
- if n.status != u"DELETED":
- # If match found with existing one's, then only remove that ObjectId from the given list of ObjectIds
- # Just to remove already existing entries (whose status is PUBLISHED)
- right_subject_id_or_list.remove(n.right_subject)
- gr_node_list.append(n)
-
- node_collection.collection.update(
- {'_id': subject_id, 'relation_set.'+relation_type_node.name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.name: n.right_subject}},
- upsert=False, multi=False
- )
-
- node_collection.collection.update(
- {'_id': n.right_subject, 'relation_set.'+relation_type_node.inverse_name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.inverse_name: subject_id}},
- upsert=False, multi=False
- )
-
- else:
- # Case: When already existing entry doesn't exists in newly come list of right_subject(s)
- # So change their status from PUBLISHED to DELETED
- right_subject_id_or_list.remove(n.right_subject)
- n.status = u"DELETED"
- n.save()
- info_message = " MultipleGRelation: GRelation ("+n.name+") status updated from 'PUBLISHED' to 'DELETED' successfully.\n"
-
- node_collection.collection.update(
- {'_id': subject_id, 'relation_set.'+relation_type_node.name: {'$exists': True}},
- {'$pull': {'relation_set.$.'+relation_type_node.name: n.right_subject}},
- upsert=False, multi=False
- )
+ Arguments:
+ subject_id -- ObjectId of the subject-node
+ relation_type_node -- Document of the RelationType node (Embedded document)
+ right_subject_id_or_list --
+ - When one to one relationship: Single ObjectId of the right_subject node
+ - When one to many relationship: List of ObjectId(s) of the right_subject node(s)
- node_collection.collection.update(
- {'_id': n.right_subject, 'relation_set.'+relation_type_node.inverse_name: {'$exists': True}},
- {'$pull': {'relation_set.$.'+relation_type_node.inverse_name: subject_id}},
- upsert=False, multi=False
- )
+ Returns:
+ - When one to one relationship: Created/Updated/Existed document.
+ - When one to many relationship: Created/Updated/Existed list of documents.
+ """
+ gr_node = None
+ multi_relations = False
- if right_subject_id_or_list:
- # If still ObjectId list persists, it means either they are new ones' or from deleted ones'
- # For deleted one's, find them and modify their status to PUBLISHED
- # For newer one's, create them as new document
- for nid in right_subject_id_or_list:
- gr_node = triple_collection.one(
- {'_type': "GRelation", 'subject': subject_id, 'relation_type.$id': relation_type_node._id, 'right_subject': nid}
- )
+ try:
+ subject_id = ObjectId(subject_id)
- if gr_node is None:
- # New one found so create it
+ def _create_grelation_node(subject_id, relation_type_node, right_subject_id_or_list, relation_type_text):
+ # Code for creating GRelation node
gr_node = triple_collection.collection.GRelation()
gr_node.subject = subject_id
gr_node.relation_type = relation_type_node
- gr_node.right_subject = nid
+ gr_node.right_subject = right_subject_id_or_list
gr_node.status = u"PUBLISHED"
gr_node.save()
- info_message = " MultipleGRelation: GRelation ("+gr_node.name+") created successfully.\n"
+ gr_node_name = gr_node.name
+ info_message = "%(relation_type_text)s: GRelation (%(gr_node_name)s) " % locals() \
+ + "created successfully.\n"
- left_subject = node_collection.one({'_id': subject_id}, {'relation_set': 1})
+ relation_type_node_name = relation_type_node.name
+ relation_type_node_inverse_name = relation_type_node.inverse_name
- rel_exists = False
- for each_dict in left_subject.relation_set:
- if relation_type_node.name in each_dict:
- rel_exists = True
- break
+ left_subject = node_collection.one({
+ "_id": subject_id,
+ "relation_set." + relation_type_node_name: {"$exists": True}
+ })
- if not rel_exists:
- # Fetch corresponding document & append into it's relation_set
- node_collection.collection.update(
- {'_id': subject_id},
- {'$addToSet': {'relation_set': {relation_type_node.name: [nid]}}},
- upsert=False, multi=False
- )
+ if left_subject:
+ # Update value of grelation in existing as key-value pair value in
+ # given node's "relation_set" field
+ node_collection.collection.update({
+ "_id": subject_id,
+ "relation_set." + relation_type_node_name: {'$exists': True}
+ }, {
+ "$addToSet": {"relation_set.$." + relation_type_node_name: right_subject_id_or_list}
+ },
+ upsert=False, multi=False
+ )
else:
- node_collection.collection.update(
- {'_id': subject_id, 'relation_set.'+relation_type_node.name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.name: nid}},
- upsert=False, multi=False
- )
-
- right_subject = node_collection.one({'_id': nid}, {'relation_set': 1})
+ # Add grelation as new key-value pair value in given node's
+ # relation_set field
+ node_collection.collection.update({
+ "_id": subject_id
+ }, {
+ "$addToSet": {"relation_set": {relation_type_node_name: [right_subject_id_or_list]}}
+ },
+ upsert=False, multi=False
+ )
- inv_rel_exists = False
- for each_dict in right_subject.relation_set:
- if relation_type_node.inverse_name in each_dict:
- inv_rel_exists = True
- break
+ right_subject = node_collection.one({
+ '_id': right_subject_id_or_list,
+ "relation_set." + relation_type_node_inverse_name: {"$exists": True}
+ }, {
+ 'relation_set': 1
+ })
- if not inv_rel_exists:
- # Fetch corresponding document & append into it's relation_set
- node_collection.collection.update(
- {'_id': nid},
- {'$addToSet': {'relation_set': {relation_type_node.inverse_name: [subject_id]}}},
- upsert=False, multi=False
- )
+ if right_subject:
+ # Update value of grelation in existing as key-value pair value in
+ # given node's "relation_set" field
+ node_collection.collection.update({
+ "_id": right_subject_id_or_list, "relation_set." + relation_type_node_inverse_name: {'$exists': True}
+ }, {
+ "$addToSet": {"relation_set.$." + relation_type_node_inverse_name: subject_id}
+ },
+ upsert=False, multi=False
+ )
else:
- node_collection.collection.update(
- {'_id': nid, 'relation_set.'+relation_type_node.inverse_name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.inverse_name: subject_id}},
- upsert=False, multi=False
- )
+ # Add grelation as new key-value pair value in given node's
+ # relation_set field
+ node_collection.collection.update({
+ "_id": right_subject_id_or_list
+ }, {
+ "$addToSet": {"relation_set": {relation_type_node_inverse_name: [subject_id]}}
+ },
+ upsert=False, multi=False
+ )
- gr_node_list.append(gr_node)
+ return gr_node
- else:
- # Deleted one found so change it's status back to Published
- if gr_node.status == u'DELETED':
- gr_node.status = u"PUBLISHED"
- gr_node.save()
+ def _update_deleted_to_published(gr_node, relation_type_node, relation_type_text):
+ gr_node.status = u"PUBLISHED"
+ gr_node.save()
- info_message = " MultipleGRelation: GRelation ("+gr_node.name+") status updated from 'DELETED' to 'PUBLISHED' successfully.\n"
+ gr_node_name = gr_node.name
+ relation_type_node_name = relation_type_node.name
+ relation_type_node_inverse_name = relation_type_node.inverse_name
- node_collection.collection.update(
- {'_id': subject_id, 'relation_set.'+relation_type_node.name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.name: gr_node.right_subject}},
- upsert=False, multi=False
- )
+ subject_id = gr_node.subject
+ right_subject = gr_node.right_subject
- node_collection.collection.update(
- {'_id': gr_node.right_subject, 'relation_set.'+relation_type_node.inverse_name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.inverse_name: subject_id}},
- upsert=False, multi=False
- )
+ info_message = " %(relation_type_text)s: GRelation (%(gr_node_name)s) " % locals() \
+ + "status updated from 'DELETED' to 'PUBLISHED' successfully.\n"
- gr_node_list.append(gr_node)
-
- else:
- error_message = " MultipleGRelation: Corrupt value found - GRelation ("+gr_node.name+")!!!\n"
- # raise Exception(error_message)
+ node_collection.collection.update({
+ "_id": subject_id, "relation_set." + relation_type_node_name: {'$exists': True}
+ }, {
+ "$addToSet": {"relation_set.$." + relation_type_node_name: right_subject}
+ },
+ upsert=False, multi=False
+ )
- return gr_node_list
+ node_collection.collection.update({
+ "_id": right_subject, "relation_set." + relation_type_node_inverse_name: {'$exists': True}
+ }, {
+ "$addToSet": {'relation_set.$.' + relation_type_node_inverse_name: subject_id}
+ },
+ upsert=False, multi=False
+ )
- else:
- # For dealing with single relation (one to one)
- gr_node = None
+ return gr_node
- if isinstance(right_subject_id_or_list, list):
- right_subject_id_or_list = ObjectId(right_subject_id_or_list[0])
+ if relation_type_node["object_cardinality"]:
+ # If object_cardinality value exists and greater than 1 (or eaqual to 100)
+ # Then it signifies it's a one to many type of relationship
+ # assign multi_relations = True
+ type_of_relationship = relation_type_node.member_of_names_list
+ if relation_type_node["object_cardinality"] > 1:
+ multi_relations = True
- else:
- right_subject_id_or_list = ObjectId(right_subject_id_or_list)
+ if META_TYPE[3] in type_of_relationship:
+ # If Binary relationship found
- gr_node_cur = triple_collection.find(
- {'_type': "GRelation", 'subject': subject_id,'relation_type.$id': relation_type_node._id}
- )
+ # Check whether right_subject_id_or_list is list or not
+ # If not convert it to list
+ if not isinstance(right_subject_id_or_list, list):
+ right_subject_id_or_list = [right_subject_id_or_list]
- for node in gr_node_cur:
- if node.right_subject == right_subject_id_or_list:
- # If match found, it means it could be either DELETED one or PUBLISHED one
+ # Check whether all values of a list are of ObjectId data-type or not
+ # If not convert them to ObjectId
+ for i, each in enumerate(right_subject_id_or_list):
+ right_subject_id_or_list[i] = ObjectId(each)
- if node.status == u"DELETED":
- # If deleted, change it's status back to Published from Deleted
- node.status = u"PUBLISHED"
- node.save()
- info_message = " SingleGRelation: GRelation ("+node.name+") status updated from 'DELETED' to 'PUBLISHED' successfully.\n"
+ else:
+ # Relationship Other than Binary one found; e.g, Triadic
+ if right_subject_id_or_list:
+ if not isinstance(right_subject_id_or_list[0], list):
+ right_subject_id_or_list = [right_subject_id_or_list]
- node_collection.collection.update(
- {'_id': subject_id, 'relation_set.'+relation_type_node.name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.name: node.right_subject}},
- upsert=False, multi=False
- )
+ # right_subject_id_or_list: [[id, id, ...], [id, id, ...], ...]
+ for i, each_list in enumerate(right_subject_id_or_list):
+ # each_list: [id, id, ...]
+ for j, each in enumerate(each_list):
+ right_subject_id_or_list[i][j] = ObjectId(each)
- node_collection.collection.update(
- {'_id': node.right_subject, 'relation_set.'+relation_type_node.inverse_name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.inverse_name: subject_id}},
- upsert=False, multi=False
- )
+ else:
+ if META_TYPE[3] in type_of_relationship:
+ # If Binary relationship found
+ if isinstance(right_subject_id_or_list, list):
+ right_subject_id_or_list = ObjectId(right_subject_id_or_list[0])
- elif node.status == u"PUBLISHED":
- node_collection.collection.update(
- {'_id': subject_id, 'relation_set.'+relation_type_node.name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.name: node.right_subject}},
- upsert=False, multi=False
- )
+ else:
+ right_subject_id_or_list = ObjectId(right_subject_id_or_list)
+ else:
+ # Relationship Other than Binary one found; e.g, Triadic
+ # right_subject_id_or_list: [[id, id, ...], [id, id, ...], ...]
+ if right_subject_id_or_list:
+ if isinstance(right_subject_id_or_list[0], list):
+ # Reduce it to [id, id, id, ...]
+ right_subject_id_or_list = right_subject_id_or_list[0]
+
+ for i, each_id in enumerate(right_subject_id_or_list):
+ right_subject_id_or_list[i] = ObjectId(each_id)
+
+ if multi_relations:
+ # For dealing with multiple relations (one to many)
+
+ # Iterate and find all relationships (including DELETED ones' also)
+ nodes = triple_collection.find({
+ '_type': "GRelation", 'subject': subject_id,
+ 'relation_type.$id': relation_type_node._id
+ })
- node_collection.collection.update(
- {'_id': node.right_subject, 'relation_set.'+relation_type_node.inverse_name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.inverse_name: subject_id}},
- upsert=False, multi=False
- )
- info_message = " SingleGRelation: GRelation ("+node.name+") already exists !\n"
+ gr_node_list = []
- # Set gr_node value as matched value, so that no need to create new one
- node.reload()
- gr_node = node
+ for n in nodes:
+ if n.right_subject in right_subject_id_or_list:
+ if n.status != u"DELETED":
+ # If match found with existing one's, then only remove that ObjectId from the given list of ObjectIds
+ # Just to remove already existing entries (whose status is PUBLISHED)
+ right_subject_id_or_list.remove(n.right_subject)
+ gr_node_list.append(n)
- else:
- # If match not found and if it's PUBLISHED one, modify it to DELETED
- if node.status == u'PUBLISHED':
- node.status = u"DELETED"
- node.save()
+ node_collection.collection.update(
+ {'_id': subject_id, 'relation_set.'+relation_type_node.name: {'$exists': True}},
+ {'$addToSet': {'relation_set.$.'+relation_type_node.name: n.right_subject}},
+ upsert=False, multi=False
+ )
- node_collection.collection.update(
- {'_id': subject_id, 'relation_set.'+relation_type_node.name: {'$exists': True}},
- {'$pull': {'relation_set.$.'+relation_type_node.name: node.right_subject}},
- upsert=False, multi=False
- )
+ node_collection.collection.update(
+ {'_id': n.right_subject, 'relation_set.'+relation_type_node.inverse_name: {'$exists': True}},
+ {'$addToSet': {'relation_set.$.'+relation_type_node.inverse_name: subject_id}},
+ upsert=False, multi=False
+ )
- node_collection.collection.update(
- {'_id': node.right_subject, 'relation_set.'+relation_type_node.inverse_name: {'$exists': True}},
- {'$pull': {'relation_set.$.'+relation_type_node.inverse_name: subject_id}},
- upsert=False, multi=False
- )
- info_message = " SingleGRelation: GRelation ("+node.name+") status updated from 'DELETED' to 'PUBLISHED' successfully.\n"
-
- elif node.status == u'DELETED':
- node_collection.collection.update(
- {'_id': subject_id, 'relation_set.'+relation_type_node.name: {'$exists': True}},
- {'$pull': {'relation_set.$.'+relation_type_node.name: node.right_subject}},
- upsert=False, multi=False
- )
+ else:
+ # Case: When already existing entry doesn't exists in newly come list of right_subject(s)
+ # So change their status from PUBLISHED to DELETED
+ # right_subject_id_or_list.remove(n.right_subject)
+ n.status = u"DELETED"
+ n.save()
+ info_message = " MultipleGRelation: GRelation ("+n.name+") status updated from 'PUBLISHED' to 'DELETED' successfully.\n"
+
+ node_collection.collection.update({
+ '_id': subject_id, 'relation_set.' + relation_type_node.name: {'$exists': True}
+ }, {
+ '$pull': {'relation_set.$.' + relation_type_node.name: n.right_subject}
+ },
+ upsert=False, multi=False
+ )
+
+ res = node_collection.collection.update({
+ '_id': n.right_subject, 'relation_set.' + relation_type_node.inverse_name: {'$exists': True}
+ }, {
+ '$pull': {'relation_set.$.' + relation_type_node.inverse_name: subject_id}
+ },
+ upsert=False, multi=False
+ )
+
+ if right_subject_id_or_list:
+ # If still ObjectId list persists, it means either they are new ones'
+ # or from deleted ones'
+ # For deleted one's, find them and modify their status to PUBLISHED
+ # For newer one's, create them as new document
+ for nid in right_subject_id_or_list:
+ gr_node = triple_collection.one({
+ '_type': "GRelation", 'subject': subject_id,
+ 'relation_type.$id': relation_type_node._id, 'right_subject': nid
+ })
+
+ if gr_node is None:
+ # New one found so create it
+ gr_node = _create_grelation_node(subject_id, relation_type_node, nid, "MultipleGRelation")
+ gr_node_list.append(gr_node)
- node_collection.collection.update(
- {'_id': node.right_subject, 'relation_set.'+relation_type_node.inverse_name: {'$exists': True}},
- {'$pull': {'relation_set.$.'+relation_type_node.inverse_name: subject_id}},
- upsert=False, multi=False
- )
- info_message = " SingleGRelation: GRelation ("+node.name+") status updated from 'DELETED' to 'PUBLISHED' successfully.\n"
+ else:
+ # Deleted one found so change it's status back to Published
+ if gr_node.status == u'DELETED':
+ gr_node = _update_deleted_to_published(gr_node, relation_type_node, "MultipleGRelation")
+ gr_node_list.append(gr_node)
- if gr_node is None:
- # Code for creation
- gr_node = triple_collection.collection.GRelation()
+ else:
+ error_message = " MultipleGRelation: Corrupt value found - GRelation ("+gr_node.name+")!!!\n"
+ # raise Exception(error_message)
- gr_node.subject = subject_id
- gr_node.relation_type = relation_type_node
- gr_node.right_subject = right_subject_id_or_list
+ return gr_node_list
- gr_node.status = u"PUBLISHED"
-
- gr_node.save()
- info_message = " GRelation ("+gr_node.name+") created successfully.\n"
+ else:
+ # For dealing with single relation (one to one)
+ gr_node = None
- left_subject = node_collection.one({'_id': subject_id}, {'relation_set': 1})
+ relation_type_node_id = relation_type_node._id
+ relation_type_node_name = relation_type_node.name
+ relation_type_node_inverse_name = relation_type_node.inverse_name
- rel_exists = False
- for each_dict in left_subject.relation_set:
- if relation_type_node.name in each_dict:
- rel_exists = True
- break
+ gr_node_cur = triple_collection.find({
+ "_type": "GRelation", "subject": subject_id,
+ "relation_type.$id": relation_type_node_id
+ })
- if not rel_exists:
- # Fetch corresponding document & append into it's relation_set
- node_collection.collection.update(
- {'_id': subject_id},
- {'$addToSet': {'relation_set': {relation_type_node.name: [right_subject_id_or_list]}}},
- upsert=False, multi=False
- )
+ for node in gr_node_cur:
+ node_name = node.name
+ node_status = node.status
+ node_right_subject = node.right_subject
+
+ if node_right_subject == right_subject_id_or_list:
+ # If match found, it means it could be either DELETED one or PUBLISHED one
+
+ if node_status == u"DELETED":
+ # If deleted, change it's status back to Published from Deleted
+ node = _update_deleted_to_published(node, relation_type_node, "SingleGRelation")
+
+ elif node_status == u"PUBLISHED":
+ node_collection.collection.update({
+ "_id": subject_id, "relation_set." + relation_type_node_name: {'$exists': True}
+ }, {
+ "$addToSet": {"relation_set.$." + relation_type_node_name: node_right_subject}
+ },
+ upsert=False, multi=False
+ )
- else:
- node_collection.collection.update(
- {'_id': subject_id, 'relation_set.'+relation_type_node.name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.name: right_subject_id_or_list}},
- upsert=False, multi=False
- )
+ node_collection.collection.update({
+ "_id": node_right_subject, "relation_set." + relation_type_node_inverse_name: {'$exists': True}
+ }, {
+ "$addToSet": {"relation_set.$." + relation_type_node_inverse_name: subject_id}
+ },
+ upsert=False, multi=False
+ )
+ info_message = " SingleGRelation: GRelation (%(node_name)s) already exists !\n" % locals()
- right_subject = node_collection.one({'_id': right_subject_id_or_list}, {'relation_set': 1})
+ # Set gr_node value as matched value, so that no need to create new one
+ node.reload()
+ gr_node = node
- inv_rel_exists = False
- for each_dict in right_subject.relation_set:
- if relation_type_node.inverse_name in each_dict:
- inv_rel_exists = True
- break
+ else:
+ # If match not found and if it's PUBLISHED one, modify it to DELETED
+ if node.status == u'PUBLISHED':
+ node.status = u"DELETED"
+ node.save()
+
+ node_collection.collection.update({
+ '_id': subject_id, 'relation_set.' + relation_type_node_name: {'$exists': True}
+ }, {
+ '$pull': {'relation_set.$.' + relation_type_node_name: node_right_subject}
+ },
+ upsert=False, multi=False
+ )
- if not inv_rel_exists:
- # Fetch corresponding document & append into it's relation_set
- node_collection.collection.update(
- {'_id': right_subject_id_or_list},
- {'$addToSet': {'relation_set': {relation_type_node.inverse_name: [subject_id]}}},
- upsert=False, multi=False
- )
+ node_collection.collection.update({
+ '_id': node_right_subject, 'relation_set.' + relation_type_node_inverse_name: {'$exists': True}
+ }, {
+ '$pull': {'relation_set.$.' + relation_type_node_inverse_name: subject_id}
+ },
+ upsert=False, multi=False
+ )
+ info_message = " SingleGRelation: GRelation (%(node_name)s) status " % locals() \
+ + "updated from 'PUBLISHED' to 'DELETED' successfully.\n"
- else:
- node_collection.collection.update(
- {'_id': right_subject_id_or_list, 'relation_set.'+relation_type_node.inverse_name: {'$exists': True}},
- {'$addToSet': {'relation_set.$.'+relation_type_node.inverse_name: subject_id}},
- upsert=False, multi=False
- )
+ if gr_node is None:
+ # Code for creation
+ gr_node = _create_grelation_node(subject_id, relation_type_node, right_subject_id_or_list, "SingleGRelation")
- return gr_node
+ return gr_node
- except Exception as e:
- error_message = "\n GRelationError: " + str(e) + "\n"
- raise Exception(error_message)
+ except Exception as e:
+ error_message = "\n GRelationError (line #" + str(exc_info()[-1].tb_lineno) + "): " + str(e) + "\n"
+ raise Exception(error_message)
-
-
############################################### ##############################################
@get_execution_time
def set_all_urls(member_of):
@@ -3815,5 +3867,29 @@ def delete_node(
return (False, delete_status_message)
-
+def repository(request, group_id):
+ '''
+ It's an NROER repository. Which will hold the list of apps.
+ '''
+
+ gapp_metatype = node_collection.one({"_type": "MetaType", "name": "GAPP"})
+
+ gapps_list = [i.values()[0] for i in GSTUDIO_NROER_GAPPS]
+ # print gapps_list
+
+ gapps_obj_list = []
+
+ for each_gapp in gapps_list:
+ gapp_obj = node_collection.one({ '_type':'GSystemType',
+ 'name': {"$regex": each_gapp, "$options": "i"},
+ "member_of": {"$in": [gapp_metatype._id]}
+ })
+ gapps_obj_list.append(gapp_obj)
+ return render_to_response("ndf/repository.html",
+ { "gapps_obj_list": gapps_obj_list,
+ "gapps_dict" : GSTUDIO_NROER_GAPPS,
+ 'group_id': group_id, 'groupid': group_id
+ },
+ context_instance=RequestContext(request)
+ )
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/partner.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/partner.py
new file mode 100644
index 0000000..686f679
--- /dev/null
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/partner.py
@@ -0,0 +1,179 @@
+''' -- imports from python libraries -- '''
+# import os -- Keep such imports here
+import json
+
+''' -- imports from installed packages -- '''
+from django.http import HttpResponseRedirect
+from django.http import HttpResponse
+from django.core.urlresolvers import reverse
+from django.shortcuts import render_to_response # , render
+from django.template import RequestContext
+# from django.template.defaultfilters import slugify
+from django.contrib.auth.decorators import login_required
+from django.contrib.auth.models import User
+
+try:
+ from bson import ObjectId
+except ImportError: # old pymongo
+ from pymongo.objectid import ObjectId
+
+''' -- imports from application folders/files -- '''
+from gnowsys_ndf.settings import GAPPS, GROUP_AGENCY_TYPES, GSTUDIO_NROER_MENU, GSTUDIO_NROER_MENU_MAPPINGS
+
+# from gnowsys_ndf.ndf.models import GSystemType, GSystem, Group, Triple
+from gnowsys_ndf.ndf.models import node_collection, triple_collection
+from gnowsys_ndf.ndf.views.ajax_views import set_drawer_widget
+from gnowsys_ndf.ndf.templatetags.ndf_tags import get_existing_groups, get_all_user_groups
+from gnowsys_ndf.ndf.views.methods import *
+
+# ######################################################################################################################################
+
+gst_group = node_collection.one({"_type": "GSystemType", 'name': GAPPS[2]})
+get_all_usergroups=get_all_user_groups()
+at_apps_list=node_collection.one({'$and':[{'_type':'AttributeType'},{'name':'apps_list'}]})
+ins_objectid = ObjectId()
+app=gst_group
+
+# ######################################################################################################################################
+# V I E W S D E F I N E D F O R P A R T N E R '
+# ######################################################################################################################################
+
+@login_required
+@get_execution_time
+def create_partner(request,group_id):
+ ins_objectid = ObjectId()
+ if ins_objectid.is_valid(group_id) is False :
+ group_ins = node_collection.find_one({'_type': "Group","name": group_id})
+ auth = node_collection.one({'_type': 'Author', 'name': unicode(request.user.username) })
+ if group_ins:
+ group_id = str(group_ins._id)
+ else:
+ auth = node_collection.one({'_type': 'Author', 'name': unicode(request.user.username) })
+ if auth:
+ group_id = str(auth._id)
+ else :
+ pass
+
+ if request.method == "POST":
+ colg = node_collection.collection.Group()
+ Mod_colg = node_collection.collection.Group()
+
+ cname = request.POST.get('groupname', "").strip()
+ colg.altnames = cname
+ colg.name = unicode(cname)
+ colg.member_of.append(gst_group._id)
+ usrid = int(request.user.id)
+
+ colg.created_by = usrid
+ if usrid not in colg.author_set:
+ colg.author_set.append(usrid)
+
+ colg.modified_by = usrid
+ if usrid not in colg.contributors:
+ colg.contributors.append(usrid)
+
+ colg.group_type = request.POST.get('group_type', "")
+ colg.edit_policy = request.POST.get('edit_policy', "")
+ colg.subscription_policy = request.POST.get('subscription', "")
+ colg.visibility_policy = request.POST.get('existance', 'ANNOUNCED')
+ colg.disclosure_policy = request.POST.get('member', 'DISCLOSED_TO_MEM')
+ colg.encryption_policy = request.POST.get('encryption', 'NOT_ENCRYPTED')
+ colg.agency_type = "Partner"
+ colg.save()
+
+ if colg.edit_policy == "EDITABLE_MODERATED":
+ Mod_colg.altnames = cname + "Mod"
+ Mod_colg.name = cname + "Mod"
+ Mod_colg.group_type = "PRIVATE"
+
+ Mod_colg.created_by = usrid
+ if usrid not in Mod_colg.author_set:
+ Mod_colg.author_set.append(usrid)
+
+ Mod_colg.modified_by = usrid
+ if usrid not in Mod_colg.contributors:
+ Mod_colg.contributors.append(usrid)
+
+ Mod_colg.prior_node.append(colg._id)
+ Mod_colg.save()
+
+ colg.post_node.append(Mod_colg._id)
+ colg.save()
+
+ auth = node_collection.one({'_type': 'Author', 'name': unicode(request.user.username) })
+
+ has_shelf_RT = node_collection.one({'_type': 'RelationType', 'name': u'has_shelf' })
+
+ shelves = []
+ shelf_list = {}
+
+ if auth:
+ shelf = triple_collection.find({'_type': 'GRelation', 'subject': ObjectId(auth._id), 'relation_type.$id': has_shelf_RT._id })
+
+ if shelf:
+ for each in shelf:
+ shelf_name = node_collection.one({'_id': ObjectId(each.right_subject)})
+ shelves.append(shelf_name)
+
+ shelf_list[shelf_name.name] = []
+ for ID in shelf_name.collection_set:
+ shelf_item = node_collection.one({'_id': ObjectId(ID) })
+ shelf_list[shelf_name.name].append(shelf_item.name)
+
+ else:
+ shelves = []
+ return render_to_response("ndf/groupdashboard.html", {'groupobj': colg, 'appId': app._id, 'node': colg, 'user': request.user,
+ 'groupid': colg._id, 'group_id': colg._id,
+ 'shelf_list': shelf_list,'shelves': shelves
+ },context_instance=RequestContext(request))
+
+
+ available_nodes = node_collection.find({'_type': u'Group', 'member_of': ObjectId(gst_group._id) })
+ nodes_list = []
+ for each in available_nodes:
+ nodes_list.append(str((each.name).strip().lower()))
+ return render_to_response("ndf/create_partner.html", {'groupid': group_id, 'appId': app._id, 'group_id': group_id, 'nodes_list': nodes_list},RequestContext(request))
+
+
+def partner_list(request,group_id):
+ group_name, group_id = get_group_name_id(group_id)
+
+ get_grp=node_collection.one({'_id':ObjectId(group_id)})
+ collection_set=[]
+ for each in get_grp.collection_set:
+ node=node_collection.one({'_id':each})
+ collection_set.append(node)
+ return render_to_response("ndf/partner_list.html",
+ {'group_nodes': collection_set,
+ 'groupid': group_id, 'group_id': group_id
+ }, context_instance=RequestContext(request))
+
+
+@get_execution_time
+def nroer_groups(request, group_id, groups_category):
+ group_name, group_id = get_group_name_id(group_id)
+
+ mapping = GSTUDIO_NROER_MENU_MAPPINGS
+
+ # loop over nroer menu except "Repository"
+ for each_item in GSTUDIO_NROER_MENU[1:]:
+ temp_key_name = each_item.keys()[0]
+ if temp_key_name == groups_category:
+ groups_names_list = each_item.get(groups_category, [])
+
+ # mapping for the text names in list
+ groups_names_list = [mapping.get(i) for i in groups_names_list]
+ break
+
+ group_nodes = node_collection.find({ '_type': "Group",
+ '_id': {'$nin': [ObjectId(group_id)]},
+ 'name': {'$nin': ["home"], '$in': groups_names_list},
+ 'group_type': "PUBLIC"
+ })#.sort('last_update', -1)
+
+ group_nodes_count = group_nodes.count() if group_nodes else 0
+ return render_to_response("ndf/partner.html",
+ {'group_nodes': group_nodes, "groups_category": groups_category,
+ 'group_nodes_count': group_nodes_count,
+ 'groupid': group_id, 'group_id': group_id
+ }, context_instance=RequestContext(request))
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/person.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/person.py
index 3049a69..ffcb56f 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/person.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/person.py
@@ -20,6 +20,7 @@ except ImportError: # old pymongo
from pymongo.objectid import ObjectId
''' -- imports from application folders/files -- '''
+from gnowsys_ndf.settings import META_TYPE
from gnowsys_ndf.ndf.models import AttributeType, RelationType
from gnowsys_ndf.ndf.models import node_collection
from gnowsys_ndf.ndf.views.file import save_file
@@ -405,10 +406,21 @@ def person_create_edit(request, group_id, app_id, app_set_id=None, app_set_insta
else:
field_value_list = request.POST.getlist(fi_name)
- # field_instance_type = "GRelation"
- for i, field_value in enumerate(field_value_list):
- field_value = parse_template_data(field_data_type, field_value, field_instance=field_instance, date_format_string="%m/%d/%Y %H:%M")
- field_value_list[i] = field_value
+ if META_TYPE[3] in field_instance.member_of_names_list:
+ # If Binary relationship found
+ # [id, id, ...]
+ # field_instance_type = "GRelation"
+ for i, field_value in enumerate(field_value_list):
+ field_value = parse_template_data(field_data_type, field_value, field_instance=field_instance, date_format_string="%m/%d/%Y %H:%M")
+ field_value_list[i] = field_value
+ else:
+ # Relationship Other than Binary one found; e.g, Triadic
+ # [[id, id, ...], [id, id, ...], ...]
+ # field_instance_type = "GRelation"
+ for i, field_value_inner_list in enumerate(field_value_list):
+ for j, field_value in enumerate(field_value_inner_list):
+ field_value = parse_template_data(field_data_type, field_value, field_instance=field_instance, date_format_string="%m/%d/%Y %H:%M")
+ field_value_list[i][j] = field_value
person_gs_triple_instance = create_grelation(person_gs._id, node_collection.collection.RelationType(field_instance), field_value_list)
@@ -437,7 +449,7 @@ def person_create_edit(request, group_id, app_id, app_set_id=None, app_set_insta
for attr in person_gs.attribute_set:
if "email_id" in attr:
if attr["email_id"]:
- auth_node = node_collection.one({'_type': "Author", 'email': attr["email_id"]})
+ auth_node = node_collection.one({'_type': "Author", 'email': attr["email_id"].lower()})
break
if auth_node:
@@ -445,7 +457,14 @@ def person_create_edit(request, group_id, app_id, app_set_id=None, app_set_insta
if has_login_rt:
# Linking GSystem Node and Author node via "has_login" relationship;
gr_node = create_grelation(person_gs._id, has_login_rt, auth_node._id)
-
+
+ # Set author_agency field's value of author node as "Program Officer"
+ # Required to identify at time of log-in in order to display
+ # required modules defined for Program Officers under MIS GApp
+ if auth_node.agency_type != u"Program Officer":
+ auth_node.agency_type = u"Program Officer"
+ auth_node.save()
+
if "Program Officer" in person_gs.member_of_names_list:
# If Person node (GSystem) is of Program Officer type
# then only go for subscription
@@ -490,6 +509,7 @@ def person_create_edit(request, group_id, app_id, app_set_id=None, app_set_insta
return HttpResponseRedirect(reverse(app_name.lower()+":"+template_prefix+'_app_detail', kwargs={'group_id': group_id, "app_id":app_id, "app_set_id":app_set_id}))
default_template = "ndf/person_create_edit.html"
+
# default_template = "ndf/"+template_prefix+"_create_edit.html"
context_variables = { 'groupid': group_id, 'group_id': group_id,
'app_id': app_id, 'app_name': app_name, 'app_collection_set': app_collection_set,
@@ -517,6 +537,32 @@ def person_create_edit(request, group_id, app_id, app_set_id=None, app_set_insta
if app_set_instance_id:
person_gs.get_neighbourhood(person_gs.member_of)
+
+ if "trainer_teaches_course_in_college" in person_gs:
+ l = []
+ for each_course_college in person_gs.trainer_teaches_course_in_college:
+ # Fetch Course Type (i.e. nussd_course_type)
+ ct = ""
+ for each_attr in each_course_college[0].attribute_set:
+ if "nussd_course_type" in each_attr and each_attr:
+ ct = each_attr["nussd_course_type"]
+ break
+
+ univ_name = ""
+ for each_rel in each_course_college[1].relation_set:
+ if "college_affiliated_to" in each_rel and each_rel:
+ univ = node_collection.find_one({"_id": {"$in": each_rel["college_affiliated_to"]}})
+ univ_name = univ.name if univ else ""
+
+ l.append((
+ ct, each_course_college[0].name, each_course_college[1].name,
+ each_course_college[0]._id.__str__(),
+ each_course_college[1]._id.__str__(),
+ univ_name
+ ))
+
+ person_gs.trainer_teaches_course_in_college = l
+
context_variables['node'] = person_gs
try:
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/topics.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/topics.py
index b34756b..99360f2 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/topics.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/topics.py
@@ -715,8 +715,10 @@ def topic_detail_view(request, group_id, app_Id=None):
# First get the navigation list till topic from theme map
nav_l=request.GET.get('nav_li','')
breadcrumbs_list = []
+ nav_li = ""
if nav_l:
+ nav_li = nav_l
nav_l = str(nav_l).split(",")
# create beadcrumbs list from navigation list sent from template.
@@ -765,7 +767,7 @@ def topic_detail_view(request, group_id, app_Id=None):
return render_to_response('ndf/topic_details.html',
{ 'node': obj,'app_id': app_id,"theme_id": theme_id, "prior_obj": prior_obj,
- 'group_id': group_id,'shelves': shelves,'topic': topic,
+ 'group_id': group_id,'shelves': shelves,'topic': topic, 'nav_list':nav_li,
'groupid':group_id,'shelf_list': shelf_list,'breadcrumbs_list': breadcrumbs_list
},
context_instance = RequestContext(request)
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/userDashboard.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/userDashboard.py
index 98b24d0..a9285f7 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/userDashboard.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/userDashboard.py
@@ -15,23 +15,21 @@ except ImportError: # old pymongo
''' -- imports from application folders/files -- '''
-from gnowsys_ndf.ndf.models import *
-from gnowsys_ndf.ndf.views.methods import get_drawers,get_all_gapps,create_grelation,get_execution_time
-from gnowsys_ndf.ndf.views.methods import get_user_group, get_user_task, get_user_notification, get_user_activity,get_execution_time
-
-from gnowsys_ndf.ndf.views.file import *
-from gnowsys_ndf.ndf.views.forum import *
from gnowsys_ndf.settings import META_TYPE, GAPPS, GSTUDIO_SITE_DEFAULT_LANGUAGE
from gnowsys_ndf.settings import GSTUDIO_RESOURCES_CREATION_RATING, GSTUDIO_RESOURCES_REGISTRATION_RATING, GSTUDIO_RESOURCES_REPLY_RATING
+
+from gnowsys_ndf.ndf.models import *
from gnowsys_ndf.ndf.models import node_collection, triple_collection, gridfs_collection
from gnowsys_ndf.ndf.models import *
from django.contrib.auth.models import User
-from gnowsys_ndf.ndf.views.methods import get_drawers, get_all_gapps
+
+from gnowsys_ndf.ndf.views.methods import get_drawers, get_execution_time
from gnowsys_ndf.ndf.views.methods import create_grelation, create_gattribute
-# from gnowsys_ndf.ndf.views.methods import get_user_group, get_user_task, get_user_notification, get_user_activity
-from gnowsys_ndf.ndf.views.ajax_views import set_drawer_widget
+from gnowsys_ndf.ndf.views.methods import get_user_group, get_user_task, get_user_notification, get_user_activity,get_execution_time
+
from gnowsys_ndf.ndf.views.file import *
from gnowsys_ndf.ndf.views.forum import *
+from gnowsys_ndf.ndf.views.ajax_views import set_drawer_widget
from gnowsys_ndf.notification import models as notification
from gnowsys_ndf.ndf.templatetags.ndf_tags import get_all_user_groups
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/videoDashboard.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/videoDashboard.py
index 9347427..14f473a 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/videoDashboard.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/videoDashboard.py
@@ -2,7 +2,7 @@
from django.http import HttpResponseRedirect
from django.http import HttpResponse
from django.core.urlresolvers import reverse
-from django.shortcuts import render_to_response, render
+from django.shortcuts import render_to_response # , render
from django.template import RequestContext
try:
@@ -10,15 +10,17 @@ try:
except ImportError: # old pymongo
from pymongo.objectid import ObjectId
from gnowsys_ndf.ndf.models import File
+
''' -- imports from application folders/files -- '''
-from gnowsys_ndf.settings import GAPPS, MEDIA_ROOT
-from gnowsys_ndf.ndf.views.methods import get_node_common_fields,create_grelation_list,get_execution_time
-from gnowsys_ndf.ndf.management.commands.data_entry import create_gattribute
-from gnowsys_ndf.ndf.views.methods import get_node_metadata, create_gattribute, create_grelation
-from gnowsys_ndf.ndf.models import node_collection, triple_collection
+from gnowsys_ndf.settings import META_TYPE, GAPPS # , MEDIA_ROOT
+from gnowsys_ndf.ndf.models import node_collection # , triple_collection
+from gnowsys_ndf.ndf.views.methods import get_node_common_fields, get_node_metadata
+# from gnowsys_ndf.ndf.views.methods import create_gattribute, create_grelation
+from gnowsys_ndf.ndf.views.methods import get_execution_time
+gapp_mt = node_collection.one({'_type': "MetaType", 'name': META_TYPE[0]})
+GST_VIDEO = node_collection.one({'member_of': gapp_mt._id, 'name': GAPPS[4]})
-GST_VIDEO = node_collection.one({"_type": "GSystemType", 'name': GAPPS[4]})
@get_execution_time
def videoDashboard(request, group_id, video_id):
@@ -124,13 +126,22 @@ def video_detail(request, group_id, _id):
else :
pass
vid_node = node_collection.one({"_id": ObjectId(_id)})
+
+ # First get the navigation list till topic from theme map
+ nav_l=request.GET.get('nav_li','')
+ breadcrumbs_list = []
+ nav_li = ""
+
+ if nav_l:
+ nav_li = nav_l
+
if vid_node._type == "GSystemType":
return videoDashboard(request, group_id, _id)
video_obj=request.GET.get("vid_id","")
return render_to_response("ndf/video_detail.html",
{ 'node': vid_node,
'group_id': group_id,
- 'groupid':group_id,
+ 'groupid':group_id, 'nav_list':nav_li,
'video_obj':video_obj
},
context_instance = RequestContext(request)