From: alison benjamin Date: Tue, 6 Sep 2011 19:55:11 +0000 (-0000) Subject: simplified-desktop theme X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=atutor.git;a=commitdiff_plain;h=c324645af32416e65999dace9b2f276733fa0c3e simplified-desktop theme --- diff --git a/docs/themes/simplified-desktop/TeraWurflRemoteClient.php b/docs/themes/simplified-desktop/TeraWurflRemoteClient.php new file mode 100644 index 000000000..92204c397 --- /dev/null +++ b/docs/themes/simplified-desktop/TeraWurflRemoteClient.php @@ -0,0 +1,245 @@ + + * @version Stable 2.1.2 $Date: 2010/05/14 15:53:02 + * @license http://www.mozilla.org/MPL/ MPL Vesion 1.1 + */ +/** + * Tera-WURFL remote webservice client for PHP + * @package TeraWurflRemoteClient + */ +class TeraWurflRemoteClient { + + /** + * XML Data Format - this should only be used to communicate with Tera-WURFL 2.1.1 and older + * @var String + */ + public static $FORMAT_XML = 'xml'; + /** + * The JSON Data Format is the default transport for Tera-WURFL 2.1.2 and newer due to it's smaller size + * and better performance with the builtin PHP functions + * @var String + */ + public static $FORMAT_JSON = 'json'; + /** + * If you try to use a capability that has not been retrieved yet and this is set to true, + * it will generate another request to the webservice and retrieve this capability automatically. + * @var Bool + */ + public $autolookup = true; + /** + * Flattened version of Tera-WURFL's capabilities array, containing only capability names and values. + * Since it is 'Flattened', there a no groups in this array, just individual capabilities. + * @var Array + */ + public $capabilities; + /** + * Array of errors that were encountered while processing the request and/or response. + * @var Array + */ + public $errors; + /** + * The HTTP Headers that Tera-WURFL will look through to find the best User Agent, if one is not specified + * @var Array + */ + public static $userAgentHeaders = array( + 'HTTP_X_DEVICE_USER_AGENT', + 'HTTP_X_ORIGINAL_USER_AGENT', + 'HTTP_X_OPERAMINI_PHONE_UA', + 'HTTP_X_SKYFIRE_PHONE', + 'HTTP_X_BOLT_PHONE_UA', + 'HTTP_USER_AGENT' + ); + protected $format; + protected $userAgent; + protected $webserviceUrl; + protected $xml; + protected $json; + protected $clientVersion = '2.1.2'; + protected $apiVersion; + + /** + * Creates a TeraWurflRemoteClient object. NOTE: in Tera-WURFL 2.1.2 the default data format is JSON. + * This format is not supported in Tera-WURFL 2.1.1 or earlier, so if you must use this client with + * an earlier version of the server, set the second parameter to TeraWurflRemoteClient::$FORMAT_XML + * @param String URL to the master Tera-WURFL Server's webservice.php + * @param String TeraWurflRemoteClient::$FORMAT_JSON or TeraWurflRemoteClient::$FORMAT_XML + */ + public function __construct($TeraWurflWebserviceURL,$data_format='json'){ + $this->format = $data_format; + if(!self::validURL($TeraWurflWebserviceURL)){ + throw new Exception("TeraWurflRemoteClient Error: the specified webservice URL is invalid. Please make sure you pass the full url to Tera-WURFL's webservice.php."); + exit(1); + } + $this->capabilities = array(); + $this->errors = array(); + $this->webserviceUrl = $TeraWurflWebserviceURL; + } + /** + * Get the requested capabilities from Tera-WURFL for the given user agent + * @param String HTTP User Agent of the device being detected + * @param Array Array of capabilities that you would like to retrieve + * @return bool Success + */ + public function getCapabilitiesFromAgent($userAgent, Array $capabilities){ + $this->userAgent = (is_null($userAgent))? self::getUserAgent(): $userAgent; + // build request string + $uri = $this->webserviceUrl . (strpos($this->webserviceUrl,'?')===false?'?':'&') + . 'ua=' . urlencode($this->userAgent) + . '&format=' . $this->format + . '&search=' . implode('|',$capabilities); + $this->callTeraWurfl($uri); + $this->loadCapabilities(); + $this->loadErrors(); + return true; + } + /** + * Returns the value of the requested capability + * @param String The WURFL capability you are looking for (e.g. "is_wireless_device") + * @return Mixed String, Numeric, Bool + */ + public function getDeviceCapability($capability){ + $capability = strtolower($capability); + if(!array_key_exists($capability, $this->capabilities)){ + if($this->autolookup){ + $this->getCapabilitiesFromAgent($this->userAgent, array($capability), array()); + } + return $this->capabilities[$capability]; + } + return $this->capabilities[$capability]; + } + /** + * Get the version of the Tera-WURFL Remote Client (this file) + * @return String + */ + public function getClientVersion(){ + return $this->clientVersion; + } + /** + * Get the version of the Tera-WURFL Webservice (webservice.php on server). This is only available + * after a query has been made since it is returned in the XML response. + * @return String + */ + public function getAPIVersion(){ + return $this->apiVersion; + } + /** + * Make the webservice call to the server using the GET method and load the XML response into $this->xml + * @param String The URI of the master server + * @return void + */ + protected function callTeraWurfl($uri){ + try{ + switch($this->format){ + case self::$FORMAT_JSON: + $data = file_get_contents($uri); + $this->json = json_decode($data,true); + if(is_null($this->json)){ + // Trigger the catch block + throw new Exception("foo"); + } + unset($data); + break; + default: + case self::$FORMAT_XML: + if(!$this->xml = simplexml_load_file($uri)){ + throw new Exception("foo"); + } + break; + } + }catch(Exception $ex){ + // Can't use builtin logging here through Tera-WURFL since it is on the client, not the server + throw new Exception("TeraWurflRemoteClient Error: Could not query Tera-WURFL master server."); + exit(1); + } + } + /** + * Parse the response into the capabilities array + * @return void + */ + protected function loadCapabilities(){ + switch($this->format){ + case self::$FORMAT_JSON: + $this->apiVersion = $this->json['apiVersion']; + $this->capabilities = $this->json['capabilities']; + break; + default: + case self::$FORMAT_XML: + $this->apiVersion = $this->xml->device['apiVersion']; + foreach($this->xml->device->capability as $cap){ + $this->capabilities[(string)$cap['name']] = self::niceCast((string)$cap['value']); + } + break; + } + } + /** + * Parse the response's errors into the errors array + * @return void + */ + protected function loadErrors(){ + switch($this->format){ + case self::$FORMAT_JSON: + $this->errors &= $this->json['errors']; + break; + default: + case self::$FORMAT_XML: + foreach($this->xml->errors->error as $error){ + $this->errors[(string)$error['name']]=(string)$error['description']; + } + break; + } + } + /** + * Cast strings into proper variable types, i.e. 'true' into true + * @param $value + * @return Mixed String, Bool, Float + */ + protected static function niceCast($value){ + // Clean Boolean values + if($value === 'true')$value=true; + if($value === 'false')$value=false; + if(!is_bool($value)){ + // Clean Numeric values by loosely comparing the (float) to the (string) + $numval = (float)$value; + if(strcmp($value,$numval)==0)$value=$numval; + } + return $value; + } + /** + * Is the given URL valid + * @param $url + * @return Bool + */ + protected static function validURL($url){ + if(preg_match('/^(http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/',$url)) return true; + return false; + } + /** + * Return the requesting client's User Agent + * @param $source + * @return String + */ + public static function getUserAgent($source=null){ + if(is_null($source) || !is_array($source))$source = $_SERVER; + $userAgent = ''; + if(isset($_GET['UA'])){ + $userAgent = $_GET['UA']; + }else{ + foreach(self::$userAgentHeaders as $header){ + if(array_key_exists($header,$source) && $source[$header]){ + $userAgent = $source[$header]; + break; + } + } + } + return $userAgent; + } +} \ No newline at end of file diff --git a/docs/themes/simplified-desktop/about.tmpl.php b/docs/themes/simplified-desktop/about.tmpl.php new file mode 100644 index 000000000..e69de29bb diff --git a/docs/themes/simplified-desktop/admin/courses/courses.tmpl.php b/docs/themes/simplified-desktop/admin/courses/courses.tmpl.php new file mode 100644 index 000000000..2a69e4803 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/courses/courses.tmpl.php @@ -0,0 +1,227 @@ +mobile_device_type != IPAD_DEVICE): ?> +
+
+ +

num_results); ?>

+ + + + +
+
+ +page, $this->num_results, $this->page_string . SEP . $this->order .'='. $col, $this->results_per_page); ?> + +
+
+ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +num_rows): ?> + result)): ?> + + + + + + + + + + + + + + + + + +
 
+ + +
enrolled[$row['course_id']]['y'] ? $this->enrolled[$row['course_id']]['y'] : 0); ?>
+
+
+ +mobile_device_type == IPAD_DEVICE): ?> + +
+
+ +

num_results); ?>

+ + + + +
+
+ +page, $this->num_results, $this->page_string . SEP . $this->order .'='. $col, $this->results_per_page); ?> + +
+
+ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +num_rows): ?> + result)): ?> + + + + + + + + + + + + + + + + + +
 
+ + +
enrolled[$row['course_id']]['y'] ? $this->enrolled[$row['course_id']]['y'] : 0); ?>
+
+
+ \ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/courses/create_course.tmpl.php b/docs/themes/simplified-desktop/admin/courses/create_course.tmpl.php new file mode 100644 index 000000000..32285bb48 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/courses/create_course.tmpl.php @@ -0,0 +1,449 @@ + + + +
+ + + + + + + + + +
+
+isadmin): ?> +
+ *
+ result)) { + echo ''; + } else { + echo ''._AT('none_found').''; + } + ?> +
+ + +
+ *
+ +
+ +
+
+ printDropdown($this->row['primary_language'], 'pri_lang', 'pri_lang'); ?> +
+ +
+
+ +
+ +
+
+ +
+ + + + +
+
+ +
+ + +
+
+ + row['content_packaging']) { + case 'none': + $none = ' checked="checked"'; + break; + + case 'top': + $top = ' checked="checked"'; + break; + + case 'all': + $all = ' checked="checked"'; + break; + } + ?> +
+
+ +
+
+ +
+
+ + row['rss']) { + $rss_yes = ' checked="checked"'; + } else { + $rss_no = ' checked="checked"'; + } + ?> +
+ +
+
+ +
+
+ + row['access']) { + case 'public': + $pub = ' checked="checked"'; + $disable = 'disabled="disabled"'; // disable the nofity box + break; + + case 'protected': + $prot = ' checked="checked"'; + $disable = 'disabled="disabled"'; // disable the nofity box + break; + + case 'private': + $priv = ' checked="checked"'; + break; + } + + if ($this->row['notify']) { + $notify = ' checked="checked"'; + } + + if ($this->row['hide']) { + $hide = ' checked="checked"'; + } + ?> + />

+ + />

+ + />
+ /> +
+ />. +
+
+ +
+
+ + row['release_date'])) { + $rel_yes = ' checked="checked"'; + + $today_day = substr($this->row['release_date'], 8, 2); + $today_mon = substr($this->row['release_date'], 5, 2); + $today_year = substr($this->row['release_date'], 0, 4); + + $today_hour = substr($this->row['release_date'], 11, 2); + $today_min = substr($this->row['release_date'], 14, 2); + } else { + $rel_no = ' checked="checked"'; + $today_year = date('Y'); + } + + ?> + + />
+ + + /> + +
+
+ +
+
+ + row['end_date'])) { + $end_yes = ' checked="checked"'; + + $today_day = substr($this->row['end_date'], 8, 2); + $today_mon = substr($this->row['end_date'], 5, 2); + $today_year = substr($this->row['end_date'], 0, 4); + + $today_hour = substr($this->row['end_date'], 11, 2); + $today_min = substr($this->row['end_date'], 14, 2); + } else { + $end_no = ' checked="checked"'; + $today_year = date('Y')+1; + } + + ?> + + />
+ + /> + +
+
+ +
+ '; + echo ''; + } else { + echo ''; + } + ?> +
+
+ +
+ +
+ +course) : ?> +
+
+ +
+ + +isadmin) : ?> +
+
+ row['max_quota'] == AT_COURSESIZE_UNLIMITED) { + $c_unlim = ' checked="checked" '; + $c_oth2 = ' disabled="disabled" '; + } elseif ($this->row['max_quota'] == AT_COURSESIZE_DEFAULT) { + $c_def = ' checked="checked" '; + $c_oth2 = ' disabled="disabled" '; + } else { + $c_oth = ' checked="checked" '; + $c_oth2 = ''; + } + + if ($this->course > 0) { + $course_size = dirsize(AT_CONTENT_DIR . $this->course.'/'); + } else { + $course_size = 0; + } + + if ($this->course) { + echo _AT('current_course_size') .': '.get_human_size($course_size).'
'; + } + ?> + + />
+ />
+ /> - + + value="row['max_quota']!=AT_COURSESIZE_UNLIMITED && $this->row['max_quota']!=AT_COURSESIZE_DEFAULT) { echo bytes_to_megabytes($this->row['max_quota']); } ?>" size="4" /> +
+ +
+
+ row['max_file_size'] == AT_FILESIZE_DEFAULT) { + $f_def = ' checked="checked" '; + $f_oth2 = ' disabled="disabled" '; + } elseif ($this->row['max_file_size'] == AT_FILESIZE_SYSTEM_MAX) { + $f_max = ' checked="checked" '; + $f_oth2 = ' disabled="disabled" '; + } else { + $f_oth = ' checked="checked" '; + $f_oth2 = ''; + } + ?> + />
+ />
+ /> - + + value="row['max_file_size']!=AT_FILESIZE_DEFAULT && $this->row['max_file_size']!=AT_FILESIZE_SYSTEM_MAX) { echo bytes_to_megabytes($this->row['max_file_size']); } ?>" size="4" /> +
+ + + + + + + +
+
+ +
+
+ row['icon'] != ''): + $path = AT_CONTENT_DIR.$this->row['course_id']."/custom_icons/"; + if (file_exists($path.$this->row['icon'])) { + if (defined('AT_FORCE_GET_FILE') && AT_FORCE_GET_FILE) { + $custom_icon_path = 'get_course_icon.php/?id='.$this->row['course_id']; + } else { + $_base_href = 'content/' . $this->row['course_id'] . '/'; + } + } else { + $_base_href = "images/courses/"; //$_base_href = 'get_course_icon.php/?id='.$row['course_id']; + } + + $force_get = (defined('AT_FORCE_GET_FILE') && AT_FORCE_GET_FILE) ? true : false; + echo ""; + + //include(AT_INCLUDE_PATH.'html/course_icon.inc.php'); + ?> + <?php echo $this->row['icon']; ?> + + + + + +
+
+ "?> +
+ +
+
+ + + + +
+ +
+ + +
+ + "; + echo ""; + ?> + + + +
+
+
+ +
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/courses/default_mods.tmpl.php b/docs/themes/simplified-desktop/admin/courses/default_mods.tmpl.php new file mode 100644 index 000000000..13bd8043f --- /dev/null +++ b/docs/themes/simplified-desktop/admin/courses/default_mods.tmpl.php @@ -0,0 +1,67 @@ + +
+ + + + + + + + + + + + + + +current_modules as $tool) : + $count++; +?> + + + + + + + +
+ + +
pages[$tool]['title'])) { + echo $this->pages[$tool]['title']; + } else { + echo _AT($this->pages[$tool]['title_var']); + } ?> + main_defaults)): ?> + + + + + + home_defaults)): ?> + + + + + + home_defaults) && !in_array($tool, $this->main_defaults)): ?> +   + + num_main+1) && ($count > 1)): ?> + + + + + num_main) && ($count < $this->num_modules)): ?> + + + + + +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/courses/edit_course.tmpl.php b/docs/themes/simplified-desktop/admin/courses/edit_course.tmpl.php new file mode 100644 index 000000000..32285bb48 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/courses/edit_course.tmpl.php @@ -0,0 +1,449 @@ + + + +
+ + + + + + + + + +
+
+isadmin): ?> +
+ *
+ result)) { + echo ''; + } else { + echo ''._AT('none_found').''; + } + ?> +
+ + +
+ *
+ +
+ +
+
+ printDropdown($this->row['primary_language'], 'pri_lang', 'pri_lang'); ?> +
+ +
+
+ +
+ +
+
+ +
+ + + + +
+
+ +
+ + +
+
+ + row['content_packaging']) { + case 'none': + $none = ' checked="checked"'; + break; + + case 'top': + $top = ' checked="checked"'; + break; + + case 'all': + $all = ' checked="checked"'; + break; + } + ?> +
+
+ +
+
+ +
+
+ + row['rss']) { + $rss_yes = ' checked="checked"'; + } else { + $rss_no = ' checked="checked"'; + } + ?> +
+ +
+
+ +
+
+ + row['access']) { + case 'public': + $pub = ' checked="checked"'; + $disable = 'disabled="disabled"'; // disable the nofity box + break; + + case 'protected': + $prot = ' checked="checked"'; + $disable = 'disabled="disabled"'; // disable the nofity box + break; + + case 'private': + $priv = ' checked="checked"'; + break; + } + + if ($this->row['notify']) { + $notify = ' checked="checked"'; + } + + if ($this->row['hide']) { + $hide = ' checked="checked"'; + } + ?> + />

+ + />

+ + />
+ /> +
+ />. +
+
+ +
+
+ + row['release_date'])) { + $rel_yes = ' checked="checked"'; + + $today_day = substr($this->row['release_date'], 8, 2); + $today_mon = substr($this->row['release_date'], 5, 2); + $today_year = substr($this->row['release_date'], 0, 4); + + $today_hour = substr($this->row['release_date'], 11, 2); + $today_min = substr($this->row['release_date'], 14, 2); + } else { + $rel_no = ' checked="checked"'; + $today_year = date('Y'); + } + + ?> + + />
+ + + /> + +
+
+ +
+
+ + row['end_date'])) { + $end_yes = ' checked="checked"'; + + $today_day = substr($this->row['end_date'], 8, 2); + $today_mon = substr($this->row['end_date'], 5, 2); + $today_year = substr($this->row['end_date'], 0, 4); + + $today_hour = substr($this->row['end_date'], 11, 2); + $today_min = substr($this->row['end_date'], 14, 2); + } else { + $end_no = ' checked="checked"'; + $today_year = date('Y')+1; + } + + ?> + + />
+ + /> + +
+
+ +
+ '; + echo ''; + } else { + echo ''; + } + ?> +
+
+ +
+ +
+ +course) : ?> +
+
+ +
+ + +isadmin) : ?> +
+
+ row['max_quota'] == AT_COURSESIZE_UNLIMITED) { + $c_unlim = ' checked="checked" '; + $c_oth2 = ' disabled="disabled" '; + } elseif ($this->row['max_quota'] == AT_COURSESIZE_DEFAULT) { + $c_def = ' checked="checked" '; + $c_oth2 = ' disabled="disabled" '; + } else { + $c_oth = ' checked="checked" '; + $c_oth2 = ''; + } + + if ($this->course > 0) { + $course_size = dirsize(AT_CONTENT_DIR . $this->course.'/'); + } else { + $course_size = 0; + } + + if ($this->course) { + echo _AT('current_course_size') .': '.get_human_size($course_size).'
'; + } + ?> + + />
+ />
+ /> - + + value="row['max_quota']!=AT_COURSESIZE_UNLIMITED && $this->row['max_quota']!=AT_COURSESIZE_DEFAULT) { echo bytes_to_megabytes($this->row['max_quota']); } ?>" size="4" /> +
+ +
+
+ row['max_file_size'] == AT_FILESIZE_DEFAULT) { + $f_def = ' checked="checked" '; + $f_oth2 = ' disabled="disabled" '; + } elseif ($this->row['max_file_size'] == AT_FILESIZE_SYSTEM_MAX) { + $f_max = ' checked="checked" '; + $f_oth2 = ' disabled="disabled" '; + } else { + $f_oth = ' checked="checked" '; + $f_oth2 = ''; + } + ?> + />
+ />
+ /> - + + value="row['max_file_size']!=AT_FILESIZE_DEFAULT && $this->row['max_file_size']!=AT_FILESIZE_SYSTEM_MAX) { echo bytes_to_megabytes($this->row['max_file_size']); } ?>" size="4" /> +
+ + + + + + + +
+
+ +
+
+ row['icon'] != ''): + $path = AT_CONTENT_DIR.$this->row['course_id']."/custom_icons/"; + if (file_exists($path.$this->row['icon'])) { + if (defined('AT_FORCE_GET_FILE') && AT_FORCE_GET_FILE) { + $custom_icon_path = 'get_course_icon.php/?id='.$this->row['course_id']; + } else { + $_base_href = 'content/' . $this->row['course_id'] . '/'; + } + } else { + $_base_href = "images/courses/"; //$_base_href = 'get_course_icon.php/?id='.$row['course_id']; + } + + $force_get = (defined('AT_FORCE_GET_FILE') && AT_FORCE_GET_FILE) ? true : false; + echo ""; + + //include(AT_INCLUDE_PATH.'html/course_icon.inc.php'); + ?> + <?php echo $this->row['icon']; ?> + + + + + +
+
+ "?> +
+ +
+
+ + + + +
+ +
+ + +
+ + "; + echo ""; + ?> + + + +
+
+
+ +
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/courses/enrollment.tmpl.php b/docs/themes/simplified-desktop/admin/courses/enrollment.tmpl.php new file mode 100644 index 000000000..87731352b --- /dev/null +++ b/docs/themes/simplified-desktop/admin/courses/enrollment.tmpl.php @@ -0,0 +1,140 @@ + + +
+ + +
+
+ +
+
+ +
+ + +
+
+ +
+ : + checked_match_all; ?> /> checked_match_one; ?> /> +
+ +
+ + +
+
+
+
+ +page, $this->tab_counts[$this->current_tab], $this->page_string_w_tab . SEP . $this->order .'='. $this->col, $this->results_per_page); ?> + +
+ + + + + + + ++ col == 'login'): ?> + + + + col == 'first_name'): ?> + + + + col == 'second_name'): ?> + + col == 'last_name'): ?> + + + + col == 'email'): ?> + + + + + + + + + + + + + + + + + + + + + + + + +tab_counts[$this->current_tab]): ?> + enrollment_result)): ?> + + + + + + + + + + + + + + + +
+ current_tab == 0): ?> + + + + current_tab == 1): ?> + + + + current_tab == 2): ?> + + + + current_tab == 3): ?> + + + + current_tab == 4): ?> + + +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/courses/forum_add.tmpl.php b/docs/themes/simplified-desktop/admin/courses/forum_add.tmpl.php new file mode 100644 index 000000000..0fccc48ab --- /dev/null +++ b/docs/themes/simplified-desktop/admin/courses/forum_add.tmpl.php @@ -0,0 +1,39 @@ +
+ + +
+
+ *
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+ *
+ system_courses): ?> + + + + +
+ +
+ + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/courses/forums.tmpl.php b/docs/themes/simplified-desktop/admin/courses/forums.tmpl.php new file mode 100644 index 000000000..8f45ac9c3 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/courses/forums.tmpl.php @@ -0,0 +1,61 @@ + +
+
+ + + + + + + + + + + + + + + + + + + + +shared_forums as $forum) { + +?> + + + + + + + + + + + + + +num_nonshared) : ?> + all_forums['nonshared'] as $forum) : ?> + + + + + + + + + + + + + +
 
+ +
system_courses[$forum['course_id']]['title']; ?>
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/courses/scaffolds.tmpl.php b/docs/themes/simplified-desktop/admin/courses/scaffolds.tmpl.php new file mode 100644 index 000000000..ded75fd15 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/courses/scaffolds.tmpl.php @@ -0,0 +1,25 @@ + + +
+
+
+
+

+
+
+ +

+

+

+

+

+

+

+
+
+ + +
+
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/index.tmpl.php b/docs/themes/simplified-desktop/admin/index.tmpl.php new file mode 100644 index 000000000..d22cf5c65 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/index.tmpl.php @@ -0,0 +1,152 @@ + + +
+ + path_length = strlen($this->base_path); + + echo '';*/ + +?> + + +
+
+ +

+

+ +
+
+ (: ) +
+ />
/> +
+ +
+ +
+
+
+ +
+
+ +

+

+ + +
+ <?php echo _AT('donate'); ?>

+
+
+ + +
+
+ +

+ + row_instructor as $key => $value): ?> + +

+ + + +
+ +
+
+
+ + +
+
+ +

+

cnt); ?>

+ + +
+ +
+
+
+
+ +

+ +
+ db_size): ?> +
:
+
db_size/AT_KBYTE_SIZE/AT_KBYTE_SIZE,2); ?>
+ + + du_size): ?> +
:
+
du_size/AT_KBYTE_SIZE,2); ?>
+ + +
:
+
num_courses; ?>
+ +
:
+
num_users; ?>
+ +
:
+ 1) { + $build = 'unknown'; + $build_date = date('Y-m-d H:i:s'); + } else { + $svn_data = explode(' ', $svn_data); + + $build = $svn_data[0]; + $build_date = $svn_data[4] .' '. $svn_data[5]; + } + $build_str = '(' . $build . ' - '.$build_date . ')'; + } + ?> +
+ +
:
+
+ +
:
+
+ +
:
+
+
+
+
+ +
+ diff --git a/docs/themes/simplified-desktop/admin/modules/details.tmpl.php b/docs/themes/simplified-desktop/admin/modules/details.tmpl.php new file mode 100644 index 000000000..3f5cbec34 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/modules/details.tmpl.php @@ -0,0 +1,85 @@ +
+ + + + + + + + + + +
+
+

module->getName(); ?>

+
+ +
+
+ module->getDescription($_SESSION['lang'])); ?> +
+ +
+
+
    + properties['maintainers'] as $maintainer): ?> +
  • + +
+
+ +
+
+ properties['url']; ?> +
+ +
+
+ properties['version']; ?> +
+ +
+
+ properties['date']; ?> +
+ +
+
+ properties['license']; ?> +
+ +
+
+ properties['state']; ?> +
+ +
+
+ properties['notes']); ?> +
+ + module->_pages)): ?> +
+ +
+ + module->_pages); ?> + +
+
    + + +
  • + +
+ +
+ + + +
+ +
+ +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/modules/index.tmpl.php b/docs/themes/simplified-desktop/admin/modules/index.tmpl.php new file mode 100644 index 000000000..87b34a930 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/modules/index.tmpl.php @@ -0,0 +1,127 @@ + + +
+
+ +

keys)); ?>

+ Refine Results + + + + +
+
+ +
+ + + + + + + + +
+ ++ + + + + + + + + + + + + + + + + + + + + + + +keys as $dir_name) : $module =& $this->module_list[$dir_name]; $i++; $readme = get_readme(AT_INCLUDE_PATH.'../mods/'.$dir_name);?> + + + + + + + + + +keys): ?> + + + + + +
 
+ + + + + +
isEnabled()) { + echo _AT('enabled'); + } else if ($module->isMissing()) { + echo ''._AT('missing').''; + } else if ($module->isPartiallyUninstalled()) { + echo _AT('partially_uninstalled'); + } else { + echo ''._AT('disabled').''; + } + ?>
+ diff --git a/docs/themes/simplified-desktop/admin/modules/install_modules.tmpl.php b/docs/themes/simplified-desktop/admin/modules/install_modules.tmpl.php new file mode 100644 index 000000000..f5e0bc586 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/modules/install_modules.tmpl.php @@ -0,0 +1,142 @@ + +
+ +
+
+ +
+ + +
+ +
+ + +
+
+ +
+ +keys) > 0) +{ +?> +
+ + + + + + + + + + + + + + + + + +keys)): ?> + keys as $dir_name) : $module =& $this->module_list[$dir_name]; ?> + + + + + + + + + + + + + +
 
+ +
/getDescription($_SESSION['lang']); ?>
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + +module_list_array); + +if ($num_of_modules == 0) +{ +?> + + + + + +module_list_array)) + { + for ($i=0; $i < $num_of_modules; $i++) + { + // check if the module has been installed + //$sql = "SELECT * FROM ".TABLE_PREFIX."modules WHERE dir_name = '" . $this->module_list_array[$i]["history"][0]["install_folder"] . "'"; + //$result = mysql_query($sql, $db) or die(mysql_error()); + + if (mysql_num_rows($this->result) == 0) $installed = false; + else $installed = true; + +?> + + + + + + + + + + + + + + +
 
+ + + +
/>module_list_array[$i]["description"]; ?>module_list_array[$i]["history"][0]["version"]; ?>module_list_array[$i]["atutor_version"]; ?>module_list_array[$i]["history"][0]["maintainer"]; ?>
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/modules/version_history.tmpl.php b/docs/themes/simplified-desktop/admin/modules/version_history.tmpl.php new file mode 100644 index 000000000..af2cc2196 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/modules/version_history.tmpl.php @@ -0,0 +1,76 @@ +module_list_array[$id]['history'] +?> +
+
+ + + + + + + + + + + + + + + + + + + + +module_list_array[$this->id]['history']); + +if ($num_of_versions == 0) +{ +?> + + + + + +module_list_array[$this->id]['history'])) + { + for ($i=0; $i < $num_of_versions; $i++) + { +?> + + + + + + + + + + + + + +
 
+ + +
+ +
module_list_array[$this->id]['history'][$i]["date"]; ?>module_list_array[$this->id]['history'][$i]["state"]; ?>module_list_array[$this->id]['history'][$i]["maintainer"]; ?>module_list_array[$this->id]['history'][$i]["notes"]; ?>
+ +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/my_edit.tmpl.php b/docs/themes/simplified-desktop/admin/my_edit.tmpl.php new file mode 100644 index 000000000..829bb0503 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/my_edit.tmpl.php @@ -0,0 +1,18 @@ +
+
+
+
+ +
+ +
+ *
+ +
+ +
+ + +
+
+
diff --git a/docs/themes/simplified-desktop/admin/patcher/index_admin.tmpl.php b/docs/themes/simplified-desktop/admin/patcher/index_admin.tmpl.php new file mode 100644 index 000000000..6ba05628f --- /dev/null +++ b/docs/themes/simplified-desktop/admin/patcher/index_admin.tmpl.php @@ -0,0 +1,116 @@ +
+
+ + + + + + + + + + + + + + + + +num_of_patches == 0) +{ +?> + + + + + +result)) + { + print_patch_row($row, $row['patches_id'], false); + } + + $array_id = 0; + // display un-installed patches + if(is_array($this->patch_list_array)) + { + foreach ($this->patch_list_array as $row_num => $new_patch) + { + if (!is_patch_installed($new_patch['atutor_patch_id'])) + { + $dependent_patches_installed = true; + $dependent_patches = ""; + + // check if the dependent patches are installed + if (is_array($new_patch["dependent_patches"])) + { + + foreach ($new_patch["dependent_patches"] as $num => $dependent_patch) + { + if (!is_patch_installed($dependent_patch)) + { + $dependent_patches_installed = false; + $dependent_patches .= $dependent_patch. ", "; + } + } + + // remove the last comma in the string + if ($dependent_patches <> "") $dependent_patches = substr($dependent_patches, 0, -2); + } + + // display patch row + if ($dependent_patches_installed) + print_patch_row($new_patch, $array_id++, true); + else + { + print_patch_row($new_patch, $array_id++, false); + $dependent_patches_installed = true; + } + } + else + $array_id++; + } + } +?> + + + + + + + + +
 
+ +
+ +
+ +
+
+ +
+ +
+
+ +
+ + +
+ +
+ + +
+
+ +
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/system_preferences/add_feed.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/add_feed.tmpl.php new file mode 100644 index 000000000..5ce873a7c --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/add_feed.tmpl.php @@ -0,0 +1,51 @@ + +
+ + +
+
+ *
+
+
+ +
+ *
+
+
+ +
+ + +
+
+
+ + +
+ + +
+
+

title_file)) { + readfile($this->title_file); + } else { + echo $_POST['title']; + }?> +

+
+ +
+ output; ?> +
+
+
+ + msg->printConfirm(); +} +?> \ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/system_preferences/config_edit.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/config_edit.tmpl.php new file mode 100644 index 000000000..e0febaefb --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/config_edit.tmpl.php @@ -0,0 +1,322 @@ + + +
+
+
+ *
+ +
+ +
+
+ + +
+ +
+
+ + + + + + printDropdown($select_lang, 'default_language', 'default_lang'); ?> + +
+ +
+ *
+ +
+ +
+
+ + '; + echo ''; + foreach ($utc_timezones as $zone => $offset){ + if(($offset[1]) == $_config['time_zone']){ + echo ''; + }else{ + echo ''; + + } + } + echo ""; + + + //echo ' '; + + // If PHP 5+ generate a list of timezones +/* + if(phpversion() >= 5){ + $timezone_names = timezone_identifiers_list(); + }else{ + // if less than PHP version 5, read a text file to generate the menu + $timezone_names = file("timezones.txt"); + } + + echo ''; +*/ +echo AT_date(_AT('server_date_format'), '', AT_DATE_MYSQL_DATETIME); +?> +
+ +
+ (: )
+ +
+ +
+ (: )
+ +
+ +
+ (: )
+ +
+ +
+ (: )
+ +
+ +
+
+ + (: display_name_formats[$_config_defaults['display_name_format']], _AT('login_name'), _AT('first_name'), _AT('second_name'), _AT('last_name')); ?>)
+ display_name_formats as $key => $value): ?> + />
+ +
+
+ +
+
+ + (: )
+ /> + + /> +
+
+ +
+
+ (: )
+ /> /> +
+
+ +
+
+ (: )
+ /> /> +
+
+ +
+
+ + (: )
+ /> /> +
+
+ +
+
(: )
+ + /> /> + + + +
+
+ +
+
+ (: )
+ /> /> +
+
+ +
+
+ + (: )
+ /> /> +
+
+ +
+
+ (: )
+ /> /> +
+
+ +
+
+ + (: )
+ /> /> +
+
+ +
+
+ + (: )
+ /> /> +
+
+ +
+
+ + (: )
+ /> /> +
+
+ +
+
+ + (: )
+ /> /> +
+
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+ (: )
+ +
+ +
+ (: )
+ +
+ +
+
+ + (: )
+ /> /> +
+
+ +
+
+ + (: )
+ /> /> +
+
+ +
+
+ + + (: )
+
+ 2 * 60 * 60)): ?> + + + + + + + + /> + + /> + + +
+
+ +
+
+ + (: )
+
+ 2 * 60 * 60)): ?> + + + + + + /> /> + +
+
+ +
+
+ + (: )
+ onclick="apache_mod_rewrite_toggler(true);"/> onclick="apache_mod_rewrite_toggler(false);"/> +
+
+ +
+
+ + (: )
+ /> /> +
+
+ +
+
+ + + (: )
+ /> /> + + (: )
+ + +
+
+ +
+ + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/system_preferences/cron_config.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/cron_config.tmpl.php new file mode 100644 index 000000000..827c3c15c --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/cron_config.tmpl.php @@ -0,0 +1,12 @@ + +
+
+

+

+
+ admin/cron.php?k= +

+
+ + +
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/system_preferences/edit_feed.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/edit_feed.tmpl.php new file mode 100644 index 000000000..f17f299bd --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/edit_feed.tmpl.php @@ -0,0 +1,20 @@ + +
+ +
+
+ *
+
+
+ +
+ *
+
+
+ +
+ + +
+
+
diff --git a/docs/themes/simplified-desktop/admin/system_preferences/index.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/index.tmpl.php new file mode 100644 index 000000000..b5f16385c --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/index.tmpl.php @@ -0,0 +1,45 @@ + +
+
+ + + + + + + + + + + + + + +result))) { +?> + + + + + + + + + + + + result)); ?> + + + +
 
+ + + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/system_preferences/index_admin.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/index_admin.tmpl.php new file mode 100644 index 000000000..1ce8248a5 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/index_admin.tmpl.php @@ -0,0 +1,15 @@ + + +
+

+
+
+

+ + + + + +
+
+
diff --git a/docs/themes/simplified-desktop/admin/system_preferences/language.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/language.tmpl.php new file mode 100644 index 000000000..d4bb83361 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/language.tmpl.php @@ -0,0 +1,48 @@ + +
+
+ ++ + + + + + + + + + + + + + + + + + + + getAvailableLanguages() as $codes): ?> + + + + + + + + + + +
 
+ + + + + + + + + +
getEnglishName(); ?>
+
+
diff --git a/docs/themes/simplified-desktop/admin/system_preferences/language_add.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/language_add.tmpl.php new file mode 100644 index 000000000..3d058e13c --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/language_add.tmpl.php @@ -0,0 +1,53 @@ +
+ +
+
+ *
+ +
+ +
+
+ +
+ +
+ *
+ +
+ +
+
+ + />, /> +
+ +
+ *
+ +
+ +
+ *
+ +
+ +
+ *
+ +
+ + +
+ +
+
+
diff --git a/docs/themes/simplified-desktop/admin/system_preferences/language_edit.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/language_edit.tmpl.php new file mode 100644 index 000000000..db8725d14 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/language_edit.tmpl.php @@ -0,0 +1,56 @@ + +
+ + + +
+
+ *
+ +
+ +
+
+ +
+ +
+ *
+ +
+ +
+
+ + />, /> +
+ +
+ *
+ +
+ +
+ *
+ +
+ +
+ *
+ +
+ + +
+ +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/system_preferences/language_editor.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/language_editor.tmpl.php new file mode 100644 index 000000000..bf01427fa --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/language_editor.tmpl.php @@ -0,0 +1,60 @@ + +
+
+
+

num_results); ?>

+
+ +
+
+ /> + /> +
+ +
+ /> +
+ +
+
+ +
+ +
+ + +
+
+
+
+
+ + + + + + +
+ num_results): ?> + + +

+ +
+
+ +
+
+
+
+ + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/system_preferences/language_import.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/language_import.tmpl.php new file mode 100644 index 000000000..16572e9d9 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/language_import.tmpl.php @@ -0,0 +1,53 @@ + +
+
+
+

+
+ +
+
+ +
+ +
+ +
+
+
+
+
+
+ +
+ +
+ getNumLanguages()) { + $found = false; + foreach ($remoteLanguageManager->getAvailableLanguages() as $codes){ + $language = current($codes); + if (!$languageManager->exists($language->getCode()) && ($language->getStatus() == AT_LANG_STATUS_PUBLISHED)) { + if (!$found) { + echo '
'; + echo '
'; + } else { + echo _AT('none_found'); + echo '
'; + } + } else { + echo _AT('cannot_find_remote_languages'); + echo '
'; + } + ?> + + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/system_preferences/language_translate.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/language_translate.tmpl.php new file mode 100644 index 000000000..1cb986981 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/language_translate.tmpl.php @@ -0,0 +1,37 @@ + +
+
+
+

+
+ +
+

+
+ +
+ button_state; ?> /> +
+
+
+ + +
+
+
+ Import partial language from the live ATutor language database to your local installation for translating. +
+
+ printDropdown($_SESSION['lang'], 'import_lang', 'import_lang'); + ?> +
+ +
+ +
+
+
+ diff --git a/docs/themes/simplified-desktop/admin/system_preferences/module_prefs.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/module_prefs.tmpl.php new file mode 100644 index 000000000..57858650d --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/module_prefs.tmpl.php @@ -0,0 +1,36 @@ +
+
+
+
+ + googleType==GOOGLE_TYPE_SOAP){ + $type1=' checked="checked"'; + } elseif ($this->googleType==GOOGLE_TYPE_AJAX){ + $type2=' checked="checked"'; + } + ?> + + /> +
+ + /> +
+
+
+ +
+

+ +
+
+ + +
+ +
+ +
+
+ +
diff --git a/docs/themes/simplified-desktop/admin/system_preferences/module_setup.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/module_setup.tmpl.php new file mode 100644 index 000000000..82f235338 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/module_setup.tmpl.php @@ -0,0 +1,20 @@ + +
+
+
+

+ + +

+ + +

+  
+ ·
+
+ +
+ +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/system_preferences/preview.tmpl.php b/docs/themes/simplified-desktop/admin/system_preferences/preview.tmpl.php new file mode 100644 index 000000000..e4a7c3e87 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/system_preferences/preview.tmpl.php @@ -0,0 +1,22 @@ + +
+ +
+
+

title_file)) { readfile($this->title_file); } ?>

+
+ +
+ cache_file) && filesize($this->cache_file) > 0) { + readfile($this->cache_file); + echo '


'._AT('new_window').'

'; + } else { + echo _AT('no_content_avail'); + }?> +
+ +
+ +
+
+
diff --git a/docs/themes/simplified-desktop/admin/users/admin_email.tmpl.php b/docs/themes/simplified-desktop/admin/users/admin_email.tmpl.php new file mode 100644 index 000000000..9978e51b8 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/users/admin_email.tmpl.php @@ -0,0 +1,30 @@ + +
+ + +
+
+
+* + + /> + /> +
+
+ +
+ *
+ +
+ +
+ *
+ +
+ +
+ + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/users/create.tmpl.php b/docs/themes/simplified-desktop/admin/users/create.tmpl.php new file mode 100644 index 000000000..ffcb46952 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/users/create.tmpl.php @@ -0,0 +1,49 @@ + +
+ + + +
+
+ *
+ +
+ +
+ *
+ +
+ +
+ *
+ +
+ +
+
+ +
+ +
+ *
+ +
+ +
+
+ />

+ + + keys as $module_name): ?> + module_list[$module_name]; ?> + getAdminPrivilege() > 1)) { continue; } ?> + getAdminPrivilege())) { echo 'checked="checked"'; } ?> />
+ +
+ +
+ + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/users/index.tmpl.php b/docs/themes/simplified-desktop/admin/users/index.tmpl.php new file mode 100644 index 000000000..c42821524 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/users/index.tmpl.php @@ -0,0 +1,79 @@ + +
+
+ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +result) == 0) { ?> + + + +result)): ?> + + + + + + + + + + +
 
+ + + + +
0) { + echo _AT('active_admin'); + } else { + echo _AT('inactive_admin'); + } + ?>
+
+
diff --git a/docs/themes/simplified-desktop/admin/users/instructor_requests.tmpl.php b/docs/themes/simplified-desktop/admin/users/instructor_requests.tmpl.php new file mode 100644 index 000000000..83ca4f8bc --- /dev/null +++ b/docs/themes/simplified-desktop/admin/users/instructor_requests.tmpl.php @@ -0,0 +1,45 @@ + +
+
+ + + + + + + + + + + + + + + + + +result)) { + do { + echo ''; + echo ''; + echo ''; + // REMOVED FOR MOBILE + // echo ''; + // echo ''; + // echo ''; + + echo ''; + + echo ''; + } while ($row = mysql_fetch_assoc($this->result)); + } else { + echo ''; + } +?> + +
 
+ +
'.AT_print($row['first_name'], 'members.first_name').''.AT_print($row['last_name'], 'members.last_name').''.AT_print($row['email'], 'members.email').''.AT_print($row['notes'], 'instructor_approvals.notes').'
'._AT('none_found').'
+
+
diff --git a/docs/themes/simplified-desktop/admin/users/log.tmpl.php b/docs/themes/simplified-desktop/admin/users/log.tmpl.php new file mode 100644 index 000000000..8ae881dda --- /dev/null +++ b/docs/themes/simplified-desktop/admin/users/log.tmpl.php @@ -0,0 +1,30 @@ +
+ + + + + + + + + + + +result) > 0) : ?> + result)): ?> + + + + + + + + + + + + + + +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/users/master_list.tmpl.php b/docs/themes/simplified-desktop/admin/users/master_list.tmpl.php new file mode 100644 index 000000000..431b0e3fe --- /dev/null +++ b/docs/themes/simplified-desktop/admin/users/master_list.tmpl.php @@ -0,0 +1,129 @@ + +
+
+
+

+
+ +
+ +
+
+ + + +
+
+ +
+ +
+
+
+ +
+
+ +

num_results); ?>

+ Refine Results + + + + +
+
+ +
+ +
+ + +
+ +
+ + + + + + + + + +num_results > 0): ?> + + + + + + + result)): ?> + + + + + + + + + + + + + + + +
 
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/users/user_enrollment.tmpl.php b/docs/themes/simplified-desktop/admin/users/user_enrollment.tmpl.php new file mode 100644 index 000000000..463eb2466 --- /dev/null +++ b/docs/themes/simplified-desktop/admin/users/user_enrollment.tmpl.php @@ -0,0 +1,85 @@ +
+ +
+
+

+ instruct): ?> +
    + instruct as $cid): ?> +
  • system_courses[$cid]['title']; ?>
  • + +
+ + + +
+
+ +
+
+ +
+
+

+ enrolled): ?> +
    + enrolled as $cid): ?> +
  • + +
+ + + +
+
+ enrolled): ?> + + + +
+ +
+ +
+
+

+ pending): ?> +
    + pending as $cid): ?> +
  • + +
+ + + +
+
+ pending): ?> + + + + +
+
+ +
+
+

+ not_enrolled): ?> +
    + not_enrolled as $cid): ?> +
  • + +
+ + + +
+
+ not_enrolled): ?> + + + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/admin/users/users.tmpl.php b/docs/themes/simplified-desktop/admin/users/users.tmpl.php new file mode 100644 index 000000000..5a48c0a0c --- /dev/null +++ b/docs/themes/simplified-desktop/admin/users/users.tmpl.php @@ -0,0 +1,176 @@ + +
+

num_results); ?>

+
+ + + +
+ +
+ + +page, $this->num_results, $this->page_string . SEP . $this->order .'='. $col, $this->results_per_page); ?> +";?> +
+ + + + + +
+ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +num_results > 0): ?> + + + + + + + result)): ?> + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+
+
diff --git a/docs/themes/simplified-desktop/android.css b/docs/themes/simplified-desktop/android.css new file mode 100644 index 000000000..4ae88b9f3 --- /dev/null +++ b/docs/themes/simplified-desktop/android.css @@ -0,0 +1,2250 @@ +/* Style is optimized for iphone. Note that -webkit properties +create errors in the CSS validator. +Classes beginning with ".fl-" are overriding Mobile FSS, +see the API @ http://wiki.fluidproject.org/display/fluid/Mobile+FSS+API +for more details. +*/ +html, body{ + height: 100%; +} +#main{ + padding-bottom: 2.3em; + overflow: auto; +} + +body,ul,li { + padding:0; + margin:0; +} + +.fl-theme-iphone{ + background: white; +} + +#header{ + width:100%; + height:1.063em; + line-height:2.813em; + padding:0; + font-size:1.063em; +} + +#header-section-title { + text-align: center; + background-image: -webkit-gradient(linear, left top, left bottom, + from(#4b6b90), + color-stop(0.5, #6d8cb3), + color-stop(0.50, #4b6b90), + color-stop(0.5, #6d8cb3), + to(#4b6b90) + ); +} + +.fl-theme-iphone .fl-navbar{ + border: none; + border-top: none; +} + +.fl-navbar a{ + font-size: 0.969em; + background-image: -webkit-gradient(linear, left top, left bottom, + from(#4b6b90), + color-stop(0.5, #6d8cb3), + color-stop(0.50, #4b6b90), + color-stop(0.5, #6d8cb3), + to(#4b6b90) + ); +} + +.fl-navbar .fl-tabs { + padding-top: .3em; + padding-bottom: .3em; + border-top: 1px solid black; + border-bottom: .5px solid black; + background-color: #4b6b90; + height: 2em; +} + +#navigation-contentwrapper{ + position: relative; + background-color: #4b6b90; + height: 2.5em; +} + +#navigation-bar{ + height: 2.5em; + border-bottom: .5px solid black; + /* padding-bottom: .3em;*/ + +} + +#wrapper{ + width:100%; + overflow:hidden; + overflow: auto; + min-height: 100%; +} + +#site-name, h1#section-title{ + display: inline; + text-shadow: none; + font-size: 90%; + color: #4C566C; + color: white; +} + +/*this CSS creates a button that looks exactly like a Mobile FSS tab.*/ +.navigation-bar-button{ + border-width:5px; + -webkit-border-radius: 5px; + font-size: 18px;/*keep this in px*/ + padding: 0 .3em; + color: white; + position: relative; + top: .69em; + left: 0.188em; + /* default mobile fss color scheme for tabs not AA compliant. Here is a compliant bg image: */ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); + -webkit-border-image: url(images/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -webkit-border-left-image: none; + -webkit-background-origin: border; + -webkit-background-clip: border; + /* to mimick the mobile FSS scolor scheme (iphone) uncomment these lines + background-image: -webkit-gradient(linear, left top, left bottom, + from(#9aafca), + color-stop(0.5, #6d8cb3), + color-stop(0.50, #4b6b90), + to(#4b6b90) + );*/ +} + +.fl-theme-iphone .fl-tabs li{ + /* default mobile fss color scheme for tabs not AA compliant against a white foreground text.therefore its backgroud-image must be overrided */ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); +} + +div#content-link-container{/*REMOVE + background-color:#F5F5F5; + padding:.375em; + border: #A9ADB0 solid 1px; + -webkit-border-radius: 2px; + + border: #A9ADB0 solid 1px; + -webkit-border-radius: 2px; + padding: 1em; + padding-left: 0.313em; + text-decoration: none;*/ + border: #A9ADB0 solid 1px; + +} + +#content_link{ + display: block; + text-decoration: none; + padding-bottom: 12px; + padding-left: 8px; + padding-top: 12px; +} +#home-guide{ + position: absolute; + top: .45em; + right: 0.188em; + font-size: 17px;/*keep this in px*/ + white-space:nowrap; + display: inline; + +} + +/* main body attributes */ +p { + text-align: left; + line-height: 150%; + font-size: 1em; + padding:.75em 0; + margin: 0 auto; +} + +p a { + text-decoration: underline; +} + +p a:visited { + color: #3F2670; + background-color: transparent; +} +p a:active { + color: #A50707; + background-color: transparent; +} + +h1, h2, h3, h4, h5, h6 { + color: #4C566C; + clear: right; + font: 100% Verdana, Helvetica, Arial, sans-serif; + font-weight: bold; + margin: 0; + padding: 0; +} + +h1 { + font-size: 160%; + color: #FFF; +} + +h2 { + font-size: 150%; +} +h2.sidebox{ + font-size: 110%; +} +h3 { + font-size: 130%; + padding: 0; +} +h3.browse-courses{ + font-size: 90%; + text-decoration: none; + clear: none; + display: inline; +} +h3 a { + font-size: 100%; +} +h4 { + font-size: 120%; +} + + +h5 { + font-size: 100%; +} + + +/* Preferences tabs */ +.etabbed-list-container { + padding:0; + margin: 0; + width:70%; + clear: left; + height: 3em; +} + +.prefs_buttontab { + padding:0; + margin: 0; + white-space: nowrap; +} +.prefs_tab{ + padding:0.5em 0.3em 0; + margin: 0; + white-space: nowrap; + display: inline; +} + +.prefs_tab_selected{ + padding:0.7em 0.3em 0; + margin: 0; + margin: 0px; + font-weight:bold; + text-align:center; + white-space: nowrap; + display: inline; +} + + + +/* Table of content attributes*/ +p.toc{ + font-family: Verdana, Helevetica, Arial, sans-serif; + background-color: #E9F4F3; + padding: .6em; + margin-bottom: .6em; + margin-top: 0em; + margin-left: 1em; + margin-right: 3em; + border: 1px #ACCFCC solid; +} + + +/* link attributes */ +a:link, /*a:visited*/ a:focus { + color: #4C566C; + text-decoration: underline; +} + +a:hover { + color: #4C566C; + text-decoration: underline; +} +a:active { + color: #ffffff; + text-decoration: underline; +} +/* align text to the left */ +.left { + text-align: left; +} + +a.dropdown-title { + color: white; + font-weight: normal; + text-decoration: none; +} + + +/* table border */ +.tableborder { + border: 1px #595241 solid; +} + +/* main submit button */ +.button { + background-color: #808080; + font-weight: normal; + color: black; + text-align: center; + -webkit-border-radius:3px; + padding-top: 0.313em; + padding-bottom: 0.313em; + +} +.button:focus { + border:1px solid #A50707; + background-color: #FFDAB9; +} +/* small submit button at top */ +.button2 { + font-family: Verdana, Helevetica, Arial, sans-serif; + background-color: #E9F4F3; + +} +.button2:focus { + background-color: #E9F4F3; + border: #ACCFCC solid 1px; +} + +/* date attributes */ +small.date { + font-family: Verdana, Helevetica, Arial, sans-serif; + color: #595241; + margin-bottom: 0; + margin-top: 0; + margin-left: 0.313em; + margin-right: 0; + font-size:1em; +} + +/* page breakline */ +hr { + color: #ACCFCC; + background-color: white; + height: .063em; +} + +/* message box styles */ + +/* Editor box small */ +.editorsmallbox { + font-family: Verdana, Helevetica, Arial, sans-serif; + background-color: #E9F4F3; + padding: 0.125em; + padding-right: .188em; + border: 1px #ACCFCC solid; +} + +/* Editor box large */ +.editorlargebox { + font-family: Verdana, Helevetica, Arial, sans-serif; + background-color: #E9F4F3; + margin-left:1em; + padding-left: .2em; + padding-right: .5em; + padding-top: .5em; + padding-bottom: .4em; + border: 1px #ACCFCC solid; +} + + +select.dropdown { + font-family: Verdana, Helevetica, Arial, sans-serif; +} + +.highlight, a.highlight { + background-color: #5B8E88; + color: white; +} + +a .highlight{ + background-color: #5B8E88; + color: white; +} + +.center { + text-align: center; +} + + +/* edit content tabs */ +.buttontab { + background-color: #E6E6E6; + font-weight: 500; + border:0; + padding-left: .188em; + padding-right: .188em; + padding-top: .188em; + +} + +.tab { + color: black; + background-color: #E6E6E6; + border-top: 1px #B8AE9C solid; + border-left: 1px #B8AE9C solid; + border-right: 1px #B8AE9C solid; + text-decoration: none; + text-align: center; + font-weight: bold; + + +} +.buttontab selected { + font-family: Helvetica, Arial, Helvetica, sans-serif; + background-color: #6F7172; + font-weight: 600; + border:0; + padding-left: .188em; + padding-right: .188em; + padding-top: .188em; + +} +td.selected{ + font-family: Helvetica, Arial, Helvetica, sans-serif; + font-weight: 600; + text-decoration: none; + text-align: center; + background-color: white; + border-top: 1px #B8AE9C solid; + border-left: 1px #B8AE9C solid; + border-right: 1px #B8AE9C solid; +} +.econtainer{ + background-color: #fffaf0; + border:1px #6F7172 solid; + margin-left:.5em; +} + +.tab a:link, .etab a:visited { + /* color: black;*/ + color: #4C566C; + background-color: white; + +} +.tab a:hover { + color: black; + background-color: white; +} + +.etabself { + background-color: #6F7172; + + text-align: center; + font-weight: bold; + padding: 0.125em; +} + + +.unsaved { + color: red; + background-color: #FFFDE0; + font-weight: bold; +} +.saved { + background-color: #FFFDE0; + margin: 0.625em; +} + + +/* the side menu */ +td.dropdown-heading { + background-color: #DBFDD4; + color: #595241; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-top: 1px solid #ECFEEA; + font-weight: bold; + padding: 0.125em; +} + +td.dropdown-heading a, td.dropdown-heading a:hover, td.dropdown-heading a:visited { + text-decoration: none; +} + +td.dropdown-heading.closed { + border-bottom: 1px solid #ECFEEA; +} + +/* the side menu content */ +td.dropdown { + padding: 0.125em; + background-color: white; + color: black; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-bottom: 1px solid #ECFEEA; + font-weight: normal; +} +td.dropdown a, td.dropdown a:visited { + /* color: #595241; */ + color: #4C566C; + text-decoration: none; +} +td.dropdown a:hover { + color: #595241; + text-decoration: underline; +} +td.dropdown.cell { + border-bottom: 0; +} +td.dropdown strong { + color: #2A6C28; +} + +/* added for 1.4.2: */ +.results { + padding-left: 1.25em; +} + +h5.search-results { + padding: 0.063em; + margin-bottom: 0.313em; + margin-top: 1em; + padding-top: 3em; + margin-left: 0.313em; +} + +small.search-info { + color: #595241; +} + +p.search-description { + background-color: #FFFCE5; + color: #595241; +} + +.test-box { + background-color: #F7F3ED; + color: #595241; + border-left: 1px solid #595241; + border-right: 1px solid #595241; + border-top: 1px solid #595241; + font-weight: bold; + padding: 0.125em; +} + +/*preferences*/ + +.input-form +table.tabbed-table { + width: 100%; + border:thin black solid; +} +table.tabbed-table th#left-empty-tab { + background-color: transparent; + width: 0.938em; + border-bottom: 1px solid #B8AE9C; +} +table.tabbed-table th#right-empty-tab { + text-align: right; + background-color: transparent; + border-bottom: 1px solid #B8AE9C; + width: 25em; + padding-right: 0.313em; +} +table.tabbed-table th#right-empty-tab a { + text-decoration: underline; +} +table.tabbed-table th.tab-spacer { + background-color: transparent; + width: 0.313em; + border-bottom: 1px solid #B8AE9C; +} + +table.tabbed-table th.tab { + padding-top: 0.125em; + padding-bottom: 0.125em; + width: 6.875em; + background-color: #E9F4F3; + border-bottom: 1px solid #B8AE9C; + border-left: 1px solid #B8AE9C; + border-top: 1px solid #B8AE9C; + border-right: 1px solid #B8AE9C; +} +table.tabbed-table th.tab:hover { + background-color: #ACCFCC; +} + +table.tabbed-table th.tab a:focus { + color: white; +} +table.tabbed-table th.selected { + padding-top: 0.125em; + padding-bottom: 0.125em; + width: 6.875em; + background-color: #ACCFCC; + border-left: 1px solid #B8AE9C; + border-top: 1px solid #B8AE9C; + border-right: 1px solid #B8AE9C; +} + +table.tabbed-table a, table.tabbed-table a:visited, table.tabbed-table a:hover { + /* color: black;*/ + color: #4C566C; + text-decoration: none; +} + + +.preference-buttons-container{ + background-color: red; + height: 2.5em; + width: 100%; + text-align: center; +} + +div.preference-buttons-container li{ + display: inline; + float: right; +} + +.prefs_tab_selected{ + font-style: italic; + width: 10%; +} +.prefs_tab{ + width: 10%; +} + +.etabbed-table{ + margin: 0 auto; +} +#previewText{ + font-family: monospace; + border: 2px solid rgb(0, 0, 0); + padding: 2em; + width: 80%; + color: rgb(255, 255, 255); + background-color: rgb(0, 0, 0); +} +#previewArea{; + padding: 0em; + border-bottom-width: 0; + margin-left: auto; + margin-right: auto; + font-weight: normal; + width: 70%; + float:left; + clear:right; +} +#display-settings-preview{ + width:90%; + height:20em; + margin: 0 auto; +} +#feedback{ + width: 90%; +} +#defaultfontsize-wrapper{ + width:90%; +} + +/* end of preferences */ + +a#my-start-page { + padding: 0.125em; + padding-left: 0.938em; + background-repeat: no-repeat; + background-position: 0.125em 0.313em; +} + +a#back-to { + padding-left: 1.25em; + background-image: url(images/back.gif); + background-repeat: no-repeat; + background-position: 0 0; +} + +.breadcrumbs, .previous-next /*a#guide*/{ + /* The path bar, including breadcrumbs and add to favorites */ + clear:both; + font-size: 0.85em; + padding:0 0.375em; + color: #4C566C; + background-color: white; + +} +#breadcrumbs-container{ + background-color: #4d4d4d; + position: relative; +} +.breadcrumbs{ + display:none; +} +h2.page-title { + padding-top: .5em; + margin-top: .5em; +} +h1 { + margin-bottom: 0.313em; + +} + + +div#help { + border-left: 1px solid black; + border-right: 1px solid black; + border-bottom: 1px solid black; + padding-left: 0.313em; + padding-right: 0.313em; + padding-bottom: 0.313em; + background-color: #F7F3ED; + margin-left: 0.313em; + margin-right: 0.313em; + font-size: small; +} + +h3#help-title { + margin-left: 0.313em; + margin-right: 0.313em; + border-left: 1px solid black; + border-right: 1px solid black; + padding: 0.063em; + background-color: #F7F3ED; +} +.line { + border-bottom: 1px solid black; +} +div#help p { + padding: 0; + margin: 0; +} + +div#toctoggle { + float: left; + padding-left: 0.625em; +} + +h1#section-title { + font-size: 90%; +} + +div#top-links { + margin: 0 auto; + font-size: .938em; +/* moved inside of #footer for mobile theme */ +} +#footer{ + /*width:100%;*/ + height:2.3em; + background-color: #4b6b90; + margin-top: -2.3em; + position: relative; + clear: both; + +} + +div#top-links a:link, div#top-links a:visited { + text-decoration:none; +} + +#jumpmenu:focus{ + background-color:#F6EAD6; +} +#jumpmenu{ + margin: 0 auto; +} + +a#editor-link { + background-color: #F7F3ED; + padding-top: 0.063em; + padding-bottom: 0.063em; + padding-left: 0.938em; + padding-right: 0.5em; + border: 1px solid #cccccc; + font-weight: normal; + text-decoration: none; +} + +a#editor-link:hover { + background-color: #F7F3ED; + border: 1px solid #B8AE9C; +} + +a#editor-link.off { + background-image: url(images/pen.gif); + background-repeat: no-repeat; + background-position: 0 0.125em; +} +a#editor-link.on { + background-image: url(images/pen2.gif); + background-repeat: no-repeat; + background-position: 0 0.125em; +} + + +/* for data tables */ +.table-surround { + border: #A9ADB0 1px solid; + border: #cccccc 1px solid; + -webkit-border-radius:5px; + margin-top: 1em; + margin-bottom: 1em; + +} + +table.data { + margin:0; + width:100%; + padding: 0; + color: black; + font-size: .8em; + text-align: left; + background-color: transparent; +} +/* contains the headings */ +table.data th { + + padding: 0.188em; +} + +table.data th a { + color: #595241; + background-image: url('../default/images/sort.gif'); + background-repeat: no-repeat; + background-position: right; +} + +table.data tbody { +/* + border-top: 1px solid #B8AE9C; + border-bottom: 1px solid #B8AE9C; + */ +} +/*headings text*/ +table.data tbody th { + text-align: left; + +} + +table.data td { + padding: 0.188em; + color: black; + font-size: .875em; + font-style: normal; +} +table.data td a:link, a:visited{ + /*color: black;*/ + color: #4C566C +} +table.data tbody tr:hover { + background-color: #efefef; + cursor: pointer; +} + +table.data tbody tr.selected { + background-color: #E9F4F3; + cursor: auto; + border: 5px solid #E9F4F3; +} + +table.data tfoot { + background-color: #F7F3ED; +} + +table.data tfoot tr:first-child td { + padding: 0.313em; + background-image: url('images/arrow_ltr.gif'); + background-repeat: no-repeat; + background-position: .25em 0.313em; +} + +table.data.static tfoot td, table.data.static tfoot tr:first-child td { + /*border-top: 1px solid #B8AE9C;*/ + padding: 0.313em; + background-image: none; + padding-left: 0; + +} +/* add borders to row in Required Information, Personal Information*/ +.row{ + padding:.375em 0; + border-bottom: 1px #cccccc solid; + font-size: 0.938em; +} +#last-row, .row-buttons, #last-row1, .row-blurb{ + border: none; +} +#browse-courses-table{ + font-size: .875em; +} + + +/*buttons*/ +table.data tfoot input { + background-color: #efefef; + font-weight: normal; + /*border: #AAA solid 1px;*/ +} +table.data tfoot input:focus { + background-color: #FFDAB9; + /*border: #AAA solid 1px;*/ +} + + +/* used for static tables with no form elements: */ +table.data.static tbody tr:hover { + background-color: transparent; + cursor: auto; +} + + + +/* course browser: */ + +div#browse { + margin-left: auto; + margin-right: auto; + width: 80%; +} + +div.browse-selected { + background-image: url('images/side_arrow.gif'); + background-repeat: no-repeat; + padding-left: 0.563em; + background-position: center left; +} + +div.browse-unselected { + padding-left: 0.563em; +} + +ul.browse-list { + list-style: none; + padding:0; +} + +/* feedback /errors */ +div#error { + width: 89%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #DD0000; + padding: 0.313em; + background-color: #F4DCDC; + color: #A50707; + background-color: #F4DCDC; + padding-left: 1.563em; + font-weight: bold; + -webkit-border-radius:5px; +} +div#error h4 { + color: black; + margin-left: 0; +} + +div#error ul, div#feedback ul, div#help ul { + position: relative; + list-style: none; + margin-left: 0; + padding-left: 0; +} + +div#error ul li{ + margin-top: 0.313em; +} + +div#feedback, div#info { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.313em; + margin-bottom: 0.313em; + padding: 0.313em; + font-family: Helvetica, Arial, sans-serif; + -webkit-border-radius:5px; + border: 1px solid #17B506; + background-color: #E7EFD0; + color: #3f4559; + font-size: 90%; + z-index: -1; +} +div#feedback li, div#info li, div#error li{ + color: #4C566C; + z-index: -1; +} + +div#help { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #ACCFCC; + padding: 0.313em; + background-color: #E9F4F3; + color: #024C41; +} + + +div#warning { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #FF8400; + padding: 0.313em; + background-color: #FFF6ED; + color: #D95900; + font-weight: bold; +} +acronym { + cursor: help; +} + +div.news p { + margin: 0; + padding:0; +} +div.news span.date { + font-family:Helevetica, Arial, sans-serif; + color: #4C566C; + font-size: .5em; +} + +.news{ + padding: 0; + margin-bottom: 1em; + margin-top: 1em; +} +/* home page links */ +div.home-link { + padding: 0.125em; + float: left; + text-align: center; + margin: 0.125em; + width: 7.5em; + height: 5.625em; +} +div.home-link:hover { + padding: 0.063em; + background-color: #F7F3ED; + border: 1px solid #afafaf; + float: left; + text-align: center; + margin: 0.125em; +} +div.home-link a { + text-decoration: none; + font-weight: bold; +} + +div.home-link img { + border: 0; +} + +/* sequence links */ +div#sequence-links { + +} +div#sequence-links a { + text-decoration: none; + display: block; +} + +.previous-next{ + display: block; +} +div.dropdown { + width: 12.5em; + padding: 0.125em; + background-color: white; + color: black; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-bottom: 1px solid #ECFEEA; + font-weight: normal; +} + +div.dropdown-heading { + background-color: #ACCFCC; + color: #595241; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-top: 1px solid #ECFEEA; + font-weight: bold; + padding: 0.125em; +} + +div.required { + font-weight: bold; + color: red; + font-size: large; + float: left; + position: relative; + margin-top: -0.313em; + height: 0.938em; + padding-right: 0.125em; +} + +div#content_text { + margin-left: 0.313em; +} + +#content{ +/* + padding-top:.5em; + margin-top: .5em; + background-color: #F5F5F5; + + border: #A9ADB0 1px solid; + border: #cccccc 1px solid; + -webkit-border-radius:5px; + -webkit-border-bottom-right-radius: 5px; + -webkit-border-bottom-left-radius: 5px;*/ + padding-top: .313em; +} +form { + display:inline; + max-width: 100%; +} + + +optgroup { + /*font-size: small;*/ +} + +/* paging*/ +div.paging { + margin-top: 1em; + text-align: center; +} +div.paging ul { + list-style: none; + display: inline; + padding: 0; + max-width: 10%; + margin-bottom: 1em; +} +div.paging li { + display: inline; + padding-left: 0.125em; + padding-right: 0.125em; + padding-top: 0; + padding-bottom: 0; + width: 10%; +} + +div.paging li a { + text-decoration: none; + padding-left: 0.25em; + padding-right: 0.25em; + border-left: 1px solid white; + border-right: 1px solid white; +} + +div.paging li a:hover, div.paging li a.current { + border-left: 1px solid #000; + border-right: 1px solid #000; + color: black; +} + +#tl_corner{ + + background-image:url(images/tl_corner.gif); + background-position: top left; + background-repeat: no-repeat; + padding:0; +} + +div.tabs { + /* Navigational Plone Tabs(tm), implemented by customizing the a tag - they are surprisingly elegant. The power of CSS runs strong in these :) */ + background-color: transparent; + border-collapse: collapse; + border-bottom: 1px solid #B8AE9C; + padding: 0.5em 0em 0em 2em; + white-space: nowrap; +} + +div.tabs a { + /* The normal, unselected tabs. They are all links */ + background-color: transparent; + border-color: #B8AE9C; + border-width: 1px; + border-style: solid solid none solid; + color: #595241; + height: 1.2em; + margin-right: 0.5em; + padding: 0em 2em 0em; + +} + +div.tabs a.selected { + /* The selected tab. There's only one of this */ + background-color: white; + border-bottom: #B8AE9C 1px solid; + color: #595241; + font-weight: normal; +} + +div.tabs a:hover, div.tabs a.active { + background-color: #B8AE9C; + border-bottom: 1px solid #B8AE9C; + color: white; +} + +.headingbox a{ + color: #4C566C; +} +.headingbox a:link, .headingbox a:visited{ + text-decoration: none; +} +div.box { +} +h4.box { + background-color: #F5F5F5; + padding: .313em; +} +h4.box a { + display: block; + color: #4C566C; + background-color: #F5F5F5; + text-decoration: none; +} +.content-expand { + background-image:url("images/content-arrow-down.png"); + background-position: top right; + background-repeat: no-repeat; +} +.content-closed{ + background-image:url("images/content-arrow-up.png"); + background-position: center right; + background-repeat: no-repeat; +} + +div.box { + padding: 0.313em; + background-color: #F5F5F5; + color: black; + border: 1px solid #B8AE9C; + font-size:0.85em; + font-weight: normal; + padding:0.125em; +} + +h5.box { + background-color: #6F7172; + border: 1px solid #B8AE9C; + border-style: solid solid none solid; + color: Black; + padding: 0em 1em 0em 1em; + display: inline; + font-size: 1em; + height: 1em; +} + +div.box a:link { + text-decoration: none; +} + +div.box a:visited { + color: #2A6C28; + text-decoration: none; +} + +div.box a:hover { + text-decoration: underline; +} + +.boxDetails { + text-align: right; +} + +div.box .content { + padding: 1em; + font-size: 1em; +} + +div.box a.close { + float: right; + text-transform: none; + border-left: 1pt solid #B8AE9C; + padding: 0em 0.2em; +} + +div.box h1, +div.box h2, +div.box h3, +div.box h4 { + margin: 0; + padding: 0; +} + +div.box .even { + background-color: #F7F3ED; +} + +div.box .odd { + background-color: transparent; +} + + +/* users/index.php */ + +div.course { + position: relative; + width: 12.5em; + height: 10.5em; + border: rgb(204, 204, 204) 1px solid; + background-color: #F7F7F7; + float: left; + margin: 0.188em; + padding: 0.313em; +} + +div.course.break { + clear: left; +} + +div.course h2 { + border: 0; + font-weight: normal; + font-size: large; + +} + +div.course:hover { + background-color:#FBF4E9; + border: #B8AE9C 1px solid; +} + + +table.data .odd img.headicon{ + width: 2.469em; + height: 2.469em; + -webkit-border-radius:5px; +} + +.icon{ + -webkit-border-radius:10px; + border-color: white; + width: 2.5em; + height: 2.5em; + float: left; +} +div.course div.shortcuts { + text-align: right; + clear: left; + vertical-align: middle; + width: 12.5em; +} + +fieldset#shortcuts { + float: right; + background-color: #FEFDEF; + border: 1pt solid #B8AE9C; + margin: -5pt 5pt 5pt 5pt; + padding-right: 10pt; + padding-bottom: 5pt; + padding-left: 10pt; +} + +.shortcuts{ + +} + +fieldset { + margin-bottom: 10pt; + -webkit-border-radius:5px; + padding: 0 0.375em; + width: 90%; + margin: 0 auto; + width:95%; + margin:0 auto; + border:thin #6D7B8D solid; + border:thin #A9ADB0 solid; + margin-bottom: 1em; +} +#shortcuts legend { +} +#shortcuts ul { + position: relative; + margin-top: 0pt; + margin-bottom: 0pt; + margin-left: 0pt; + list-style-type: none; + padding-left: 0pt; +} + +/*a#guide,*/ a#my-courses-link { + background-color: #6D84A2; +} + +#guide img{ + border:none; +} + +#guide a:hover{ + +} +div#content-text { + padding-right: 5pt; + line-height:150%; +} + +div#content-text li { + margin-left: 15pt; +} + +div#content-test, div.content-from-module { + float: left; + margin-top: 2em; + margin-bottom: 2em; + padding-right: 5pt; + width: 80%; +} +div#content-test ol{ + margin-right: 5pt;; +} + +div#content-test ol ul li{ + list-style: none; + padding: 0 0.125em 0 0.938em; + margin-bottom: 0.063em; + line-height: 200%; + background-color: #fdfdfd; + border-bottom: 1px solid #efefef; + border: 1px solid #eeeeff; +} + +div#content-info { + margin: 5pt; + font-size: small; + color: #b8ae9c; + clear: both; +} + +div#container { + text-align: left; + margin: 0 auto; + padding: 0; + border:0; + width: 95%; +} + +div#menutoggle{ + text-align: right; + padding-bottom: 0.625em; + padding-right: 0.625em; + float: left; + margin-top: 0.625em; + padding-right: 0.313em; + font-size:0.95em; +} + + +/* login page */ +div.column { + float: left; + width: 45%; + margin: 0.313em; + min-width: 10.625em; +} + +div.column h3 { + background-color: #F6EAD6; + border-bottom: .05em solid #6F7172; + font-size: small; + display:block; + color:black; + font-weight:600; + padding-left:0.5em; +} + +div.insidecol { + min-height: 10.625em; + height: 10.625em; + padding:0.313em; +} + + +/* index page */ +ul#home-links, ul#home-detail-links { + list-style: none; +} +ul#home-links li { + + display: inline; + float: left; + padding: 0.8em; + text-align: center; + margin: 0.1em; + width: 8.5em; + height: 7.0em; + padding-left:0; + +} +ul#home-links li a { + text-decoration: none; + border: 1px transparent; + font-weight: bold; +} +ul#home-links li a img { + border: 0; + display: block; + padding-left:1.563em; +} + +/*my start page */ +#my_courses_container{ + text-align: left; + margin: 0 auto; + border:0; + min-width: 100%; +} +#my-courses-navlist{ +} +.my-courses-list{ + border: solid 1px #A9ADB0; + -webkit-border-radius:5px; + padding: .375em; + color: #4C566C; + margin: .375em; + padding: .375em; +} +.my-courses-list-ul{ + margin: 0 auto; + padding-left: 0; + width: 100%; +} +.my-courses-links{ + font-size: 80%; + padding-top: .75em; +} +.my-courses-resume{ + float: right; +} +.fl-link-summary{ + padding-left: 0.875em; + padding-bottom: 0.875em; + display: inline; +} +.fl-list-menu li a { +} +.fl-theme-iphone [class*="fl-list"]:not(.fl-list):not(.fl-grid) a { +} +.fl-theme-iphone [class*="fl-list"] > li .fl-link-summary{ + color: #4C566C; +} +.current_head{ + padding-top: .5em; +} +.fl-list-menu { + +} + +.current_box{ + max-width: 100%; +} +.current_list{ + width: 95%; + padding: 0 0.375em; +} +.current_list li{ + list-style-type: none; + padding:0; + margin:0; + +} +.current_list img{ + +} + +#show-all{ + text-align: center; +} +/* enrollment tabs */ +#navlist { + padding: 0; + margin-left: 0; + margin-right: auto; + margin-left: auto; + margin-bottom: .25em; + margin-top: 0.938em; + white-space: nowrap; +} + +#navlist li { + list-style: none; + display: inline; + margin: 0; +} + +#navlist li a { + padding: 0.188em 0.563em; + border: 1px solid #F7F3ED; + border-bottom: none; + background-color: #F7F3ED; + text-decoration: none; + margin-left: .25em; + white-space: nowrap; +} + +#navlist li a:hover, #navlist li a:active { + color: #000; + background-color: #fff; +} + +/* tree */ +.img-size-tree { + vertical-align: middle; + margin-top: 0; + padding:0; + height:1.45em; + width:1.5em; +} +/* profile page */ + +dl#public-profile { + width: 100%; + +} + +dl#public-profile { + width: 100%; + +} +dl#public-profile dt { + float: left; + width: 90%; + border-right: 1px solid #F7F3ED; + padding: 0.313em 0.313em 0.313em 0; + + margin-right: 0.313em; +} +dl#public-profile dd { + margin: 0; +} + +div.social-right{ + margin-left:.5em; + margin-top: 1em; +} +div.social-left{ + margin-left:.5em; +} +h4.profile{ + float: left; +} +.social-wrapper h3{ + padding-top: .5em; +} +.my-contacts h3{ + padding-bottom: .375em; +} +img#profile{ + border: 1px #cccccc solid; + margin-left: 1em; +} +dd{ + margin: 0; +} + + +/** forum stuff **/ +#forum-thread li {border:1px solid #eee; border-bottom: 1px solid #F7F3ED; float:left; width: 97%; list-style: none; } +#forum-thread li.even { background-color: #F7F3ED; border-top: none; } +#forum-thread li.odd { background-color: #fff; } +div.forum-post-author { float:left; width:19.375em; padding:0.5em 0.625em; } +div.forum-post-author a.title {font-size: 1.1em; line-height: 1.2em; font-weight: bold; text-decoration:none; } +div.forum-post-author img.profile-picture { border: 2px solid #F7F3ED; text-align:right;} +div.forum-post-content { margin-left: 19.375em; padding: 0.313em 0 1.125em 1.125em;} +div.forum-post-content h3 { font-weight: 500; float:left;clear:right; } +div.forum-post-ctrl { float: right; padding-right: 0.313em; color: #a1a1a1;} +div.forum-post-ctrl a { text-decoration: none; } +div.forum-post-ctrl span { color: black; background-color: #fefdc2; padding: 0.188em; } +div.forum-post-content p.date { color: #a1a1a1; border-bottom: 1px solid #F7F3ED; } +div.forum-post-content div.body p { margin-bottom:1em; } +div.forum-paginator{border:thin #cccccc solid; padding:.3em; width:95%;margin:auto;background-color:#F7F3ED;} +span.forum-paginator-active{font-weight:700;text-decoration:underline; height:2em;} + + + +/** inbox stuff - reuses some of the forum layout **/ +#inbox-msg li {border:1px solid #eee; border-bottom: 1px solid #F7F3ED; width: 95%; list-style: none; min-height: 11em;} + +/* tool list on admin home and manage screens */ + li.top-tool { + list-style: none; + padding: 0.125em 0.125em 0.125em 0.938em; + margin-bottom: 0.313em; + line-height: 200%; + border: solid 1px #A9ADB0; + -webkit-border-radius:5px; +} +li.top-tool a { font-weight: bold; } /* ol#tools>li>a */ + +li.child-tool a { + font-size: x-small; + font-weight: normal; +} + +/* ol#tools>li>ul, */ +ul.child-top-tool { + margin-top: -0.313em; + padding-left: 0; + margin-left: 0; + display: inline; +} +ul.child-top-tool:before { + content: " : "; +} + +li.child-tool { + display: inline; + margin-right: 0.313em; + font-size: x-small; +} + +.img-size-home { + height:3.85em; + width:3.9em; +} + +/* browse courses */ +div.browse-course { + width: 28em; + padding-bottom: 0.625em; + background-color: #fffaf0; + border:1px #6F7172 solid; + font-size:9pt; + min-height:18em; + margin:auto; + margin-left:1em; + margin-top:1em; +} + +dl.browse-course { + width: 90%; + padding-bottom: 0.625em; + background-color: #fffaf0; + + margin:auto; + margin-left:1em; +} +dl.browse-course dt { + float: left; + font-weight: bold; + width: 25%; + text-align: right; + clear: left; + padding: 0.313em 0.625em 0.313em 0; + vertical-align: middle; + +} +dl.browse-course dd { + margin-bottom: 0.313em; + clear: right; + padding: 0.313em 0 0.313em 0.625em; + margin-left: 26%; + +} +.row .buttons{ + border: none; +} + +/* form fields grouping for WCAG 2.0 conformance*/ + +fieldset.group_form{ + width:95%; + margin:0 auto; + margin-bottom: 1em; + border: 1px #6D7B8D solid; + -webkit-border-radius:5px; +} + +legend.group_form{ + background-color:white; + font-weight: 600; + color: #4c566c; + padding:.5em; + border: 1px #6D7B8D solid; + -webkit-border-radius:5px; +} +/* file storage */ + +#fsfloat1{ + float:right; +} +#fsfloat2{ + float:right; + width:48%; +} + + +/* highlight active links for WCAG 2.0 conformance */ +a:active, a:hover,a:focus{ + background-color:#F6EAD6; + color:#000000; + + background-color: #e6e6e6; + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + +} +} + + +/*Added by Silvia */ +div.column_primary { + float: left; + width: 42%; + margin: 0.313em; + padding: 0; + min-width: 10.625em; +/* position: relative;*/ +} + +div.column_equivalent{ + float: left; + width: 52%; + margin-left: 0.938em; + margin-top: 0.313em; + margin-right: 0.313em; + margin-bottom: 0.313em; + min-width: 10.625em; + padding: 0.313em; + border: 1px solid #EEE; + background-color: #FFF; +/* position: relative;*/ + +} + +div.resource_box{ + border: 1px solid #aaa; + width: 95%; + margin: 0.313em; + padding: 0.313em; + min-width: 9.375em; + background-color: #eee; +/* position: relative;*/ +} + +h2.alternatives_to{ + margin-top: 0.75em; + font-size: 90%; + color: #A50707; +} + +div.alternative_box{ + border: 1px solid #ddd; + /*width: 90%;*/ + margin: 0.313em; + padding: 0.313em; + min-width: 9.375em; + background-color: #fff; +} + +div.alternative_box legend { + color: #000; +} + +div.resource_box legend { + color: #000; +} + +label.primary a{ + color: #A50707; + font-weight: bolder; + background-color: white; +} + +/* format of "table of contents" on content page */ +#toc a { display:block; margin:0.188em; } +#toc .h2, #toc .h3, #toc .h4, #toc .h5, #toc .h6{ + padding:0 0 0 0; +} + + +fieldset#toc { + background-color: #FEFDEF; + border: 1pt solid #B8AE9C; + width:89%; +} + +#side-menu{ + overflow:hidden; +} + +/* cleans up glossary question mark line spacing*/ +sup{ + border: 1pt solid #B8AE9C; + vertical-align:bottom; + margin-top: 1em; +} + +/* jQuery tooltip styles */ +#tooltip{ + position:absolute; + z-index:3000; + border:3px solid #111; + background-color:#eeeeee; + padding:0.313em; +} +#tooltip h3,#tooltip div{ + margin:0; +} + +/* style for home page modules "detail view" */ +div.home_box { + padding: .75em 0; + margin: 0 auto; +} + +.outside_box{ + background:#e0e0e0; + width: 17em; + margin: .375em; + padding: 0; + height:9.8em; +} + +.inside_box{ + width:100%; + margin:auto; + height:52%; + margin-bottom:.2em; + background:#eeeeee; + +} +.details_or{ + width:28.8em; + height:9.8em; + margin:0; + background-image:url(images/details_r.png); + background-position: top right; + background-repeat:no-repeat; +} +.details_ol{ + height:9.8em; + margin:0; + width:.45em; + background-image:url(images/details_l.png); + background-position: top left; + background-repeat:no-repeat; +} +.details_ir{ + width:.5em; + height:100%; + float:right; + background-image:url(images/details_ir.png); + background-position: top right; + background-repeat:no-repeat; +} +.details_il{ + height:100%; + float:left; + background-image:url(images/details_il.png); + background-position: top left; + background-repeat:no-repeat; +} +.home-title{ + font-size:12pt; +} +.buttonbox{ + float:right; +} +.details_text{ + margin-left:1em; +} +.draggable_selected { + background-color: lightgrey; + cursor: move; +} + +div.menuedit{ + float:right; + margin-top:-1.2em; + border:1px solid #cccccc; +} +li.folders { + list-style: disc url(../../images/folder.gif) outside; + font-family: Verdana, Helevetica, Arial, sans-serif; + margin-bottom: 0; + margin-top: 0; + margin-right: 0; +} + +li.folders .disabled { + color: #B8AE9C; +} + +ul.folder{ + list-style-image:none; + list-style-position:outside; + list-style-type:none; + margin:0em; + padding:0em; +} + + +/* hiding/showing top navigation and results-display */ + +#topnavlist-link { + color: white; + text-decoration: none; + font-weight: bold; +} + +ul#topnavlist { + display: none; + position: relative; + top: 1.2em; + z-index: 1; + background-color: white; +} + +div#results-display{ + display: none; +} + +ul#topnavlist li { + padding: 0; + margin: 0; +} +ul#topnavlist li a.active { + color: black; + font-style: italic; + } + +ul#topnavlist li a:hover, ul#topnavlist li a:focus { + /*Replicates mobile FSS list highlighting, currently there's a bug: + see: http://issues.fluidproject.org/browse/FLUID-4313 + /*border: 1px solid #e0e0e0;*/ + background-color: #e6e6e6; + color: black; + + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + -webkit-tap-highlight-color:url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); +} + +ul#topnavlist li a { + color: #4C566C; + text-decoration: none; +} + + +div.toolcontainer{ + border: #A9ADB0 1px solid; + border: #cccccc 1px solid; + -webkit-border-radius:5px; + margin-top: 1em; + margin-bottom: 1em; +} + +ul#subnavlist { + padding: 0; + padding-bottom: 0.313em; + margin: 0; + font-size: 90%; +} + + +ul#subnavlist li { + display: inline; +} + +ul#subnavlist li#test{ + display: none; +} +ul#subnavlist li a:hover, ul#subnavlist li a:focus, ul#subnavlist li a.active{ /* + color: black; + text-decoration:none;*/ +} + +ul#subnavlist li a, ul#subnavlist li a:visited { + color: #4C566C; +} + + +/* list attributes */ +ul { + list-style: none; +} +li { + color: black; + list-style: none; +} + +ol#tools>li:hover, ol#tools>li:hover a { + /*border: 1px solid #e0e0e0;*/ + background-color: #e6e6e6; + color: black; + + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + +} + + +#content-contentwrapper{ + height:100%; + position:relative; + z-index:1000; + width:100%; + overflow:hidden; +} + +#leftcolumn{ + float: left; + width: 17em; + margin-left: 0.313em; + margin-top:-0.625em; +} + +#copyright{ + font-size: 0.5em; +} +#gototop{ + text-align: center; + color: #4B6B90; +} + +#tools{ + margin: 0 auto; + padding: 0.375em; +} + + +/* ATutor Social Styles */ + +div .profile_container { + background-color:#eee; + border: 1px solid #8e8e8e; + width:80%; + padding:0.5em; + margin-bottom: 0.5em; +} + +div .profile_container .top_right { + float: right; +} + +dl.public-profile dd{ + margin-left:0; +} +dl.public-profile dt { + float: left; + font-weight: bold; + min-width:12em; +} + +/* Search form */ +div .search_form { + margin-bottom: 1em; +} + +div .search_form .row{ + background-color: #DEDEC0; + padding: 0.5em; +} +div .button { + background-color: #eee; + border: 1px solid #aaa; +} +div .button:hover{ + background-color: #cccccc; + color: #ffffff; +} + +/* Side menu */ + + +ul.social_side_menu { + padding-left: 2em; +} +ul.social_side_menu li { + padding-bottom: 0.2em; + list-style: circle; +} + +div .divider { + border-bottom:1px solid #C1C157; + padding-bottom:0.5em; + margin-bottom:0.5em; +} + +.activity{ + line-height:18pt; + font-size:.8em; +} + +div.contentbox, input-form{ + + padding:.5em; + background-color: #ffffff; + overflow:hidden; + border: #A9ADB0 solid 1px; + -webkit-border-radius: 5px; +} + +div.suggestions{ + border:1px solid #a50707; + margin-left:0.625em; + width:50%; +} +li.inlinelist{ + display: inline; + padding-right: 1em; +} +ul.social_inline_menu{ + background-color: #eeeeee; + border:thin #cccccc solid; + padding:.5em; + width:90%; + margin:auto; +} +div.social-wrapper{ + width: 100%; +} + + +.contentbox-a{ + width: 100%; +} +.contentbox-b{ + padding-bottom:0.2em; +} + +div.logo{ +float:left; +clear:right; +margin-left:2em;} + + + diff --git a/docs/themes/simplified-desktop/blackberry.css b/docs/themes/simplified-desktop/blackberry.css new file mode 100644 index 000000000..8bf3b88bb --- /dev/null +++ b/docs/themes/simplified-desktop/blackberry.css @@ -0,0 +1,2263 @@ +/* Style is optimized for blackberry devices. Classes beginning with ".fl-" are overriding Mobile FSS, +see the API @ http://wiki.fluidproject.org/display/fluid/Mobile+FSS+API +for more details. +*/ +html, body{ + height: 100%; +} +#main{ + padding-bottom: 2.3em; + overflow: auto; +} + +body,ul,li { + padding:0; + margin:0; +} + +.fl-theme-iphone{ + background: white; +} + +#header{ + width:100%; + height:1.063em; + line-height:2.813em; + padding:0; + font-size:1.063em; + color:#3866C4 !important; +} + +#header-section-title { + text-align: left; + background-color:#fff; /*testing - joel*/ + color:#3866C4 !important; + padding-bottom:2px; + font-size:18px !important; +} + +/*.fl-theme-blackberry .fl-navbar{ + border: none; + border-top: none; +} +*/ + +.fl-navbar {border:none !important;} +.fl-navbar a{ + font-size: 0.969em; + /*background-image: -webkit-gradient(linear, left top, left bottom, + from(#4b6b90), + color-stop(0.5, #6d8cb3), + color-stop(0.50, #4b6b90), + color-stop(0.5, #6d8cb3), + to(#4b6b90) + ); */ +} + +.fl-navbar .fl-tabs { + padding-top: .3em; + padding-bottom: .3em; + background-color: #F4F4F4; + border: 1px solid #999; + + height: 2em; +} + +#navigation-contentwrapper{ + position: relative; + background-color: #F4F4F4; + border: 1px solid #999; + height: 2.5em; +} + +#navigation-bar{ + height: 2.5em; + padding-bottom: .3em; + +} + +#wrapper{ + width:100%; + overflow:hidden; + overflow: auto; + min-height: 100%; +} + +#site-name, h1#section-title{ +/* Armin 31.08.2010: Remove display: inline to make heading 1 show on Blackberry */ +/* display: inline;*/ + font-size: 90%; + color: #3866C4; +} + +#site-name {padding-bottom:4px;} + +/*this CSS creates a button that looks exactly like a Mobile FSS tab.*/ + +#topnavlist-link a:link {color:red !important;} + +.navigation-bar-button { + /* -webkit-border-radius: 5px;*/ + font-size: 18px; + color: #000; + position: relative; + top: .69em; + left: 0.188em; + padding-right:20px; + color:# !important; + text-decoration:underline;} + + + /* default mobile fss color scheme for tabs not AA compliant. Here is a compliant bg image: */ + /* background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); + -webkit-border-image: url(images/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -webkit-border-left-image: none; + -webkit-background-origin: border; + -webkit-background-clip: border; + /* to mimick the mobile FSS scolor scheme (iphone) uncomment these lines + background-image: -webkit-gradient(linear, left top, left bottom, + from(#9aafca), + color-stop(0.5, #6d8cb3), + color-stop(0.50, #4b6b90), + to(#4b6b90) + );*/ +} + +.navigation-bar-button a {color:#000;} + + +.fl-theme-iphone .fl-tabs li{ + /* default mobile fss color scheme for tabs not AA compliant against a white foreground text.therefore its backgroud-image must be overrided */ + /*background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); */ +} + +div#content-link-container{ + background-color:#F5F5F5; + padding:.375em; + border: #A9ADB0 solid 1px; + /*-webkit-border-radius: 2px;*/ +} +#content_link{ + display: block; +} +#home-guide{ + position: absolute; + top: .45em; + right: 0.188em; + font-size: 17px;/*keep this in px*/ + white-space:nowrap; + display: inline; + +} +#home-guide a{ + color:#6699ff; +} +/* main body attributes */ +p { + text-align: left; + line-height: 150%; + font-size: 1em; + padding:.75em 0; + margin: 0 auto; +} + +p a { + text-decoration: underline; +} + +p a:visited { + color: #3F2670; + background-color: transparent; +} +p a:active { + color: #A50707; + background-color: transparent; +} + +h1, h2, h3, h4, h5, h6 { + color: #333; + clear: right; + font: 100% Helevetica, Arial, sans-serif; + font-weight: bold; + margin: 0; + padding: 0; +} + +h1 { + font-size: 160%; + color: #FFF; +} + +h2 { + font-size: 150%; +} +h2.sidebox{ + font-size: 110%; +} +h3 { + font-size: 130%; + padding-top: 0; + padding-right: 0; + padding-bottom: 0.5em; + padding-left: 0; +} +h3.browse-courses{ + font-size: 90%; + text-decoration: none; + clear: none; + display: inline; +} +h3 a { + font-size: 100%; +} +h4 { + font-size: 120%; +} + + +h5 { + font-size: 100%; +} + + +/* Preferences tabs */ +.etabbed-list-container { + padding:0; + margin: 0; + width:70%; + clear: left; + height: 3em; +} + +.prefs_buttontab { + padding:0; + margin: 0; + white-space: nowrap; +} +.prefs_tab{ + padding:0.5em 0.3em 0; + margin: 0; + white-space: nowrap; + display: inline; +} + +.prefs_tab_selected{ + padding:0.7em 0.3em 0; + margin: 0; + margin: 0px; + font-weight:bold; + text-align:center; + white-space: nowrap; + display: inline; +} + + + +/* Table of content attributes*/ +p.toc{ + font-family: Verdana, Helevetica, Arial, sans-serif; + background-color: #E9F4F3; + padding: .6em; + margin-bottom: .6em; + margin-top: 0em; + margin-left: 1em; + margin-right: 3em; + border: 1px #ACCFCC solid; +} + + +/* link attributes */ +a:link, a:visited { + color: #5984C4; + text-decoration: underline; +} +a:hover { + color: #5984C4; + text-decoration: underline; +} +a:active { + color: #ffffff; + text-decoration: underline; +} +/* align text to the left */ +.left { + text-align: left; +} + +a.dropdown-title { + color: white; + font-weight: normal; + text-decoration: none; +} + + +/* table border */ +.tableborder { + border: 1px #595241 solid; +} + +/* main submit button */ +.button { + background-color: #3866C4 !important; + font-weight:bold; + color:#fff; + text-align: center; + border: #153877 solid 1px; + + /*-webkit-border-radius:3px;*/ + padding-top: 0.313em; + padding-bottom: 0.313em; + + + +} +.button:focus { + +} +/* small submit button at top */ +.button2 { + font-family: Verdana, Helevetica, Arial, sans-serif; + background-color: #3866C4; + +} +.button2:focus { + background-color: #3866C4; + border: #ACCFCC solid 1px; +} + +/* date attributes */ +small.date { + font-family: Verdana, Helevetica, Arial, sans-serif; + color: #595241; + margin-bottom: 0; + margin-top: 0; + margin-left: 0.313em; + margin-right: 0; + font-size:1em; +} + +/* page breakline */ +hr { + color: #ACCFCC; + background-color: white; + height: .063em; +} + +/* message box styles */ + +/* Editor box small */ +.editorsmallbox { + font-family: Verdana, Helevetica, Arial, sans-serif; + background-color: #E9F4F3; + padding: 0.125em; + padding-right: .188em; + border: 1px #ACCFCC solid; +} + +/* Editor box large */ +.editorlargebox { + font-family: Verdana, Helevetica, Arial, sans-serif; + background-color: #E9F4F3; + margin-left:1em; + padding-left: .2em; + padding-right: .5em; + padding-top: .5em; + padding-bottom: .4em; + border: 1px #ACCFCC solid; +} + + +select.dropdown { + font-family: Verdana, Helevetica, Arial, sans-serif; +} + +.highlight, a.highlight { + background-color: #5B8E88; + color: white; +} + +a .highlight{ + background-color: #5B8E88; + color: white; +} + +.center { + text-align: center; +} + + +/* edit content tabs */ +.buttontab { + background-color: #E6E6E6; + font-weight: 500; + border:0; + padding-left: .188em; + padding-right: .188em; + padding-top: .188em; + +} + +.tab { + color: black; + background-color: #E6E6E6; + border-top: 1px #B8AE9C solid; + border-left: 1px #B8AE9C solid; + border-right: 1px #B8AE9C solid; + text-decoration: none; + text-align: center; + font-weight: bold; + + +} +.buttontab selected { + font-family: Helvetica, Arial, Helvetica, sans-serif; + background-color: #6F7172; + font-weight: 600; + border:0; + padding-left: .188em; + padding-right: .188em; + padding-top: .188em; + +} +td.selected{ + font-family: Helvetica, Arial, Helvetica, sans-serif; + font-weight: 600; + text-decoration: none; + text-align: center; + background-color: white; + border-top: 1px #B8AE9C solid; + border-left: 1px #B8AE9C solid; + border-right: 1px #B8AE9C solid; +} +.econtainer{ + background-color: #fffaf0; + border:1px #6F7172 solid; + margin-left:.5em; +} + +.tab a:link, .etab a:visited { + color: black; + background-color: white; + +} +.tab a:hover { + color: black; + background-color: white; +} + +.etabself { + background-color: #6F7172; + + text-align: center; + font-weight: bold; + padding: 0.125em; +} + + +.unsaved { + color: red; + background-color: #FFFDE0; + font-weight: bold; +} +.saved { + background-color: #FFFDE0; + margin: 0.625em; +} + + +/* the side menu */ +td.dropdown-heading { + background-color: #DBFDD4; + color: #595241; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-top: 1px solid #ECFEEA; + font-weight: bold; + padding: 0.125em; +} + +td.dropdown-heading a, td.dropdown-heading a:hover, td.dropdown-heading a:visited { + text-decoration: none; +} + +td.dropdown-heading.closed { + border-bottom: 1px solid #ECFEEA; +} + +/* the side menu content */ +td.dropdown { + padding: 0.125em; + background-color: white; + color: black; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-bottom: 1px solid #ECFEEA; + font-weight: normal; +} +td.dropdown a, td.dropdown a:visited { + color: #595241; + text-decoration: none; +} +td.dropdown a:hover { + color: #595241; + text-decoration: underline; +} +td.dropdown.cell { + border-bottom: 0; +} +td.dropdown strong { + color: #2A6C28; +} + +/* added for 1.4.2: */ +.results { + padding-left: 1.25em; +} + +h5.search-results { + padding: 0.063em; + margin-bottom: 0.313em; + margin-top: 1em; + padding-top: 3em; + margin-left: 0.313em; +} + +small.search-info { + color: #595241; +} + +p.search-description { + background-color: #FFFCE5; + color: #595241; +} + +.test-box { + background-color: #F7F3ED; + color: #595241; + border-left: 1px solid #595241; + border-right: 1px solid #595241; + border-top: 1px solid #595241; + font-weight: bold; + padding: 0.125em; +} + +/*preferences*/ + +.input-form +table.tabbed-table { + width: 100%; + border:thin black solid; +} +table.tabbed-table th#left-empty-tab { + background-color: transparent; + width: 0.938em; + border-bottom: 1px solid #B8AE9C; +} +table.tabbed-table th#right-empty-tab { + text-align: right; + background-color: transparent; + border-bottom: 1px solid #B8AE9C; + width: 25em; + padding-right: 0.313em; +} +table.tabbed-table th#right-empty-tab a { + text-decoration: underline; +} +table.tabbed-table th.tab-spacer { + background-color: transparent; + width: 0.313em; + border-bottom: 1px solid #B8AE9C; +} + +table.tabbed-table th.tab { + padding-top: 0.125em; + padding-bottom: 0.125em; + width: 6.875em; + background-color: #E9F4F3; + border-bottom: 1px solid #B8AE9C; + border-left: 1px solid #B8AE9C; + border-top: 1px solid #B8AE9C; + border-right: 1px solid #B8AE9C; +} +table.tabbed-table th.tab:hover { + background-color: #ACCFCC; +} + +table.tabbed-table th.tab a:focus { + color: white; +} +table.tabbed-table th.selected { + padding-top: 0.125em; + padding-bottom: 0.125em; + width: 6.875em; + background-color: #ACCFCC; + border-left: 1px solid #B8AE9C; + border-top: 1px solid #B8AE9C; + border-right: 1px solid #B8AE9C; +} + +table.tabbed-table a, table.tabbed-table a:visited, table.tabbed-table a:hover { + color: black; + text-decoration: none; +} + + +.preference-buttons-container{ + background-color: red; + height: 2.5em; + width: 100%; + text-align: center; +} + +div.preference-buttons-container li{ + display: inline; + float: right; +} + +.prefs_tab_selected{ + font-style: italic; + width: 10%; +} +.prefs_tab{ + width: 10%; +} + +.etabbed-table{ + margin: 0 auto; +} +#previewText{ + font-family: monospace; + border: 2px solid rgb(0, 0, 0); + padding: 2em; + width: 80%; + color: rgb(255, 255, 255); + background-color: rgb(0, 0, 0); +} +#previewArea{; + padding: 0em; + border-bottom-width: 0; + margin-left: auto; + margin-right: auto; + font-weight: normal; + width: 70%; + float:left; + clear:right; +} +#display-settings-preview{ + width:90%; + height:20em; + margin: 0 auto; +} +#feedback{ + width: 100%; + padding: 2px; +} +#defaultfontsize-wrapper{ + width:90%; +} + +/* end of preferences */ + +a#my-start-page { + padding: 0.125em; + padding-left: 0.938em; + background-repeat: no-repeat; + background-position: 0.125em 0.313em; +} + +a#back-to { + padding-left: 1.25em; + background-image: url(images/back.gif); + background-repeat: no-repeat; + background-position: 0 0; +} + +.breadcrumbs, .previous-next /*a#guide*/{ + /* The path bar, including breadcrumbs and add to favorites */ + clear:both; + font-size: 0.85em; + padding:0 0.375em; + color: #5984C4; + background-color: white; + +} +#breadcrumbs-container{ + background-color: #4d4d4d; + position: relative; +} +.breadcrumbs{ + display:none; +} +h2.page-title { + padding-top: .5em; + margin-top: .5em; +} +h1 { + margin-bottom: 0.313em; + +} + + +div#help { + border-left: 1px solid black; + border-right: 1px solid black; + border-bottom: 1px solid black; + padding-left: 0.313em; + padding-right: 0.313em; + padding-bottom: 0.313em; + background-color: #F7F3ED; + margin-left: 0.313em; + margin-right: 0.313em; + font-size: small; +} + +h3#help-title { + margin-left: 0.313em; + margin-right: 0.313em; + border-left: 1px solid black; + border-right: 1px solid black; + padding: 0.063em; + background-color: #F7F3ED; +} +.line { + border-bottom: 1px solid black; +} +div#help p { + padding: 0; + margin: 0; +} + +div#toctoggle { + float: left; + padding-left: 0.625em; +} + +h1#section-title { + font-size: 90%; +} + +div#top-links { + margin: 0 auto; + font-size: .938em; +/* moved inside of #footer for mobile theme */ +} +#footer{ + /*width:100%;*/ + height:2.3em; + /*background-color: #4b6b90;*/ + margin-top: -2.3em; + position: relative; + clear: both; + +} + +div#top-links a:link, div#top-links a:visited { + text-decoration:none; +} + +#jumpmenu:focus{ + background-color:#F6EAD6; +} +#jumpmenu{ + margin: 0 auto; +} + +a#editor-link { + background-color: #F7F3ED; + padding-top: 0.063em; + padding-bottom: 0.063em; + padding-left: 0.938em; + padding-right: 0.5em; + border: 1px solid #cccccc; + font-weight: normal; + text-decoration: none; +} + +a#editor-link:hover { + background-color: #F7F3ED; + border: 1px solid #B8AE9C; +} + +a#editor-link.off { + background-image: url(images/pen.gif); + background-repeat: no-repeat; + background-position: 0 0.125em; +} +a#editor-link.on { + background-image: url(images/pen2.gif); + background-repeat: no-repeat; + background-position: 0 0.125em; +} + + +/* for data tables */ +table.data { + width: 95%; + margin: 0 auto; + padding: 0; + color: black; + text-align: left; + /*-webkit-border-radius:5px;*/ + border: #6D7B8D 1px solid; + +} +/* contains the headings */ +table.data th { + + padding: 0.188em; +} + +table.data th a { + color: #595241; + background-image: url('../default/images/sort.gif'); + background-repeat: no-repeat; + background-position: right; +} + +table.data tbody { + border-top: 1px solid #B8AE9C; + border-bottom: 1px solid #B8AE9C; +} +/*headings text*/ +table.data tbody th { + text-align: left; + +} + +table.data td { + padding: 0.188em; + color: black; + font-size: .875em; + font-style: normal; +} +table.data td a:link, a:visited{ + color: black; +} +table.data tbody tr:hover { + background-color: #efefef; + cursor: pointer; +} + +table.data tbody tr.selected { + background-color: #E9F4F3; + cursor: auto; +} + +table.data tfoot { + background-color: #F7F3ED; +} + +table.data tfoot tr:first-child td { + padding: 0.313em; + background-image: url('images/arrow_ltr.gif'); + background-repeat: no-repeat; + background-position: .25em 0.313em; +} + +table.data.static tfoot td, table.data.static tfoot tr:first-child td { + border-top: 1px solid #B8AE9C; + padding: 0.313em; + background-image: none; + padding-left: 0; + +} +/* add borders to row in Required Information, Personal Information*/ +.row{ + padding:.375em 0; + border-bottom: 1px #cccccc solid; + font-size: 0.938em; +} +#last-row, .row-buttons, #last-row1, .row-blurb{ + border: none; +} +#browse-courses-table{ + font-size: .875em; +} + + +/*buttons*/ +table.data tfoot input { + background-color: #efefef; + font-weight: normal; + border: #AAA solid 1px; +} +table.data tfoot input:focus { + background-color: #FFDAB9; + border: #AAA solid 1px; +} + + +/* used for static tables with no form elements: */ +table.data.static tbody tr:hover { + background-color: transparent; + cursor: auto; +} + + + +/* course browser: */ + +div#browse { + margin-left: auto; + margin-right: auto; + width: 80%; +} + +div.browse-selected { + background-image: url('images/side_arrow.gif'); + background-repeat: no-repeat; + padding-left: 0.563em; + background-position: center left; +} + +div.browse-unselected { + padding-left: 0.563em; +} + +ul.browse-list { + list-style: none; + padding:0; +} + +/* feedback /errors */ +div#error { + width: 89%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + padding: 0.313em; + color: #A50707; + background-color: #FFFBD9; + padding-left: 1.563em; + font-weight: bold; + /*-webkit-border-radius:5px;*/ +} +div#error h4 { + color: black; + margin-left: 0; +} + +div#error ul, div#feedback ul, div#help ul { + position: relative; + list-style: none; + margin-left: 0; + padding-left: 0; +} + +div#error ul li{ + margin-top: 0.313em; +} + +div#feedback, div#info { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.313em; + padding-left: 0.313em; + padding-right: 0.313em; + font-family: Helvetica, Arial, sans-serif; + /*-webkit-border-radius:5px;*/ + background-color: #FFFBD9; + color: #333; + font-size: 90%; + z-index: -1; +} +div#feedback li, div#info li, div#error li{ + color: #333; + z-index: -1; +} + +div#help { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #ACCFCC; + padding: 0.313em; + background-color: #E9F4F3; + color: #024C41; +} + + +div#warning { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + padding: 0.313em; + background-color: #FFFBD9; + color: #D95900; + font-weight: bold; +} +acronym { + cursor: help; +} + +div.news p { + margin: 0; + padding:0; +} +div.news span.date { + font-family:Helevetica, Arial, sans-serif; + color: #5984C4; +} + +.news{ + padding: 0; +} +/* home page links */ +div.home-link { + padding: 0.125em; + float: left; + text-align: center; + margin: 0.125em; + width: 7.5em; + height: 5.625em; +} +div.home-link:hover { + padding: 0.063em; + background-color: #F7F3ED; + border: 1px solid #afafaf; + float: left; + text-align: center; + margin: 0.125em; +} +div.home-link a { + text-decoration: none; + font-weight: bold; +} + +div.home-link img { + border: 0; +} + +/* sequence links */ +div#sequence-links { + + margin-top: 0.625em; + padding-right: 0.313em; + padding-top:0.438em; +} +div#sequence-links a { + text-decoration: none; + display: block; +} + +.previous-next{ + display: block; +} +div.dropdown { + width: 12.5em; + padding: 0.125em; + background-color: white; + color: black; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-bottom: 1px solid #ECFEEA; + font-weight: normal; +} + +div.dropdown-heading { + background-color: #ACCFCC; + color: #595241; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-top: 1px solid #ECFEEA; + font-weight: bold; + padding: 0.125em; +} + +div.required { + font-weight: bold; + color: red; + font-size: large; + float: left; + position: relative; + margin-top: -0.313em; + height: 0.938em; + padding-right: 0.125em; +} + +div#content_text { + margin-left: 0.313em; +} +/*needs to be set to display: none so drawer can open */ +#content{ + + padding-top:.5em; + margin-top: .5em; + background-color: #F5F5F5; +} +form { + display:inline; + max-width: 100%; +} + + +optgroup { + /*font-size: small;*/ +} + +/* paging*/ +div.paging { + +} +div.paging ul { + list-style: none; + display: inline; + padding: 0; + max-width: 10%; + margin-bottom: 1em; +} +div.paging li { + float: left; + display: inline; + padding-left: 0.125em; + padding-right: 0.125em; + padding-top: 0; + padding-bottom: 0; + width: 10%; +} + +div.paging li a { + text-decoration: none; + padding-left: 0.25em; + padding-right: 0.25em; + border-left: 1px solid white; + border-right: 1px solid white; +} + +div.paging li a:hover, div.paging li a.current { + background-color: #5B8E88; + border-left: 1px solid #000; + border-right: 1px solid #000; + color: white; +} + +#tl_corner{ + + background-image:url(images/tl_corner.gif); + background-position: top left; + background-repeat: no-repeat; + padding:0; +} + +div.tabs { + /* Navigational Plone Tabs(tm), implemented by customizing the a tag - they are surprisingly elegant. The power of CSS runs strong in these :) */ + background-color: transparent; + border-collapse: collapse; + border-bottom: 1px solid #B8AE9C; + padding: 0.5em 0em 0em 2em; + white-space: nowrap; +} + +div.tabs a { + /* The normal, unselected tabs. They are all links */ + background-color: transparent; + border-color: #B8AE9C; + border-width: 1px; + border-style: solid solid none solid; + color: #595241; + height: 1.2em; + margin-right: 0.5em; + padding: 0em 2em 0em; + +} + +div.tabs a.selected { + /* The selected tab. There's only one of this */ + background-color: white; + border-bottom: #B8AE9C 1px solid; + color: #595241; + font-weight: normal; +} + +div.tabs a:hover, div.tabs a.active { + background-color: #B8AE9C; + border-bottom: 1px solid #B8AE9C; + color: white; +} + +.headingbox a{ + color: #5984C4; + text-decoration:underline; +} +div.box { +} +h4.box { + background-color: #F5F5F5; + padding: .313em; +} +h4.box a { + display: block; + color: #5984C4; + background-color: #F5F5F5; + text-decoration: none; +} +.content-expand { + background-image:url("images/content-arrow-down.png"); + background-position: top right; + background-repeat: no-repeat; +} +.content-closed{ + background-image:url("images/content-arrow-up.png"); + background-position: center right; + background-repeat: no-repeat; +} + +div.box { + padding: 0.313em; + background-color: #F5F5F5; + color: black; + border: 1px solid #B8AE9C; + font-size:0.85em; + font-weight: normal; + padding:0.125em; +} + +h5.box { + background-color: #6F7172; + border: 1px solid #B8AE9C; + border-style: solid solid none solid; + color: Black; + padding: 0em 1em 0em 1em; + display: inline; + font-size: 1em; + height: 1em; +} + +div.box a:link { + text-decoration: none; +} + +div.box a:visited { + color: #2A6C28; + text-decoration: none; +} + +div.box a:hover { + text-decoration: underline; +} + +.boxDetails { + text-align: right; +} + +div.box .content { + padding: 1em; + font-size: 1em; +} + +div.box a.close { + float: right; + text-transform: none; + border-left: 1pt solid #B8AE9C; + padding: 0em 0.2em; +} + +div.box h1, +div.box h2, +div.box h3, +div.box h4 { + margin: 0; + padding: 0; +} + +div.box .even { + background-color: #F7F3ED; +} + +div.box .odd { + background-color: transparent; +} + + +/* users/index.php */ + +div.course { + position: relative; + width: 12.5em; + height: 10.5em; + border: rgb(204, 204, 204) 1px solid; + background-color: #F7F7F7; + float: left; + margin: 0.188em; + padding: 0.313em; +} + +div.course.break { + clear: left; +} + +div.course h2 { + border: 0; + font-weight: normal; + font-size: large; + +} + +div.course:hover { + background-color:#F3F6FA; + border: #B8AE9C 1px solid; +} + + +table.data .odd img.headicon{ + width: 2.469em; + height: 2.469em; + /*-webkit-border-radius:5px;*/ +} + +.icon{ + /*-webkit-border-radius:10px;*/ + border-color: white; + width: 2.5em; + height: 2.5em; + float: left; +} +div.course div.shortcuts { + text-align: right; + clear: left; + vertical-align: middle; + width: 12.5em; +} + +fieldset#shortcuts { + float: right; + background-color: #FEFDEF; + /*border: 1pt solid #B8AE9C;*/ + margin: -5pt 5pt 5pt 5pt; + padding-right: 10pt; + padding-bottom: 5pt; + padding-left: 10pt; +} + +.shortcuts{ + +} + +fieldset { + margin-bottom: 10pt; + /*-webkit-border-radius:5px;*/ + padding: 0 0.375em; + width: 90%; + margin: 0 auto; + width:95%; + margin:0 auto; + /*border:thin #6D7B8D solid;*/ + margin-bottom: 1em; +} +#shortcuts legend { +} +#shortcuts ul { + position: relative; + margin-top: 0pt; + margin-bottom: 0pt; + margin-left: 0pt; + list-style-type: none; + padding-left: 0pt; +} + +/*a#guide,*/ a#my-courses-link { + background-color: #6D84A2; +} + +#guide img{ + border:none; +} + +#guide a:hover{ + +} +div#content-text { + padding-right: 5pt; + line-height:150%; +} + +div#content-text li { + margin-left: 15pt; +} + +div#content-test, div.content-from-module { + float: left; + margin-top: 2em; + margin-bottom: 2em; + padding-right: 5pt; + width: 80%; +} +div#content-test ol{ + margin-right: 5pt;; +} + +div#content-test ol ul li{ + list-style: none; + padding: 0 0.125em 0 0.938em; + margin-bottom: 0.063em; + line-height: 200%; + background-color: #fdfdfd; + border-bottom: 1px solid #efefef; + border: 1px solid #eeeeff; +} + +div#content-info { + margin: 5pt; + font-size: small; + color: #b8ae9c; + clear: both; +} + +div#container { + text-align: left; + margin: 0 auto; + padding: 0; + border:0; + width: 95%; +} + +div#menutoggle{ + text-align: right; + padding-bottom: 0.625em; + padding-right: 0.625em; + float: left; + margin-top: 0.625em; + padding-right: 0.313em; + font-size:0.95em; +} + + +/* login page */ +div.column { + float: left; + width: 45%; + margin: 0.313em; + min-width: 10.625em; +} + +div.column h3 { + background-color: #F6EAD6; + border-bottom: .05em solid #6F7172; + font-size: small; + display:block; + color:black; + font-weight:600; + padding-left:0.5em; +} + +div.insidecol { + min-height: 10.625em; + height: 10.625em; + padding:0.313em; +} + + +/* index page */ +ul#home-links, ul#home-detail-links { + list-style: none; +} +ul#home-links li { + + display: inline; + float: left; + padding: 0.8em; + text-align: center; + margin: 0.1em; + width: 8.5em; + height: 7.0em; + padding-left:0; + +} +ul#home-links li a { + text-decoration: none; + border: 1px transparent; + font-weight: bold; +} +ul#home-links li a img { + border: 0; + display: block; + padding-left:1.563em; +} + +/*my start page */ +#my_courses_container{ + text-align: left; + margin: 0 auto; + border:0; + min-width: 100%; +} +#my-courses-navlist{ +} +.my-courses-list{ + border: solid 1px #A9ADB0; + /*-webkit-border-radius:5px;*/ + padding: .375em; + color: #5984C4; + margin: .375em; + padding: .375em; +} +.my-courses-list-ul{ + margin: 0 auto; + padding-left: 0; + width: 100%; +} +.my-courses-links{ + font-size: 80%; + padding-top: .75em; +} +.my-courses-resume{ + float: right; +} +.fl-link-summary{ + padding-left: 0.875em; + padding-bottom: 0.875em; + display: inline; +} +.fl-list-menu li a { +} +.fl-theme-iphone [class*="fl-list"]:not(.fl-list):not(.fl-grid) a { +} +.fl-theme-iphone [class*="fl-list"] > li .fl-link-summary{ + color: #5984C4; +} +.current_head{ + padding-top: .5em; +} +.fl-list-menu { + +} + +.current_box{ + max-width: 100%; + background-color:#F3F6FA; +} +.current_list{ + width: 95%; + padding: 0 0.375em; +} +.current_list li{ + list-style-type: none; + padding:0; + margin:0; + +} +.current_list img{ + +} + +#show-all{ + text-align: center; +} +/* enrollment tabs */ +#navlist { + padding: 0; + margin-left: 0; + margin-right: auto; + margin-left: auto; + margin-bottom: .25em; + margin-top: 0.938em; + white-space: nowrap; +} + +#navlist li { + list-style: none; + display: inline; + margin: 0; +} + +#navlist li a { + padding: 0.188em 0.563em; + border: 1px solid #F7F3ED; + border-bottom: none; + background-color: #F7F3ED; + text-decoration: none; + margin-left: .25em; + white-space: nowrap; +} + +#navlist li a:hover, #navlist li a:active { + color: #000; + background-color: #fff; +} + +/* tree */ +.img-size-tree { + vertical-align: middle; + margin-top: 0; + padding:0; + height:1.45em; + width:1.5em; +} +/* profile page */ + +dl#public-profile { + width: 100%; + +} + +dl#public-profile { + width: 100%; + +} +dl#public-profile dt { + float: left; + width: 90%; + border-right: 1px solid #F7F3ED; + padding: 0.313em 0.313em 0.313em 0; + + margin-right: 0.313em; +} +dl#public-profile dd { + margin: 0; +} + +div.social-right{ + margin-left:.5em; + margin-top: 1em; +} +div.social-left{ + margin-left:.5em; +} +h4.profile{ + float: left; +} +.social-wrapper h3{ + padding-top: .5em; +} +.my-contacts h3{ + padding-bottom: .375em; +} +img#profile{ + border: 1px #cccccc solid; + margin-left: 1em; +} +dd{ + margin: 0; +} + + +/** forum stuff **/ +#forum-thread li {border:1px solid #eee; border-bottom: 1px solid #F7F3ED; float:left; width: 97%; list-style: none; } +#forum-thread li.even { background-color: #F7F3ED; border-top: none; } +#forum-thread li.odd { background-color: #fff; } +div.forum-post-author { float:left; width:19.375em; padding:0.5em 0.625em; } +div.forum-post-author a.title {font-size: 1.1em; line-height: 1.2em; font-weight: bold; text-decoration:none; } +div.forum-post-author img.profile-picture { border: 2px solid #F7F3ED; text-align:right;} +div.forum-post-content { margin-left: 19.375em; padding: 0.313em 0 1.125em 1.125em;} +div.forum-post-content h3 { font-weight: 500; float:left;clear:right; } +div.forum-post-ctrl { float: right; padding-right: 0.313em; color: #a1a1a1;} +div.forum-post-ctrl a { text-decoration: none; } +div.forum-post-ctrl span { color: black; background-color: #fefdc2; padding: 0.188em; } +div.forum-post-content p.date { color: #a1a1a1; border-bottom: 1px solid #F7F3ED; } +div.forum-post-content div.body p { margin-bottom:1em; } +div.forum-paginator{border:thin #cccccc solid; padding:.3em; width:95%;margin:auto;background-color:#F7F3ED;} +span.forum-paginator-active{font-weight:700;text-decoration:underline; height:2em;} + + + +/** inbox stuff - reuses some of the forum layout **/ +#inbox-msg li {border:1px solid #eee; border-bottom: 1px solid #F7F3ED; width: 95%; list-style: none; min-height: 11em;} + +/* tool list on admin home and manage screens */ + li.top-tool { + list-style: none; + padding: 0.125em 0.125em 0.125em 0.938em; + margin-bottom: 0.313em; + line-height: 200%; + border: solid 1px #A9ADB0; + /*-webkit-border-radius:5px;*/ +} +li.top-tool a { font-weight: bold; } /* ol#tools>li>a */ + +li.child-tool a { + font-size: x-small; + font-weight: normal; +} + +/* ol#tools>li>ul, */ +ul.child-top-tool { + margin-top: -0.313em; + padding-left: 0; + margin-left: 0; + display: inline; +} +ul.child-top-tool:before { + content: " : "; +} + +li.child-tool { + display: inline; + margin-right: 0.313em; + font-size: x-small; +} + +.img-size-home { + height:3.85em; + width:3.9em; +} + +/* browse courses */ +div.browse-course { + width: 28em; + padding-bottom: 0.625em; + background-color: #fffaf0; + border:1px #6F7172 solid; + font-size:9pt; + min-height:18em; + margin:auto; + margin-left:1em; + margin-top:1em; +} + +dl.browse-course { + width: 90%; + padding-bottom: 0.625em; + background-color: #fffaf0; + + margin:auto; + margin-left:1em; +} +dl.browse-course dt { + float: left; + font-weight: bold; + width: 25%; + text-align: right; + clear: left; + padding: 0.313em 0.625em 0.313em 0; + vertical-align: middle; + +} +dl.browse-course dd { + margin-bottom: 0.313em; + clear: right; + padding: 0.313em 0 0.313em 0.625em; + margin-left: 26%; + +} +.row .buttons{ + border: none; +} + +/* form fields grouping for WCAG 2.0 conformance*/ + +fieldset.group_form{ + width:95%; + margin:0 auto; + margin-bottom: 1em; + /*border: 1px #6D7B8D solid;*/ + /*-webkit-border-radius:5px;*/ +} + +legend.group_form{ + background-color:white; + font-weight: 600; + color: #333; + padding:.5em; + /*border: 1px #6D7B8D solid;*/ + /*-webkit-border-radius:5px;*/ + text-align:left; +} +/* file storage */ + +#fsfloat1{ + float:right; +} +#fsfloat2{ + float:right; + width:48%; +} + + +/* highlight active links for WCAG 2.0 conformance */ +a:active,a:hover,a:focus{ + background-color:#F6EAD6; + color:#000000; +} + + +/*Added by Silvia */ +div.column_primary { + float: left; + width: 42%; + margin: 0.313em; + padding: 0; + min-width: 10.625em; +/* position: relative;*/ +} + +div.column_equivalent{ + float: left; + width: 52%; + margin-left: 0.938em; + margin-top: 0.313em; + margin-right: 0.313em; + margin-bottom: 0.313em; + min-width: 10.625em; + padding: 0.313em; + border: 1px solid #EEE; + background-color: #FFF; +/* position: relative;*/ + +} + +div.resource_box{ + border: 1px solid #aaa; + width: 95%; + margin: 0.313em; + padding: 0.313em; + min-width: 9.375em; + background-color: #eee; +/* position: relative;*/ +} + +h2.alternatives_to{ + margin-top: 0.75em; + font-size: 90%; + color: #A50707; +} + +div.alternative_box{ + border: 1px solid #ddd; + /*width: 90%;*/ + margin: 0.313em; + padding: 0.313em; + min-width: 9.375em; + background-color: #fff; +} + +div.alternative_box legend { + color: #000; +} + +div.resource_box legend { + color: #000; +} + +label.primary a{ + color: #A50707; + font-weight: bolder; + background-color: white; +} + +/* format of "table of contents" on content page */ +#toc a { display:block; margin:0.188em; } +#toc a:hover, a:focus {color:#fff; background-color:#3866C4;} +#toc .h2, #toc .h3, #toc .h4, #toc .h5, #toc .h6{ + padding:0 0 0 0; +} + +#toc .h2 {font-size:80%; +padding:0.8em 0 0 1em;} + +#toc .h3 {font-size:80%; font-weight:normal; +padding:0 0 0 2em;} + +#toc {border: none; +padding-bottom:-1em; +margin-bottom:0;} + +div#content-text {margin-top:-0.5em;} + +fieldset#toc { + /*background-color: #B8AE9C;*/ + /*border: 1pt solid #B8AE9C;*/ + width:89%; + background-color:#E8EEF7; +} + +#toc legend { + font-family:Arial,Helvetica,sans-serif; + font-size:12pt; + font-weight:bold; + margin-top: 16pt; + margin-right: 0; + margin-bottom: 0; + margin-left: 0; + padding-top: 2em; + padding-right: 0; + padding-bottom: 0.5em; + padding-left: 0; +} + +#content-text blockquote { +border-bottom:2px solid black; +border-top:2px solid black; +color:#000000; +clear:both; +font-size:1em; +font-style:italic; +line-height:1.4em; +margin:0.5em 1.5em 0.5em 0; +padding:0.1em 0 0; +width:14em;} + +#side-menu{ + overflow:hidden; +} + +/* cleans up glossary question mark line spacing*/ +sup{ + border: 1pt solid #B8AE9C; + vertical-align:bottom; + margin-top: 1em; +} + +/* jQuery tooltip styles */ +#tooltip{ + position:absolute; + z-index:3000; + border:3px solid #111; + background-color:#eeeeee; + padding:0.313em; +} +#tooltip h3,#tooltip div{ + margin:0; +} + +/* style for home page modules "detail view" */ +div.home_box { + padding: .75em 0; + margin: 0 auto; +} + +.outside_box{ + background:#e0e0e0; + width: 17em; + margin: .375em; + padding: 0; + height:9.8em; +} + +.inside_box{ + width:100%; + margin:auto; + height:52%; + margin-bottom:.2em; + background:#eeeeee; + +} +.details_or{ + width:28.8em; + height:9.8em; + margin:0; + background-image:url(images/details_r.png); + background-position: top right; + background-repeat:no-repeat; +} +.details_ol{ + height:9.8em; + margin:0; + width:.45em; + background-image:url(images/details_l.png); + background-position: top left; + background-repeat:no-repeat; +} +.details_ir{ + width:.5em; + height:100%; + float:right; + background-image:url(images/details_ir.png); + background-position: top right; + background-repeat:no-repeat; +} +.details_il{ + height:100%; + float:left; + background-image:url(images/details_il.png); + background-position: top left; + background-repeat:no-repeat; +} +.home-title{ + font-size:12pt; +} +.buttonbox{ + float:right; +} +.details_text{ + margin-left:1em; +} +.draggable_selected { + background-color: lightgrey; + cursor: move; +} + +div.menuedit{ + float:right; + margin-top:-1.2em; + border:1px solid #cccccc; +} +li.folders { + list-style: disc url(../../images/folder.gif) outside; + font-family: Verdana, Helevetica, Arial, sans-serif; + margin-bottom: 0; + margin-top: 0; + margin-right: 0; +} + +li.folders .disabled { + color: #B8AE9C; +} + +ul.folder{ + list-style-image:none; + list-style-position:outside; + list-style-type:none; + margin:0em; + padding:0em; +} + + +/* top navigation */ + +#topnavlist-link { + color: #000; + text-decoration: none; + font-weight: bold; + + margin-right:-20px; + background-image:url(images/tree/tree_collapse.gif); + background-repeat:no-repeat; + background-position: center right; + + /*border: thin solid red;*/} + + #topnavlist-link a:link {color:#5984C4;} + + +ul#topnavlist { + display: none; + position: relative; + top: 1.2em; + z-index: 1; + background-color:#fff; + } + + +ul#topnavlist li { + padding: 0; + margin: 0; +} +ul#topnavlist li a.active { + color: #5984C4; + font-style: italic; + } + +#topnavlist a:hover {color:#3866c4 !important; +text-decoration:underline !important; +background-color:transparent;} + +ul#topnavlist li a { + color: #5984C4; + text-decoration: none; +} + + +div.toolcontainer{ + width:90%; + margin:auto; + border:thin solid #e8e8e8; + padding-top:1em; + padding-bottom:1em; +} + +ul#subnavlist { + padding: 0; + padding-bottom: 0.313em; + margin: 0; + font-size: 90%; +} + + +ul#subnavlist li { + display: inline; +} + +ul#subnavlist li#test{ + display: none; +} +ul#subnavlist li a:hover, ul#subnavlist li a:focus, ul#subnavlist li a.active{ /* + color: black; + text-decoration:none;*/ +} + +ul#subnavlist li a, ul#subnavlist li a:visited { + color: #5984C4; +} + + +/* list attributes */ +ul { + list-style: none; +} +li { + color: black; + list-style: none; +} + +ol#tools>li:hover, ol#tools>li:hover a { + border: 1px solid #e0e0e0; + background-color: #e6e6e6; + color: black; +} + + +#content-contentwrapper{ + height:100%; + position:relative; + z-index:1000; + width:100%; + overflow:hidden; +} + +#leftcolumn{ + float: left; + width: 17em; + margin-left: 0.313em; + margin-top:-0.625em; +} + +#copyright{ + font-size: 0.5em color:#333; +} +#gototop{ + text-align: right; + color: #4B6B90; +} + + #tools{ + margin: 0 auto; + padding: 0.375em; +} + + +/* ATutor Social Styles */ + +div .profile_container { + background-color:#eee; + border: 1px solid #8e8e8e; + width:80%; + padding:0.5em; + margin-bottom: 0.5em; +} + +div .profile_container .top_right { + float: right; +} + +dl.public-profile dd{ + margin-left:0; +} +dl.public-profile dt { + float: left; + font-weight: bold; + min-width:12em; +} + +/* Search form */ +div .search_form { + margin-bottom: 1em; +} + +div .search_form .row{ + background-color: #DEDEC0; + padding: 0.5em; +} +div .button { + background-color: #eee; + border: 1px solid #aaa; +} +div .button:hover{ + background-color: #cccccc; + color: #ffffff; +} + +/* Side menu */ + + +ul.social_side_menu { + padding-left: 2em; +} +ul.social_side_menu li { + padding-bottom: 0.2em; + list-style: circle; +} + +div .divider { + border-bottom:1px solid #C1C157; + padding-bottom:0.5em; + margin-bottom:0.5em; +} + +.activity{ + line-height:18pt; + font-size:.8em; +} + +div.contentbox, input-form{ + + padding:.5em; + background-color: #ffffff; + overflow:hidden; + /*border: #A9ADB0 solid 1px; + /*-webkit-border-radius: 5px;*/ +} + +div.suggestions{ + border:1px solid #a50707; + margin-left:0.625em; + width:50%; +} +li.inlinelist{ + display: inline; + padding-right: 1em; +} +ul.social_inline_menu{ + background-color: #eeeeee; + border:thin #cccccc solid; + padding:.5em; + width:90%; + margin:auto; +} +div.social-wrapper{ + width: 100%; +} + + +.contentbox-a{ + width: 100%; +} +.contentbox-b{ + padding-bottom:0.2em; +} + +div.logo{ +float:left; +clear:right; +margin-left:2em;} + + +/* Overrides for external stylesheets */ + +.fl-tabs li a { + color:#6699ff; + -moz-background-clip:none; +-moz-background-clip: none; +-moz-background-origin: none; +border-style:none;} + +#top-links .fl-tabs li a{ + color:#6699ff; +} + +.recent_item {padding-bottom:1em;} diff --git a/docs/themes/simplified-desktop/confirm.tmpl.php b/docs/themes/simplified-desktop/confirm.tmpl.php new file mode 100644 index 000000000..62c5d5f82 --- /dev/null +++ b/docs/themes/simplified-desktop/confirm.tmpl.php @@ -0,0 +1,19 @@ +
+ +
+
+

+
+ +
+ *
+ + +
+ +
+ + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/content.tmpl.php b/docs/themes/simplified-desktop/content.tmpl.php new file mode 100644 index 000000000..6ac2a1c69 --- /dev/null +++ b/docs/themes/simplified-desktop/content.tmpl.php @@ -0,0 +1,78 @@ + +
+alt_infos as $alt_info){ + echo ' + '.(($_GET['alternative'] == $alt_info[0]) ? $alt_info[2] : $alt_info[1]).''; + } +?> +
+ +content_table <> "") + echo $this->content_table; +?> + +
+ body; ?> +
+ +test_ids)): ?> +
+
    + +
  1. test_message; ?>
  2. + +
+
+ + +forum_ids)): ?> +
+
    + +
  1. forum_message; ?>
  2. + + +
+
+ + + +
+ content_info; ?> + +
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/editor/edit_content_folder.tmpl.php b/docs/themes/simplified-desktop/editor/edit_content_folder.tmpl.php new file mode 100644 index 000000000..6591038d8 --- /dev/null +++ b/docs/themes/simplified-desktop/editor/edit_content_folder.tmpl.php @@ -0,0 +1,110 @@ + +
+
+ +
+
*
+ +
+ +
+
+ + + +
+ + pretests)) {?> +
+
+

+
+ +
+
+ + + + + + + + + + + + + pretests as $row) { ?> + + + + + + + + + + + + +
 
onmouseup="this.checked=!this.checked" />
+
+
+ + +
+ +
+
+
+ + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/editor/page_student_stats.tmpl.php b/docs/themes/simplified-desktop/editor/page_student_stats.tmpl.php new file mode 100644 index 000000000..f9a650f2b --- /dev/null +++ b/docs/themes/simplified-desktop/editor/page_student_stats.tmpl.php @@ -0,0 +1,26 @@ + + + + + + + + + + +result)) : ?> + + + + + + + + result)); ?> + + + + + + +
diff --git a/docs/themes/simplified-desktop/forms.css b/docs/themes/simplified-desktop/forms.css new file mode 100644 index 000000000..2e2ea5f71 --- /dev/null +++ b/docs/themes/simplified-desktop/forms.css @@ -0,0 +1,152 @@ + + +/* login page */ +div.container{ + width:100%; + text-align: center; + margin: 0 auto; +} + +div.container p { + text-align: left; + padding: .5em; +} + +div.column-login{ +} +div.column-new-user{ +width: 100%; + +/* end of login page */ + + +/* +#contentcolumn{ + width: 90%; +} +*/ + + + +fieldset{ + border: none; +} + +fieldset.group_form{ + border: none; + text-align: center; + width:80%; + margin:0 auto; + border:thin #ffffff solid; + padding-bottom: 0em; +} + +/* on registration page, group form fields to the left */ +fieldset.group_form .row{ +text-align: left} + +legend.group_form{ + border:none; + font-size: 150%; + background-color: #4D4D4D; + color: #F7941E; + padding:.5em; +} + +div.input-form { + width: 110%; + margin:0 auto; + margin-bottom: 20px; + padding: 0 6px; + line-height:150%; + border: none; + background-color: #4D4D4D; + +} + +div.input-form div.row h3 { + margin-left: 0px; +} + +div.input-form div.row { + background-color: #4d4d4d; + padding:8px; +} + + +/* and tags: on mouse hover the color of the background will keep the same!*/ +div.input-form div.row img,a:hover{ + background-color:#F8F8F8; +} + +div.input-form .footer { + border-top: 1px solid #F9F6F2; +} + +div.input-form p { + margin-left: 0px; +} + +div.input-form input { + z-index: 2; +} +div.input-form textarea { + border: 1px solid #595241; + width: 98%; + padding: 2px; + margin-right: 2px; +} + +div.input-form input[type=text], div.input-form input[type=password] { + border: 1px solid #595241; + padding: 2px; + max-width: 60%; + background-color:white; +} + +div.input-form textarea:focus, div.input-form input[type=password]:focus, div.input-form input[type=text]:focus{ + border:1px solid #4D4D4D; + + padding: 2px; +} + +input[type=checkbox]{ + + background-color: #FFDAB9; +} + +div.input-form div.buttons { + text-align: center; +padding: 0; +margin: 0; +} +div.input-form div.buttons input { + background-color: #efefef; + font-weight: normal; + border: #AAA solid 1px; +} +.formfield:focus{ + background-color: #FFDAB9; +} + +#ot:focus{ + background-color: #FFDAB9; +} + +/*Added by Silvia*/ +div.input-form div.row_alternatives { + background-color: #F8F8F8; + padding: 5px; +/* width: 70%; + float: left; + width: 100%; + float: left;*/ + /*clear: both;*/ +} + +#radio_alt{ + /*width: auto;*/ + /*border-bottom: 1px #CCCCCC solid;*/ + +} + diff --git a/docs/themes/simplified-desktop/images/arrow-up-black.png b/docs/themes/simplified-desktop/images/arrow-up-black.png new file mode 100644 index 000000000..8e0ed50c0 Binary files /dev/null and b/docs/themes/simplified-desktop/images/arrow-up-black.png differ diff --git a/docs/themes/simplified-desktop/images/arrow-up.png b/docs/themes/simplified-desktop/images/arrow-up.png new file mode 100644 index 000000000..b1e84194f Binary files /dev/null and b/docs/themes/simplified-desktop/images/arrow-up.png differ diff --git a/docs/themes/simplified-desktop/images/clr.gif b/docs/themes/simplified-desktop/images/clr.gif new file mode 100644 index 000000000..4146548cf Binary files /dev/null and b/docs/themes/simplified-desktop/images/clr.gif differ diff --git a/docs/themes/simplified-desktop/images/down.png b/docs/themes/simplified-desktop/images/down.png new file mode 100644 index 000000000..f12a7b662 Binary files /dev/null and b/docs/themes/simplified-desktop/images/down.png differ diff --git a/docs/themes/simplified-desktop/images/idi_background.png b/docs/themes/simplified-desktop/images/idi_background.png new file mode 100644 index 000000000..08785537c Binary files /dev/null and b/docs/themes/simplified-desktop/images/idi_background.png differ diff --git a/docs/themes/simplified-desktop/images/minus.png b/docs/themes/simplified-desktop/images/minus.png new file mode 100644 index 000000000..08338fa0d Binary files /dev/null and b/docs/themes/simplified-desktop/images/minus.png differ diff --git a/docs/themes/simplified-desktop/images/navbar_back_button_insetShadow_right.png b/docs/themes/simplified-desktop/images/navbar_back_button_insetShadow_right.png new file mode 100644 index 000000000..bcedbcd86 Binary files /dev/null and b/docs/themes/simplified-desktop/images/navbar_back_button_insetShadow_right.png differ diff --git a/docs/themes/simplified-desktop/images/navbar_normal_button_insetShadow.png b/docs/themes/simplified-desktop/images/navbar_normal_button_insetShadow.png new file mode 100644 index 000000000..ed445cb65 Binary files /dev/null and b/docs/themes/simplified-desktop/images/navbar_normal_button_insetShadow.png differ diff --git a/docs/themes/simplified-desktop/images/plus.png b/docs/themes/simplified-desktop/images/plus.png new file mode 100644 index 000000000..3757fb1e8 Binary files /dev/null and b/docs/themes/simplified-desktop/images/plus.png differ diff --git a/docs/themes/simplified-desktop/images/up.png b/docs/themes/simplified-desktop/images/up.png new file mode 100644 index 000000000..817589875 Binary files /dev/null and b/docs/themes/simplified-desktop/images/up.png differ diff --git a/docs/themes/simplified-desktop/images/white_listmenu_arrow.png b/docs/themes/simplified-desktop/images/white_listmenu_arrow.png new file mode 100644 index 000000000..8c39032a9 Binary files /dev/null and b/docs/themes/simplified-desktop/images/white_listmenu_arrow.png differ diff --git a/docs/themes/simplified-desktop/inbox/inbox.tmpl.php b/docs/themes/simplified-desktop/inbox/inbox.tmpl.php new file mode 100644 index 000000000..f4a82f678 --- /dev/null +++ b/docs/themes/simplified-desktop/inbox/inbox.tmpl.php @@ -0,0 +1,100 @@ + +result_messages)) { +?> +

+ + +
+
+ + + + + + + + + + + + + + + + +result)): ?> + + + + + + + + '; + + echo ''; + + echo ''; + echo ''; + } while ($row = mysql_fetch_assoc($this->result)); ?> + + + + + + +
  
title="" onmouseup="this.checked=!this.checked" /> + '; + + $name = get_display_name($row['from_member_id']); + + echo ''; + + if ($_GET['view'] != $row['message_id']) { + echo $name; + } else { + echo ''.$name.''; + } + echo ''; + echo AT_date(_AT('forum_date_format'), $row['date_sent'], AT_DATE_MYSQL_DATETIME); + //echo AT_date(_AT('%D', $row['date_sent'], AT_DATE_MYSQL_DATETIME); + echo '
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/inbox/sent_messages.tmpl.php b/docs/themes/simplified-desktop/inbox/sent_messages.tmpl.php new file mode 100644 index 000000000..f92a648da --- /dev/null +++ b/docs/themes/simplified-desktop/inbox/sent_messages.tmpl.php @@ -0,0 +1,94 @@ + +result_messages)) { +?> + + + +
+
+ + + + + + + + + + + + + + + +result)): ?> + + + + + + + + '; + + if ($_GET['view'] != $row['message_id']) { + echo $name; + } else { + echo ''.$name.''; + } + echo ''; + + echo ''; + + echo ''; + echo ''; + } while ($row = mysql_fetch_assoc($this->result)); ?> + + + + + + +
 
+ + +
title="" onmouseup="this.checked=!this.checked" />'; + echo AT_date(_AT('forum_date_format'), $row['date_sent'], AT_DATE_MYSQL_DATETIME); + echo '
+
+
diff --git a/docs/themes/simplified-desktop/include/TeraWurflRemoteClient.php b/docs/themes/simplified-desktop/include/TeraWurflRemoteClient.php new file mode 100644 index 000000000..92204c397 --- /dev/null +++ b/docs/themes/simplified-desktop/include/TeraWurflRemoteClient.php @@ -0,0 +1,245 @@ + + * @version Stable 2.1.2 $Date: 2010/05/14 15:53:02 + * @license http://www.mozilla.org/MPL/ MPL Vesion 1.1 + */ +/** + * Tera-WURFL remote webservice client for PHP + * @package TeraWurflRemoteClient + */ +class TeraWurflRemoteClient { + + /** + * XML Data Format - this should only be used to communicate with Tera-WURFL 2.1.1 and older + * @var String + */ + public static $FORMAT_XML = 'xml'; + /** + * The JSON Data Format is the default transport for Tera-WURFL 2.1.2 and newer due to it's smaller size + * and better performance with the builtin PHP functions + * @var String + */ + public static $FORMAT_JSON = 'json'; + /** + * If you try to use a capability that has not been retrieved yet and this is set to true, + * it will generate another request to the webservice and retrieve this capability automatically. + * @var Bool + */ + public $autolookup = true; + /** + * Flattened version of Tera-WURFL's capabilities array, containing only capability names and values. + * Since it is 'Flattened', there a no groups in this array, just individual capabilities. + * @var Array + */ + public $capabilities; + /** + * Array of errors that were encountered while processing the request and/or response. + * @var Array + */ + public $errors; + /** + * The HTTP Headers that Tera-WURFL will look through to find the best User Agent, if one is not specified + * @var Array + */ + public static $userAgentHeaders = array( + 'HTTP_X_DEVICE_USER_AGENT', + 'HTTP_X_ORIGINAL_USER_AGENT', + 'HTTP_X_OPERAMINI_PHONE_UA', + 'HTTP_X_SKYFIRE_PHONE', + 'HTTP_X_BOLT_PHONE_UA', + 'HTTP_USER_AGENT' + ); + protected $format; + protected $userAgent; + protected $webserviceUrl; + protected $xml; + protected $json; + protected $clientVersion = '2.1.2'; + protected $apiVersion; + + /** + * Creates a TeraWurflRemoteClient object. NOTE: in Tera-WURFL 2.1.2 the default data format is JSON. + * This format is not supported in Tera-WURFL 2.1.1 or earlier, so if you must use this client with + * an earlier version of the server, set the second parameter to TeraWurflRemoteClient::$FORMAT_XML + * @param String URL to the master Tera-WURFL Server's webservice.php + * @param String TeraWurflRemoteClient::$FORMAT_JSON or TeraWurflRemoteClient::$FORMAT_XML + */ + public function __construct($TeraWurflWebserviceURL,$data_format='json'){ + $this->format = $data_format; + if(!self::validURL($TeraWurflWebserviceURL)){ + throw new Exception("TeraWurflRemoteClient Error: the specified webservice URL is invalid. Please make sure you pass the full url to Tera-WURFL's webservice.php."); + exit(1); + } + $this->capabilities = array(); + $this->errors = array(); + $this->webserviceUrl = $TeraWurflWebserviceURL; + } + /** + * Get the requested capabilities from Tera-WURFL for the given user agent + * @param String HTTP User Agent of the device being detected + * @param Array Array of capabilities that you would like to retrieve + * @return bool Success + */ + public function getCapabilitiesFromAgent($userAgent, Array $capabilities){ + $this->userAgent = (is_null($userAgent))? self::getUserAgent(): $userAgent; + // build request string + $uri = $this->webserviceUrl . (strpos($this->webserviceUrl,'?')===false?'?':'&') + . 'ua=' . urlencode($this->userAgent) + . '&format=' . $this->format + . '&search=' . implode('|',$capabilities); + $this->callTeraWurfl($uri); + $this->loadCapabilities(); + $this->loadErrors(); + return true; + } + /** + * Returns the value of the requested capability + * @param String The WURFL capability you are looking for (e.g. "is_wireless_device") + * @return Mixed String, Numeric, Bool + */ + public function getDeviceCapability($capability){ + $capability = strtolower($capability); + if(!array_key_exists($capability, $this->capabilities)){ + if($this->autolookup){ + $this->getCapabilitiesFromAgent($this->userAgent, array($capability), array()); + } + return $this->capabilities[$capability]; + } + return $this->capabilities[$capability]; + } + /** + * Get the version of the Tera-WURFL Remote Client (this file) + * @return String + */ + public function getClientVersion(){ + return $this->clientVersion; + } + /** + * Get the version of the Tera-WURFL Webservice (webservice.php on server). This is only available + * after a query has been made since it is returned in the XML response. + * @return String + */ + public function getAPIVersion(){ + return $this->apiVersion; + } + /** + * Make the webservice call to the server using the GET method and load the XML response into $this->xml + * @param String The URI of the master server + * @return void + */ + protected function callTeraWurfl($uri){ + try{ + switch($this->format){ + case self::$FORMAT_JSON: + $data = file_get_contents($uri); + $this->json = json_decode($data,true); + if(is_null($this->json)){ + // Trigger the catch block + throw new Exception("foo"); + } + unset($data); + break; + default: + case self::$FORMAT_XML: + if(!$this->xml = simplexml_load_file($uri)){ + throw new Exception("foo"); + } + break; + } + }catch(Exception $ex){ + // Can't use builtin logging here through Tera-WURFL since it is on the client, not the server + throw new Exception("TeraWurflRemoteClient Error: Could not query Tera-WURFL master server."); + exit(1); + } + } + /** + * Parse the response into the capabilities array + * @return void + */ + protected function loadCapabilities(){ + switch($this->format){ + case self::$FORMAT_JSON: + $this->apiVersion = $this->json['apiVersion']; + $this->capabilities = $this->json['capabilities']; + break; + default: + case self::$FORMAT_XML: + $this->apiVersion = $this->xml->device['apiVersion']; + foreach($this->xml->device->capability as $cap){ + $this->capabilities[(string)$cap['name']] = self::niceCast((string)$cap['value']); + } + break; + } + } + /** + * Parse the response's errors into the errors array + * @return void + */ + protected function loadErrors(){ + switch($this->format){ + case self::$FORMAT_JSON: + $this->errors &= $this->json['errors']; + break; + default: + case self::$FORMAT_XML: + foreach($this->xml->errors->error as $error){ + $this->errors[(string)$error['name']]=(string)$error['description']; + } + break; + } + } + /** + * Cast strings into proper variable types, i.e. 'true' into true + * @param $value + * @return Mixed String, Bool, Float + */ + protected static function niceCast($value){ + // Clean Boolean values + if($value === 'true')$value=true; + if($value === 'false')$value=false; + if(!is_bool($value)){ + // Clean Numeric values by loosely comparing the (float) to the (string) + $numval = (float)$value; + if(strcmp($value,$numval)==0)$value=$numval; + } + return $value; + } + /** + * Is the given URL valid + * @param $url + * @return Bool + */ + protected static function validURL($url){ + if(preg_match('/^(http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/',$url)) return true; + return false; + } + /** + * Return the requesting client's User Agent + * @param $source + * @return String + */ + public static function getUserAgent($source=null){ + if(is_null($source) || !is_array($source))$source = $_SERVER; + $userAgent = ''; + if(isset($_GET['UA'])){ + $userAgent = $_GET['UA']; + }else{ + foreach(self::$userAgentHeaders as $header){ + if(array_key_exists($header,$source) && $source[$header]){ + $userAgent = $source[$header]; + break; + } + } + } + return $userAgent; + } +} \ No newline at end of file diff --git a/docs/themes/simplified-desktop/include/footer.tmpl.php b/docs/themes/simplified-desktop/include/footer.tmpl.php new file mode 100644 index 000000000..45b9c2d06 --- /dev/null +++ b/docs/themes/simplified-desktop/include/footer.tmpl.php @@ -0,0 +1,96 @@ + +mobile_device_type != IPAD_DEVICE): ?> + + + + + + + + + + + + + +mobile_device_type == IPAD_DEVICE): ?> + + + + + + + + + + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/include/header.tmpl.php b/docs/themes/simplified-desktop/include/header.tmpl.php new file mode 100644 index 000000000..e1c60f7d0 --- /dev/null +++ b/docs/themes/simplified-desktop/include/header.tmpl.php @@ -0,0 +1,661 @@ +lang_code the ISO language code + * SITE_NAME the site name from the config file + * $this->page_title the name of this page to use in the + * $this->lang_charset the ISO language character set + * $this->content_base_href the <base href> to use for this page + * $this->base_path the absolute path to this atutor installation + * $this->rtl_css if set, the path to the RTL style sheet + * $this->icon the path to a course icon + * $this->banner_style -deprecated- + * $this->theme the directory name of the current theme + * $this->base_href the full url to this atutor installation + * $this->onload javascript onload() calls + * $this->img the absolute path to this theme's images/ directory + * $this->sequence_links associative array of 'previous', 'next', and/or 'resume' links + * $this->path associative array of path to this page: aka bread crumbs + * $this->rel_url the relative url from the installation root to this page + * $this->nav_courses associative array of this user's enrolled courses + * $this->section_title the title of this section (course, public, admin, my start page) + * $this->current_top_level_page the full path to the current top level page with file name + * $this->sub_level_pages associate array of sub level navigation + * $this->back_to_page if set, the path and file name to the part of this page (if parent is not a top level nav) + * $this->current_sub_level_page the full path to the current sub level page with file name + * $this->guide the full path and file name to the guide page + * ====================================== + * top_level_pages array(array('url', 'title')) the top level pages. ATutor default creates tabs. + * section_title string the name of the current section. either name of the course, administration, my start page, etc. + * page_title string the title of the current page. + * path array(array('url', 'title')) the path to the current page. + * back_to_page array('url', 'title') the link back to the part of the current page, if needed. + * current_top_level_page string full url to the current top level page in "top_leve_pages" + * current_sub_level_page string full url to the current sub level page in the "sub_level_pages" + * sub_level_pages array(array('url', 'title')) the sub level pages. + * is_mobile_device true or false the request is from a mobile device or a desktop device + * mobile_device_type One of the constants: IPOD_DEVICE, BLACKBERRY_DEVICE, ANDROID_DEVICE, UNKNOWN_DEVICE (@see include/lib/constants.inc.php) + */ + + +// will have to be moved to the header.inc.php +global $system_courses, $_custom_css, $db, $_base_path, $contentManager; + +// 1. any click on the page closes the content menu but the link "content_link" itself +// 2. the click on link "content_link" opens the content menu + + +require ('TeraWurflRemoteClient.php'); +$wurflObj = new TeraWurflRemoteClient('http://wurfl.thesedays.com/webservice.php'); +$capabilities = array("product_info"); +$data_format = TeraWurflRemoteClient::$FORMAT_JSON; +$wurflObj->getCapabilitiesFromAgent(null, $capabilities, $data_format); + +// open/close content menu +$this->onload .= " +jQuery('#content_link').click(function(e) { + e.stopPropagation(); + + jQuery('#content').slideToggle(0); + jQuery('#content_link').toggleClass('content_link_tablet_highlight'); + jQuery('#content_link').toggleClass('triangle-isosceles'); + jQuery('#content_link').toggleClass('top'); + jQuery('#content_link').toggleClass('right'); + "; +$this->onload .= "}); +"; + +//open/close subnavlist in smartphones + +$this->onload .= " +jQuery('#subnavlist-link').click(function(e) { + e.stopPropagation(); + + jQuery('#subnavlist').slideToggle(); + jQuery('#subnavlist-link').toggleClass('content-closed'); + jQuery('#subnavlist-link').toggleClass('subnavcontain-active'); + jQuery('.subnavcontain').toggleClass('subnavcontain3'); + "; +$this->onload .= "}); +"; +// open/close content menu - smartphones +$this->onload .= " +jQuery('#content_link_phone').click(function(e) { + e.stopPropagation(); + + jQuery('#content').slideToggle(); + + jQuery('#content_link_phone').toggleClass('topnavlist-link-highlight'); + jQuery('#content_link_phone').toggleClass('content-closed'); + jQuery('.subnavcontain').toggleClass('subnavcontain3'); + "; +$this->onload .= "}); +"; + +// open/close header navigational menu for smartphones +// jQuery('#topnavlist-link').toggleClass('topnavlist-link-highlight'); +$this->onload .= " +jQuery(document).click(function () { +jQuery('#topnavlist').slideUp(600);}); +jQuery('.topnavlist-link').click(function(e) { + e.stopPropagation(); + jQuery('#topnavlist').slideToggle(); + jQuery('#topnavlist-link').toggleClass('.topnavlist-link-highlight'); +}); +"; + +// open/close header navigational menu for tablets + +$this->onload .= " +jQuery(document).click(function () { +jQuery('#navigation-column').slideUp(200);}); +jQuery('.topnavlist-link').click(function(e) { + e.stopPropagation(); + jQuery('#navigation-column').slideToggle(0); + jQuery('#topnavlist-link').toggleClass('topnavlist-link-highlight'); + jQuery('#topnavlist-link').toggleClass('triangle-isosceles'); + jQuery('#topnavlist-link').toggleClass('top'); +}); +"; + +//jQuery for Gmail dock-style "more" button that makes the subnavlist expand for more options +$this->onload .= " + +jQuery('.more-button').toggle(function(e) { + jQuery('.subnavlist-more').show(); + jQuery('#switch').attr('src','images/hidemenu.gif' ); + jQuery('#switch').attr('title', 'less menu items'); + jQuery('#switch').attr('alt', 'less menu items'); +},function(){ + jQuery('.subnavlist-more').hide(); + jQuery('#switch').attr('src', 'images/showmenu.gif' ); + jQuery('#switch').attr('title', 'more menu items'); + jQuery('#switch').attr('alt', 'more menu items'); +}); +"; + +//hide and show results on Browse Courses page + +$this->onload .= " +jQuery('#results-hide-show-link').click(function(e) { + e.stopPropagation(); + jQuery('#results-display').slideToggle(); + jQuery(this).toggleClass('content-closed'); + jQuery(this).preventDefault(); + "; +$this->onload .= "}); +"; + +//hide and show results elsewhere (uses classes) +$this->onload .= " +jQuery('.results-hide-show-link').click(function(e) { + e.stopPropagation(); + jQuery(this).parent().next('.results-display').slideToggle(); + jQuery(this).toggleClass('content-closed'); + "; +$this->onload .= "}); +"; + + +// Hide the addressbar +$this->onload .= " +setTimeout(function() { window.scrollTo(0, 1) }, 100); +"; + + + +?> + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="<?php echo $this->lang_code; ?>"> + +<head> + <title><?php echo SITE_NAME; ?> : <?php echo $this->page_title; ?> + + + + + + + + + +is_mobile_device == true): ?> + mobile_device_type == ANDROID_DEVICE): ?> + + + + mobile_device_type == IPOD_DEVICE || $this->mobile_device_type == IPHONE_DEVICE): ?> + + + + + mobile_device_type == BLACKBERRY_DEVICE): ?> + + + + mobile_device_type == IPAD_DEVICE): ?> + + + + + + + + + + + + + +rtl_css; ?> +course_id) && $system_courses[$this->course_id]['rss']): ?> + + + + + +custom_css; ?> + + + +mobile_device_type != IPAD_DEVICE): ?> + + + +
+
+ + + +
+ + + +
+ + + + + + +
+ + + +
+ +

page_title; ?>

+
+ back_to_page)): ?> + + <?php echo _AT('back_to').' '.$this->back_to_page['title']; ?>  + +
+
+ + printAll(); $_base_href;?> + + + + + + + + + + + +mobile_device_type == IPAD_DEVICE): ?> + + +
+
+ + + +sub_level_pages) > 0): ?> + + + + printAll(); $_base_href;?> + + + +
+ +

page_title; ?>

+ + + + 0): ?> + + +
+ +
+ + + + diff --git a/docs/themes/simplified-desktop/index.tmpl.php b/docs/themes/simplified-desktop/index.tmpl.php new file mode 100644 index 000000000..4be4541e6 --- /dev/null +++ b/docs/themes/simplified-desktop/index.tmpl.php @@ -0,0 +1,175 @@ +banner): ?> + +banner; ?>
home_links) > 0){ + if($this->view_mode==0) + echo ''._AT('detail_view').'
'; + else + echo ''._AT('icon_view').'
'; +} + + +// Icon View, $this->view_mode = 0. course will be made changes to the icons to restore the classic icons. +if($this->view_mode==0){ +?> + + +
+home_links)){ // display enabled course tool + foreach ($this->home_links as $link){ +?> +
+ +
+home_links)) { + foreach ($this->home_links as $link){?> +
+ +
+ +
+announcements): ?> +

+ announcements as $item): ?> +
+

+

+ +
+ + + num_pages > 1): ?> + : | + num_pages; $i++): ?> + current_page): ?> + + + + + | + + + +
+
+
+ +
+ <?php echo _AT('close'); ?> +
+ + + +
+ + +
+ +
+ +
+ + + '') echo $sublink."
"; } ?> +
+ +
+ +
+
+
+
+ + + + + + + diff --git a/docs/themes/simplified-desktop/instructor/announcements/add_news.tmpl.php b/docs/themes/simplified-desktop/instructor/announcements/add_news.tmpl.php new file mode 100644 index 000000000..c682aa5f4 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/announcements/add_news.tmpl.php @@ -0,0 +1,42 @@ +
+ + +
+
+
+
+ +
+ +
+
+ onclick="javascript: document.form.setvisual.disabled=true;" /> + + + onclick="javascript: document.form.setvisual.disabled=false;"/> + + + '; + echo ''; + } else { + echo ''; + } + ?> +
+ +
+ *
+ +
+ +
+ + +
+
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/announcements/edit_news.tmpl.php b/docs/themes/simplified-desktop/instructor/announcements/edit_news.tmpl.php new file mode 100644 index 000000000..40f777f2f --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/announcements/edit_news.tmpl.php @@ -0,0 +1,41 @@ + +
+ + + +
+
+ *
+ +
+ +
+
+ onclick="javascript: document.form.setvisual.disabled=true;" />, + + onclick="javascript: document.form.setvisual.disabled=false;" /> + '; + echo ''; + } else { + echo ''; + } + ?> +
+ +
+ *
+ +
+ +
+ + +
+ + +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/announcements/index.tmpl.php b/docs/themes/simplified-desktop/instructor/announcements/index.tmpl.php new file mode 100644 index 000000000..277da3f3d --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/announcements/index.tmpl.php @@ -0,0 +1,45 @@ +
+
+ ++ col == 'title'): ?> + + + + col == 'date'): ?> + + + + + + + + + + + + + + + + + + result)): ?> + + + + + + + + + result)); ?> + + + + + + +
 
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/assignments/index_instructor.tmpl.php b/docs/themes/simplified-desktop/instructor/assignments/index_instructor.tmpl.php new file mode 100644 index 000000000..1f1400374 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/assignments/index_instructor.tmpl.php @@ -0,0 +1,79 @@ + +
+
+ ++ sort == 'title'): ?> + + + + sort == 'assign_to'): ?> + + + + sort == 'date_due'): ?> + + + + + + + + + + + + + +result != 0) && ($row = mysql_fetch_assoc($this->result))) : ?> + + + + + + + + + + + + + + + + + + result)); ?> + + + + + + +
 
+ + + + +
/>type_result); + echo $type_row['title']; } ?>
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/backups/edit.tmpl.php b/docs/themes/simplified-desktop/instructor/backups/edit.tmpl.php new file mode 100644 index 000000000..87dcf9bc1 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/backups/edit.tmpl.php @@ -0,0 +1,16 @@ +
+ +
+
+
+ + +
+ +
+ + +
+
+
+
diff --git a/docs/themes/simplified-desktop/instructor/backups/index.tmpl.php b/docs/themes/simplified-desktop/instructor/backups/index.tmpl.php new file mode 100644 index 000000000..e768db52a --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/backups/index.tmpl.php @@ -0,0 +1,45 @@ + +
+
+ + + + + + + + + + + + + + + +list) { + ?> + + + + list as $row) { + echo ''; + echo ''; + echo ''; + echo ''; + // REMOVED FOR MOBILE echo ''; + echo ''; + } +?> + + +
+ + +
'.AT_date(_AT('filemanager_date_format'), $row['date'], AT_DATE_MYSQL_DATETIME).''.get_human_size($row['file_size']).''.AT_print($row['description'], 'backups.description').'
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/chat/index.tmpl.php b/docs/themes/simplified-desktop/instructor/chat/index.tmpl.php new file mode 100644 index 000000000..c75c33d5e --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/chat/index.tmpl.php @@ -0,0 +1,70 @@ +tran_files) == 0) { + echo '

'._AT('chat_none_found').'

'; +} else {?> + +
+
+ + + col == 'name'): ?> + + + + col == 'date'): ?> + + + + + + + + + + + + + + col == 'date') && ($this->order == 'asc')) { + asort($this->tran_files); + } else if (($this->col == 'date') && ($this->order == 'desc')) { + arsort($this->tran_files); + } else if (($this->col == 'name') && ($this->order == 'asc')) { + ksort($this->tran_files); + } else if (($this->col == 'name') && ($this->order == 'desc')) { + krsort($this->tran_files); + } + reset ($this->tran_files); + ?> + + + tran_files as $file => $date) { ?> + + + + + + + + + + + + + + + + + +
 
+ admin['tranFile']) && ($this->admin['produceTran'])) { + echo _AT('chat_currently_active'); + } else { + echo _AT('chat_inactive'); + }?> +
+
+
+ \ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/content/index.tmpl.php b/docs/themes/simplified-desktop/instructor/content/index.tmpl.php new file mode 100644 index 000000000..449309bcd --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/content/index.tmpl.php @@ -0,0 +1,62 @@ +
+
+
+

+
+ +
+ +
+ +
+ +
+
+
+ +
+
+ + + + + + + + + + + + + + + + content)): ?> + content as $row): ?> + + + + + + + + + + + + + +
 #
+ + + + + +
all_content[$row['content_id']]); ?>
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/content/page_student_stats.tmpl.php b/docs/themes/simplified-desktop/instructor/content/page_student_stats.tmpl.php new file mode 100644 index 000000000..ea7031fb7 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/content/page_student_stats.tmpl.php @@ -0,0 +1,28 @@ +
+ + + + + + + + + + +result)) : ?> + + + + + + + + result)); ?> + + + + + + +
+
diff --git a/docs/themes/simplified-desktop/instructor/content/tracker/index.tmpl.php b/docs/themes/simplified-desktop/instructor/content/tracker/index.tmpl.php new file mode 100644 index 000000000..18563d508 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/content/tracker/index.tmpl.php @@ -0,0 +1,66 @@ + +
+
+
    + num_pages; $i++): ?> +
  • + page) : ?> + + + + +
  • + +
+
+ ++ col == 'total_hits'): ?> + + + + col == 'unique_hits'): ?> + + + + col == 'average_duration'): ?> + + col == 'total_duration'): ?> + + + + + + + + + + + + + + +result)): ?> + + + + + + + + + + result)); ?> + + + + + + +
_menu_info[$row['content_id']]['title']; ?>
+ +
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/content/tracker/student_usage.tmpl.php b/docs/themes/simplified-desktop/instructor/content/tracker/student_usage.tmpl.php new file mode 100644 index 000000000..f9d07d151 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/content/tracker/student_usage.tmpl.php @@ -0,0 +1,53 @@ + +
+
+
+
+ +
+ +
+ +
+
+
+ + +
+ + + + + + + + + + result_list)): ?> + + + + + + + result_list)); ?> + + + + + + +
_menu_info[$row['content_id']]['title']; ?>
+
+ \ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/course_email/course_email.tmpl.php b/docs/themes/simplified-desktop/instructor/course_email/course_email.tmpl.php new file mode 100644 index 000000000..88054d4cd --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/course_email/course_email.tmpl.php @@ -0,0 +1,45 @@ +
+ + +
+
+
+ * +
+ /> + /> + /> + /> + + group_type_rows)): ?> +

+ :
+ + +
+ +
+ *
+ +
+ +
+ *
+ +
+ +
+ + +
+
+
+
diff --git a/docs/themes/simplified-desktop/instructor/enrolment/index.tmpl.php b/docs/themes/simplified-desktop/instructor/enrolment/index.tmpl.php new file mode 100644 index 000000000..1ce87e40b --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/enrolment/index.tmpl.php @@ -0,0 +1,141 @@ + +
+ + +
+
+ +
+
+ +
+ + +
+
+ +
+ : + checked_match_all; ?> /> checked_match_one; ?> /> +
+
+ +
+ + +
+
+
+
+ +page, $this->tab_counts[$this->current_tab], $this->page_string_w_tab . SEP . $this->order .'='. $this->col, $this->results_per_page); ?> + +
+ + + + + +
+ ++ col == 'login'): ?> + + + + col == 'first_name'): ?> + + + + col == 'second_name'): ?> + + col == 'last_name'): ?> + + + + col == 'email'): ?> + + + + + + + + + + + + + + + + + + + + + + + + +tab_counts[$this->current_tab]): ?> + enrollment_result)): ?> + + + + + + + + + + + + + + + +
+ current_tab == 0): ?> + + + + current_tab == 1): ?> + + + + current_tab == 2): ?> + + + + current_tab == 3): ?> + + + + current_tab == 4): ?> + + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/faq/add_question.tmpl.php b/docs/themes/simplified-desktop/instructor/faq/add_question.tmpl.php new file mode 100644 index 000000000..f009212d1 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/faq/add_question.tmpl.php @@ -0,0 +1,32 @@ + +
+ +
+
+
+ + *
+ +
+
+ *
+ + +
+
+ *
+ +
+ + +
+ + +
+
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/faq/add_topic.tmpl.php b/docs/themes/simplified-desktop/instructor/faq/add_topic.tmpl.php new file mode 100644 index 000000000..349224351 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/faq/add_topic.tmpl.php @@ -0,0 +1,17 @@ + +
+ +
+
+
+ *
+ +
+ +
+ + +
+
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/faq/edit_question.tmpl.php b/docs/themes/simplified-desktop/instructor/faq/edit_question.tmpl.php new file mode 100644 index 000000000..1019fdd12 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/faq/edit_question.tmpl.php @@ -0,0 +1,37 @@ + + +
+ + +
+
+
+ + *
+ +
+ +
+ *
+ +
+ +
+ *
+ +
+ +
+ + +
+
+
+
diff --git a/docs/themes/simplified-desktop/instructor/faq/edit_topic.tmpl.php b/docs/themes/simplified-desktop/instructor/faq/edit_topic.tmpl.php new file mode 100644 index 000000000..4308b5615 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/faq/edit_topic.tmpl.php @@ -0,0 +1,18 @@ + +
+ + +
+
+
+ *
+ +
+ +
+ + +
+
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/faq/index_instructor.tmpl.php b/docs/themes/simplified-desktop/instructor/faq/index_instructor.tmpl.php new file mode 100644 index 000000000..c7af3d24d --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/faq/index_instructor.tmpl.php @@ -0,0 +1,51 @@ + + +
+
+ + + + + + + + + + + + +faq_topics)): ?> + faq_topics as $topic_id => $row): ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
+
 
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/forums/add_forum.tmpl.php b/docs/themes/simplified-desktop/instructor/forums/add_forum.tmpl.php new file mode 100644 index 000000000..8952dc470 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/forums/add_forum.tmpl.php @@ -0,0 +1,24 @@ +
+ + +
+
+
+ *
+ +
+
+
+ +
+
+
+ +
+
+ + +
+
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/forums/edit_forum.tmpl.php b/docs/themes/simplified-desktop/instructor/forums/edit_forum.tmpl.php new file mode 100644 index 000000000..1114aaab2 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/forums/edit_forum.tmpl.php @@ -0,0 +1,28 @@ +
+ + + +
+
+
+ *
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+ + +
+
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/forums/index.tmpl.php b/docs/themes/simplified-desktop/instructor/forums/index.tmpl.php new file mode 100644 index 000000000..8cdc0c341 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/forums/index.tmpl.php @@ -0,0 +1,41 @@ +
+
+ + + + + + + + + + + + + + + +all_forums['nonshared']): ?> + all_forums['nonshared'] as $row): ?> + + + + + + + + + + + + + +
 
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/glossary/add.tmpl.php b/docs/themes/simplified-desktop/instructor/glossary/add.tmpl.php new file mode 100644 index 000000000..27bd08d6f --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/glossary/add.tmpl.php @@ -0,0 +1,61 @@ +
+ +num_terms;$i++) { + if ($glossary[$word[$i]] != '') { + echo ''; + continue; + } + + for ($j=0;$j<$i;$j++) { + if ($word[$j] == $word[$i]) { + echo ''; + continue 2; + } + } + + if ($word[$i] == '') { + $word[$i] = ContentManager::cleanOutput($_POST['word'][$i]); + } +?> +
+
+
+ *
+ .'; + } + ?> +
+ +
+ *
+ +
+ +
+
+ result_glossary)) { + echo ''; + } else { + echo _AT('none_available'); + } + } // endfor + ?> +
+ +
+ + +
+
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/polls/add.tmpl.php b/docs/themes/simplified-desktop/instructor/polls/add.tmpl.php new file mode 100644 index 000000000..c0f586ddb --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/polls/add.tmpl.php @@ -0,0 +1,27 @@ +
+ + +
+
+
+ *
+ +
+ + +
+ + * + +
+ +
+ + +
+ + +
+
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/polls/edit.tmpl.php b/docs/themes/simplified-desktop/instructor/polls/edit.tmpl.php new file mode 100644 index 000000000..047a1e835 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/polls/edit.tmpl.php @@ -0,0 +1,30 @@ + +
+ + + +
+
+
+ *
+ +
+ + +
+ + * + +
+ +
+ + +
+ + +
+
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/polls/index.tmpl.php b/docs/themes/simplified-desktop/instructor/polls/index.tmpl.php new file mode 100644 index 000000000..36d9eace4 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/polls/index.tmpl.php @@ -0,0 +1,52 @@ +
+
+ ++ col == 'question'): ?> + + + + col == 'created_date'): ?> + + + + col == 'total'): ?> + + + + + + + + + + + + + + + + + + +result)) : ?> + + + + + + + + result)); ?> + + + + + + +
 
+ + +
+
+
diff --git a/docs/themes/simplified-desktop/instructor/properties/course_properties.tmpl.php b/docs/themes/simplified-desktop/instructor/properties/course_properties.tmpl.php new file mode 100644 index 000000000..6f833b5ed --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/properties/course_properties.tmpl.php @@ -0,0 +1,441 @@ + + +
+ + + + + + + + + +
+
+isadmin): ?> +
+ *
+ result)) { + echo ''; + } else { + echo ''._AT('none_found').''; + } + ?> +
+ + +
+ *
+ +
+ +
+
+ printDropdown($this->row['primary_language'], 'pri_lang', 'pri_lang'); ?> +
+ +
+
+ +
+ +
+
+ +
+ + + + +
+
+ +
+ + +
+
+ row['content_packaging']) { + case 'none': + $none = ' checked="checked"'; + break; + + case 'top': + $top = ' checked="checked"'; + break; + + case 'all': + $all = ' checked="checked"'; + break; + } + ?> +
+
+ +
+ +
+
+ row['rss']) { + $rss_yes = ' checked="checked"'; + } else { + $rss_no = ' checked="checked"'; + } + ?> +
+ +
+ +
+
+ row['access']) { + case 'public': + $pub = ' checked="checked"'; + $disable = 'disabled="disabled"'; // disable the nofity box + break; + + case 'protected': + $prot = ' checked="checked"'; + $disable = 'disabled="disabled"'; // disable the nofity box + break; + + case 'private': + $priv = ' checked="checked"'; + break; + } + + if ($this->row['notify']) { + $notify = ' checked="checked"'; + } + + if ($this->row['hide']) { + $hide = ' checked="checked"'; + } + ?> + />

+ + />

+ + />
+ /> +
+ />. +
+ +
+
+ row['release_date'])) { + $rel_yes = ' checked="checked"'; + + $today_day = substr($this->row['release_date'], 8, 2); + $today_mon = substr($this->row['release_date'], 5, 2); + $today_year = substr($this->row['release_date'], 0, 4); + + $today_hour = substr($this->row['release_date'], 11, 2); + $today_min = substr($this->row['release_date'], 14, 2); + } else { + $rel_no = ' checked="checked"'; + $today_year = date('Y'); + } + + ?> + + />
+ + + /> + +
+ +
+
+ row['end_date'])) { + $end_yes = ' checked="checked"'; + + $today_day = substr($this->row['end_date'], 8, 2); + $today_mon = substr($this->row['end_date'], 5, 2); + $today_year = substr($this->row['end_date'], 0, 4); + + $today_hour = substr($this->row['end_date'], 11, 2); + $today_min = substr($this->row['end_date'], 14, 2); + } else { + $end_no = ' checked="checked"'; + $today_year = date('Y')+1; + } + + ?> + + />
+ + /> + +
+ +
+ '; + echo ''; + } else { + echo ''; + } + ?> +
+
+ +
+ +
+ +course) : ?> +
+
+ +
+ + +isadmin) : ?> +
+
+ row['max_quota'] == AT_COURSESIZE_UNLIMITED) { + $c_unlim = ' checked="checked" '; + $c_oth2 = ' disabled="disabled" '; + } elseif ($this->row['max_quota'] == AT_COURSESIZE_DEFAULT) { + $c_def = ' checked="checked" '; + $c_oth2 = ' disabled="disabled" '; + } else { + $c_oth = ' checked="checked" '; + $c_oth2 = ''; + } + + if ($this->course > 0) { + $course_size = dirsize(AT_CONTENT_DIR . $this->course.'/'); + } else { + $course_size = 0; + } + + if ($this->course) { + echo _AT('current_course_size') .': '.get_human_size($course_size).'
'; + } + ?> + + />
+ />
+ /> - + + value="row['max_quota']!=AT_COURSESIZE_UNLIMITED && $this->row['max_quota']!=AT_COURSESIZE_DEFAULT) { echo bytes_to_megabytes($this->row['max_quota']); } ?>" size="4" /> +
+ +
+
+ row['max_file_size'] == AT_FILESIZE_DEFAULT) { + $f_def = ' checked="checked" '; + $f_oth2 = ' disabled="disabled" '; + } elseif ($this->row['max_file_size'] == AT_FILESIZE_SYSTEM_MAX) { + $f_max = ' checked="checked" '; + $f_oth2 = ' disabled="disabled" '; + } else { + $f_oth = ' checked="checked" '; + $f_oth2 = ''; + } + ?> + />
+ />
+ /> - + + value="row['max_file_size']!=AT_FILESIZE_DEFAULT && $this->row['max_file_size']!=AT_FILESIZE_SYSTEM_MAX) { echo bytes_to_megabytes($this->row['max_file_size']); } ?>" size="4" /> +
+ + + + + + + +
+
+ +
+
+ row['icon'] != ''): + $path = AT_CONTENT_DIR.$this->row['course_id']."/custom_icons/"; + if (file_exists($path.$this->row['icon'])) { + if (defined('AT_FORCE_GET_FILE') && AT_FORCE_GET_FILE) { + $custom_icon_path = 'get_course_icon.php/?id='.$this->row['course_id']; + } else { + $_base_href = 'content/' . $this->row['course_id'] . '/'; + } + } else { + $_base_href = "images/courses/"; //$_base_href = 'get_course_icon.php/?id='.$row['course_id']; + } + + $force_get = (defined('AT_FORCE_GET_FILE') && AT_FORCE_GET_FILE) ? true : false; + echo ""; + + //include(AT_INCLUDE_PATH.'html/course_icon.inc.php'); + ?> + <?php echo $this->row['icon']; ?> + + + + + +
+
+ +
+ + + + +
+ +
+ +
+ + + +
+ "; + echo ""; + ?> + + + +
+
+
+ +
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/statistics/course_stats.tmpl.php b/docs/themes/simplified-desktop/instructor/statistics/course_stats.tmpl.php new file mode 100644 index 000000000..dac7f60db --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/statistics/course_stats.tmpl.php @@ -0,0 +1,179 @@ +mobile_device_type == IPAD_DEVICE): ?> + + + + +num_days == 0) || ($this->empty)) { + echo ''; + echo ''; + echo ''; + echo '
last_month).SEP.'year='.$this->last_year.'">'; + echo ' '.AT_date('%F', $this->last_month, AT_DATE_INDEX_VALUE ); ?> | + month, AT_DATE_INDEX_VALUE ); ?> | next_month.SEP.'year='.$this->next_year.'">'; + echo AT_date('%F', $this->next_month, AT_DATE_INDEX_VALUE); ?>
'._AT('no_month_data').'
'; + require(AT_INCLUDE_PATH.'footer.inc.php'); + exit; + } +?> + + : + total_logins; ?> + + + + : + max_total_logins; ?> + + + + + : + min_total_logins < 99999999) { + echo $this->min_total_logins; + } else { + echo '0'; + } ?> + + + + : + avg_total_logins, 1); ?> + + + + + : + + + + + +days as $day => $logins) { + $dd++; + echo ''; + + } while ($row = mysql_fetch_array($this->result)); +?> + + + + + +
max_total_logins; ?>
'.$logins[0].' '._AT('guests').' ('.($logins[0]+$logins[1]).' '._AT('total').')
'.$logins[1].' '._AT('members').' ('.($logins[1]+$logins[0]).' '._AT('total').')
'.$dd.' 
0
+ + : <?php echo _AT('red_members'); ?> , + <?php echo _AT('blue_guests'); ?> . + + + + + : + + + + + + + + + + + + + days as $day => $logins):?> + + + + + + + +
+ + + + + +mobile_device_type != IPAD_DEVICE): ?> + + + + + +num_days == 0) || ($this->empty)) { + echo ''; + echo ''; + echo ''; + echo '
last_month).SEP.'year='.$this->last_year.'">'; + echo ' '.AT_date('%F', $this->last_month, AT_DATE_INDEX_VALUE ); ?> | + month, AT_DATE_INDEX_VALUE ); ?> | next_month.SEP.'year='.$this->next_year.'">'; + echo AT_date('%F', $this->next_month, AT_DATE_INDEX_VALUE); ?>
'._AT('no_month_data').'
'; + require(AT_INCLUDE_PATH.'footer.inc.php'); + exit; + } +?> + + : + total_logins; ?> + + + + : + max_total_logins; ?> + + + + + : + min_total_logins < 99999999) { + echo $this->min_total_logins; + } else { + echo '0'; + } ?> + + + + : + avg_total_logins, 1); ?> + + + + + + + : + + + + + + + + + + + + + days as $day => $logins):?> + + + + + + + +
+ + + + + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/instructor/statistics/tracker/my_stats.tmpl.php b/docs/themes/simplified-desktop/instructor/statistics/tracker/my_stats.tmpl.php new file mode 100644 index 000000000..b5e6d3667 --- /dev/null +++ b/docs/themes/simplified-desktop/instructor/statistics/tracker/my_stats.tmpl.php @@ -0,0 +1,44 @@ + +
+ + + + + + + + + + +result) > 0) { + while ($row = mysql_fetch_assoc($this->result)) { + if ($row['total'] == '') { + $row['total'] = _AT('na'); + } + + echo ''; + echo ''; + echo ''; + echo ''; + if ($row['last_accessed'] == '') { + echo ''; + } else { + echo ''; + } + echo ''; + } //end while + + echo ''; + + } else { + echo ''; + echo ''; + } + ?> + +
' . $contentManager->_menu_info[$row['content_id']]['title'] . '' . $row['total_hits'] . '' . $row['total_duration'] . '' . _AT('na') . '' . AT_date(_AT('forum_date_format'), $row['last_accessed'], AT_DATE_MYSQL_DATETIME) . '
' . _AT('none_found') . '
+
+ diff --git a/docs/themes/simplified-desktop/iphone.css b/docs/themes/simplified-desktop/iphone.css new file mode 100644 index 000000000..d7466ac66 --- /dev/null +++ b/docs/themes/simplified-desktop/iphone.css @@ -0,0 +1,2312 @@ +/* Style is optimized for iphone. Note that -webkit properties create errors in the CSS validator. Relative units +for sizes are used unless it is a border. Classes beginning with ".fl-" override Mobile FSS, +see the API @ http://wiki.fluidproject.org/display/fluid/Mobile+FSS+API for more details. +*/ +html, body{ + height: 100%; +} +#main{ + padding-bottom: 2.3em; + overflow: auto; +} + +body,ul,li { + padding:0; + margin:0; +} + +.fl-theme-iphone{ + background: white; +} + +#header{ + width:100%; + height:1.2em; + line-height:2.813em; + padding:0; + font-size:1.063em; +} + +#header-section-title { + text-align: center; + background-image: -webkit-gradient(linear, left top, left bottom, + from(#6d8cb3), + color-stop(0.5, #6d8cb3), + color-stop(0.50, #4b6b90), + color-stop(0.5, #6d8cb3), + to(#4b6b90) + ); + background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6d8cb3), to(#4b6b90)); + +} + +.fl-theme-iphone .fl-navbar{ + border: none; + border-top: none; +} + +.fl-navbar a{ + font-size: 0.969em; + background-image: -webkit-gradient(linear, left top, left bottom, + from(#4b6b90), + color-stop(0.5, #6d8cb3), + color-stop(0.50, #4b6b90), + color-stop(0.5, #6d8cb3), + to(#4b6b90) + ); +} + +.fl-navbar .fl-tabs { + padding-top: .3em; + padding-bottom: .3em; + border-top: 1px solid black; + border-bottom: .5px solid black; + background-color: #4b6b90; + height: 2em; +} + +#navigation-contentwrapper{ + position: relative; + background-color: #4b6b90; + height: 2.5em; +} + +#navigation-bar{ + height: 2.5em; + border-bottom: .5px solid black; + /*padding-bottom: .3em;*/ + +} + +#wrapper{ + width:100%; + overflow:hidden; + overflow: auto; + min-height: 100%; +} + +#site-name, h1#section-title{ + display: inline; + text-shadow: none; + font-size: 90%; + color: #4C566C; + color: white; + margin-bottom: 1em; + +} + +/************************************************************************************************/ +/* "Navigation" button, also this CSS creates a button that looks exactly like a Mobile FSS tab.*/ +/************************************************************************************************/ +.navigation-bar-button{ + border-width:5px; + -webkit-border-radius: 5px; + font-size: 18px;/*keep this in px*/ + padding: 0 .3em; + color: white; + position: relative; + top: .69em; + left: 0.188em; + /* default mobile fss color scheme for tabs not AA compliant. Here is a compliant bg image: */ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); + -webkit-border-image: url(images/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -webkit-border-left-image: none; + -webkit-background-origin: border; + -webkit-background-clip: border; +} + +.navigation-bar-button a:hover, .navigation-bar-button a:active, .navigation-bar-button a:focus{ + background-color: white; +} + +.fl-theme-iphone .fl-tabs li{ + /* default mobile fss color scheme for tabs not AA compliant against a white foreground text.therefore its backgroud-image must be overrided */ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); +} +.fl-theme-iphone .topnavlistcontainer .topnavlist-link {/*makes the navigation button link white*/ + color: white; + text-decoration: none; + font-weight: bold; +} + +#content_link_phone.topnavlist-link-highlight, fl-theme-iphone .topnavlistcontainer .topnavlist-link-highlight{/*makes the navigation button link highlight*/ + color: #4c96f4; + text-decoration: none; + font-weight: bold; +} + + + +#topnavlist-link { + +} + +ul#topnavlist { + display: none; + position: relative; + top: 1.2em; + z-index: 1000; + /*background-color: white;*/ +} + +div#content-link-container.flc-screenNavigator-navbar { + +/* + border-width:5px; + -webkit-border-radius: 5px; + font-size: 18px; keep this in px + color: white; + + /* default mobile fss color scheme for tabs not AA compliant. Here is a compliant bg image: + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); + -webkit-border-image: url(images/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -webkit-border-left-image: none; + -webkit-background-origin: border; + -webkit-background-clip: border; +float: left; +font-weight: bold;*/ + color: #005689; +} + +.content-link-surround a:active, .content-link-surround a:focus, .content-link-surround a:hover{ + background: none; + +} + #content_link_phone { + + display: block; + text-decoration: none; + + color: white; + font-style: bold; + color: #005689; +} +.resume{ + font-size: 1em; +} + + +#home-guide{ + position: absolute; + top: .45em; + right: 0.188em; + font-size: 17px;/*keep this in px*/ + white-space:nowrap; + display: inline; +} + +ul.home-guide li a:hover, ul.home-guide li a:focus, ul.home-guide li a:active, +ul.home-guide li.back a:hover, ul.home-guide li.back a:focus, ul.home-guide li.back a:active, +ul.home-guide li.forward a:hover, ul.home-guide li.forward a:focus, ul.home-guide li.forward a:active { + color: #4c96f4; + background:transparent; +} + +/* main body attributes */ +p { + text-align: left; + line-height: 150%; + font-size: 1em; + padding:.75em 0; + margin: 0 auto; +} + +p a { + text-decoration: underline; +} + +p a:visited { + color: #3F2670; + background-color: transparent; +} +p a:active { + color: #A50707; + background-color: transparent; +} + +h1, h2, h3, h4, h5, h6 { + color: #4C566C; + clear: right; + font: 100% Helvetica, Arial, sans-serif; + font-weight: bold; + margin: 0; + padding: 0; +} +h2, h3, h4, h5, h6{ + padding-top: .5em; +} +h1 { + font-size: 160%; + color: #FFF; +} + + +h2 { + font-size: 150%; +} + +h3.input-form { + padding-top: .875em; +} +h3.browse-courses{ + font-size: 90%; + text-decoration: none; + clear: none; + display: inline; +} + +h3 a { + font-size: 100%; +} + + +/************************************************************************************************/ +/* Preferences tabs */ +/************************************************************************************************/ +.etabbed-list-container { + padding:0; + margin: 0; + width:70%; + clear: left; + height: 3em; +} + +.prefs_buttontab { + padding:0; + margin: 0; + white-space: nowrap; +} +.prefs_tab{ + padding:0.5em 0.3em 0; + margin: 0; + white-space: nowrap; + display: inline; +} + +.prefs_tab_selected{ + padding:0.7em 0.3em 0; + margin: 0; + margin: 0; + font-weight:bold; + text-align:center; + white-space: nowrap; + display: inline; +} + +/************************************************************************************************/ +/* link attributes */ +/************************************************************************************************/ +a:link, /*a:visited*/ a:focus { + color: #4C566C; + +} +.top-tool a:link, .top-tool a:focus{ + text-decoration: none; +} + +/* main submit button */ +.button { + background-color: #808080; + color: black; + text-align: center; + -webkit-border-radius:3px; + padding-top: 0.313em; + padding-bottom: 0.313em; + +} +.button:focus { + border:1px solid #A50707; + background-color: #FFDAB9; +} +/* small submit button at top */ +.button2 { + font-family: Helvetica,sans-serif; + background-color: #E9F4F3; + +} +.button2:focus { + background-color: #E9F4F3; + border: #ACCFCC solid 1px; +} + +/* Editor box large */ +.editorlargebox { + font-family: Helvetica,sans-serif; + background-color: #E9F4F3; + margin-left:1em; + padding-left: .2em; + padding-right: .5em; + padding-top: .5em; + padding-bottom: .4em; + border: 1px #ACCFCC solid; +} + +/* edit content tabs */ +.buttontab { + background-color: #E6E6E6; + font-weight: 500; + border:0; + padding-left: .188em; + padding-right: .188em; + padding-top: .188em; + +} + +.tab { + color: black; + background-color: #E6E6E6; + border-top: 1px #B8AE9C solid; + border-left: 1px #B8AE9C solid; + border-right: 1px #B8AE9C solid; + text-decoration: none; + text-align: center; + font-weight: bold; + + +} +.buttontab selected { + font-family: Helvetica, Arial, Helvetica, sans-serif; + background-color: #6F7172; + font-weight: 600; + border:0; + padding-left: .188em; + padding-right: .188em; + padding-top: .188em; + +} +td.selected{ + font-family: Helvetica, Arial, Helvetica, sans-serif; + font-weight: 600; + text-decoration: none; + text-align: center; + background-color: white; + border-top: 1px #B8AE9C solid; + border-left: 1px #B8AE9C solid; + border-right: 1px #B8AE9C solid; +} + +.tab a:link, .etab a:visited { + color: #4C566C; + background-color: white; +} + +/* the side menu */ +td.dropdown-heading { + background-color: #DBFDD4; + color: #595241; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-top: 1px solid #ECFEEA; +} + +/* the side menu content */ +td.dropdown { + padding: 0.125em; + background-color: white; + color: black; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-bottom: 1px solid #ECFEEA; + font-weight: normal; +} +td.dropdown a, td.dropdown a:visited { + color: #4C566C; + text-decoration: none; +} +td.dropdown a:hover { + color: #595241; + text-decoration: underline; +} + +/* added for 1.4.2: */ +.results { + padding-left: 1.25em; +} + +h5.search-results { + padding: 0.063em; + margin-bottom: 0.313em; + margin-top: 1em; + padding-top: 3em; + margin-left: 0.313em; +} + +.test-box { + background-color: #F7F3ED; + color: #595241; + border-left: 1px solid #595241; + border-right: 1px solid #595241; + border-top: 1px solid #595241; + font-weight: bold; + padding: 0.125em; +} + +/*preferences*/ + +.input-form +table.tabbed-table { + width: 100%; + border:thin black solid; +} +table.tabbed-table th#left-empty-tab { + background-color: transparent; + width: 0.938em; + border-bottom: 1px solid #B8AE9C; +} +table.tabbed-table th#right-empty-tab { + text-align: right; + background-color: transparent; + border-bottom: 1px solid #B8AE9C; + width: 25em; + padding-right: 0.313em; +} +table.tabbed-table th#right-empty-tab a { + text-decoration: underline; +} +table.tabbed-table th.tab-spacer { + background-color: transparent; + width: 0.313em; + border-bottom: 1px solid #B8AE9C; +} + +table.tabbed-table th.tab { + padding-top: 0.125em; + padding-bottom: 0.125em; + width: 6.875em; + background-color: #E9F4F3; + border-bottom: 1px solid #B8AE9C; + border-left: 1px solid #B8AE9C; + border-top: 1px solid #B8AE9C; + border-right: 1px solid #B8AE9C; +} +table.tabbed-table th.tab:hover { + background-color: #ACCFCC; +} + +table.tabbed-table th.tab a:focus { + color: white; +} +table.tabbed-table th.selected { + padding-top: 0.125em; + padding-bottom: 0.125em; + width: 6.875em; + background-color: #ACCFCC; + border-left: 1px solid #B8AE9C; + border-top: 1px solid #B8AE9C; + border-right: 1px solid #B8AE9C; +} + +table.tabbed-table a, table.tabbed-table a:visited, table.tabbed-table a:hover { + /* color: black;*/ + color: #4C566C; + text-decoration: none; +} + + +.preference-buttons-container{ + background-color: red; + height: 2.5em; + width: 100%; + text-align: center; +} + +div.preference-buttons-container li{ + display: inline; + float: right; +} + +.prefs_tab_selected{ + font-style: italic; + width: 10%; +} +.prefs_tab{ + width: 10%; +} + +.etabbed-table{ + margin: 0 auto; +} +#previewText{ + font-family: monospace; + border: 2px solid rgb(0, 0, 0); + padding: 2em; + width: 80%; + color: rgb(255, 255, 255); + background-color: rgb(0, 0, 0); +} +#previewArea{; + padding: 0em; + border-bottom-width: 0; + margin-left: auto; + margin-right: auto; + font-weight: normal; + width: 70%; + float:left; + clear:right; +} +#display-settings-preview{ + width:90%; + height:20em; + margin: 0 auto; +} +#feedback{ + width: 90%; +} +#defaultfontsize-wrapper{ + width:90%; +} + +/* end of preferences */ + +a#my-start-page { + padding: 0.125em; + padding-left: 0.938em; + background-repeat: no-repeat; + background-position: 0.125em 0.313em; +} + +a#back-to { + padding-left: 1.25em; + background-image: url(images/back.gif); + background-repeat: no-repeat; + background-position: 0 0; +} + +.breadcrumbs, .previous-next /*a#guide*/{ + /* The path bar, including breadcrumbs and add to favorites */ + clear:both; + font-size: 1em; + padding:0; + color: #4C566C; + background-color: white; + +} +#breadcrumbs-container{ + background-color: #4d4d4d; + position: relative; +} +.breadcrumbs{ + display:none; +} +h2.page-title { + + +} +#subnavlistbacktopage{ + float: left; +} + +h1 { + margin-bottom: 0.313em; + +} + + +div#help { + border-left: 1px solid black; + border-right: 1px solid black; + border-bottom: 1px solid black; + padding-left: 0.313em; + padding-right: 0.313em; + padding-bottom: 0.313em; + background-color: #F7F3ED; + margin-left: 0.313em; + margin-right: 0.313em; + font-size: small; +} + +h3#help-title { + margin-left: 0.313em; + margin-right: 0.313em; + border-left: 1px solid black; + border-right: 1px solid black; + padding: 0.063em; + background-color: #F7F3ED; +} +.line { + border-bottom: 1px solid black; +} +div#help p { + padding: 0; + margin: 0; +} + +div#toctoggle { + float: left; + padding-left: 0.625em; +} + +h1#section-title { + font-size: 90%; +} +/**********************************************************************/ +/*FOOTER*/ +/**********************************************************************/ +div#footer-links { + margin: 0 auto; + font-size: .938em; +/* moved inside of #footer for mobile theme */ +} +#footer{ + /*width:100%;*/ + height:2.3em; + background-color: #4b6b90; + margin-top: -2.3em; + position: relative; + clear: both; + +} + +ul.footer-links-tabs li a:hover, ul.footer-links-tabs li a:focus, ul.footer-links-tabs li a:active, +ul.footer-links-tabs li.back a:hover, ul.footer-links-tabs li.back a:focus, ul.footer-links-tabs li.back a:active, +ul.footer-links-tabs li.forward a:hover, ul.footer-links-tabs li.forward a:focus, ul.footer-links-tabs li.forward a:active { + color: #4c96f4; + background:transparent; +} +div#top-links a:link, div#top-links a:visited { + text-decoration:none; +} + +#jumpmenu:focus{ + background-color:#F6EAD6; +} +#jumpmenu{ + margin: 0 auto; +} + +a#editor-link { + background-color: #F7F3ED; + padding-top: 0.063em; + padding-bottom: 0.063em; + padding-left: 0.938em; + padding-right: 0.5em; + border: 1px solid #cccccc; + font-weight: normal; + text-decoration: none; +} + +a#editor-link:hover { + background-color: #F7F3ED; + border: 1px solid #B8AE9C; +} + +a#editor-link.off { + background-image: url(images/pen.gif); + background-repeat: no-repeat; + background-position: 0 0.125em; +} +a#editor-link.on { + background-image: url(images/pen2.gif); + background-repeat: no-repeat; + background-position: 0 0.125em; +} + + +/* for data tables */ +.table-surround { + border: #A9ADB0 1px solid; + border: #cccccc 1px solid; + -webkit-border-radius:5px; + margin-top: 1em; + margin-bottom: 1em; + +} + +table.data { + margin:0; + width:100%; + padding: 0; + color: #4C566C; + font-size: .8em; + text-align: left; + background-color: transparent; +} +/* contains the headings */ +table.data th { + + padding: 0.188em; +} + +table.data th a { + color: #595241; + background-image: url('../default/images/sort.gif'); + background-repeat: no-repeat; + background-position: right; +} + +table.data tbody { +/* + border-top: 1px solid #B8AE9C; + border-bottom: 1px solid #B8AE9C; + */ +} +/*headings text*/ +table.data tbody th { + text-align: left; + +} + +table.data td { + padding: 0.188em; + color: black; + font-size: .875em; + font-style: normal; +} +table.data td a:link, a:visited{ + /*color: black;*/ + color: #4C566C +} + +/*should table.data tbody tr:hover and table.data tbody tr.selected highlighting +be improved to sync with Mobile FSS highlighting */ +table.data tbody tr:hover { + background-color: #efefef; + cursor: pointer; +} + +table.data tbody tr.selected { + background-color: #E9F4F3; + cursor: auto; + border: 5px solid #E9F4F3; +} + +table.data tfoot { + background-color: #F7F3ED; +} + +table.data tfoot tr:first-child td { + padding: 0.313em; + background-image: url('images/arrow_ltr.gif'); + background-repeat: no-repeat; + background-position: .25em 0.313em; +} + +table.data.static tfoot td, table.data.static tfoot tr:first-child td { + /*border-top: 1px solid #B8AE9C;*/ + padding: 0.313em; + background-image: none; + padding-left: 0; + +} +/* add borders to row in Required Information, Personal Information*/ +.row{ + padding:.375em 0; + /*border-bottom: 1px #cccccc solid;*/ + font-size: 0.938em; +} +#last-row, .row-buttons, #last-row1, .row-blurb{ + border: none; +} +#browse-courses-table{ + font-size: .875em; +} + + +/*buttons*/ +table.data tfoot input { + background-color: #efefef; + font-weight: normal; + /*border: #AAA solid 1px;*/ +} +table.data tfoot input:focus { + background-color: #FFDAB9; + /*border: #AAA solid 1px;*/ +} + + +/* used for static tables with no form elements: */ +table.data.static tbody tr:hover { + background-color: transparent; + cursor: auto; +} + + + +/* course browser: */ + +div#browse { + margin-left: auto; + margin-right: auto; + width: 80%; +} + +div.browse-selected { + background-image: url('images/side_arrow.gif'); + background-repeat: no-repeat; + padding-left: 0.563em; + background-position: center left; +} + +div.browse-unselected { + padding-left: 0.563em; +} + +ul.browse-list { + list-style: none; + padding:0; +} + +/* feedback /errors */ +div#error { + width: 89%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #DD0000; + padding: 0.313em; + background-color: #F4DCDC; + color: #A50707; + background-color: #F4DCDC; + padding-left: 1.563em; + font-weight: bold; + -webkit-border-radius:5px; +} +div#error h4 { + color: black; + margin-left: 0; +} + +div#error ul, div#feedback ul, div#help ul { + position: relative; + list-style: none; + margin-left: 0; + padding-left: 0; +} + +div#error ul li{ + margin-top: 0.313em; +} + +div#feedback, div#info { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.313em; + margin-bottom: 0.313em; + padding: 0.313em; + font-family: Helvetica, Arial, sans-serif; + -webkit-border-radius:5px; + border: 1px solid #17B506; + background-color: #E7EFD0; + color: #3f4559; + font-size: 90%; + z-index: -1; +} +div#feedback li, div#info li, div#error li{ + color: #4C566C; + z-index: -1; +} + +div#help { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #ACCFCC; + padding: 0.313em; + background-color: #E9F4F3; + color: #024C41; +} + + +div#warning { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #FF8400; + padding: 0.313em; + background-color: #FFF6ED; + color: #D95900; + font-weight: bold; +} +acronym { + cursor: help; +} + +div.news p { + margin: 0; + padding:0; +} +div.news span.date { + font-family:Helevetica, Arial, sans-serif; + color: #4C566C; + font-size: .5em; +} + +.news{ + padding: 0; + margin-bottom: 1em; + margin-top: 1em; +} +/* home page links */ +div.home-link { + padding: 0.125em; + float: left; + text-align: center; + margin: 0.125em; + width: 7.5em; + height: 5.625em; +} +div.home-link:hover { + padding: 0.063em; + background-color: #F7F3ED; + border: 1px solid #afafaf; + float: left; + text-align: center; + margin: 0.125em; +} +div.home-link a { + text-decoration: none; + font-weight: bold; +} + +div.home-link img { + border: 0; +} + +/* sequence links */ +div#sequence-links { + +} +div#sequence-links a { + text-decoration: none; + display: block; +} + +.previous-next{ + display: block; +} +div.dropdown { + width: 12.5em; + padding: 0.125em; + background-color: white; + color: black; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-bottom: 1px solid #ECFEEA; + font-weight: normal; +} + +div.dropdown-heading { + background-color: #ACCFCC; + color: #595241; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-top: 1px solid #ECFEEA; + font-weight: bold; + padding: 0.125em; +} + +div.required { + font-weight: bold; + color: red; + font-size: large; + float: left; + position: relative; + margin-top: -0.313em; + height: 0.938em; + padding-right: 0.125em; +} + +div#content_text { + margin-left: 0.313em; +} + +#content{ +/* + padding-top:.5em; + margin-top: .5em; + background-color: #F5F5F5; + + border: #A9ADB0 1px solid; + border: #cccccc 1px solid; + -webkit-border-radius:5px; + -webkit-border-bottom-right-radius: 5px; + -webkit-border-bottom-left-radius: 5px;*/ + padding-top: .313em; + background-color: white; + z-index: 1000; +} +form { + display:inline; + max-width: 100%; +} + + +optgroup { + /*font-size: small;*/ +} + +/* paging*/ +div.paging { + margin-top: 1em; + text-align: center; +} +div.paging ul { + list-style: none; + display: inline; + padding: 0; + max-width: 10%; + margin-bottom: 1em; +} +div.paging li { + display: inline; + padding-left: 0.125em; + padding-right: 0.125em; + padding-top: 0; + padding-bottom: 0; + width: 10%; +} + +div.paging li a { + text-decoration: none; + padding-left: 0.25em; + padding-right: 0.25em; + border-left: 1px solid white; + border-right: 1px solid white; +} + +div.paging li a:hover, div.paging li a.current { + border-left: 1px solid #000; + border-right: 1px solid #000; + color: black; +} + +#tl_corner{ + + background-image:url(images/tl_corner.gif); + background-position: top left; + background-repeat: no-repeat; + padding:0; +} + +div.tabs { + /* Navigational Plone Tabs(tm), implemented by customizing the a tag - they are surprisingly elegant. The power of CSS runs strong in these :) */ + background-color: transparent; + border-collapse: collapse; + border-bottom: 1px solid #B8AE9C; + padding: 0.5em 0em 0em 2em; + white-space: nowrap; +} + +div.tabs a { + /* The normal, unselected tabs. They are all links */ + background-color: transparent; + border-color: #B8AE9C; + border-width: 1px; + border-style: solid solid none solid; + color: #595241; + height: 1.2em; + margin-right: 0.5em; + padding: 0em 2em 0em; + +} + +div.tabs a.selected { + /* The selected tab. There's only one of this */ + background-color: white; + border-bottom: #B8AE9C 1px solid; + color: #595241; + font-weight: normal; +} + +div.tabs a:hover, div.tabs a.active { + background-color: #B8AE9C; + border-bottom: 1px solid #B8AE9C; + color: white; +} + +.headingbox a{ + color: #4C566C; +} +.headingbox a:link, .headingbox a:visited{ + text-decoration: none; +} +div.box { +} +h4.box { + background-color: #F5F5F5; + padding: .313em; +} +h4.box a { + display: block; + color: #4C566C; + background-color: #F5F5F5; + text-decoration: none; +} + + +div.box { + padding: 0.313em; + background-color: #F5F5F5; + color: black; + border: 1px solid #B8AE9C; + font-size:0.85em; + font-weight: normal; + padding:0.125em; +} + +h5.box { + background-color: #6F7172; + border: 1px solid #B8AE9C; + border-style: solid solid none solid; + color: Black; + padding: 0em 1em 0em 1em; + display: inline; + font-size: 1em; + height: 1em; +} + +div.box a:link { + text-decoration: none; +} + +div.box a:visited { + color: #2A6C28; + text-decoration: none; +} + +div.box a:hover { + text-decoration: underline; +} + +.boxDetails { + text-align: right; +} + +div.box .content { + padding: 1em; + font-size: 1em; +} + +div.box a.close { + float: right; + text-transform: none; + border-left: 1pt solid #B8AE9C; + padding: 0em 0.2em; +} + +div.box h1, +div.box h2, +div.box h3, +div.box h4 { + margin: 0; + padding: 0; +} + +div.box .even { + background-color: #F7F3ED; +} + +div.box .odd { + background-color: transparent; +} + + +/* users/index.php */ + +div.course { + position: relative; + width: 12.5em; + height: 10.5em; + border: rgb(204, 204, 204) 1px solid; + background-color: #F7F7F7; + float: left; + margin: 0.188em; + padding: 0.313em; +} + +div.course.break { + clear: left; +} + +div.course h2 { + border: 0; + font-weight: normal; + font-size: large; + +} + +div.course:hover { + background-color:#FBF4E9; + border: #B8AE9C 1px solid; +} + + +table.data .odd img.headicon{ + width: 2.469em; + height: 2.469em; + -webkit-border-radius:5px; +} + +.icon{ + -webkit-border-radius:10px; + border-color: white; + width: 2.5em; + height: 2.5em; + float: left; +} +div.course div.shortcuts { + text-align: right; + clear: left; + vertical-align: middle; + width: 12.5em; +} + +fieldset#shortcuts { + float: right; + background-color: #FEFDEF; + border: 1pt solid #B8AE9C; + margin: -5pt 5pt 5pt 5pt; + padding-right: 10pt; + padding-bottom: 5pt; + padding-left: 10pt; +} + +.shortcuts{ + +} + +fieldset { + margin-bottom: 10pt; + -webkit-border-radius:5px; + padding: 0 0.375em; + width: 90%; + margin: 0 auto; + width:95%; + margin:0 auto; + border:thin #6D7B8D solid; + border:thin #A9ADB0 solid; + margin-bottom: 1em; +} +#shortcuts legend { +} +#shortcuts ul { + position: relative; + margin-top: 0pt; + margin-bottom: 0pt; + margin-left: 0pt; + list-style-type: none; + padding-left: 0pt; +} + +/*a#guide,*/ a#my-courses-link { + background-color: #6D84A2; +} + +#guide img{ + border:none; +} + +#guide a:hover{ + +} + +div#content-test, div.content-from-module { + float: left; + margin-top: 2em; + margin-bottom: 2em; + padding-right: 5pt; + width: 80%; +} + +div#container { + text-align: left; + margin: 0 auto; + padding: 0; + border:0; + width: 95%; +} + +/* index page */ +ul#home-links, ul#home-detail-links { + list-style: none; +} + +/*my start page */ +#my_courses_container{ + text-align: left; + margin: 0 auto; + border:0; + min-width: 100%; +} +#my-courses-navlist{ +} +.my-courses-list{ + border: solid 1px #A9ADB0; + -webkit-border-radius:8px; + -moz-border-radius:8px; + border-radius:8px; + padding: .375em; + color: #4C566C; + margin-bottom: .375em; + margin-top: .375em; + padding: .375em; +} +.my-courses-list-ul{ + margin: 0 auto; + padding-left: 0; + width: 100%; +} +.my-courses-links{ + font-size: 80%; + padding-top: .75em; +} +.my-courses-resume{ + float: right; +} +.fl-link-summary{ + padding-left: 0.875em; + padding-bottom: 0.875em; + display: inline; +} + +.fl-theme-iphone [class*="fl-list"] > li .fl-link-summary{ + color: #4C566C; +} +.current_head{ + padding-top: .5em; +} + +.current_box{ + max-width: 100%; +} +.current_list{ + width: 95%; + padding: 0.375em; +} +.current_list li{ + list-style-type: none; + font-style: bold; + padding-bottom: .5em; + padding-left: .5em; + margin:0; +} +.current_list_date_time{ + font-size: 65%; +} +.current_list img{ +} + +#show-all, #show-pages{ + text-align: center; + +} +/* enrollment tabs */ +#navlist { + padding: 0; + margin-left: 0; + margin-right: auto; + margin-left: auto; + margin-bottom: .25em; + margin-top: 0.938em; + white-space: nowrap; +} + +#navlist li { + list-style: none; + display: inline; + margin: 0; +} + +#navlist li a { + padding: 0.188em 0.563em; + border: 1px solid #F7F3ED; + border-bottom: none; + background-color: #F7F3ED; + text-decoration: none; + margin-left: .25em; + white-space: nowrap; +} + +#navlist li a:hover, #navlist li a:active { + color: #000; + background-color: #fff; +} + +/* tree */ +.img-size-tree { + vertical-align: middle; + margin-top: 0; + padding:0; + height:1.45em; + width:1.5em; +} +/* profile page */ + +dl#public-profile dt { + float: left; + width: 90%; + border-right: 1px solid #F7F3ED; + padding: 0.313em 0.313em 0.313em 0; + + margin-right: 0.313em; +} +dl#public-profile dd { + margin: 0; +} + +div.social-right{ + margin-left:.5em; + margin-top: 1em; +} +div.social-left{ + margin-left:.5em; +} +h4.profile{ + float: left; +} +.social-wrapper h3{ + padding-top: .5em; +} +.my-contacts h3{ + padding-bottom: .375em; +} +img#profile{ + border: 1px #cccccc solid; + margin-left: 1em; +} +dd{ + margin: 0; +} + +/** forum stuff **/ +#forum-thread li {border:1px solid #eee; border-bottom: 1px solid #F7F3ED; float:left; width: 97%; list-style: none; } +#forum-thread li.even { background-color: #F7F3ED; border-top: none; } +#forum-thread li.odd { background-color: #fff; } +div.forum-post-author { float:left; width:19.375em; padding:0.5em 0.625em; } +div.forum-post-author a.title {font-size: 1.1em; line-height: 1.2em; font-weight: bold; text-decoration:none; } +div.forum-post-author img.profile-picture { border: 2px solid #F7F3ED; text-align:right;} +div.forum-post-content { margin-left: 19.375em; padding: 0.313em 0 1.125em 1.125em;} +div.forum-post-content h3 { font-weight: 500; float:left;clear:right; } +div.forum-post-ctrl { float: right; padding-right: 0.313em; color: #a1a1a1;} +div.forum-post-ctrl a { text-decoration: none; } +div.forum-post-ctrl span { color: black; background-color: #fefdc2; padding: 0.188em; } +div.forum-post-content p.date { color: #a1a1a1; border-bottom: 1px solid #F7F3ED; } +div.forum-post-content div.body p { margin-bottom:1em; } +div.forum-paginator{border:thin #cccccc solid; padding:.3em; width:95%;margin:auto;background-color:#F7F3ED;} +span.forum-paginator-active{font-weight:700;text-decoration:underline; height:2em;} + + + +/** inbox stuff - reuses some of the forum layout **/ +#inbox-msg li {border:1px solid #eee; border-bottom: 1px solid #F7F3ED; width: 95%; list-style: none; min-height: 11em;} + +/* tool list on admin home and manage screens */ + li.top-tool { + list-style: none; + padding: 0.125em 0.125em 0.125em 0.938em; + margin-bottom: 0.313em; + line-height: 200%; + border: solid 1px #A9ADB0; + -webkit-border-radius:5px; +} + +li.child-tool a { + font-size: x-small; + font-weight: normal; +} + +/* ol#tools>li>ul, */ +ul.child-top-tool { + margin-top: -0.313em; + padding-left: 0; + margin-left: 0; + display: inline; +} + +li.child-tool { + display: inline; + margin-right: 0.313em; + font-size: x-small; +} + + +/* browse courses */ +div.browse-course { + padding-bottom: 0.625em; +} + +dl.browse-course { + width: 90%; + padding-bottom: 0.625em; + background-color: #fffaf0; + margin:auto; + margin-left:1em; +} +dl.browse-course dt { + float: left; + font-weight: bold; + width: 25%; + text-align: right; + clear: left; + padding: 0.313em 0.625em 0.313em 0; + vertical-align: middle; + +} +dl.browse-course dd { + margin-bottom: 0.313em; + clear: right; + padding: 0.313em 0 0.313em 0.625em; + margin-left: 26%; + +} +.row .buttons{ + border: none; +} + +/* form fields grouping for WCAG 2.0 conformance*/ + +fieldset.group_form{ + width:95%; + margin:0 auto; + margin-bottom: 1em; + border: 1px #6D7B8D solid; + -webkit-border-radius:5px; + -moz-border-radius:5px; + border-radius: 5px; + margin-top: .5em; +} + +legend.group_form{ + background-color:white; + font-weight: 600; + color: #4c566c; + padding:.5em; + border: 1px #6D7B8D solid; + -webkit-border-radius:5px; +} + +/* highlight active links for WCAG 2.0 conformance */ + +a:active:not(.subnavcontain a), +a:hover:not(.subnavcontain a), +a:focus:not(.subnavcontain a), +.buttontab-hover{ + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + +} + +/*Overrides above a:active, a:hover, a:focus so the "Navigation" button itself isn't highlighted when activated. +Ensure styling matches that in fl-tabs.*/ +.topnavlistcontainer a:hover, .topnavlistcontainer a:active, .topnavlistcontainer a:focus{ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); +} + + +/*Added by Silvia */ +div.column_primary { + float: left; + width: 42%; + margin: 0.313em; + padding: 0; + min-width: 10.625em; +/* position: relative;*/ +} + +div.column_equivalent{ + float: left; + width: 52%; + margin-left: 0.938em; + margin-top: 0.313em; + margin-right: 0.313em; + margin-bottom: 0.313em; + min-width: 10.625em; + padding: 0.313em; + border: 1px solid #EEE; + background-color: #FFF; +/* position: relative;*/ + +} + +div.resource_box{ + border: 1px solid #aaa; + width: 95%; + margin: 0.313em; + padding: 0.313em; + min-width: 9.375em; + background-color: #eee; +/* position: relative;*/ +} + +h2.alternatives_to{ + margin-top: 0.75em; + font-size: 90%; + color: #A50707; +} + +div.alternative_box{ + border: 1px solid #ddd; + /*width: 90%;*/ + margin: 0.313em; + padding: 0.313em; + min-width: 9.375em; + background-color: #fff; +} + +div.alternative_box legend { + color: #000; +} + +div.resource_box legend { + color: #000; +} + +label.primary a{ + color: #A50707; + font-weight: bolder; + background-color: white; +} + +/* format of "table of contents" on content page */ +#toc a { display:block; margin:0.188em; } +#toc .h2, #toc .h3, #toc .h4, #toc .h5, #toc .h6{ + padding:0 0 0 0; +} + + +fieldset#toc { + background-color: #FEFDEF; + border: 1pt solid #B8AE9C; + width:89%; +} + +#side-menu{ + overflow:hidden; +} + +/* cleans up glossary question mark line spacing*/ +sup{ + border: 1pt solid #B8AE9C; + vertical-align:bottom; + margin-top: 1em; +} + +/* jQuery tooltip styles */ +#tooltip{ + position:absolute; + z-index:3000; + border:3px solid #111; + background-color:#eeeeee; + padding:0.313em; +} +#tooltip h3,#tooltip div{ + margin:0; +} + +/* style for home page modules "detail view" */ +div.home_box { + padding: .75em 0; + margin: 0 auto; +} + +.outside_box{ + background:#e0e0e0; + width: 17em; + margin: .375em; + padding: 0; + height:9.8em; +} + +.inside_box{ + width:100%; + margin:auto; + height:52%; + margin-bottom:.2em; + background:#eeeeee; + +} +.details_or{ + width:28.8em; + height:9.8em; + margin:0; + background-image:url(images/details_r.png); + background-position: top right; + background-repeat:no-repeat; +} +.details_ol{ + height:9.8em; + margin:0; + width:.45em; + background-image:url(images/details_l.png); + background-position: top left; + background-repeat:no-repeat; +} +.details_ir{ + width:.5em; + height:100%; + float:right; + background-image:url(images/details_ir.png); + background-position: top right; + background-repeat:no-repeat; +} +.details_il{ + height:100%; + float:left; + background-image:url(images/details_il.png); + background-position: top left; + background-repeat:no-repeat; +} +.home-title{ + font-size:12pt; +} +.buttonbox{ + float:right; +} +.details_text{ + margin-left:1em; +} +.draggable_selected { + background-color: lightgrey; + cursor: move; +} + +div.menuedit{ + float:right; + margin-top:-1.2em; + border:1px solid #cccccc; +} +li.folders { + list-style: disc url(../../images/folder.gif) outside; + font-family: Helvetica,sans-serif; + margin-bottom: 0; + margin-top: 0; + margin-right: 0; +} + +li.folders .disabled { + color: #B8AE9C; +} + +ul.folder{ + list-style-image:none; + list-style-position:outside; + list-style-type:none; + margin:0em; + padding:0em; +} + + +/* hiding/showing results-display */ + + +div#results-display{ + display: none; +} + +ul#topnavlist li { + padding: 0; + margin: 0; +} + +ul#topnavlist>li:hover, +ul#topnavlist>li:hover a, +ul#topnavlist>li:active, +ul#topnavlist>li:active a, +ul#topnavlist>li:focus, +ul#topnavlist>li:focus a { + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); +} + +ul#topnavlist li a { + color: #4C566C; + text-decoration: none; +} + + +div.toolcontainer{ + border: #cccccc 1px solid; + -webkit-border-radius:5px; + margin-top: 1em; + margin-bottom: 1em; +} + + +ul#subnavlist li a:hover, ul#subnavlist li a:focus, ul#subnavlist li a.active{ /* + color: black; + text-decoration:none;*/ +} +#subnavlist{ + display: none; +} +ul#subnavlist li a, ul#subnavlist li a:visited { + color: #4C566C; +} + + +/* list attributes */ +ul { + list-style: none; +} +li { + color: black; + list-style: none; +} + +ol#tools>li:hover { + /*border: 1px solid #e0e0e0;*/ + background-color: #e6e6e6; + color: black; + + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + +} +ol#tools>li:hover a{ + color: white; +} + +#contentwrapper{ + +} +#content-contentwrapper{ + height:100%; + position:relative; + z-index:1000; + width:100%; + overflow:hidden; +} + +#leftcolumn{ + float: left; + width: 17em; + margin-left: 0.313em; + margin-top:-0.625em; +} + +#copyright{ + font-size: 0.5em; +} +#gototop{ + text-align: center; + color: #4B6B90; +} + +#tools{ + margin: 0 auto; + padding: 0; +} + + +/* ATutor Social Styles */ + +div .profile_container { + background-color:#eee; + border: 1px solid #8e8e8e; + width:80%; + padding:0.5em; + margin-bottom: 0.5em; +} + +div .profile_container .top_right { + float: right; +} + +dl.public-profile dd{ + margin-left:0; +} +dl.public-profile dt { + float: left; + font-weight: bold; + min-width:12em; +} + +/* Search form */ +div .search_form { + margin-bottom: 1em; +} + +div .search_form .row{ + background-color: #DEDEC0; + padding: 0.5em; +} +div .button { + background-color: #eee; + border: 1px solid #aaa; +} +div .button:hover{ + background-color: #cccccc; + color: #ffffff; +} + +/* Side menu */ + + +ul.social_side_menu { + padding-left: 2em; +} +ul.social_side_menu li { + padding-bottom: 0.2em; + list-style: circle; +} + +div .divider { + border-bottom:1px solid #C1C157; + padding-bottom:0.5em; + margin-bottom:0.5em; +} + +.activity{ + line-height:18pt; + font-size:.8em; +} + +div.contentbox, input-form{ + + padding:.5em; + background-color: #ffffff; + overflow:hidden; + border: #A9ADB0 solid 1px; + -webkit-border-radius: 5px; +} + +div.suggestions{ + border:1px solid #a50707; + margin-left:0.625em; + width:50%; +} +li.inlinelist{ + display: inline; + padding-right: 1em; +} +ul.social_inline_menu{ + background-color: #eeeeee; + border:thin #cccccc solid; + padding:.5em; + width:90%; + margin:auto; +} +div.social-wrapper{ + width: 100%; +} + +div.logo{ +float:left; +clear:right; +margin-left:2em;} + +/*mobile FSS overrides */ +.fl-theme-iphone [class*="fl-list"]:not(.fl-list):not(.fl-grid) a:hover, +.fl-theme-iphone [class*="fl-list"]:not(.fl-list):not(.fl-grid) a:focus, +.fl-theme-iphone [class*="fl-list"]:not(.fl-list):not(.fl-grid) a:active { + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + +} +ul#subnavlist li a:focus, ul#subnavlist li a:active, ul#subnavlist li a:hover{ + color: white; +} +/* isolates fl tabs +.fl-theme-iphone .fl-tabs li a, .fl-theme-iphone .fl-tabs .fl-tabs-active { + background-color: white; +} */ + + +/************************************************************************************************/ +/*Adds arrows to Fluid Tabs. Here is a good guide for creating triangles with CSS: +http://jonrohan.me/guide/css/creating-triangles-in-css/ */ +/************************************************************************************************/ +ul.sequence-links { +} + +ul.sequence-links li { + position:relative; + overflow:hidden; + list-style:none; + /* padding:0; + margin:0 0 0 0 ;*/ +} + +ul.sequence-links li.back a:link, +ul.sequence-links li.back a:visited { + display:block; + /* border :0;*/ + padding-left:0.438em; + color: #005689; +} + +ul.sequence-links li.forward a:link, +ul.sequence-links li.forward a:visited { + display:block; + /* border :0;*/ + padding-right:0.313em; + color: #005689; +} +/*WCAG*/ +ul.sequence-links li a:hover, ul.sequence-links li a:focus, ul.sequence-links li a:active, +ul.sequence-links li.back a:hover, ul.sequence-links li.back a:focus, ul.sequence-links li.back a:active, +ul.sequence-links li.forward a:hover, ul.sequence-links li.forward a:focus, ul.sequence-links li.forward a:active { + color: #4c96f4; + background:transparent; +} + + +ul.sequence-links li:before, +ul.sequence-links li:after, +ul.sequence-links li a:before, +ul.sequence-links li a:after { + content:""; + position:absolute; + top:50%; + /* left:0;*/ +} + +ul.sequence-links li a:before, +ul.sequence-links li a:after { + margin:-0.5em 0 0; + } + +ul.sequence-links li a:hover:before, +ul.sequence-links li a:focus:before, +ul.sequence-links li a:active:before { + +} +/*arrow that points to the left, beside the "Previous" text */ +.arrow.back a:after {/*arrow pointing to the left*/ + background: none repeat scroll 0% 0% transparent; + border-color: transparent #005689; + + border-style: solid; + border-width: 5px 0pt 5px 6px; + left: 0.5em; + margin-top: -0.39em; +} + +/*left and right triangle icons change color*/ +.arrow a:hover:after, .arrow a:focus:after, .arrow a:active:after, +.arrow.forward a:hover:after, .arrow.forward a:focus:after, .arrow.forward a:active:after{ + border-color: transparent #4c96f4; +} + +.arrow.back a:after { + border-width: 6px 6px 6px 0pt; + left: 0.188em; + top: 1.25em; +} + +.arrow.back:before { + +} +.arrow.forward:before { + +} +.arrow:before { + +} +/*arrow that points to the right, beside the "Next" text */ +.arrow.forward a:after { + background: none repeat scroll 0% 0% transparent; + border-color: transparent #FFFFFF; + border-style: solid; + margin-top: -0.425em; + margin-top: -0.313em; + +} +.arrow.forward a:after { + /*top: 11px;*/ + background: none repeat scroll 0% 0% transparent; + border-color: transparent transparent transparent #005689; + border-width: 6px; + border-style: solid; + width:0; + height:0; + right: -0.313em; + top: 1.19em; +} + + +#content-sequence-links{/* + width: 98%; + padding: .313em; + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999), to(black)); + background: #B6C0C6; + float: left; + margin: 0 auto; + margin-bottom: .313em;*/ +} + + +#sequence-links{ + float: left; +} + + +#content{ + text-align: left; + width: 93.5%; + width: 99%; + border-left: #A9ADB0 1px solid; + border-right: #A9ADB0 1px solid; + border-bottom: #A9ADB0 1px solid; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + display: none; + position: relative; + top: 0em; + clear: left; + clear: right; + z-index: 1; +} + +/*hiding and showing content */ + +#results-hide-show-simple-content{ + -webkit-border-radius:5px; + border: 1px #A9ADB0 solid; + /*margin-top: 0.875em; + margin-bottom: 0.875em; + padding: 0.875em; + padding-right: .2em;*/ + padding-top: .6em; + padding-bottom: .6em; + padding-right: .2em; + padding-left: .6em; + margin-bottom: 0.875em; + margin-top: 0.875em; + color: #005689; +/* background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999), to(black));*/ + background-color: none; +} +#results-hide-show-link{ + color: white; + color: #005689; + text-decoration: none; + display: block; + font-weight: bold; +} + + +.content-expand{ + background-image:url("images/plus.png"); + background-position: 100% 100%; + background-repeat: no-repeat; +} + +.content-closed{ + background-image:url("images/minus.png"); + background-position: 100% 100%; + background-repeat: no-repeat; +} +#results-display{ + background-color: #F7F3ED; + -webkit-border-radius:8px; + border: 1px #A9ADB0 solid; + padding: .313em; + +} +.hide-show-container-surround a:active, .hide-show-container-surround a:focus, .hide-show-container-surround a:hover{ + background-color: transparent; + +} +.subnavcontain2, .subnavcontain{ + margin: .313em 0; + + border: #A9ADB0 1px solid; + -webkit-border-radius:8px; + width: 100%; + +} + +.fl-theme-iphone .subnavcontain a, .fl-theme-iphone .subnavcontain a:hover, .fl-theme-iphone .subnavcontain a:active, .fl-theme-iphone .subnavcontain a:focus { + text-decoration: none; + font-weight: bold; + color: #005689; + background-repeat: no-repeat; + +} +#subnavlist-link{ + display: block; +} +#page-title-back-to-page{ + display: inline-block; + width: 100%; +} + +.page-title, #back-to-page{ + float: left; +} + +.fl-theme-iphone #subnavlist-link a:active, +.fl-theme-iphone #subnavlist-link a:hover, +.fl-theme-iphone #subnavlist-link a:focus{ + background-color: none; +} +.fl-theme-iphone .subnavcontain{ + margin-top: 1em; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); +} +.rectangle2{ + display: inline-block; + color: #005689; + font-weight: bold; + padding: .6em; + margin: -.1em; + border-right: #A9ADB0 1px solid; +} + +.rectangle2:last-child{ + border: none; +} +.rectangle2 a{ + color: #005689; + text-decoration: none; + font-weight: bold; +} +.rectangle{ + display: block; + color: #005689; + font-weight: bold; + padding: .313em; + margin: .313em 0; + +} +#content_link_phone a:active, #content_link_phone a:focus, #content_link_phone a:hover{ + color: #005689; + background-color: white; +} +/* style for "last modified" information of course content*/ +#content-info{ + padding-top: 1em; + font-size: 80%; +} +ul.my-courses-list-ul > li:hover{ +background-color: #e6e6e6; + color: black; + + color: #fff; +} +ul.my-courses-list-ul > li:hover a{ + color: white; +} \ No newline at end of file diff --git a/docs/themes/simplified-desktop/login.tmpl.php b/docs/themes/simplified-desktop/login.tmpl.php new file mode 100644 index 000000000..01c448ad8 --- /dev/null +++ b/docs/themes/simplified-desktop/login.tmpl.php @@ -0,0 +1,119 @@ + +mobile_device_type != IPAD_DEVICE): ?> + + + +
+ +
+ +mobile_device_type == IPAD_DEVICE): ?> + + + +
+ + +
+
+ + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/mobile.css b/docs/themes/simplified-desktop/mobile.css new file mode 100644 index 000000000..5e5dce01f --- /dev/null +++ b/docs/themes/simplified-desktop/mobile.css @@ -0,0 +1,2289 @@ +/* Style is optimized for iphone and android. Note that -webkit properties create errors in the CSS validator. Relative units +for sizes are used unless it is a border. Classes beginning with ".fl-" override Mobile FSS, +see the API @ http://wiki.fluidproject.org/display/fluid/Mobile+FSS+API for more details. +*/ +html, body{ + height: 100%; +} +#main{ + padding-bottom: 2.3em; + overflow: auto; +} + +body,ul,li { + padding:0; + margin:0; +} + +.fl-theme-iphone{ + background: white; +} + +#header{ + width:100%; + height:1.2em; + line-height:2.813em; + padding:0; + font-size:1.063em; + background-color: #4B6B90; + /*firefox*/ + background-image: -moz-linear-gradient( + center top, + #9aafca, + #4b6b90, + #6d8cb3 10%, + #4b6b90 90% + ); +} + +#header-section-title { + text-align: center; + + background-image: -webkit-gradient(linear, left top, left bottom, + from(#6d8cb3), + color-stop(0.5, #6d8cb3), + color-stop(0.50, #4b6b90), + color-stop(0.5, #6d8cb3), + to(#4b6b90) + ); + background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6d8cb3), to(#4b6b90)); + +} + +.fl-theme-iphone .fl-navbar{ + border: none; + border-top: none; +} + +.fl-navbar a{ + font-size: 0.969em; +} + +.fl-navbar .fl-tabs { + padding-top: .3em; + padding-bottom: .3em; + border-top: 1px solid black; + border-bottom: .5px solid black; + background-color: #4b6b90; + height: 2em; +} + +#navigation-contentwrapper{ + position: relative; + background-color: #4b6b90; + height: 2.5em; +} + +#navigation-bar{ + height: 2.5em; + border-bottom: .5px solid black; + /*padding-bottom: .3em;*/ + +} + +#wrapper{ + width:100%; + overflow:hidden; + overflow: auto; + min-height: 100%; + background-color:white; +} + +#site-name, h1#section-title{ + display: inline; + text-shadow: none; + font-size: 90%; + color: #4C566C; + color: white; + margin-bottom: 1em; +} + +/************************************************************************************************/ +/* "Navigation" button, also this CSS creates a button that looks exactly like a Mobile FSS tab.*/ +/************************************************************************************************/ +.navigation-bar-button{ + border-width:5px; + -webkit-border-radius: 5px; + -moz-border-radius:5px; + border-radius: 5px; + font-size: 18px;/*keep this in px*/ + padding: 0 .3em; + color: white; + position: relative; + top: .69em; + left: 0.188em; + /* default mobile fss color scheme for tabs not AA compliant. Here is a compliant bg image: */ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); + -webkit-border-image: url(images/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -webkit-border-left-image: none; + -webkit-background-origin: border; + -webkit-background-clip: border; + +} + +.navigation-bar-button a:hover, .navigation-bar-button a:active, .navigation-bar-button a:focus{ + background-color: white; +} + +.fl-theme-iphone .fl-tabs li{ + /* default mobile fss color scheme for tabs not AA compliant against a white foreground text.therefore its backgroud-image must be overrided */ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); +} +.fl-theme-iphone .topnavlistcontainer .topnavlist-link {/*makes the navigation button link white*/ + color: white; + text-decoration: none; + font-weight: bold; + /*firefox*/ + -moz-border-image: url("images/navbar_normal_button_insetShadow.png") 5 5 5 5 stretch; + background-color: #354D68; +} + +#content_link_phone.topnavlist-link-highlight {/*makes the content link highlight*/ + color: white; + text-decoration: none; + font-weight: bold; +} +.fl-theme-iphone .topnavlistcontainer .topnavlist-link-highlight{/*makes the navigation button link highlight*/ + color: #4c96f4; + text-decoration: none; + font-weight: bold; +} + +ul#topnavlist { + display: none; + position: relative; + top: 1.2em; + z-index: 1000; + /*background-color: white;*/ +} + +div#content-link-container.flc-screenNavigator-navbar { + color: #005689; +} + +.content-link-surround a:active, .content-link-surround a:focus, .content-link-surround a:hover{ + background: none; + +} + #content_link_phone { + + display: block; + text-decoration: none; + + color: white; + font-style: bold; + color: #005689; +} +.resume{ + font-size: 1em; +} + + +#home-guide{ + position: absolute; + top: .45em; + right: 0.188em; + font-size: 17px;/*keep this in px*/ + white-space:nowrap; + display: inline; +} + +ul.home-guide li a:hover, ul.home-guide li a:focus, ul.home-guide li a:active, ul.home-guide li.back a:hover, ul.home-guide li.back a:focus, ul.home-guide li.back a:active, +ul.home-guide li.forward a:hover, ul.home-guide li.forward a:focus, ul.home-guide li.forward a:active { + color: #4c96f4; + background:transparent; +} + +/* main body attributes */ +p { + text-align: left; + line-height: 150%; + font-size: 1em; + padding:.75em 0; + margin: 0 auto; +} + +p a { + text-decoration: underline; +} + +p a:visited { + color: #3F2670; + background-color: transparent; +} +p a:active { + color: #A50707; + background-color: transparent; +} + +h1, h2, h3, h4, h5, h6 { + color: #4C566C; + clear: right; + font: 100% Helvetica, Arial, sans-serif; + font-weight: bold; + margin: 0; + padding: 0; +} +h2, h3, h4, h5, h6{ + padding-top: .5em; +} +h1 { + font-size: 160%; + color: #FFF; +} + + +h2 { + font-size: 150%; +} + +h3.input-form { + padding-top: .875em; +} +h3.browse-courses{ + font-size: 90%; + text-decoration: none; + clear: none; + display: inline; +} + +h3 a { + font-size: 100%; +} + +a:hover, a:visited, a:focus { + color: #4C96F4; + text-decoration: underline; + +} +/************************************************************************************************/ +/* Preferences tabs */ +/************************************************************************************************/ +.etabbed-list-container { + padding:0; + margin: 0; + width:70%; + clear: left; + height: 3em; +} + +.prefs_buttontab { + padding:0; + margin: 0; + white-space: nowrap; +} +.prefs_tab{ + padding:0.5em 0.3em 0; + margin: 0; + white-space: nowrap; + display: inline; +} + +.prefs_tab_selected{ + padding:0.7em 0.3em 0; + margin: 0; + margin: 0; + font-weight:bold; + text-align:center; + white-space: nowrap; + display: inline; +} + +/************************************************************************************************/ +/* link attributes */ +/************************************************************************************************/ +a:link, /*a:visited*/ a:focus { + color: #4C566C; + +} +.top-tool a:link, .top-tool a:focus{ + text-decoration: none; +} + +/* main submit button */ +.button { + background-color: #808080; + color: black; + text-align: center; + -webkit-border-radius:3px; + -moz-border-radius:3px; + border-radius: 3px; + padding-top: 0.313em; + padding-bottom: 0.313em; + +} +.button:focus { + border:1px solid #A50707; + background-color: #FFDAB9; +} +/* small submit button at top */ +.button2 { + font-family: Helvetica,sans-serif; + background-color: #E9F4F3; + +} +.button2:focus { + background-color: #E9F4F3; + border: #ACCFCC solid 1px; +} + +/* Editor box large */ +.editorlargebox { + font-family: Helvetica,sans-serif; + background-color: #E9F4F3; + margin-left:1em; + padding-left: .2em; + padding-right: .5em; + padding-top: .5em; + padding-bottom: .4em; + border: 1px #ACCFCC solid; +} + +/* edit content tabs */ +.buttontab { + background-color: #E6E6E6; + font-weight: 500; + border:0; + padding-left: .188em; + padding-right: .188em; + padding-top: .188em; + +} + +.tab { + color: black; + background-color: #E6E6E6; + border-top: 1px #B8AE9C solid; + border-left: 1px #B8AE9C solid; + border-right: 1px #B8AE9C solid; + text-decoration: none; + text-align: center; + font-weight: bold; + + +} +.buttontab selected { + font-family: Helvetica, Arial, Helvetica, sans-serif; + background-color: #6F7172; + font-weight: 600; + border:0; + padding-left: .188em; + padding-right: .188em; + padding-top: .188em; + +} +td.selected{ + font-family: Helvetica, Arial, Helvetica, sans-serif; + font-weight: 600; + text-decoration: none; + text-align: center; + background-color: white; + border-top: 1px #B8AE9C solid; + border-left: 1px #B8AE9C solid; + border-right: 1px #B8AE9C solid; +} + +.tab a:link, .etab a:visited { + color: #4C566C; + background-color: white; +} + +/* the side menu */ +td.dropdown-heading { + background-color: #DBFDD4; + color: #595241; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-top: 1px solid #ECFEEA; +} + +/* the side menu content */ +td.dropdown { + padding: 0.125em; + background-color: white; + color: black; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-bottom: 1px solid #ECFEEA; + font-weight: normal; +} +td.dropdown a, td.dropdown a:visited { + color: #4C566C; + text-decoration: none; +} +td.dropdown a:hover { + color: #595241; + text-decoration: underline; +} + +/* added for 1.4.2: */ +.results { + padding-left: 1.25em; +} + +h5.search-results { + padding: 0.063em; + margin-bottom: 0.313em; + margin-top: 1em; + padding-top: 3em; + margin-left: 0.313em; +} + +.test-box { + background-color: #F7F3ED; + color: #595241; + border-left: 1px solid #595241; + border-right: 1px solid #595241; + border-top: 1px solid #595241; + font-weight: bold; + padding: 0.125em; +} + +/*preferences*/ + +.input-form +table.tabbed-table { + width: 100%; + border:thin black solid; +} +table.tabbed-table th#left-empty-tab { + background-color: transparent; + width: 0.938em; + border-bottom: 1px solid #B8AE9C; +} +table.tabbed-table th#right-empty-tab { + text-align: right; + background-color: transparent; + border-bottom: 1px solid #B8AE9C; + width: 25em; + padding-right: 0.313em; +} +table.tabbed-table th#right-empty-tab a { + text-decoration: underline; +} +table.tabbed-table th.tab-spacer { + background-color: transparent; + width: 0.313em; + border-bottom: 1px solid #B8AE9C; +} + +table.tabbed-table th.tab { + padding-top: 0.125em; + padding-bottom: 0.125em; + width: 6.875em; + background-color: #E9F4F3; + border-bottom: 1px solid #B8AE9C; + border-left: 1px solid #B8AE9C; + border-top: 1px solid #B8AE9C; + border-right: 1px solid #B8AE9C; +} +table.tabbed-table th.tab:hover { + background-color: #ACCFCC; +} + +table.tabbed-table th.tab a:focus { + color: white; +} +table.tabbed-table th.selected { + padding-top: 0.125em; + padding-bottom: 0.125em; + width: 6.875em; + background-color: #ACCFCC; + border-left: 1px solid #B8AE9C; + border-top: 1px solid #B8AE9C; + border-right: 1px solid #B8AE9C; +} + +table.tabbed-table a, table.tabbed-table a:visited, table.tabbed-table a:hover { + color: #4C566C; + text-decoration: none; +} + + +.preference-buttons-container{ + background-color: red; + height: 2.5em; + width: 100%; + text-align: center; +} + +div.preference-buttons-container li{ + display: inline; + float: right; +} + +.prefs_tab_selected{ + font-style: italic; + width: 10%; +} +.prefs_tab{ + width: 10%; +} + +.etabbed-table{ + margin: 0 auto; +} +#previewText{ + font-family: monospace; + border: 2px solid rgb(0, 0, 0); + padding: 2em; + width: 80%; + color: rgb(255, 255, 255); + background-color: rgb(0, 0, 0); +} +#previewArea{; + padding: 0em; + border-bottom-width: 0; + margin-left: auto; + margin-right: auto; + font-weight: normal; + width: 70%; + float:left; + clear:right; +} +#display-settings-preview{ + width:90%; + height:20em; + margin: 0 auto; +} +#feedback{ + width: 90%; +} +#defaultfontsize-wrapper{ + width:90%; +} + +a#my-start-page { + padding: 0.125em; + padding-left: 0.938em; + background-repeat: no-repeat; + background-position: 0.125em 0.313em; +} + +a#back-to { + padding-left: 1.25em; + background-image: url(images/back.gif); + background-repeat: no-repeat; + background-position: 0 0; +} + +.breadcrumbs, .previous-next /*a#guide*/{ + /* The path bar, including breadcrumbs and add to favorites */ + clear:both; + font-size: 1em; + padding:0; + color: #4C566C; + background-color: white; + +} +#breadcrumbs-container{ + background-color: #4d4d4d; + position: relative; +} +.breadcrumbs{ + display:none; +} +h2.page-title { + + +} +#subnavlistbacktopage{ + float: left; +} + +h1 { + margin-bottom: 0.313em; + +} + + +div#help { + border-left: 1px solid black; + border-right: 1px solid black; + border-bottom: 1px solid black; + padding-left: 0.313em; + padding-right: 0.313em; + padding-bottom: 0.313em; + background-color: #F7F3ED; + margin-left: 0.313em; + margin-right: 0.313em; + font-size: small; +} + +h3#help-title { + margin-left: 0.313em; + margin-right: 0.313em; + border-left: 1px solid black; + border-right: 1px solid black; + padding: 0.063em; + background-color: #F7F3ED; +} +.line { + border-bottom: 1px solid black; +} +div#help p { + padding: 0; + margin: 0; +} + +div#toctoggle { + float: left; + padding-left: 0.625em; +} + + +/**********************************************************************/ +/*FOOTER*/ +/**********************************************************************/ +div#footer-links { + margin: 0 auto; + font-size: .938em; +} +#footer{ + height:2.3em; + background-color: #4b6b90; + margin-top: -2.3em; + position: relative; + clear: both; + +} + +ul.footer-links-tabs li a:hover, ul.footer-links-tabs li a:focus, ul.footer-links-tabs li a:active, +ul.footer-links-tabs li.back a:hover, ul.footer-links-tabs li.back a:focus, ul.footer-links-tabs li.back a:active, +ul.footer-links-tabs li.forward a:hover, ul.footer-links-tabs li.forward a:focus, ul.footer-links-tabs li.forward a:active { + color: #4c96f4; + background:transparent; +} +div#top-links a:link, div#top-links a:visited { + text-decoration:none; +} + +#jumpmenu:focus{ + background-color:#F6EAD6; +} +#jumpmenu{ + margin: 0 auto; +} + +a#editor-link { + background-color: #F7F3ED; + padding-top: 0.063em; + padding-bottom: 0.063em; + padding-left: 0.938em; + padding-right: 0.5em; + border: 1px solid #cccccc; + font-weight: normal; + text-decoration: none; +} + +a#editor-link:hover { + background-color: #F7F3ED; + border: 1px solid #B8AE9C; +} + +a#editor-link.off { + background-image: url(images/pen.gif); + background-repeat: no-repeat; + background-position: 0 0.125em; +} +a#editor-link.on { + background-image: url(images/pen2.gif); + background-repeat: no-repeat; + background-position: 0 0.125em; +} + + +/* for data tables */ +.table-surround { + border: #A9ADB0 1px solid; + border: #cccccc 1px solid; + -webkit-border-radius:5px; + -moz-border-radius:5px; + border-radius: 5px; + margin-top: 1em; + margin-bottom: 1em; + +} + +table.data { + margin:0; + width:100%; + padding: 0; + color: #4C566C; + font-size: .8em; + text-align: left; + background-color: transparent; +} +/* contains the headings */ +table.data th { + + padding: 0.188em; +} + +table.data th a { + color: #595241; + background-image: url('../default/images/sort.gif'); + background-repeat: no-repeat; + background-position: right; +} + + +/*headings text*/ +table.data tbody th { + text-align: left; + +} + +table.data td { + padding: 0.188em; + color: black; + font-size: .875em; + font-style: normal; +} +table.data td a:link, a:visited{ + /*color: black;*/ + color: #4C566C +} + +/*should table.data tbody tr:hover and table.data tbody tr.selected highlighting +be improved to sync with Mobile FSS highlighting */ +table.data tbody tr:hover { + background-color: #efefef; + cursor: pointer; +} + +table.data tbody tr.selected { + background-color: #E9F4F3; + cursor: auto; + border: 5px solid #E9F4F3; +} + +table.data tfoot { + background-color: #F7F3ED; +} + +table.data tfoot tr:first-child td { + padding: 0.313em; + background-image: url('images/arrow_ltr.gif'); + background-repeat: no-repeat; + background-position: .25em 0.313em; +} + +table.data.static tfoot td, table.data.static tfoot tr:first-child td { + padding: 0.313em; + background-image: none; + padding-left: 0; + +} +/* add borders to row in Required Information, Personal Information*/ +.row{ + padding:.375em 0; + font-size: 0.938em; +} +#last-row, .row-buttons, #last-row1, .row-blurb{ + border: none; +} +#browse-courses-table{ + font-size: .875em; +} + + +/*buttons*/ +table.data tfoot input { + background-color: #efefef; + font-weight: normal; +} +table.data tfoot input:focus { + background-color: #FFDAB9; +} + + +/* used for static tables with no form elements: */ +table.data.static tbody tr:hover { + background-color: transparent; + cursor: auto; +} + + + +/* course browser: */ + +div#browse { + margin-left: auto; + margin-right: auto; + width: 80%; +} + +div.browse-selected { + background-image: url('images/side_arrow.gif'); + background-repeat: no-repeat; + padding-left: 0.563em; + background-position: center left; +} + +div.browse-unselected { + padding-left: 0.563em; +} + +ul.browse-list { + list-style: none; + padding:0; +} + +/* feedback /errors */ +div#error { + width: 89%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #DD0000; + padding: 0.313em; + background-color: #F4DCDC; + color: #A50707; + background-color: #F4DCDC; + padding-left: 1.563em; + font-weight: bold; + -webkit-border-radius:5px; + -moz-border-radius:5px; + border-radius: 5px; +} +div#error h4 { + color: black; + margin-left: 0; +} + +div#error ul, div#feedback ul, div#help ul { + position: relative; + list-style: none; + margin-left: 0; + padding-left: 0; +} + +div#error ul li{ + margin-top: 0.313em; +} + +div#feedback, div#info { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.313em; + margin-bottom: 0.313em; + padding: 0.313em; + font-family: Helvetica, Arial, sans-serif; + -webkit-border-radius:5px; + -moz-border-radius:5px; + border-radius: 5px; + border: 1px solid #17B506; + background-color: #E7EFD0; + color: #3f4559; + font-size: 90%; + z-index: -1; +} +div#feedback li, div#info li, div#error li{ + color: #4C566C; + z-index: -1; +} + +div#help { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #ACCFCC; + padding: 0.313em; + background-color: #E9F4F3; + color: #024C41; +} + + +div#warning { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #FF8400; + padding: 0.313em; + background-color: #FFF6ED; + color: #D95900; + font-weight: bold; +} +acronym { + cursor: help; +} + +div.news p { + margin: 0; + padding:0; +} +div.news span.date { + font-family:Helevetica, Arial, sans-serif; + color: #4C566C; + font-size: .5em; +} + +.news{ + padding: 0; + margin-bottom: 1em; + margin-top: 1em; +} +/* home page links */ +div.home-link { + padding: 0.125em; + float: left; + text-align: center; + margin: 0.125em; + width: 7.5em; + height: 5.625em; +} +div.home-link:hover { + padding: 0.063em; + background-color: #F7F3ED; + border: 1px solid #afafaf; + float: left; + text-align: center; + margin: 0.125em; +} +div.home-link a { + text-decoration: none; + font-weight: bold; +} + +div.home-link img { + border: 0; +} + +/* sequence links */ +div#sequence-links { + +} +div#sequence-links a { + text-decoration: none; + display: block; +} + +.previous-next{ + display: block; +} +div.dropdown { + width: 12.5em; + padding: 0.125em; + background-color: white; + color: black; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-bottom: 1px solid #ECFEEA; + font-weight: normal; +} + +div.dropdown-heading { + background-color: #ACCFCC; + color: #595241; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-top: 1px solid #ECFEEA; + font-weight: bold; + padding: 0.125em; +} + +div.required { + font-weight: bold; + color: red; + font-size: large; + float: left; + position: relative; + margin-top: -0.313em; + height: 0.938em; + padding-right: 0.125em; +} + +div#content_text { + margin-left: 0.313em; +} + +#content{ + padding-top: .313em; + background-color: white; + z-index: 1000; +} +form { + display:inline; + max-width: 100%; +} + + +/* paging*/ +div.paging { + margin-top: 1em; + text-align: center; +} +div.paging ul { + list-style: none; + display: inline; + padding: 0; + max-width: 10%; + margin-bottom: 1em; +} +div.paging li { + display: inline; + padding-left: 0.125em; + padding-right: 0.125em; + padding-top: 0; + padding-bottom: 0; + width: 10%; +} + +div.paging li a { + text-decoration: none; + padding-left: 0.25em; + padding-right: 0.25em; + border-left: 1px solid white; + border-right: 1px solid white; +} + + +div.paging li a:hover, div.paging li a.current { + border: 1px solid #4c96f4; + color: white; + background-color: #4c96f4; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +#tl_corner{ + + background-image:url(images/tl_corner.gif); + background-position: top left; + background-repeat: no-repeat; + padding:0; +} + +div.tabs { + /* Navigational Plone Tabs(tm), implemented by customizing the a tag - they are surprisingly elegant. The power of CSS runs strong in these :) */ + background-color: transparent; + border-collapse: collapse; + border-bottom: 1px solid #B8AE9C; + padding: 0.5em 0em 0em 2em; + white-space: nowrap; +} + +div.tabs a { + /* The normal, unselected tabs. They are all links */ + background-color: transparent; + border-color: #B8AE9C; + border-width: 1px; + border-style: solid solid none solid; + color: #595241; + height: 1.2em; + margin-right: 0.5em; + padding: 0em 2em 0em; + +} + +div.tabs a.selected { + /* The selected tab. There's only one of this */ + background-color: white; + border-bottom: #B8AE9C 1px solid; + color: #595241; + font-weight: normal; +} + +div.tabs a:hover, div.tabs a.active { + background-color: #B8AE9C; + border-bottom: 1px solid #B8AE9C; + color: white; +} + +.headingbox a{ + color: #4C566C; +} +.headingbox a:link, .headingbox a:visited{ + text-decoration: none; +} +div.box { +} +h4.box { + background-color: #F5F5F5; + padding: .313em; +} +h4.box a { + display: block; + color: #4C566C; + background-color: #F5F5F5; + text-decoration: none; +} + + +div.box { + padding: 0.313em; + background-color: #F5F5F5; + color: black; + border: 1px solid #B8AE9C; + font-size:0.85em; + font-weight: normal; + padding:0.125em; +} + +h5.box { + background-color: #6F7172; + border: 1px solid #B8AE9C; + border-style: solid solid none solid; + color: Black; + padding: 0em 1em 0em 1em; + display: inline; + font-size: 1em; + height: 1em; +} + +div.box a:link { + text-decoration: none; +} + +div.box a:visited { + color: #2A6C28; + text-decoration: none; +} + +div.box a:hover { + text-decoration: underline; +} + +.boxDetails { + text-align: right; +} + +div.box .content { + padding: 1em; + font-size: 1em; +} + +div.box a.close { + float: right; + text-transform: none; + border-left: 1pt solid #B8AE9C; + padding: 0em 0.2em; +} + +div.box h1, +div.box h2, +div.box h3, +div.box h4 { + margin: 0; + padding: 0; +} + +div.box .even { + background-color: #F7F3ED; +} + +div.box .odd { + background-color: transparent; +} + + +/* users/index.php */ + +div.course { + position: relative; + width: 12.5em; + height: 10.5em; + border: rgb(204, 204, 204) 1px solid; + background-color: #F7F7F7; + float: left; + margin: 0.188em; + padding: 0.313em; +} + +div.course.break { + clear: left; +} + +div.course h2 { + border: 0; + font-weight: normal; + font-size: large; + +} + +div.course:hover { + background-color:#FBF4E9; + border: #B8AE9C 1px solid; +} + + +table.data .odd img.headicon{ + width: 2.469em; + height: 2.469em; + -webkit-border-radius:5px; + -moz-border-radius:5px; + border-radius: 5px; +} + +.icon{ + -webkit-border-radius:10px; + -moz-border-radius:10px; + border-radius: 10px; + border-color: white; + width: 2.5em; + height: 2.5em; + float: left; +} +div.course div.shortcuts { + text-align: right; + clear: left; + vertical-align: middle; + width: 12.5em; +} + +fieldset#shortcuts { + float: right; + background-color: #FEFDEF; + border: 1pt solid #B8AE9C; + margin: -5pt 5pt 5pt 5pt; + padding-right: 10pt; + padding-bottom: 5pt; + padding-left: 10pt; +} + +fieldset { + margin-bottom: 10pt; + -webkit-border-radius:5px; + moz-border-radius:5px; + border-radius:5px; + padding: 0 0.375em; + width: 90%; + margin: 0 auto; + width:95%; + margin:0 auto; + border:thin #6D7B8D solid; + border:thin #A9ADB0 solid; + margin-bottom: 1em; +} +#shortcuts ul { + position: relative; + margin-top: 0pt; + margin-bottom: 0pt; + margin-left: 0pt; + list-style-type: none; + padding-left: 0pt; +} + +/*a#guide,*/ a#my-courses-link { + background-color: #6D84A2; +} + +#guide img{ + border:none; +} + +#guide a:hover{ + +} + +div#content-test, div.content-from-module { + float: left; + margin-top: 2em; + margin-bottom: 2em; + padding-right: 5pt; + width: 80%; +} + +div#container { + text-align: left; + margin: 0 auto; + padding: 0; + border:0; + width: 95%; +} + +/* index page */ +ul#home-links, ul#home-detail-links { + list-style: none; +} + +/*my start page */ +#my_courses_container{ + text-align: left; + margin: 0 auto; + border:0; + min-width: 100%; +} +.my-courses-list{ + border: solid 1px #A9ADB0; + -webkit-border-radius:8px; + -moz-border-radius:8px; + border-radius:8px; + padding: .375em; + color: #4C566C; + margin-bottom: .375em; + margin-top: .375em; + padding: .375em; +} +.my-courses-list-ul{ + margin: 0 auto; + padding-left: 0; + width: 100%; +} +.my-courses-links{ + font-size: 80%; + padding-top: .75em; +} +.my-courses-resume{ + float: right; +} +.fl-link-summary{ + padding-left: 0.875em; + padding-bottom: 0.875em; + display: inline; +} + +.fl-theme-iphone [class*="fl-list"] > li .fl-link-summary{ + color: #4C566C; +} +.current_head{ + padding-top: .5em; +} + +.current_box{ + max-width: 100%; +} +.current_list{ + width: 95%; + padding: 0.375em; +} +.current_list li{ + list-style-type: none; + font-style: bold; + padding-bottom: .5em; + padding-left: .5em; + margin:0; +} +.current_list_date_time{ + font-size: 65%; +} +#show-all, #show-pages{ + text-align: center; + +} +/* enrollment tabs */ +#navlist { + padding: 0; + margin-left: 0; + margin-right: auto; + margin-left: auto; + margin-bottom: .25em; + margin-top: 0.938em; + white-space: nowrap; +} + +#navlist li { + list-style: none; + display: inline; + margin: 0; +} + +#navlist li a { + padding: 0.188em 0.563em; + border: 1px solid #F7F3ED; + border-bottom: none; + background-color: #F7F3ED; + text-decoration: none; + margin-left: .25em; + white-space: nowrap; +} + +#navlist li a:hover, #navlist li a:active { + color: #000; + background-color: #fff; +} + +/* tree */ +.img-size-tree { + vertical-align: middle; + margin-top: 0; + padding:0; + height:1.45em; + width:1.5em; +} +/* profile page */ +dl#public-profile dt { + float: left; + width: 90%; + border-right: 1px solid #F7F3ED; + padding: 0.313em 0.313em 0.313em 0; + + margin-right: 0.313em; +} +dl#public-profile dd { + margin: 0; +} + +div.social-right{ + margin-left:.5em; + margin-top: 1em; +} +div.social-left{ + margin-left:.5em; +} +h4.profile{ + float: left; +} +.social-wrapper h3{ + padding-top: .5em; +} +.my-contacts h3{ + padding-bottom: .375em; +} +img#profile{ + border: 1px #cccccc solid; + margin-left: 1em; +} +dd{ + margin: 0; +} + +/** forum stuff **/ +#forum-thread li {border:1px solid #eee; border-bottom: 1px solid #F7F3ED; float:left; width: 97%; list-style: none; } +#forum-thread li.even { background-color: #F7F3ED; border-top: none; } +#forum-thread li.odd { background-color: #fff; } +div.forum-post-author { float:left; width:19.375em; padding:0.5em 0.625em; } +div.forum-post-author a.title {font-size: 1.1em; line-height: 1.2em; font-weight: bold; text-decoration:none; } +div.forum-post-author img.profile-picture { border: 2px solid #F7F3ED; text-align:right;} +div.forum-post-content { margin-left: 19.375em; padding: 0.313em 0 1.125em 1.125em;} +div.forum-post-content h3 { font-weight: 500; float:left;clear:right; } +div.forum-post-ctrl { float: right; padding-right: 0.313em; color: #a1a1a1;} +div.forum-post-ctrl a { text-decoration: none; } +div.forum-post-ctrl span { color: black; background-color: #fefdc2; padding: 0.188em; } +div.forum-post-content p.date { color: #a1a1a1; border-bottom: 1px solid #F7F3ED; } +div.forum-post-content div.body p { margin-bottom:1em; } +div.forum-paginator{border:thin #cccccc solid; padding:.3em; width:95%;margin:auto;background-color:#F7F3ED;} +span.forum-paginator-active{font-weight:700;text-decoration:underline; height:2em;} + + + +/** inbox stuff - reuses some of the forum layout **/ +#inbox-msg li {border:1px solid #eee; border-bottom: 1px solid #F7F3ED; width: 95%; list-style: none; min-height: 11em;} + +/* tool list on admin home and manage screens */ + li.top-tool { + list-style: none; + padding: 0.125em 0.125em 0.125em 0.938em; + margin-bottom: 0.313em; + line-height: 200%; + border: solid 1px #A9ADB0; + -webkit-border-radius:5px; + -moz-border-radius:5px; + border-radius:5px; +} + +li.child-tool a { + font-size: x-small; + font-weight: normal; +} + +ul.child-top-tool { + margin-top: -0.313em; + padding-left: 0; + margin-left: 0; + display: inline; +} + +li.child-tool { + display: inline; + margin-right: 0.313em; + font-size: x-small; +} + + +/* browse courses */ +div.browse-course { + padding-bottom: 0.625em; +} + +dl.browse-course { + width: 90%; + padding-bottom: 0.625em; + background-color: #fffaf0; + margin:auto; + margin-left:1em; +} +dl.browse-course dt { + float: left; + font-weight: bold; + width: 25%; + text-align: right; + clear: left; + padding: 0.313em 0.625em 0.313em 0; + vertical-align: middle; + +} +dl.browse-course dd { + margin-bottom: 0.313em; + clear: right; + padding: 0.313em 0 0.313em 0.625em; + margin-left: 26%; + +} +.row .buttons{ + border: none; +} + +/* form fields grouping for WCAG 2.0 conformance*/ +fieldset.group_form{ + width:95%; + margin:0 auto; + margin-bottom: 1em; + border: 1px #6D7B8D solid; + -webkit-border-radius:5px; + -moz-border-radius:5px; + border-radius: 5px; + margin-top: .5em; +} + +legend.group_form{ + background-color:white; + font-weight: 600; + color: #4c566c; + padding:.5em; + border: 1px #6D7B8D solid; + -webkit-border-radius:5px; + -moz-border-radius:5px; + border-radius: 5px; +} + +/* highlight active links for WCAG 2.0 conformance */ +a:active:not(.subnavcontain a), +a:hover:not(.subnavcontain a), +a:focus:not(.subnavcontain a), +.buttontab-hover{ + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + +} + +/*Overrides above a:active, a:hover, a:focus so the "Navigation" button itself isn't highlighted when activated. +Ensure styling matches that in fl-tabs.*/ +.topnavlistcontainer a:hover, .topnavlistcontainer a:active, .topnavlistcontainer a:focus{ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); + +} + + +/*Added by Silvia */ +div.column_primary { + float: left; + width: 42%; + margin: 0.313em; + padding: 0; + min-width: 10.625em; +} + +div.column_equivalent{ + float: left; + width: 52%; + margin-left: 0.938em; + margin-top: 0.313em; + margin-right: 0.313em; + margin-bottom: 0.313em; + min-width: 10.625em; + padding: 0.313em; + border: 1px solid #EEE; + background-color: #FFF; +} + +div.resource_box{ + border: 1px solid #aaa; + width: 95%; + margin: 0.313em; + padding: 0.313em; + min-width: 9.375em; + background-color: #eee; +} + +h2.alternatives_to{ + margin-top: 0.75em; + font-size: 90%; + color: #A50707; +} + +div.alternative_box{ + border: 1px solid #ddd; + /*width: 90%;*/ + margin: 0.313em; + padding: 0.313em; + min-width: 9.375em; + background-color: #fff; +} + +div.alternative_box legend { + color: #000; +} + +div.resource_box legend { + color: #000; +} + +label.primary a{ + color: #A50707; + font-weight: bolder; + background-color: white; +} + +/* format of "table of contents" on content page */ +#toc a { display:block; margin:0.188em; } +#toc .h2, #toc .h3, #toc .h4, #toc .h5, #toc .h6{ + padding:0 0 0 0; +} + + +fieldset#toc { + background-color: #FEFDEF; + border: 1pt solid #B8AE9C; + width:89%; +} + +#side-menu{ + overflow:hidden; +} + +/* cleans up glossary question mark line spacing*/ +sup{ + border: 1pt solid #B8AE9C; + vertical-align:bottom; + margin-top: 1em; +} + +/* jQuery tooltip styles */ +#tooltip{ + position:absolute; + z-index:3000; + border:3px solid #111; + background-color:#eeeeee; + padding:0.313em; +} +#tooltip h3,#tooltip div{ + margin:0; +} + +/* style for home page modules "detail view" */ +div.home_box { + padding: .75em 0; + margin: 0 auto; +} + +.outside_box{ + background:#e0e0e0; + width: 17em; + margin: .375em; + padding: 0; + height:9.8em; +} + +.inside_box{ + width:100%; + margin:auto; + height:52%; + margin-bottom:.2em; + background:#eeeeee; + +} +.details_or{ + width:28.8em; + height:9.8em; + margin:0; + background-image:url(images/details_r.png); + background-position: top right; + background-repeat:no-repeat; +} +.details_ol{ + height:9.8em; + margin:0; + width:.45em; + background-image:url(images/details_l.png); + background-position: top left; + background-repeat:no-repeat; +} +.details_ir{ + width:.5em; + height:100%; + float:right; + background-image:url(images/details_ir.png); + background-position: top right; + background-repeat:no-repeat; +} +.details_il{ + height:100%; + float:left; + background-image:url(images/details_il.png); + background-position: top left; + background-repeat:no-repeat; +} +.home-title{ + font-size:12pt; +} +.buttonbox{ + float:right; +} +.details_text{ + margin-left:1em; +} +.draggable_selected { + background-color: lightgrey; + cursor: move; +} + +div.menuedit{ + float:right; + margin-top:-1.2em; + border:1px solid #cccccc; +} +li.folders { + list-style: disc url(../../images/folder.gif) outside; + font-family: Helvetica,sans-serif; + margin-bottom: 0; + margin-top: 0; + margin-right: 0; +} + +li.folders .disabled { + color: #B8AE9C; +} + +ul.folder{ + list-style-image:none; + list-style-position:outside; + list-style-type:none; + margin:0em; + padding:0em; +} + + +/* hiding/showing results-display */ + + +div#results-display{ + display: none; +} + +ul#topnavlist li { + padding: 0; + margin: 0; +} + +ul#topnavlist>li:hover, ul#topnavlist>li:hover a, ul#topnavlist>li:active, ul#topnavlist>li:active a, ul#topnavlist>li:focus, +ul#topnavlist>li:focus a { + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); +} + +ul#topnavlist li a { + color: #4C566C; + text-decoration: none; +} + + +div.toolcontainer{ + border: #cccccc 1px solid; + -webkit-border-radius:5px; + -moz-border-radius:5px; + border-radius: 5px; + margin-top: 1em; + margin-bottom: 1em; +} + +ul#subnavlist li a:hover, ul#subnavlist li a:focus, ul#subnavlist li a.active{ +} +#subnavlist{ + display: none; +} +ul#subnavlist li a, ul#subnavlist li a:visited { + color: #4C566C; +} + + +/* list attributes */ +ul { + list-style: none; +} +li { + color: black; + list-style: none; +} + +ol#tools>li:hover { + /*border: 1px solid #e0e0e0;*/ + background-color: #e6e6e6; + color: black; + + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + +} +ol#tools>li:hover a{ + color: white; +} + +#contentwrapper{ + +} +#content-contentwrapper{ + height:100%; + position:relative; + z-index:1000; + width:100%; + overflow:hidden; +} + +#leftcolumn{ + float: left; + width: 17em; + margin-left: 0.313em; + margin-top:-0.625em; +} + +#copyright{ + font-size: 0.5em; +} +#gototop{ + text-align: center; + color: #4B6B90; +} + +#tools{ + margin: 0 auto; + padding: 0; +} + + +/* ATutor Social Styles */ + +div .profile_container { + background-color:#eee; + border: 1px solid #8e8e8e; + width:80%; + padding:0.5em; + margin-bottom: 0.5em; +} + +div .profile_container .top_right { + float: right; +} + +dl.public-profile dd{ + margin-left:0; +} +dl.public-profile dt { + float: left; + font-weight: bold; + min-width:12em; +} + +/* Search form */ +div .search_form { + margin-bottom: 1em; +} + +div .search_form .row{ + background-color: #DEDEC0; + padding: 0.5em; +} +div .button { + background-color: #eee; + border: 1px solid #aaa; +} +div .button:hover{ + background-color: #cccccc; + color: #ffffff; +} + +/* Side menu */ + + +ul.social_side_menu { + padding-left: 2em; +} +ul.social_side_menu li { + padding-bottom: 0.2em; + list-style: circle; +} + +div .divider { + border-bottom:1px solid #C1C157; + padding-bottom:0.5em; + margin-bottom:0.5em; +} + +.activity{ + line-height:18pt; + font-size:.8em; +} + +div.contentbox, input-form{ + + padding:.5em; + background-color: #ffffff; + overflow:hidden; + border: #A9ADB0 solid 1px; + -webkit-border-radius: 5px; + -moz-border-radius:5px; + border-radius: 5px; +} + +div.suggestions{ + border:1px solid #a50707; + margin-left:0.625em; + width:50%; +} +li.inlinelist{ + display: inline; + padding-right: 1em; +} +ul.social_inline_menu{ + background-color: #eeeeee; + border:thin #cccccc solid; + padding:.5em; + width:90%; + margin:auto; +} +div.social-wrapper{ + width: 100%; +} + +div.logo{ +float:left; +clear:right; +margin-left:2em;} + +/*mobile FSS override */ +.fl-theme-iphone [class*="fl-list"]:not(.fl-list):not(.fl-grid) a:hover, +.fl-theme-iphone [class*="fl-list"]:not(.fl-list):not(.fl-grid) a:focus, +.fl-theme-iphone [class*="fl-list"]:not(.fl-list):not(.fl-grid) a:active { + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + +} +ul#subnavlist li a:focus, ul#subnavlist li a:active, ul#subnavlist li a:hover{ + color: white; +} + + + +/************************************************************************************************/ +/*Adds arrows to Fluid Tabs. Here is a good guide for creating triangles with CSS: +http://jonrohan.me/guide/css/creating-triangles-in-css/ */ +/************************************************************************************************/ +ul.sequence-links { +} + +ul.sequence-links li { + position:relative; + overflow:hidden; + list-style:none; +} + +ul.sequence-links li.back a:link, ul.sequence-links li.back a:visited { + display:block; + padding-left:0.438em; + color: #005689; +} + +ul.sequence-links li.forward a:link, ul.sequence-links li.forward a:visited { + display:block; + padding-right:0.313em; + color: #005689; +} +/*WCAG*/ +ul.sequence-links li a:hover, ul.sequence-links li a:focus, ul.sequence-links li a:active, +ul.sequence-links li.back a:hover, ul.sequence-links li.back a:focus, ul.sequence-links li.back a:active, +ul.sequence-links li.forward a:hover, ul.sequence-links li.forward a:focus, ul.sequence-links li.forward a:active { + color: #4c96f4; + background:transparent; +} + + +ul.sequence-links li:before, ul.sequence-links li:after, ul.sequence-links li a:before, ul.sequence-links li a:after { + content:""; + position:absolute; + top:50%; + /* left:0;*/ +} + +ul.sequence-links li a:before, ul.sequence-links li a:after { + margin:-0.5em 0 0; + } + +ul.sequence-links li a:hover:before, ul.sequence-links li a:focus:before, ul.sequence-links li a:active:before { + +} +/*arrow that points to the left, beside the "Previous" text */ +.arrow.back a:after {/*arrow pointing to the left*/ + background: none repeat scroll 0% 0% transparent; + border-color: transparent #005689; + + border-style: solid; + border-width: 5px 0pt 5px 6px; + left: 0.5em; + margin-top: -0.39em; +} + +/*left and right triangle icons change color*/ +.arrow a:hover:after, .arrow a:focus:after, .arrow a:active:after, .arrow.forward a:hover:after, .arrow.forward a:focus:after, .arrow.forward a:active:after{ + border-color: transparent #4c96f4; +} + +.arrow.back a:after { + border-width: 6px 6px 6px 0pt; + left: 0.188em; + top: 1.25em; +} + + +/*arrow that points to the right, beside the "Next" text */ +.arrow.forward a:after { + background: none repeat scroll 0% 0% transparent; + border-color: transparent #FFFFFF; + border-style: solid; + margin-top: -0.425em; + margin-top: -0.313em; + +} +.arrow.forward a:after { + /*top: 11px;*/ + background: none repeat scroll 0% 0% transparent; + border-color: transparent transparent transparent #005689; + border-width: 6px; + border-style: solid; + width:0; + height:0; + right: -0.313em; + top: 1.19em; +} + +#sequence-links{ + float: left; +} + + +#content{ + text-align: left; + width: 93.5%; + width: 99%; + border-left: #A9ADB0 1px solid; + border-right: #A9ADB0 1px solid; + border-bottom: #A9ADB0 1px solid; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + display: none; + position: relative; + top: 0em; + clear: left; + clear: right; + z-index: 1; +} + +/*hiding and showing content */ + +#results-hide-show-simple-content{ + -webkit-border-radius:5px; + -moz-border-radius:5px; + border-radius: 5px; + border: 1px #A9ADB0 solid; + padding-top: .6em; + padding-bottom: .6em; + padding-right: .2em; + padding-left: .6em; + margin-bottom: 0.875em; + margin-top: 0.875em; + color: #005689; + background-color: none; +} +#results-hide-show-link{ + color: white; + color: #005689; + text-decoration: none; + display: block; + font-weight: bold; +} + + +.content-expand{ + background-image:url("images/up.png"); + background-position: 100% 100%; + background-repeat: no-repeat; +} + +.content-closed{ + background-image:url("images/down.png"); + background-position: 100% 100%; + background-repeat: no-repeat; +} +#results-display{ + background-color: #F7F3ED; + -webkit-border-radius:8px; + -moz-border-radius:8px; + border-radius: 8px; + border: 1px #A9ADB0 solid; + padding: .313em; + +} +.hide-show-container-surround a:active, .hide-show-container-surround a:focus, .hide-show-container-surround a:hover{ + background-color: transparent; + +} +.subnavcontain2, .subnavcontain{ + margin: .313em 0; + background-color: white; + border: #A9ADB0 1px solid; + -webkit-border-radius:8px; + -moz-border-radius:8px; + border-radius: 8px; + width: 100%; + +} +/* .fl-theme-iphone .subnavcontain a:hover, .fl-theme-iphone .subnavcontain a:active, .fl-theme-iphone .subnavcontain a:focus*/ +.fl-theme-iphone .subnavcontain a { + text-decoration: none; + +} +.fl-theme-iphone .subnavcontain-active{ + color: white; + text-decoration: none; +} +.subnavcontain3{ + margin: .313em 0; + background-color: #4c96f4; + background-image: -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + border: #A9ADB0 1px solid; + -webkit-border-radius:8px; + -moz-border-radius:8px; + border-radius: 8px; + width: 100%; +} +#subnavlist-link{ + display: block; + +} +#page-title-back-to-page{ + display: inline-block; + width: 100%; +} + +.page-title, #back-to-page{ + float: left; +} + +.fl-theme-iphone #subnavlist-link a:active, +.fl-theme-iphone #subnavlist-link a:hover, +.fl-theme-iphone #subnavlist-link a:focus{ + background-color: none; +} +.fl-theme-iphone .subnavcontain{ + margin-top: 1em; + +} +.rectangle2{ + display: inline-block; + color: #005689; + font-weight: bold; + padding: .6em; + margin: -.1em; + border-right: #A9ADB0 1px solid; +} + +.rectangle2:last-child{ + border: none; +} +.rectangle2 a{ + color: #005689; + text-decoration: none; + font-weight: bold; +} +.rectangle{ + display: block; + color: #005689; + font-weight: bold; + padding: .313em; + margin: .313em 0; + +} +#content_link_phone a:active, #content_link_phone a:focus, #content_link_phone a:hover{ + color: #005689; + background-color: white; +} +/* style for "last modified" information of course content*/ +#content-info{ + padding-top: 1em; + font-size: 80%; +} +ul.my-courses-list-ul > li:hover{ + background-color: #4c96f4; + color: black; + color: #fff; +} +ul.my-courses-list-ul > li:hover a{ + color: white; + text-decoration: none; +} + +/* to be created as a separate desktop theme file. The classes below should be removed when +Mark McLaren's port of mobile fss to firefox is committed to infusion: +https://github.com/fluid-project/infusion/blob/25ad6755ef78347b414d60bd4037a0f197f9d09d/infusion-branch/src/webapp/framework/fss/css/fss-mobile-theme-firefox.css */ +.fl-tabs li:first-child { + border-bottom-left-radius: 5px; + border-top-left-radius: 5px; +} + +.fl-theme-iphone .fl-tabs li { + -moz-border-image: url("images/navbar_normal_button_insetShadow.png") 5 5 5 5 stretch; + background-color: #354D68; +} +[class*="fl-container"] [class*="fl-list"] > li:first-child, [class*="fl-container"] [class*="fl-list"] > li:first-child a { + border-top-left-radius: 8px; + border-top-right-radius: 8px; +} +[class*="fl-container"] [class*="fl-list"] > li:last-child, [class*="fl-container"] [class*="fl-list"] > li:last-child a { + border-bottom-left-radius: 8px; + border-bottom-right-radius: 8px; +} + +.fl-theme-iphone .fl-tabs .fl-tabs-active { + background-image: -moz-linear-gradient( + center top, + rgba(149, 184, 239,1), + rgba(35,109,229,1), + rgba(149, 184, 239,1) 50%, + rgba(75,148,244,1) 50% + ); +} + +/* A simulation for a:active on the device, requires JS */ +/* since .fl-list is for mixed material lists, dont include them in these effects */ +.fl-theme-iphone [class*=fl-list]:not(.fl-list):not(.fl-grid) a:active, +.fl-theme-iphone [class*=fl-list]:not(.fl-list):not(.fl-grid) a.fl-link-hilight { + background: url(../images/themes/iphone/listmenu_arrow.png) no-repeat right -25px, + -moz-linear-gradient(#4a94f4, #236de5); +} diff --git a/docs/themes/simplified-desktop/moz.css b/docs/themes/simplified-desktop/moz.css new file mode 100644 index 000000000..03531d6f0 --- /dev/null +++ b/docs/themes/simplified-desktop/moz.css @@ -0,0 +1,464 @@ +/* + * Contributed by Mark McLaren on the Infusion Users List + * http://fluidproject.org/pipermail/infusion-users/2010-April/000186.html + This should be deleted from mobile/when it is committed to mobile FSS. + */ + +.fl-icon { + -moz-border-radius: 5px; +} + +/*****************************************/ +/* */ +/* */ +/* fl-theme-android */ +/* */ +/* */ +/*****************************************/ + +.fl-theme-android h1, +.fl-theme-android h2, +.fl-theme-android h3 { + background: #999 -moz-linear-gradient( + center top, + #ccc, + #999) no-repeat top left; +} + +/***************************************/ +/* Navigation Bar */ + +.fl-theme-android .fl-navbar { + background-image: -moz-linear-gradient( + center top, + #666, + #333 50%, + #000 50%, + #000 + ); + -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.5); +} + +.fl-theme-android .fl-navbar .fl-button { + -moz-border-image:none; + background-image: -moz-linear-gradient( + center top, + #444, + #666 50%, + #333 50%, + #000 + ); +} +.fl-theme-android .fl-navbar [class*=fl-button]:active { + background-image: -moz-linear-gradient( + center top, + #ffb347, + #ff702f + ); +} + +.fl-theme-android .fl-navbar .fl-backButton { + -moz-border-image: url(../images/themes/android/navbar_back_button_insetShadow.png) 0 15 stretch; +} + +.fl-theme-android .fl-navbar .fl-button-inner { + -moz-border-image: url(../images/themes/android/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; +} + +/***************************************/ +/* general purpose gel buttons */ +/* effect is applied anywhere but the navbar, which has its own button look */ + +.fl-theme-android .fl-button { + -moz-border-image: url(../images/themes/android/button_bg_insetShadow.png) 10 stretch; + -moz-background-origin: border; + -moz-background-clip: border; +} +.fl-theme-android .fl-button-white { + background-image: -moz-linear-gradient( + center top, + rgba(240,240,240,0.25), + rgba(220,220,220,0.75), + rgba(240,240,240,1) 50%, + rgba(200,200,200,0.8) 50% + ); +} +.fl-theme-android .fl-button-black { + background-image: -moz-linear-gradient( + center top, + rgba(106,106,106,0.25), + rgba(00,00,00,0.75), + rgba(130,130,130,1) 50%, + rgba(75,75,75,0.8) 50% + ); +} +.fl-theme-android .fl-button-green { + background-image: -moz-linear-gradient( + center top, + rgba(120,190,130,0.2), + rgba(50,170,60,0.75), + rgba(120,190,130,1) 50%, + rgba(0,150,10,0.8) 50% + ); +} +.fl-theme-android .fl-button-blue { + background-image: -moz-linear-gradient( + center top, + rgba(149, 184, 239,0.2), + rgba(35,109,229,0.75), + rgba(149, 184, 239,1) 50%, + rgba(75,148,244,0.8) 50% + ); +} +/***************************************/ +/* tabs 1: small general purpose content dividers */ +.fl-theme-android .fl-tabs li { + background-image: -moz-linear-gradient( + center top, + #666, + #666 50%, + #000 50%, + #000 + ); + -moz-border-image: url(../images/themes/android/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -moz-border-left-image: none; + -moz-background-origin: border; + -moz-background-clip: border; +} + +.fl-theme-android .fl-tabs .fl-tabs-active { + background-image: -moz-linear-gradient( + center top, + #ff702f, + #ffb347 + ); +} + +/*************************************************/ +/* Ordered lists, Unordererd lists, Thumbnail lists, Icon lists, Definition lists */ +/*************************************************/ +/* Default list system setup */ + +.fl-theme-android [class*=fl-list] > li { + background: transparent -moz-radial-gradient(center 45deg, circle farthest-side, + #FFF 0%, + #000 100%) no-repeat bottom center;; + -moz-background-size: 100% 1px; +} + +/* A simulation for a:active on the device, requires JS */ +.fl-theme-android [class*=fl-list]:not(.fl-list):not(.fl-grid) a:active, +.fl-theme-android [class*=fl-list]:not(.fl-list):not(.fl-grid) a.fl-link-hilight { + background: -moz-linear-gradient( + center top, + #ffb347, + #ff702f); +} + +.fl-theme-android [class*=fl-list]:not(.fl-list) a.fl-link-loading { + background: url(../images/themes/android/listmenu_loader.gif) no-repeat 97% center, + -moz-linear-gradient( + center top, + #ffb347, + #ff702f); +} + +/***************************************/ +/* Grid overrides, removes nav coloring */ + +.fl-theme-android .fl-grid li a:active, +.fl-theme-android .fl-grid .fl-link-hilight { + background: -moz-linear-gradient( + center top, + #ffb347, #ff702f); +} + +/****************************/ +/* Collapsing and expanding panels */ + +.fl-theme-android .fl-container-autoHeading > *:first-child { + background: -moz-linear-gradient( + center top, + #CCC, #999); +} +.fl-theme-android .fl-container-autoHeading > *:first-child:focus { + background: -moz-linear-gradient( + center top, + #FFF, + #CCC); +} +.fl-theme-android .fl-container-autoHeading > :last-child { + background: transparent + -moz-radial-gradient(50% 0, circle, rgba(100,100,100,1) 0%, rgba(0,0,0,0) 100%); + ); +} + +/*****************************************/ +/* */ +/* */ +/* fl-theme-iphone */ +/* */ +/* */ +/*****************************************/ + +.fl-theme-iphone { + background: -moz-repeating-linear-gradient(top left 0deg, #c5ccd3, #c5ccd3 1px, #cfd5dd 10px, #c5ccd3 10px); +} + + +/***************************************/ +/* Navigation Bar */ + +.fl-theme-iphone .fl-navbar { + background-image: -moz-linear-gradient( + center top, + #B0BCCD, + #889BB3 50%, + #6D84A2 50%, + #6D84A2 + ) +} + +.fl-theme-iphone .fl-navbar .fl-button { + -moz-border-image:none; + background-image: -moz-linear-gradient( + center top, + #9aafca, + #6d8cb3 50%, + #4b6b90 50%, + #4b6b90 + ); +} + +.fl-theme-iphone .fl-navbar [class*=fl-button]:active { + background-image: -moz-linear-gradient( + center top, + rgba(149, 184, 239,1), + rgba(35,109,229,1), + rgba(149, 184, 239,1) 35%, + rgba(75,148,244,1) 50% + ); +} + +.fl-theme-iphone .fl-navbar .fl-backButton { + /* See mobile layout for details */ + -moz-border-image: url(../images/themes/iphone/navbar_back_button_insetShadow.png) 0 15 stretch; +} + +.fl-theme-iphone .fl-navbar .fl-button-inner { + -moz-border-image: url(../images/themes/iphone/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; +} + + +/***************************************/ +/* general purpose gel buttons */ +/* effect is applied anywhere but the navbar, which has its own button look */ + +.fl-theme-iphone .fl-button { + -moz-border-image: url(../images/themes/iphone/button_bg_insetShadow.png) 10 stretch stretch; + -moz-background-origin: border; + -moz-background-clip: border; +} +.fl-theme-iphone .fl-button-white { + background-image: -moz-linear-gradient(center top, + rgba(240,240,240,0.25), + rgba(220,220,220,0.75), + rgba(240,240,240,1), + rgba(200,200,200,0.8) + ); +} +.fl-theme-iphone .fl-button-black { + background-image: -moz-linear-gradient(center top, + rgba(106,106,106,0.25), + rgba(00,00,00,0.75), + rgba(130,130,130,1), + rgba(75,75,75,0.8) + ); +} +.fl-theme-iphone .fl-button-green { + background-image: -moz-linear-gradient(center top, + rgba(120,190,130,0.2), + rgba(50,170,60,0.75), + rgba(120,190,130,1), + rgba(0,150,10,0.8) + ); +} +.fl-theme-iphone .fl-button-blue { + background-image: -moz-linear-gradient(center top, + rgba(149, 184, 239,0.2), + rgba(35,109,229,0.75), + rgba(149, 184, 239,1), + rgba(75,148,244,0.8) + ); +} + +/***************************************/ +/* tabs 1: small general purpose content dividers */ + +.fl-theme-iphone .fl-tabs li { + background-image: -moz-linear-gradient( + center top, + #9aafca, + #4b6b90, + #6d8cb3 50%, + #4b6b90 50% + ); + -moz-border-image: url(../images/themes/iphone/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -moz-background-origin: border; + -moz-background-clip: border; +} + +.fl-theme-iphone .fl-tabs .fl-tabs-active { + background-image: -moz-linear-gradient( + center top, + rgba(149, 184, 239,1), + rgba(35,109,229,1), + rgba(149, 184, 239,1) 50%, + rgba(75,148,244,1) 50% + ); +} + +/* A simulation for a:active on the device, requires JS */ +/* since .fl-list is for mixed material lists, dont include them in these effects */ +.fl-theme-iphone [class*=fl-list]:not(.fl-list):not(.fl-grid) a:active, +.fl-theme-iphone [class*=fl-list]:not(.fl-list):not(.fl-grid) a.fl-link-hilight { + background: url(../images/themes/iphone/listmenu_arrow.png) no-repeat right -25px, + -moz-linear-gradient(#4a94f4, #236de5); +} + +.fl-theme-iphone [class*=fl-list]:not(.fl-list) a.fl-link-loading { + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -moz-linear-gradient(center top, #4a94f4, #236de5); +} + +/****************************/ +/* Collapsing and expanding panels */ +.fl-theme-iphone .fl-container-autoHeading > *:first-child { + background: -moz-linear-gradient(center top, #999, #000); +} +.fl-theme-iphone .fl-container-autoHeading > *:first-child:focus { + background: -moz-linear-gradient(center top, #FFF, #CCC); +} + + + +/*****************************************/ +/* */ +/* */ +/* Originates from fss-mobile-layout.css */ +/* */ +/* */ +/*****************************************/ + + + +/***************************************/ +/** + * Basic overrides for fss layout + */ + +.fl-icon { + -moz-border-radius: 5px; +} + +/***************************************/ +/* iPhone general purpose gel buttons */ +/* effect is applied anywhere but the navbar, which has its own button look */ + +.fl-button { + -moz-border-radius: 10px; +} + +.fl-navbar .fl-button-inner { + -moz-background-origin: border; + -moz-background-clip: border; +} + + +/*************************************************/ +/* Navigation Bar + */ +.fl-navbar [class*=fl-button] { + -moz-border-radius: 5px; +} + +.fl-navbar .fl-backButton { + -moz-border-radius: 0 5px 5px 0; + -moz-background-origin: border; + -moz-background-clip: border; +} + + + +/*************************************************/ +/* iPhone tabs: general purpose dividers, or fixed to the bottom of the screen + */ +/*************************************************/ + +.fl-tabs li:first-child { + -moz-border-radius-topleft:5px; + -moz-border-radius-bottomleft:5px; +} +.fl-tabs li:last-child { + -moz-border-radius-topright:5px; + -moz-border-radius-bottomright:5px; +} + +/*************************************************/ +/* Glossy icons (and thumbnails?) */ + +/* Glossiness for 30x30 icons */ +.fl-list-glossy > li a::before { + -moz-border-radius: 3px; +} + +/*************************************************/ +/* Content Panels */ +/*************************************************/ +[class*=fl-container] [class*=fl-list] > li:first-child, +[class*=fl-container] [class*=fl-list] > li:first-child a { + -moz-border-radius-topleft: 8px; + -moz-border-radius-topright: 8px; +} + +[class*=fl-container] [class*=fl-list] > li:last-child, +[class*=fl-container] [class*=fl-list] > li:last-child a { + -moz-border-radius-bottomleft:8px; + -moz-border-radius-bottomright:8px; +} + +[class*=fl-container] [class*=fl-list]:not(.fl-thumbnails-expanded) > li a .fl-icon { + -moz-border-radius-bottomleft:8px; + -moz-border-radius-topleft:8px; +} + +[class*=fl-container] .fl-list-thumbnails:not(.fl-thumbnails-expanded) > li, +[class*=fl-container] .fl-list-thumbnails:not(.fl-thumbnails-expanded) > li a { + -moz-border-radius: 8px; +} +/* Panel Auto Headings */ +/* The first element found becomes the "heading" */ +.fl-container-autoHeading > *:first-child { + -moz-border-radius-topleft: 8px; + -moz-border-radius-topright: 8px; +} +/* The last element found becomes the "content" - list or otherwise */ +.fl-container-autoHeading > *:last-child { + -moz-border-radius:0px; + -moz-border-radius-bottomleft:8px; + -moz-border-radius-bottomright:8px; +} +.fl-container-autoHeading [class*=fl-list] > li:first-child, +.fl-container-autoHeading [class*=fl-list] > li:first-child a { + -moz-border-radius:0; +} +.fl-container-autoHeading [class*=fl-list] > li:first-child:last-child, +.fl-container-autoHeading [class*=fl-list] > li:first-child:last-child a { + -moz-border-radius-bottomleft:8px; + -moz-border-radius-bottomright:8px; +} + +/* Collapsing and expanding panels */ +.fl-container-collapsable { + -moz-border-radius:8px; +} diff --git a/docs/themes/simplified-desktop/password_reminder.tmpl.php b/docs/themes/simplified-desktop/password_reminder.tmpl.php new file mode 100644 index 000000000..9979edb25 --- /dev/null +++ b/docs/themes/simplified-desktop/password_reminder.tmpl.php @@ -0,0 +1,28 @@ + + +
+ +
+
+
+ +
+ +
+ *
+ +
+ +
+ +
+
+
+
+ + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/print.css b/docs/themes/simplified-desktop/print.css new file mode 100644 index 000000000..c83c763cd --- /dev/null +++ b/docs/themes/simplified-desktop/print.css @@ -0,0 +1,13 @@ +body { + background-color: White; + font-family: Helvetica, arial, sans serif; + margin: 0px; + margin-top: 0px; + color: black; + border: 0px; +} + +div#side-menu, div#member-links, span#side-menushowlink, div#rightcolumn, div#suv-nav-logout, div#top-links, span#side-menuhidelink, div.sequence-links, select#jumpmenu, a#guide, div#gototop, input#jump-button, div#topnavlistcontainer, a#guide, div#breadcrumbs, div#jump-area, table.tabbed-table, div#sub-navigation, div#sequence-links, div#language, div#toc, fieldset#shortcuts { + display: none; +} + diff --git a/docs/themes/simplified-desktop/readme.txt b/docs/themes/simplified-desktop/readme.txt new file mode 100644 index 000000000..fac655a95 --- /dev/null +++ b/docs/themes/simplified-desktop/readme.txt @@ -0,0 +1,343 @@ +****************************************************************************************** +Theme: 1.6.4 Mobile Theme +Date: August 2011 +****************************************************************************************** + + +Installing: See section "Installing a New Theme" in the themes_readme.txt file located in the themes/ top directory. +Licence: Falls under the GPL agreement. See http://www.gnu.org/copyleft/gpl.html. + +============================================================================== +What's new: +============================================================================== + +/mobile.css +* style for android, iphone, & ipod rolled into one stylesheet +* improved subnavigation and in-course navigation + +/tablet.css +* new style for tablet devices, beginning with -webkit browsers +* generic CSS used to broaden browser support + +include/header.tmpl.php +* accessibility: increased support for ARIA roles that Safari recognizes. Note: ARIA roles create HTML validation errors. + +================================================================================== +Known Issues / More work needed +================================================================================== + +why isn't simplified-desktop in svn? + +Outstanding templates to be created: +* see "TEMPLATES - CREATED & OUTSTANDING" for a list of my progress & "Omitted from mobile/" for a list of work that needs to be done. + +Towards a simplified desktop theme: +* develop a desktop theme based on tablet.css (harder) +* develop a desktop theme based on mobile.css (easier) & do a final update to ensure generic CSS is used +** update to -moz rules +* erase commented out styles from mobile.css and tablet.css and re-order where necessary + +Simplify or remove this rule in mobile.css and tablet.css +* navigation-bar-button-content + +Tablet bug? +In Firefox, the "Home" and "Previous/Next" buttons are the wrong height. Test on the tablet +then see if it can be reproduced there before fixing. + +Aesthetic improvements, mobile: +* Resume, Previous, Next on mobile should highlight as a block (outstanding) +* on activation should highlight as a block (done-AUG27) +* the Subnavigation div should highlight as a block (done-AUG27) +* Instructor user: (done-AUG27) /docs/mods/_standard/statistics/course_stats.php - (template now includes graph) + + +* "0004796: Student user's Preferences template won't display" +** see: http://atutor.ca/atutor/mantis/view.php?id=4796 +** see: http://atutor.ca/atutor/mantis/view.php?id=4679 + + +Mobile FSS +* "Activation hightlighting is visible on the desktop but not the on the mobile device" +** see: http://issues.fluidproject.org/browse/FLUID-4313 +** both arrows and background color don't highlight. +** affects .fl-lists, including: +*** the "Navigation" menus on mobiles and tablets after a link is highlighted +*** docs/users/browse.php in mobile and tablets + +Mark McLaren's moz.css +https://github.com/fluid-project/infusion/commit/25ad6755ef78347b414d60bd4037a0f197f9d09d#diff-7 +================================================================================== +Omitted from mobile/ +================================================================================== +Administrator user: +*Patcher +*/docs/mods/_core/cats_categories/admin/course_categories.php +*/docs/mods/_core/enrolment/admin/privileges.php +*/docs/mods/_core/modules/install_modules.php +*/docs/mods/_core/languages/language_editor.php + +Instructor user: +*/docs/mods/_standard/assignments/add_assignment.php +*Course Tools +*/docs/mods/_core/enrolment/create_course_list.php +*/docs/mods/_core/enrolment/privileges.php +*mods/_core/file_manager/index.php +*file manager -- removed for mobile +*reading list +*groups +*gradebook +*glossary +** /docs/mods/_core/glossary/tools/index.php ** NOT DONE +** docs/mods/_core/glossary/tools/add.php ** DONE - August 31st +*patcher +*student tools + +=================================================================================================== +Accessibility notes, features, & validation issues +=================================================================================================== +*Newer versions of iPods, iPads, & iPhones have limited support for WAI-ARIA. I deployed the roles that were supported. +VoiceOver users can enable or disable speaking, for example, of various WAI-ARIA roles. Here is Apple's documentation: + http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariHTMLRef/Articles/AccessibilityRoles.html + +WCAG AA +I primarily used WCAG to guide the evolution of content generated from the header and footer. +Below are Success Criteria that apply to my work, and I have listed criteria that don't pass + or that may need more attention. Further Success Criteria apply to the LMS but would depend on, +for example, course content used. I checked for WCAG as a part of my AChecker workflow +(to WCAG AA) along with validating markup, and manually on the following capstone pages: +** + +Applicable Success Criteria +1.1.1 Non-text Content*** +1.3.1 Info and Relationships + Note: should fieldset/legends and onkeydown be added to these pages? + /docs/mods/_core/users/users.php + /docs/mods/_core/users/instructor_requests.php + /docs/mods/_core/users/master_list.php + /docs/mods/_core/users/admins/index.php + /docs/mods/_core/users/admins/log.php + /docs/mods/_core/courses/admin/courses.php + /docs/mods/_standard/forums/admin/forums.php + /docs/mods/_core/courses/admin/default_mods.php + /docs/mods/_core/modules/index.php + /docs/mods/_standard/rss_feeds/index.php + /docs/mods/_standard/announcements/index.php + /docs/mods/_standard/assignments/index_instructor.php + /docs/mods/_core/backups/index.php + /docs/mods/_standard/chat/manage/index.php + /docs/mods/_core/content/index.php + /docs/mods/_standard/tracker/tools/page_student_stats.php + /docs/mods/_standard/forums/index.php + /docs/mods/_standard/faq/index_instructor.php + /docs/mods/_standard/polls/tools/index.php + + +1.3.2 Meaningful Sequence +Mobile - passes, but Tablet - fails. Logged into a course as a student user, the DOM order should match the visual order. +I have listed this as an issue. + +1.3.3 Sensory Characteristics +1.4.3 Contrast (Minimum) +1.4.4 Resize text +-- Applies but unsure how to test using the zoom feature (i.e. to what proportion it magnifies to). +-- Increasing text size with finger gestures is disabled, but using Apple's zoom feature, text appears readable. + +2.1.1 Keyboard +**Mobile - passes, but Tablet - fails (Navigation button). I have listed this as an issue. +2.1.2 No Keyboard Trap +2.4.1 Bypass Blocks +**Note: This passes for both mobile & tablet because heading groupings are used at the beginning of content. +**Also, skip-links are working with VoiceOver now on tablet. +2.4.3 Focus Order +2.4.4 Link Purpose (In Context) +2.4.5 Multiple Ways +2.4.6 Headings and Labels +2.4.7 Focus Visible +3.1.1 Language of Page +3.2.1 On Focus +**Is this violated by the pop-up "guide" button in the mobile and tablet devices? + +3.2.3 Consistent Navigation +3.2.4 Consistent Identification +3.3.2 Labels or Instructions +3.3.3 Error Suggestion - already handled +4.1.1 Parsing, 4.1.2 Name, Role, Value + +============================================================================== +TEMPLATES - CREATED & OUTSTANDING +============================================================================== +ADMINISTRATORS: MOBILE ------------------------------------------------------- + +NOTE there are 4 errors in HTML validator due to using an ARIA role. + +[ADMIN-HOME] +1. /docs/admin/index.php - **** DONE / WCAG AA / Valid HTML +2. /docs/mods/_core/users/admins/my_edit.php **** DONE / WCAG AA / Valid HTML +3. /docs/mods/_core/users/admins/my_password.php **** DONE / WCAG AA / Valid HTML + +[USERS] +1. /docs/mods/_core/users/user_enrollment.php **** DONE / WCAG AA / Valid HTML +2. /docs/mods/_core/users/password_user.php **** DONE / WCAG AA / Valid HTML +3. /docs/mods/_core/users/create_user.php **** DONE / WCAG AA / Valid HTML +4. /docs/mods/_core/users/users.php **** DONE / WCAG AA / Valid HTML +5. /docs/mods/_core/users/instructor_requests.php **** DONE / WCAG AA / Valid HTML +6. /docs/mods/_core/users/master_list.php **** DONE / WCAG AA / Valid HTML (note: lacks fieldset, added onkeydown) +7. /docs/mods/_core/users/admin_email.php **** DONE / WCAG AA / Valid HTML +8. /docs/mods/_core/users/admins/index.php **** DONE / WCAG AA / Valid HTML (note: lacks fieldset, added onkeydown) +9. /docs/mods/_core/users/admins/edit.php **** DONE / WCAG AA / Valid HTML +10. /docs/mods/_core/users/admins/password.php **** DONE / WCAG AA / Valid HTML +11. /docs/mods/_core/users/admins/create.php **** DONE / WCAG AA / Valid HTML +12. /docs/mods/_core/users/admins/log.php **** DONE / WCAG AA / Valid HTML +13. /docs/mods/_core/users/admins/reset_log.php **** DONE / WCAG AA / Valid HTML +14. /docs/mods/_core/users/edit_user.php?id=4 **** DONE / WCAG AA / Valid HTML + +[COURSES] +1. /docs/mods/_core/courses/admin/courses.php **** DONE / WCAG AA / Valid HTML (note: lacks fieldset, added onkeydown) +2. /docs/mods/_core/properties/admin/edit_course.php *** DONE (Linearizes) +3. /docs/mods/_standard/forums/admin/forums.php ****DONE HTML (note: lacks fieldset, added onkeydown) +4. /docs/mods/_standard/forums/admin/forum_add.php **** DONE / WCAG AA / Valid HTML +5. /docs/mods/_standard/forums/admin/forum_edit.php **** DONE / WCAG AA / Valid HTML +6. /docs/mods/_core/courses/admin/create_course.php *** DONE (Linearizes) +7. /docs/mods/_core/enrolment/admin/index.php3 **** DONE / WCAG AA / Valid HTML +8. /docs/mods/_core/enrolment/admin/privileges.php **** NOT DONE NEEDS TEMPLATING +9. /docs/mods/_core/courses/admin/default_mods.php *** DONE / WCAG AA / Valid HTML - should not be a part of mobile. +10. /docs/mods/_core/courses/admin/default_side.php **** DONE / HELP WCAG / Valid HTML +11. /docs/mods/_standard/support_tools/scaffolds.php **** DONE / WCAG AA / Valid HTML +12. /docs/mods/_core/cats_categories/admin/create_category.php **** DONE /WCAG AA / Valid HTML +13. /docs/mods/_core/cats_categories/admin/course_categories.php **** NOT DONE NEEDS TEMPLATING (subcategories must display) + +[PATCHER] +DON'T INCLUDE IN MOBILE THEME. +http://localhost/GSoC2011/docs/mods/_standard/patcher/index_admin.php + + +[PHOTOS] +1. /docs/mods/_standard/photos/index_admin.php **** DONE / WCAG AA / Valid HTML +2. /docs/mods/_standard/photos/admin/preferences.php **** DONE / WCAG AA / Valid HTML + +[MODULES] +1. /docs/mods/_core/modules/index.php **** DONE / WCAG AA / Valid HTML (note: lacks fieldset, added onkeydown) - ? +2. /docs/mods/_core/modules/install_modules.php **** INSTALL MODULES SHOULD BE ENABLED FOR IPAD.CSS and NOT MOBILE -- TOO COMPLICATED +3. /docs/mods/_core/modules/details.php **** DONE / WCAG AA / Valid HTML *** won't text wrap. + +[SYSTEM PREFERENCES] +1. /docs/admin/config_edit.php **** DONE / WCAG AA / Valid HTML +2. /docs/mods/_core/languages/language_translate.php -- **** DONE, VALID WCAG, Valid HTML +3. /docs/mods/_core/languages/language_import.php -- **** DONE, WCAG AA, VALID HTML +4. /docs/mods/_core/languages/language.php -- **** DONE, VALID WCAG, HELP on HTML (CHANNEL BUG) *** valid HTML except for fieldset +5. /docs/mods/_core/languages/language_editor.php - **** NOT DONE NEEDS TEMPLATING +6. /docs/mods/_standard/rss_feeds/preview.php +7. /docs/mods/_standard/rss_feeds/edit_feed.php **** DONE / WCAG AA / Valid HTML +8. /docs/mods/_standard/rss_feeds/index.php **** DONE / WCAG AA / Valid HTML (note: lacks fieldset, added onkeydown) +9. /docs/mods/_standard/rss_feeds/add_feed.php **** DONE / WCAG AA / Valid HTML +10. /docs/mods/_standard/tile_search/admin/module_setup.php **** DONE / HELP WCAG / HELP HTML (CHANNEL BUG) +11. /docs/mods/_standard/google_search/admin/module_prefs.php **** DONE, VALID WCAG, HTML good (except for legacy tag) +12. /docs/mods/_standard/social/admin/delete_applications.php == already templated +13. /docs/mods/_standard/social/index_admin.php **** DONE / WCAG AA / Valid HTML +14. /docs/admin/cron_config.php **** DONE / WCAG AA / Valid HTML -- wrap bug. +15. /docs/admin/error_logging.php + +INSTRUCTORS: MOBILE ---------------------------------------------------------------------------------- + --- course home ***DONE + --- networking ***DONE + --- glossary ***DONE + --- mytracker ***DONE + --- index ***DONE + +[INBOX] +/docs/inbox/index.php **** DONE +/docs/inbox/sent_messages.php **** DONE +/docs/inbox/send_message.php **** DONE +/docs/inbox/export.php **** DONE + +[ANNOUNCEMENTS] +/docs/mods/_standard/announcements/index.php **** DONE +/docs/mods/_standard/announcements/add_news.php **** DONE +/docs/mods/_standard/announcements/edit_news.php **** DONE + +[ASSIGNMENTS] +/docs/mods/_standard/assignments/index_instructor.php **** DONE +NOT DONE: /docs/mods/_standard/assignments/add_assignment.php **** NOT DONE, remove for mobile? + +[BACKUPS] +/docs/mods/_core/backups/index.php **** DONE +/docs/mods/_core/backups/create.php **** DONE +/docs/mods/_core/backups/edit.php **** DONE +/docs/mods/_core/backups/upload.php **** DONE +/docs/mods/_core/backups/delete.php **** DONE + +[CHAT] +/docs/mods/_standard/chat/manage/index.php **** DONE +/docs/mods/_standard/chat/manage/start_transcript.php **** + +[CONTENT] +/docs/mods/_core/content/index.php **** DONE +/docs/mods/_core/editor/edit_content_folder.php?cid=240 **** DONE +/docs/mods/_standard/tracker/tools/page_student_stats.php **** DONE +/docs/mods/_standard/tracker/tools/index.php **** DONE +/docs/mods/_standard/tracker/tools/student_usage.php **** DONE +/docs/mods/_standard/tracker/tools/reset.php ***** DONE +/docs/mods/_core/editor/add_content.php **** NOT DONE, remove for mobile? +/docs/mods/_core/editor/edit_content.php? **** NOT DONE, remove for mobile? (link from /index.php should be removed) + +[COURSE EMAIL] +http://localhost/GSoC2011/docs/mods/_standard/course_email/course_email.php **** DONE + +[ENROLLMENT] +/docs/mods/_core/enrolment/export_course_list.php **** DONE +/docs/mods/_core/enrolment/import_course_list.php **** DONE +/docs/mods/_core/enrolment/create_course_list.php *** Remove for mobile +/docs/mods/_core/enrolment/index.php **** DONE +/docs/mods/_core/enrolment/privileges.php **** NOT DONE + + +[FORUMS] +/docs/mods/_standard/forums/edit_forum.php *** DONE +/docs/mods/_standard/forums/index.php *** DONE +/docs/mods/_standard/forums/add_forum.php *** DONE +/docs/mods/_standard/farchive/index_instructor.php *** DONE + + +[FAQ] +/docs/mods/_standard/faq/add_question.php *** DONE +/docs/mods/_standard/faq/index_instructor.php *** DONE +/docs/mods/_standard/faq/add_topic.php *** DONE *** DONE +/docs/mods/_standard/faq/edit_topic.php *** DONE *** DONE +/docs/mods/_standard/faq/edit_question.php *** DONE + + +[GLOSSARY] +/docs/mods/_core/glossary/tools/add.php +NOT DONE + +[GRADEBOOK] +NOT DONE + +[GROUPS] +/docs/mods/_core/groups/create.php +/docs/mods/_core/groups/create_automatic.php +/docs/mods/_core/groups/create_manual.php +NOT DONE: - /docs/mods/_core/groups/index.php + + +[POLLS] +/docs/mods/_standard/polls/tools/index.php *** DONE +/docs/mods/_standard/polls/tools/edit.php *** DONE +/docs/mods/_standard/polls/tools/add.php *** DONE + +[PROPERTIES] +http://localhost/GSoC2011/docs/mods/_core/properties/course_properties.php *** DONE + +[STUDENT TOOLS] +NOT DONE: /docs/mods/_standard/student_tools/instructor_index.php + +---------------------------------------------------------------------------------------- +TABLET TEMPLATE: STUDENT +*Note: there are 4 ARIA-errors! + +/docs/login.php - WCAG AA / Valid HTML +/docs/browse.php - WCAG AA / Valid HTML - 6 errors - ARIA-related +/docs/users/profile.php - WCAG AA / Valid HTML +/docs/users/preferences.php - WCAG AA / Valid HTML +/docs/users/index.php - WCAG AA / Problem with HTML validation, likely to do with the "Things Current" list +/docs/registration.php diff --git a/docs/themes/simplified-desktop/registration.tmpl.php b/docs/themes/simplified-desktop/registration.tmpl.php new file mode 100644 index 000000000..176806089 --- /dev/null +++ b/docs/themes/simplified-desktop/registration.tmpl.php @@ -0,0 +1,239 @@ + + + + + + +
"") $getvars = '?en_id='. $_REQUEST["en_id"]; echo $_SERVER['PHP_SELF'] . $getvars; ?>" name="form"> + + + + + + +
+
+ +

*

+ +
+

+
+ +
+ *
+
+
+ +
+ *
+
+
+ + + +

" . _AT('course_to_auto_enroll'). "

+ · " ._AT('auto_enroll_msg')." +
"; + + require(AT_INCLUDE_PATH.'html/auto_enroll_list_courses.inc.php'); + ?> + + +
+ *
+ + + + + +
+ ·
+ ·
+ +
+ + +
+ *
+
+ ·
+ ·
+
+ +
+ *
+ +
+ + + no_captcha): ?> +
+ * + + <?php echo _AT('audible_captcha'); ?>
+ <?php echo _AT('refresh_image'); ?> + +

+ + +
+
+
+ + +
+ *
+ + /> +
+ +
+ *
+ +
+ +
+ *
+ +
+ +
+
+ +
+ +
+ *
+ +
+ + + +
+ *
+ + /> + + /> + + + /> + + /> + + +
+ + +
+ getModule('_standard/profile_pictures'); + if (admin_authenticate(AT_ADMIN_PRIV_USERS, TRUE) && $_POST['member_id'] && $mod->isEnabled() === TRUE): ?> +
+
+ + + + + + +
+ + + + +
+
+
+
+
+ /> +
+ + + +
+
+ +
+ +
+
+ /> /> /> +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+
+ + +
+
+ + + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/rtl.css b/docs/themes/simplified-desktop/rtl.css new file mode 100644 index 000000000..4e06fdff8 --- /dev/null +++ b/docs/themes/simplified-desktop/rtl.css @@ -0,0 +1,16 @@ +/* for right to left languages */ +html, body { + direction: rtl; +} + +.img-size-tree { + vertical-align: middle; + margin-top: 0px; + height:1.45em; + width:1.45em; + float: right; +} + +div.box { + line-height:150%; +} \ No newline at end of file diff --git a/docs/themes/simplified-desktop/screenshot.gif b/docs/themes/simplified-desktop/screenshot.gif new file mode 100644 index 000000000..3b01840b8 Binary files /dev/null and b/docs/themes/simplified-desktop/screenshot.gif differ diff --git a/docs/themes/simplified-desktop/social/activities.tmpl.php b/docs/themes/simplified-desktop/social/activities.tmpl.php new file mode 100644 index 000000000..cee24c31f --- /dev/null +++ b/docs/themes/simplified-desktop/social/activities.tmpl.php @@ -0,0 +1,32 @@ + +
+
+

+ getVisitors(); + echo _AT('visitor_counts').': '.$count['total']; + ?> +
+ + +
+ activities)): ?> +
    + activities as $id=>$array): ?> +
  • + +
+ activities)==SOCIAL_FRIEND_ACTIVITIES_MAX): ?> + + + + + +

+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/admin/delete_applications.tmpl.php b/docs/themes/simplified-desktop/social/admin/delete_applications.tmpl.php new file mode 100644 index 000000000..fd6036877 --- /dev/null +++ b/docs/themes/simplified-desktop/social/admin/delete_applications.tmpl.php @@ -0,0 +1,42 @@ +
+
+

+
+ +all_apps)): ?> +all_apps as $id=>$app_obj): + //skip the ones that are installed already + if ($this->list_of_my_apps[$id]!=null){ + continue; + } + $author = ($app_obj->getAuthor()!='')?$app_obj->getAuthor():_AT('unknown'); +?> +
+
+ getAppLink($app_obj->getTitle(), $id); ?>
+ getAppLink('', $id); ?>
+ + getAuthorEmail()!=''): ?> + + + +
+ +
+ + +
+
+ getDescription(); ?>

+ getUrl(); ?>
+
+

+
+ + + + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/application_settings.tmpl.php b/docs/themes/simplified-desktop/social/application_settings.tmpl.php new file mode 100644 index 000000000..7c6ea39ff --- /dev/null +++ b/docs/themes/simplified-desktop/social/application_settings.tmpl.php @@ -0,0 +1,66 @@ +"; + ?> + + + + + + + +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/applications.tmpl.php b/docs/themes/simplified-desktop/social/applications.tmpl.php new file mode 100644 index 000000000..6f5bf97f2 --- /dev/null +++ b/docs/themes/simplified-desktop/social/applications.tmpl.php @@ -0,0 +1,108 @@ + + + + + +'; +} +?> + +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/basic_profile.tmpl.php b/docs/themes/simplified-desktop/social/basic_profile.tmpl.php new file mode 100644 index 000000000..76a04b8e9 --- /dev/null +++ b/docs/themes/simplified-desktop/social/basic_profile.tmpl.php @@ -0,0 +1,135 @@ + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/connections.tmpl.php b/docs/themes/simplified-desktop/social/connections.tmpl.php new file mode 100644 index 000000000..d3918bd0f --- /dev/null +++ b/docs/themes/simplified-desktop/social/connections.tmpl.php @@ -0,0 +1,109 @@ + +rand_key != ''){ + $last_search = $_POST['search_friends_'.$this->rand_key]; + } elseif(isset($_GET['search_friends'])) { + $last_search = htmlentities_utf8($_GET['search_friends']); + } else { + $last_search = html_entity_decode($_POST['search_friends_'.$rand]); + } + //take out double quotes until there is a way to escape XSS from the ajax script. + $last_search = preg_replace('/\"/', '', $last_search); +?> + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/edit_profile.tmpl.php b/docs/themes/simplified-desktop/social/edit_profile.tmpl.php new file mode 100644 index 000000000..5a3ee3d8c --- /dev/null +++ b/docs/themes/simplified-desktop/social/edit_profile.tmpl.php @@ -0,0 +1,166 @@ + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/edit_profile/account_settings.tmpl.php b/docs/themes/simplified-desktop/social/edit_profile/account_settings.tmpl.php new file mode 100644 index 000000000..7e16ea81b --- /dev/null +++ b/docs/themes/simplified-desktop/social/edit_profile/account_settings.tmpl.php @@ -0,0 +1,10 @@ +
+
+

+
+
+ + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/edit_profile/edit_additional.tmpl.php b/docs/themes/simplified-desktop/social/edit_profile/edit_additional.tmpl.php new file mode 100644 index 000000000..e954bb2f8 --- /dev/null +++ b/docs/themes/simplified-desktop/social/edit_profile/edit_additional.tmpl.php @@ -0,0 +1,29 @@ +title, 'input.text'); + $interests = AT_print($this->interests, 'input.text'); + $associations = AT_print($this->associations, 'input.text'); + $awards = AT_print($this->awards, 'input.text'); +?> +
+ +

+
+
+ +
+ +
+ + id)): ?> + + + + + + + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/edit_profile/edit_contact.tmpl.php b/docs/themes/simplified-desktop/social/edit_profile/edit_contact.tmpl.php new file mode 100644 index 000000000..cd6ad0336 --- /dev/null +++ b/docs/themes/simplified-desktop/social/edit_profile/edit_contact.tmpl.php @@ -0,0 +1,42 @@ +con_name); + $con_phone = htmlentities_utf8($this->con_phone); + $con_email = htmlentities_utf8($this->con_email); + $con_address = htmlentities_utf8($this->con_address); + +?> + +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/edit_profile/edit_education.tmpl.php b/docs/themes/simplified-desktop/social/edit_profile/edit_education.tmpl.php new file mode 100644 index 000000000..75ffcbc64 --- /dev/null +++ b/docs/themes/simplified-desktop/social/edit_profile/edit_education.tmpl.php @@ -0,0 +1,70 @@ +university); + $country = htmlentities_utf8($this->country); + $province = htmlentities_utf8($this->province); + $degree = htmlentities_utf8($this->degree); + $field = htmlentities_utf8($this->field); + $from = htmlentities_utf8($this->from); + $to = htmlentities_utf8($this->to); + $description = htmlentities_utf8($this->description, false); +?> + + +

+
+
+
+
+

+
+
+
+

+
+
+
+

+
+
+
+

+
+
+
+

+
+
+
+

+
+ <?php echo _AT('date'); ?>
+
+
+

+
+ <?php echo _AT('date'); ?>
+
+
+
+
+ + + + + + + + + + +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/edit_profile/edit_personal.tmpl.php b/docs/themes/simplified-desktop/social/edit_profile/edit_personal.tmpl.php new file mode 100644 index 000000000..4482652f7 --- /dev/null +++ b/docs/themes/simplified-desktop/social/edit_profile/edit_personal.tmpl.php @@ -0,0 +1,66 @@ +per_weight); + $per_height = htmlentities_utf8($this->per_height); + $per_hair = htmlentities_utf8($this->per_hair); + $per_eyes = htmlentities_utf8($this->per_eyes); + $per_ethnicity = htmlentities_utf8($this->per_ethnicity); + $per_languages = htmlentities_utf8($this->per_languages); + $per_disabilities = htmlentities_utf8($this->per_disabilities); + +?> + +

+
+
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+ + + + + + + + + + +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/edit_profile/edit_position.tmpl.php b/docs/themes/simplified-desktop/social/edit_profile/edit_position.tmpl.php new file mode 100644 index 000000000..c70b5c456 --- /dev/null +++ b/docs/themes/simplified-desktop/social/edit_profile/edit_position.tmpl.php @@ -0,0 +1,54 @@ +company); + $title = htmlentities_utf8($this->profile_title); + $description = htmlentities_utf8($this->description, false); + $from = htmlentities_utf8($this->from); + $to = htmlentities_utf8($this->to); +?> + + +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <?php echo _AT('date'); ?>
+
+
+
+
+ <?php echo _AT('date'); ?>
+
+
+
+
+ + + + + + + + + + +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/edit_profile/edit_representation.tmpl.php b/docs/themes/simplified-desktop/social/edit_profile/edit_representation.tmpl.php new file mode 100644 index 000000000..bc97d108b --- /dev/null +++ b/docs/themes/simplified-desktop/social/edit_profile/edit_representation.tmpl.php @@ -0,0 +1,49 @@ +rep_name); + $rep_title = htmlentities_utf8($this->rep_title); + $rep_phone = htmlentities_utf8($this->rep_phone); + $rep_email = htmlentities_utf8($this->rep_email); + $rep_address = htmlentities_utf8($this->rep_address); + +?> + +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + + + + + + + + + +
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/edit_profile/edit_websites.tmpl.php b/docs/themes/simplified-desktop/social/edit_profile/edit_websites.tmpl.php new file mode 100644 index 000000000..e604da6a9 --- /dev/null +++ b/docs/themes/simplified-desktop/social/edit_profile/edit_websites.tmpl.php @@ -0,0 +1,32 @@ +url); + $site_name = htmlentities_utf8($this->site_name); +?> +

+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + +
+
+ \ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/friend_list.tmpl.php b/docs/themes/simplified-desktop/social/friend_list.tmpl.php new file mode 100644 index 000000000..edb78d8c8 --- /dev/null +++ b/docs/themes/simplified-desktop/social/friend_list.tmpl.php @@ -0,0 +1,35 @@ +
+ +
+
+
+

+
+ friends)): ?> + friends as $id=>$m_obj): + if (is_array($m_obj) && $m_obj['added']!=1){ + //skip over members that are not "my" friends + continue; + } ?> +
+ +
+
+ +
+
+ +
+ + + +
+
diff --git a/docs/themes/simplified-desktop/social/index_public.tmpl.php b/docs/themes/simplified-desktop/social/index_public.tmpl.php new file mode 100644 index 000000000..da3172de2 --- /dev/null +++ b/docs/themes/simplified-desktop/social/index_public.tmpl.php @@ -0,0 +1,73 @@ + +rand_key != ''){ + $last_search = $_POST['search_friends_'.$this->rand_key]; + } else { + $last_search = $_POST['search_friends_'.$rand]; + } +?> +page, $this->num_pages, 'search_friends='.$this->search_field, 1); ?> + +
+
+

+
+ + + + + +
+
+
+
+
+

+
+ friends)): + $privacy_controller = new PrivacyController(); + echo "

"._AT('there_are_entries', sizeof($this->friends))."

"; + foreach ($this->friends as $id=>$person): + $privacy_obj = $privacy_controller->getPrivacyObject($id); +// debug($privacy_obj->getSearch(), 'search'.$id); + $relationship = $privacy_controller->getRelationship($id); + + if ((!isset($person['added']) || $person['added']!=1) && !PrivacyController::validatePrivacy(AT_SOCIAL_SEARCH_VISIBILITY, $relationship, $privacy_obj->getSearch())){ + //if this user doesn't want to be searched. + continue; + } + ?> +
+
+
+
+ getAddress(); + echo printSocialName($id) . '
'; + echo $profile['country'] . ' ' . $profile['province'] . '
'; + ?> +
+

+
+
+ +
+ +
+
+
+page, $this->num_pages, 'search_friends='.$this->search_field, 1); ?> diff --git a/docs/themes/simplified-desktop/social/individual_application.tmpl.php b/docs/themes/simplified-desktop/social/individual_application.tmpl.php new file mode 100644 index 000000000..54d64556c --- /dev/null +++ b/docs/themes/simplified-desktop/social/individual_application.tmpl.php @@ -0,0 +1,20 @@ + + + + + + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/notifications.tmpl.php b/docs/themes/simplified-desktop/social/notifications.tmpl.php new file mode 100644 index 000000000..719660637 --- /dev/null +++ b/docs/themes/simplified-desktop/social/notifications.tmpl.php @@ -0,0 +1,72 @@ +pending_requests)): +?> + +

+
+pending_requests as $id=>$r_obj): ?> +
+
+ <?php echo _AT('accept_request'); ?> <?php echo _AT('reject_request'); ?> +
+
    +
  • +
  • +
+

+ +

+ + +group_invitations)): ?> +

+group_invitations as $id=>$sender_ids): + $gobj = new SocialGroup($id); + $name = ''; + foreach($sender_ids as $index=>$sender_id){ + $name .= printSocialName($sender_id).', '; + } + $name = substr($name, 0, -2); +?> +
+
+ <?php echo _AT('accept_request'); ?> <?php echo _AT('reject_request'); ?> +
+
    +
  • getID()).'">'.$gobj->getName().''); ?>
  • +
+
+
+ + + +group_requests)): +?> + +

+
+group_requests as $id=>$senders): + $gobj = new SocialGroup($id); + foreach($senders as $index=>$sender_id): + $name = printSocialName($sender_id);?> +
+
+ <?php echo _AT('accept_request'); ?> <?php echo _AT('reject_request'); ?> +
+
    +
  • getID()).'">'.$gobj->getName().''); ?>
  • +
+
+ + + +

+ + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/oauth/authorize.tmpl.php b/docs/themes/simplified-desktop/social/oauth/authorize.tmpl.php new file mode 100644 index 000000000..ea700409e --- /dev/null +++ b/docs/themes/simplified-desktop/social/oauth/authorize.tmpl.php @@ -0,0 +1,15 @@ +
+

Grant access to your private information?

+ +
+
+ An application is requesting access to your information. You should + only approve this request if you trust the application. +
+ + + + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/oauth/footer.tmpl.php b/docs/themes/simplified-desktop/social/oauth/footer.tmpl.php new file mode 100644 index 000000000..5bb337465 --- /dev/null +++ b/docs/themes/simplified-desktop/social/oauth/footer.tmpl.php @@ -0,0 +1,10 @@ +
+ + + +
+ \ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/oauth/header.tmpl.php b/docs/themes/simplified-desktop/social/oauth/header.tmpl.php new file mode 100644 index 000000000..3aa0f384f --- /dev/null +++ b/docs/themes/simplified-desktop/social/oauth/header.tmpl.php @@ -0,0 +1,70 @@ + + + + + <?php echo SITE_NAME; ?> : <?php echo $this->page_title; ?> + + + + + + + + + +rtl_css; ?> +course_id) && $system_courses[$this->course_id]['rss']): ?> + + + + + + + + +custom_css; ?> + + + + +
+'; + else: + echo '
'; + endif; ?> +

section_title; ?> + course_id) && $this->course_id > 0) && ($_SESSION['enroll'] == AT_ENROLL_NO)) : ?> + - + +

+
+
diff --git a/docs/themes/simplified-desktop/social/profile_picture.html.php b/docs/themes/simplified-desktop/social/profile_picture.html.php new file mode 100644 index 000000000..f5126d2b2 --- /dev/null +++ b/docs/themes/simplified-desktop/social/profile_picture.html.php @@ -0,0 +1,216 @@ + 0 || $src_y > 0){ + imagecopyresized($thumbnail_img, $source, 0, 0, $src_x, $src_y, $dest_w, $dest_h, $src_w, $src_h); + } else { + imagecopyresampled($thumbnail_img, $source, $src_x, $src_y, 0, 0, $dest_w, $dest_h, $src_w, $src_h); + } + + if ($type == 'gif') { + imagegif($thumbnail_img, $dest); + } else if ($type == 'jpg') { + imagejpeg($thumbnail_img, $dest, 75); + } else { + imagepng($thumbnail_img, $dest, 7); + } +} + +// check if GD is installed +if (!extension_loaded('gd')) { + require(AT_INCLUDE_PATH.'header.inc.php'); + $msg->printInfos('FEATURE_NOT_AVAILABLE'); + require(AT_INCLUDE_PATH.'footer.inc.php'); + exit; +} + +// check if folder exists, if not, create it +if (!is_dir(AT_CONTENT_DIR.'/profile_pictures/profile')) { + mkdir(AT_CONTENT_DIR.'/profile_pictures/profile'); +} + +$gd_info = gd_info(); +$supported_images = array(); +if ($gd_info['GIF Create Support']) { + $supported_images[] = 'gif'; +} +if ($gd_info['JPG Support']) { + $supported_images[] = 'jpg'; +} +if ($gd_info['PNG Support']) { + $supported_images[] = 'png'; +} + +if (!$supported_images) { + require(AT_INCLUDE_PATH.'header.inc.php'); + $msg->printInfos('FEATURE_NOT_AVAILABLE'); + require(AT_INCLUDE_PATH.'footer.inc.php'); + exit; +} + +if (isset($_POST['cancel'])) { + $msg->addFeedback('CANCELLED'); + header('Location: '.$_SERVER['PHP_SELF'].'?member_id='.$member_id); + exit; +} else if (isset($_POST['submit'])) { + if (isset($_POST['delete']) && !$_FILES['file']['size']) { + profile_image_delete($member_id); + + $msg->addFeedback('PROFILE_UPDATED'); + + header('Location: '.$_SERVER['PHP_SELF'].'?member_id='.$member_id); + exit; + } else if ($_FILES['file']['error'] == UPLOAD_ERR_FORM_SIZE) { + $msg->addError(array('FILE_MAX_SIZE', $_config['prof_pic_max_file_size'] . ' ' . _AT('bytes'))); + header('Location: '.$_SERVER['PHP_SELF'].'?member_id='.$member_id); + exit; + } else if (!$_FILES['file']['size']) { + header('Location: '.$_SERVER['PHP_SELF'].'?member_id='.$member_id); + exit; + } + + // check if this is a supported file type + $filename = $stripslashes($_FILES['file']['name']); + $path_parts = pathinfo($filename); + $extension = strtolower($path_parts['extension']); + $image_attributes = getimagesize($_FILES['file']['tmp_name']); + + if ($extension == 'jpeg') { + $extension = 'jpg'; + } + + if (!in_array($extension, $supported_images)) { + $msg->addError(array('FILE_ILLEGAL', $extension)); + header('Location: '.$_SERVER['PHP_SELF'].'?member_id='.$member_id); + exit; + } else if ($image_attributes[2] > IMAGETYPE_PNG) { + $msg->addError(array('FILE_ILLEGAL', $extension)); + header('Location: '.$_SERVER['PHP_SELF'].'?member_id='.$member_id); + exit; + } + + // make sure under max file size + if ($_FILES['file']['size'] > $_config['prof_pic_max_file_size']) { + $msg->addError('FILE_MAX_SIZE'); + header('Location: '.$_SERVER['PHP_SELF'].'?member_id='.$member_id); + exit; + } + + // delete the old images (if any) + profile_image_delete($member_id); + + $new_filename = $member_id . '.' . $extension; + $original_img = AT_CONTENT_DIR.'profile_pictures/originals/'. $new_filename; + $profile_img = AT_CONTENT_DIR.'profile_pictures/profile/'. $new_filename; + $thumbnail_img = AT_CONTENT_DIR.'profile_pictures/thumbs/'. $new_filename; + + // save original + if (!move_uploaded_file($_FILES['file']['tmp_name'], $original_img)) { + $msg->addError('CANNOT_OVERWRITE_FILE'); + header('Location: '.$_SERVER['PHP_SELF'].'?member_id='.$member_id); + exit; + } + + // resize the original and save it at $thumbnail_file + $width = $image_attributes[0]; + $height = $image_attributes[1]; + + $thumbnail_fixed_height = 60; + $thumbnail_fixed_width = 60; + + if ($width > $height && $height > $thumbnail_fixed_height) { + $thumbnail_height= $thumbnail_fixed_height; + $thumbnail_width = intval($thumbnail_fixed_height * $width / $height); + resize_image($original_img, $thumbnail_img, $height, $width, $thumbnail_height, $thumbnail_width, $extension); + //cropping + resize_image($thumbnail_img, $thumbnail_img, $thumbnail_fixed_height, $thumbnail_fixed_width, $thumbnail_fixed_height, $thumbnail_fixed_width, $extension, ($thumbnail_width-$thumbnail_fixed_width)/2); + } else if ($width <= $height && $width>$thumbnail_fixed_width) { + $thumbnail_height = intval($thumbnail_fixed_width * $height / $width); + $thumbnail_width = $thumbnail_fixed_width; + resize_image($original_img, $thumbnail_img, $height, $width, $thumbnail_height, $thumbnail_width, $extension); + //cropping + resize_image($thumbnail_img, $thumbnail_img, $thumbnail_fixed_height, $thumbnail_fixed_width, $thumbnail_fixed_height, $thumbnail_fixed_width, $extension, 0, ($thumbnail_height-$thumbnail_fixed_height)/2); + } else { + // no resizing, just copy the image. + // it's too small to resize. + copy($original_img, $thumbnail_img); + } + + // resize the original and save it to profile + $profile_fixed_height = 320; + $profile_fixed_width = 240; + if ($width > $height && $height>$profile_fixed_height) { + $profile_width = intval($profile_fixed_height * $width / $height); + $profile_height = $profile_fixed_height; + resize_image($original_img, $profile_img, $height, $width, $profile_height, $profile_width, $extension); + //cropping + resize_image($profile_img, $profile_img, $profile_fixed_height, $profile_fixed_width, $profile_fixed_height, $profile_fixed_width, $extension, ($profile_width-$profile_fixed_width)/2); + } else if ($width <= $height && $width > $profile_fixed_width) { + $profile_width = $profile_fixed_width; + $profile_height = intval($profile_fixed_width * $height / $width); + resize_image($original_img, $profile_img, $height, $width, $profile_height, $profile_width, $extension); + //cropping + resize_image($profile_img, $profile_img, $profile_fixed_height, $profile_fixed_width, $profile_fixed_height, $profile_fixed_width, $extension, 0, ($profile_height-$profile_fixed_height)/2); + } else { + // no resizing, just copy the image. + // it's too small to resize. + copy($original_img, $profile_img); + } + + $msg->addFeedback('PROFILE_UPDATED'); + + header('Location: '.$_SERVER['PHP_SELF'].'?member_id='.$member_id); + exit; +} + +require(AT_INCLUDE_PATH.'header.inc.php'); + +?> + + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/settings/account_settings.tmpl.php b/docs/themes/simplified-desktop/social/settings/account_settings.tmpl.php new file mode 100644 index 000000000..7e16ea81b --- /dev/null +++ b/docs/themes/simplified-desktop/social/settings/account_settings.tmpl.php @@ -0,0 +1,10 @@ +
+
+

+
+
+ + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/settings/application_settings.tmpl.php b/docs/themes/simplified-desktop/social/settings/application_settings.tmpl.php new file mode 100644 index 000000000..a2f0b313c --- /dev/null +++ b/docs/themes/simplified-desktop/social/settings/application_settings.tmpl.php @@ -0,0 +1,27 @@ +my_apps)): + echo _AT('no_gadgets_installed'); +else: ?> +
+
+
+

+
+ my_apps as $id=>$app_obj): ?> +
+
getTitle(); ?>
+
+ + home_display[$id]))? $checked = ' checked="checked"': $checked = ''; ?> + /> +
+

+
+ +
+ + +
+
+
+ diff --git a/docs/themes/simplified-desktop/social/settings/privacy_settings.tmpl.php b/docs/themes/simplified-desktop/social/settings/privacy_settings.tmpl.php new file mode 100644 index 000000000..83082a17e --- /dev/null +++ b/docs/themes/simplified-desktop/social/settings/privacy_settings.tmpl.php @@ -0,0 +1,145 @@ +
+
+

+
+
+
+
+ +
+ controller->getPermissionLevels() as $control_id=>$control_string): + (isset($this->profile_prefs[AT_SOCIAL_PROFILE_BASIC][$control_id]))?$checked=' checked="checked"':$checked=''; ?> + + > + +
+
+
+ +
+ controller->getPermissionLevels() as $control_id=>$control_string): + (isset($this->profile_prefs[AT_SOCIAL_PROFILE_PROFILE][$control_id]))?$checked=' checked="checked"':$checked=''; ?> + + > + +
+
+
+ +
+ controller->getPermissionLevels() as $control_id=>$control_string): + (isset($this->profile_prefs[AT_SOCIAL_PROFILE_STATUS_UPDATE][$control_id]))?$checked=' checked="checked"':$checked=''; ?> + + > + +
+
+ +
+ +
+ controller->getPermissionLevels() as $control_id=>$control_string): + (isset($this->profile_prefs[AT_SOCIAL_PROFILE_CONNECTION][$control_id]))?$checked=' checked="checked"':$checked=''; ?> + + > + +
+
+
+ +
+ controller->getPermissionLevels() as $control_id=>$control_string): + (isset($this->profile_prefs[AT_SOCIAL_PROFILE_EDUCATION][$control_id]))?$checked=' checked="checked"':$checked=''; ?> + + > + +
+
+
+ +
+ controller->getPermissionLevels() as $control_id=>$control_string): + (isset($this->profile_prefs[AT_SOCIAL_PROFILE_POSITION][$control_id]))?$checked=' checked="checked"':$checked=''; ?> + + > + +
+
+
+ +
+
+ +
+ controller->getPermissionLevels() as $control_id=>$control_string): + (isset($this->search_prefs[AT_SOCIAL_SEARCH_VISIBILITY][$control_id]))?$checked=' checked="checked"':$checked=''; ?> + + > + +
+
+ +
+ + +
+ + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/settings/settings_menu.tmpl.php b/docs/themes/simplified-desktop/social/settings/settings_menu.tmpl.php new file mode 100644 index 000000000..117d2773d --- /dev/null +++ b/docs/themes/simplified-desktop/social/settings/settings_menu.tmpl.php @@ -0,0 +1,6 @@ + + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/sgroup_create.tmpl.php b/docs/themes/simplified-desktop/social/sgroup_create.tmpl.php new file mode 100644 index 000000000..b4766c8da --- /dev/null +++ b/docs/themes/simplified-desktop/social/sgroup_create.tmpl.php @@ -0,0 +1,38 @@ + + +
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/sgroup_edit.tmpl.php b/docs/themes/simplified-desktop/social/sgroup_edit.tmpl.php new file mode 100644 index 000000000..681dbf88e --- /dev/null +++ b/docs/themes/simplified-desktop/social/sgroup_edit.tmpl.php @@ -0,0 +1,93 @@ +group_obj)){ + //edit + $form_url = AT_SOCIAL_BASENAME.'groups/edit.php'; + $button_name = 'save'; + $name = $this->group_obj->getName(); + $logo = $this->group_obj->getLogo(); + $privacy = $this->group_obj->getPrivacy(); + $description = $this->group_obj->getDescription(false); + $id = $this->group_obj->getID(); +} else { + //create new one + $form_url = AT_SOCIAL_BASENAME.'groups/create.php'; + $button_name = 'create'; +} +?> + +
+
+
+ + +
+ + group_obj)): ?> +
+ + +
+ + +
+ + +
+ +
+ +
+ /> +
+ /> + +
+ +
+ + + +
+ +
+ + +
+ +
+ + + +
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/sgroup_invite.tmpl.php b/docs/themes/simplified-desktop/social/sgroup_invite.tmpl.php new file mode 100644 index 000000000..79c6c5d48 --- /dev/null +++ b/docs/themes/simplified-desktop/social/sgroup_invite.tmpl.php @@ -0,0 +1,46 @@ +group_obj); ?> +
+
+

+
+
    + group_obj->getGroupMembers() as $k=>$person_obj): ?> +
  • getID()); ?>
  • + +
+
+
+
+
+

+
+ +
+ $member_id): + if(in_array(new Member($member_id), $this->group_obj->getGroupMembers())){ + $extra = ' disabled="disabled"'; + } else { + $extra = ''; + } + + if(isset($_POST['new_members'][$member_id])){ + $extra .= ' checked="checked"'; + } + ?> + /> +
+ +
+ + +
+
+
+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/sgroup_list.tmpl.php b/docs/themes/simplified-desktop/social/sgroup_list.tmpl.php new file mode 100644 index 000000000..bed3e3901 --- /dev/null +++ b/docs/themes/simplified-desktop/social/sgroup_list.tmpl.php @@ -0,0 +1,61 @@ + +rand_key != ''){ + $last_search = $_POST['search_friends_'.$this->rand_key]; + } else { + $last_search = $_POST['search_friends_'.$rand]; + } +?> + +
+
+

+
+ + + + + +
+
+
+
+
+

+
+ grp_members)): + echo "

"._AT('there_are_entries', sizeof($this->grp_members))."

"; + foreach ($this->grp_members as $id=>$person_obj): + ?> +
+ grp_obj->getUser()): ?> +
<?php echo _AT('remove_group_member'); ?>
+ +
+
getID()); ?>
+
+ getDetails(); + echo printSocialName($person_obj->getID()) . '
'; + echo $profile['country'] . ' ' . $profile['province'] . '
'; + ?> +
+

+
+
+ +
+ +
+ diff --git a/docs/themes/simplified-desktop/social/sgroup_search.tmpl.php b/docs/themes/simplified-desktop/social/sgroup_search.tmpl.php new file mode 100644 index 000000000..4e09da9a8 --- /dev/null +++ b/docs/themes/simplified-desktop/social/sgroup_search.tmpl.php @@ -0,0 +1,42 @@ + + + diff --git a/docs/themes/simplified-desktop/social/sgroup_view.tmpl.php b/docs/themes/simplified-desktop/social/sgroup_view.tmpl.php new file mode 100644 index 000000000..9631e9905 --- /dev/null +++ b/docs/themes/simplified-desktop/social/sgroup_view.tmpl.php @@ -0,0 +1,135 @@ +printConfirm(); ?> +
+ + group_obj->group_members)): ?> + | | + + + group_obj->getUser() == $_SESSION['member_id']): ?> + | + | + + + | + + + + + | + + + + | + + +
+
+ group_obj->getGroupActivities() as $activity_id=>$activity_title){ + echo $activity_title; + } + ?> +
+
+ +group_obj->group_members)): ?> +
+
+

+
+
+ +
+ +

+ + + + +
+
+ group_obj->getMessages() as $id=>$message_array): ?> +
+ + group_obj->getUser()==$_SESSION['member_id']){ + echo ''._AT('remove').''; + } + ?> +

+
+ +
+
+ << + >> +
+
+
+
+ + +
+

+
+
group_obj->getLogo();?>
+
+
+
group_obj->getName();?>
+ +
+
group_obj->getGroupType();?>
+ +
+
group_obj->getPrivacy()?_AT('private'):_AT('public'))?>
+ +
+
group_obj->getUser());?>
+ +
+
group_obj->getCreatedDate(), AT_DATE_MYSQL_DATETIME);?>
+ +
+
group_obj->getLastUpdated(), AT_DATE_MYSQL_DATETIME);?>
+ +
+
group_obj->group_members);?>
+
+

+
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/sgroups.tmpl.php b/docs/themes/simplified-desktop/social/sgroups.tmpl.php new file mode 100644 index 000000000..80f35dd77 --- /dev/null +++ b/docs/themes/simplified-desktop/social/sgroups.tmpl.php @@ -0,0 +1,40 @@ + +rand_key != ''){ + $last_search = $_POST['search_groups_'.$this->rand_key]; + } else { + $last_search = $_POST['search_groups_'.$rand]; + } +?> + diff --git a/docs/themes/simplified-desktop/social/sprofile.tmpl.php b/docs/themes/simplified-desktop/social/sprofile.tmpl.php new file mode 100644 index 000000000..1940e2c8d --- /dev/null +++ b/docs/themes/simplified-desktop/social/sprofile.tmpl.php @@ -0,0 +1,320 @@ + + + + diff --git a/docs/themes/simplified-desktop/social/tiny_applications.tmpl.php b/docs/themes/simplified-desktop/social/tiny_applications.tmpl.php new file mode 100644 index 000000000..17472bb93 --- /dev/null +++ b/docs/themes/simplified-desktop/social/tiny_applications.tmpl.php @@ -0,0 +1,37 @@ + + + + + + +list_of_my_apps as $id=>$app_obj): +?> +
+
+
+ <?php echo _AT('delete'); ?> + + <?php echo _AT('settings');?> +
+

getAppLink($app_obj->getTitle(), $id); ?>

+
+
+ + +

+ \ No newline at end of file diff --git a/docs/themes/simplified-desktop/social/tiny_sgroups.tmpl.php b/docs/themes/simplified-desktop/social/tiny_sgroups.tmpl.php new file mode 100644 index 000000000..ec712db7c --- /dev/null +++ b/docs/themes/simplified-desktop/social/tiny_sgroups.tmpl.php @@ -0,0 +1,36 @@ +

+
+ my_groups as $i=>$grp): + $grp_obj = new SocialGroup($grp); + + ?> +
+ getUser() == $_SESSION['member_id']): ?> +
<?php echo _AT('settings'); ?>
+ + getUser() != $_SESSION['member_id']): ?> +
<?php echo _AT('delete'); ?>
+ + + + +
+
+ getLogo(); ?> + +
+
+

getName(); ?>


+ getGroupType();?>
+ getPrivacy()?_AT('private'):_AT('public'))?>
+ '. $grp_obj->getDescription();?>
+
+
+

+
+ + +
diff --git a/docs/themes/simplified-desktop/tablet.css b/docs/themes/simplified-desktop/tablet.css new file mode 100644 index 000000000..83667164e --- /dev/null +++ b/docs/themes/simplified-desktop/tablet.css @@ -0,0 +1,2463 @@ + +/************************************************************************************************/ +/* Style is optimized for tablets. Note that -webkit and -moz properties create errors in the CSS validator. +Relative units for sizes are used unless it is a border. Classes beginning with ".fl-" override Mobile FSS, +see the API @ http://wiki.fluidproject.org/display/fluid/Mobile+FSS+API */ +/************************************************************************************************/ + + +html, body{ + height: 100%; +} + +#main{ + overflow-x: visible; +} + +body,ul,li { + padding:0; + margin:0; + font-size: 18px;/*fix*/ +} + + +#header{ + width:100%; + line-height:1em; + padding-top: 158; + font-size:1.063em; + height: 3.2em; + background: #999; /*fallback*/ + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999), to(black)); + background: -moz-linear-gradient(#999, black); +} + + +.fl-theme-iphone .fl-navbar{ + border: none; + border-top: none; + +} + +.fl-navbar a{ + font-size: 0.969em; +} +.fl-navbar .fl-tabs{ + padding-top: .3em; + padding-bottom: .3em; + border-top: 1px solid black; + border-bottom: .5px solid black; + background-color: #4b6b90; + height: 2em; + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999), to(black)); + background: -moz-linear-gradient(#999, black); +} + +#navigation-contentwrapper{ + position: relative; + height: 2.5em; /*requires a height, do not remove */ + top: 1em; + +} + +#contentwrapper{ + margin-bottom: 3em; + padding: .313em; +} +#wrapper{ + width:100%; + overflow: auto; + min-height: 100%; + background-image: url(images/idi_background.png); + + + +} +#header-section-title { + width: 100%; + position: relative; + color: white; + font-size: 0.938em; + height: .3em; + +} + +#site-name, h1#section-title{ + width: 100%; + color: white; + text-shadow: none; + +} + +/************************************************************************************************/ +/* "Navigation" button, also this CSS creates a button that looks exactly like a Mobile FSS tab.*/ +/************************************************************************************************/ + + +.navigation-bar-button-content{ + border-width:5px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + font-size: 18px;/*keep this in px*/ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); + -webkit-border-image: url(images/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -moz-border-image: url(images/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -webkit-border-left-image: none; + -moz-border-left-image: none; + -webkit-background-origin: border; + -moz-background-origin: border; + -webkit-background-clip: border; + -moz-background-clip: border; +} + +.fl-theme-iphone .topnavlistcontainer .topnavlist-link {/*makes the navigation button link white*/ + color: white; + text-decoration: none; + font-weight: bold; +} + +.fl-theme-iphone .topnavlistcontainer .topnavlist-link-highlight{/*makes the navigation button link highlight*/ + color: #4c96f4; + text-decoration: none; + font-weight: bold; +} + +.fl-theme-iphone .fl-tabs li{ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); +} +/************************************************************************************************/ +/*fl-tabs for the "home" and "guide" and sequence links*/ +/************************************************************************************************/ +#home-guide{ + padding-top: 0; + margin-top: 0; + padding-right: .313em; + position: relative; + left: 0em; + float: left; + top: 0; +} + + +ul.home-guide li a:hover, ul.home-guide li a:focus, ul.home-guide li a:active, +ul.home-guide li.back a:hover, ul.home-guide li.back a:focus, ul.home-guide li.back a:active, +ul.home-guide li.forward a:hover, ul.home-guide li.forward a:focus, ul.home-guide li.forward a:active { + color: #4c96f4; + background:transparent; +} +/************************************************************************************************/ +/* main body attributes */ +/************************************************************************************************/ +p { + text-align: left; + line-height: 150%; + font-size: 1em; + padding:.75em 0; + margin: 0 auto; +} + +p a { + text-decoration: underline; +} + +p a:visited { + color: #005689; + color: #4c96f4; + background-color: transparent; +} +p a:active { + color: #005689; + color: #4c96f4; + background-color: transparent; +} + + +h1, h2, h3, h4, h5, h6 { + color: #4C566C; + clear: right; + font: 100% Helvetica, Arial, sans-serif; + font-weight: bold; + margin: 0; + padding: 0; +} + +h1 { + font-size: 160%; + color: #FFF; +} + +h2 { + font-size: 150%; +} +h2.page-title{ + padding-top: .313em; +} + + +#subnavbacktopage{ + padding: .313em; + float: left; + +} + +h3 { + padding: 0; +} +h3.browse-courses{ + font-size: 90%; + text-decoration: none; + clear: none; + display: inline; +} + + +h3 a { + font-size: 100%; +} +/************************************************************************************************/ +/* Highlighting outside of the header and footer */ +/************************************************************************************************/ +link highlighting -- add when the header and footer is done +.fl-theme-iphone a:not(.fl-tabs){ + color: #4c96f4; +} + +/************************************************************************************************/ +/* Preferences tabs */ +/************************************************************************************************/ +.etabbed-list-container { + padding:0; + margin: 0; + width:70%; + clear: left; + height: 3em; +} + +.prefs_buttontab { + padding:0; + margin: 0; + white-space: nowrap; +} +.prefs_tab{ + padding:0.5em 0.3em 0; + margin: 0; + white-space: nowrap; + display: inline; +} + +.prefs_tab_selected{ + padding:0.7em 0.3em 0; + margin: 0; + margin: 0; + font-weight:bold; + text-align:center; + white-space: nowrap; + display: inline; +} + +/************************************************************************************************/ +/* link attributes */ +/************************************************************************************************/ + +/* link attributes */ +a:link { + color: #4C96F4; + color: #005689; + text-decoration: underline; +} +a:hover, a:visited, a:focus { + color: #4C96F4; + text-decoration: underline; +} +.fl-list-menu a, .fl-list-menu a:visited{ /*may need to be removed when FLUID-4313 is fixed*/ + color: black; +} + +/* main submit button */ +.button { + background-color: #808080; + color: black; + text-align: center; + -webkit-border-radius:3px; + -moz-border-radius:3px; + border-radius: 3px; + padding-top: 0.313em; + padding-bottom: 0.313em; +} + + + +.button:focus { + border:1px solid #A50707; + background-color: #FFDAB9; +} +/* small submit button at top */ +.button2 { + font-family: Helvetica,sans-serif; + background-color: #E9F4F3; + +} +.button2:focus { + background-color: #E9F4F3; + border: #ACCFCC solid 1px; +} + +/* Editor box large */ +.editorlargebox { + font-family: Helvetica,sans-serif; + background-color: #E9F4F3; + margin-left:1em; + padding-left: .2em; + padding-right: .5em; + padding-top: .5em; + padding-bottom: .4em; + border: 1px #ACCFCC solid; +} + +/* edit content tabs */ +.buttontab { + background-color: #E6E6E6; + font-weight: 500; + border:0; + padding-left: .188em; + padding-right: .188em; + padding-top: .188em; + +} + +.tab { + color: black; + background-color: #E6E6E6; + border-top: 1px #B8AE9C solid; + border-left: 1px #B8AE9C solid; + border-right: 1px #B8AE9C solid; + text-decoration: none; + text-align: center; + font-weight: bold; + + +} +.buttontab selected { + font-family: Helvetica, Arial, Helvetica, sans-serif; + background-color: #6F7172; + font-weight: 600; + border:0; + padding-left: .188em; + padding-right: .188em; + padding-top: .188em; + +} +td.selected{ + font-family: Helvetica, Arial, Helvetica, sans-serif; + font-weight: 600; + text-decoration: none; + text-align: center; + background-color: white; + border-top: 1px #B8AE9C solid; + border-left: 1px #B8AE9C solid; + border-right: 1px #B8AE9C solid; +} + +.tab a:link, .etab a:visited { + color: #4C566C; + background-color: white; +} + +/* the side menu */ +td.dropdown-heading { + background-color: #DBFDD4; + color: #595241; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-top: 1px solid #ECFEEA; +} + +/* the side menu content */ +td.dropdown { + padding: 0.125em; + background-color: white; + color: black; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-bottom: 1px solid #ECFEEA; + font-weight: normal; +} +td.dropdown a, td.dropdown a:visited { + color: #4C566C; + text-decoration: none; +} +td.dropdown a:hover { + color: #595241; + text-decoration: underline; +} + +/* added for 1.4.2: */ +.results { + padding-left: 1.25em; +} + +h5.search-results { + padding: 0.063em; + margin-bottom: 0.313em; + margin-top: 1em; + padding-top: 3em; + margin-left: 0.313em; +} + +.test-box { + background-color: #F7F3ED; + color: #595241; + border-left: 1px solid #595241; + border-right: 1px solid #595241; + border-top: 1px solid #595241; + font-weight: bold; + padding: 0.125em; +} + +/*preferences*/ + +.input-form table.tabbed-table { + width: 100%; + border:thin black solid; +} +table.tabbed-table th#left-empty-tab { + background-color: transparent; + width: 0.938em; + border-bottom: 1px solid #B8AE9C; +} +table.tabbed-table th#right-empty-tab { + text-align: right; + background-color: transparent; + border-bottom: 1px solid #B8AE9C; + width: 25em; + padding-right: 0.313em; +} +table.tabbed-table th#right-empty-tab a { + text-decoration: underline; +} +table.tabbed-table th.tab-spacer { + background-color: transparent; + width: 0.313em; + border-bottom: 1px solid #B8AE9C; +} + +table.tabbed-table th.tab { + padding-top: 0.125em; + padding-bottom: 0.125em; + width: 6.875em; + background-color: #E9F4F3; + border-bottom: 1px solid #B8AE9C; + border-left: 1px solid #B8AE9C; + border-top: 1px solid #B8AE9C; + border-right: 1px solid #B8AE9C; +} +table.tabbed-table th.tab:hover { + background-color: #ACCFCC; +} + +table.tabbed-table th.tab a:focus { + color: white; +} +table.tabbed-table th.selected { + padding-top: 0.125em; + padding-bottom: 0.125em; + width: 6.875em; + background-color: #ACCFCC; + border-left: 1px solid #B8AE9C; + border-top: 1px solid #B8AE9C; + border-right: 1px solid #B8AE9C; +} + +table.tabbed-table a, table.tabbed-table a:visited, table.tabbed-table a:hover { + /* color: black;*/ + color: #4C566C; + text-decoration: none; +} + + +.preference-buttons-container{ + background-color: red; + height: 2.5em; + width: 100%; + text-align: center; +} + +div.preference-buttons-container li{ + display: inline; + float: right; +} + +.prefs_tab_selected{ + font-style: italic; + width: 10%; +} +.prefs_tab{ + width: 10%; +} + +.etabbed-table{ + margin: 0 auto; +} +#previewText{ + font-family: monospace; + border: 2px solid rgb(0, 0, 0); + padding: 2em; + width: 80%; + color: rgb(255, 255, 255); + background-color: rgb(0, 0, 0); +} +#previewArea{; + padding: 0em; + border-bottom-width: 0; + margin-left: auto; + margin-right: auto; + font-weight: normal; + width: 70%; + float:left; + clear:right; +} +#display-settings-preview{ + width:90%; + height:20em; + margin: 0 auto; +} +#feedback{ + width: 90%; +} +#defaultfontsize-wrapper{ + width:90%; +} + +/* end of preferences */ + +a#my-start-page { + padding: 0.125em; + padding-left: 0.938em; + background-repeat: no-repeat; + background-position: 0.125em 0.313em; +} + +a#back-to { + padding-left: 1.25em; + background-image: url(images/back.gif); + background-repeat: no-repeat; + background-position: 0 0; +} + + +#breadcrumbs-container{ + background-color: #4d4d4d; + position: relative; +} + +#breadcrumbs{ +font-size: 80%; + margin-top: .7em; +text-align: left; +} +h1 { + margin-bottom: 0.313em; +} + + +div#help { + border-left: 1px solid black; + border-right: 1px solid black; + border-bottom: 1px solid black; + padding-left: 0.313em; + padding-right: 0.313em; + padding-bottom: 0.313em; + background-color: #F7F3ED; + margin-left: 0.313em; + margin-right: 0.313em; + font-size: small; +} + +h3#help-title { + margin-left: 0.313em; + margin-right: 0.313em; + border-left: 1px solid black; + border-right: 1px solid black; + padding: 0.063em; + background-color: #F7F3ED; +} +.line { + border-bottom: 1px solid black; +} +div#help p { + padding: 0; + margin: 0; +} + +div#toctoggle { + float: left; + padding-left: 0.625em; +} + +h1#section-title { + font-size: 100%; + position: absolute; + top: 0em; + text-align: center; + white-space:nowrap; + display: inline; + +} + +/**********************************************************************/ +/*FOOTER*/ +/**********************************************************************/ + +#footer{ + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999), to(black)); + background: -moz-linear-gradient(#999, black); + height:2.3em; + margin-top: -2.3em; + position: relative; + clear: both; + +} +div#footer-links{ + margin: 0 auto; + font-size: .938em; +} + +ul.footer-links-tabs li a:hover, ul.footer-links-tabs li a:focus, ul.footer-links-tabs li a:active, +ul.footer-links-tabs li.back a:hover, ul.footer-links-tabs li.back a:focus, ul.footer-links-tabs li.back a:active, +ul.footer-links-tabs li.forward a:hover, ul.footer-links-tabs li.forward a:focus, ul.footer-links-tabs li.forward a:active { + color: #4c96f4; + background:transparent; +} + +div#footer-links a:link, div#footer-links a:visited { + text-decoration:none; +} + +#jumpmenu:focus{ + background-color:#F6EAD6; +} +#jumpmenu{ + margin: 0 auto; +} + +a#editor-link { + background-color: #F7F3ED; + padding-top: 0.063em; + padding-bottom: 0.063em; + padding-left: 0.938em; + padding-right: 0.5em; + border: 1px solid #cccccc; + font-weight: normal; + text-decoration: none; +} + +a#editor-link:hover { + background-color: #F7F3ED; + border: 1px solid #B8AE9C; +} + +a#editor-link.off { + background-image: url(images/pen.gif); + background-repeat: no-repeat; + background-position: 0 0.125em; +} +a#editor-link.on { + background-image: url(images/pen2.gif); + background-repeat: no-repeat; + background-position: 0 0.125em; +} + + +/* for data tables */ +.table-surround { + border: #A9ADB0 1px solid; + border: #cccccc 1px solid; + -webkit-border-radius:5px; + -moz-border-radius: 5px; + border-radius: 5px; + margin-top: 1em; + margin-bottom: 1em; + +} + +table.data { + margin:0; + width:100%; + padding: 0; + color: #4C566C; + font-size: .8em; + text-align: left; + background-color: transparent; +} +/* contains the headings */ +table.data th { + + padding: 0.188em; +} + +table.data th a { + color: #595241; + background-image: url('../default/images/sort.gif'); + background-repeat: no-repeat; + background-position: right; +} + +/*headings text*/ +table.data tbody th { + text-align: left; + +} + +table.data td { + padding: 0.188em; + color: black; + font-size: .875em; + font-style: normal; +} +table.data td a:link, a:visited{ + /*color: black;*/ + color: #4C566C +} + +/*should table.data tbody tr:hover and table.data tbody tr.selected highlighting +be improved to sync with Mobile FSS highlighting */ +table.data tbody tr:hover { + background-color: #efefef; + cursor: pointer; +} + +table.data tbody tr.selected { + background-color: #E9F4F3; + cursor: auto; + border: 5px solid #E9F4F3; +} + +table.data tfoot { + background-color: #F7F3ED; +} + +table.data tfoot tr:first-child td { + padding: 0.313em; + background-image: url('images/arrow_ltr.gif'); + background-repeat: no-repeat; + background-position: .25em 0.313em; +} + +table.data.static tfoot td, table.data.static tfoot tr:first-child td { + padding: 0.313em; + background-image: none; + padding-left: 0; + +} +/* add borders to row in Required Information, Personal Information*/ +.row{ + padding:.375em 0; + font-size: 0.938em; +} +#last-row, .row-buttons, #last-row1, .row-blurb{ + border: none; +} +#browse-courses-table{ + font-size: .875em; +} + + +/*buttons*/ +table.data tfoot input { + background-color: #efefef; + font-weight: normal; +} +table.data tfoot input:focus { + background-color: #FFDAB9; +} + + +/* used for static tables with no form elements: */ +table.data.static tbody tr:hover { + background-color: transparent; + cursor: auto; +} + +/* course browser: */ +div#browse { + margin-left: auto; + margin-right: auto; + width: 80%; +} + +div.browse-selected { + background-image: url('images/side_arrow.gif'); + background-repeat: no-repeat; + padding-left: 0.563em; + background-position: center left; +} + +div.browse-unselected { + padding-left: 0.563em; +} + +ul.browse-list { + list-style: none; + padding:0; +} + +/* feedback /errors */ +div#error { + width: 89%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #DD0000; + padding: 0.313em; + background-color: #F4DCDC; + color: #A50707; + background-color: #F4DCDC; + padding-left: 1.563em; + font-weight: bold; + -webkit-border-radius:5px; + -moz-border-radius: 5px; + -border-radius: 5px; +} +div#error h4 { + color: black; + margin-left: 0; +} + +div#error ul, div#feedback ul, div#help ul { + position: relative; + list-style: none; + margin-left: 0; + padding-left: 0; +} + +div#error ul li{ + margin-top: 0.313em; +} + +div#feedback, div#info { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.313em; + margin-bottom: 0.313em; + padding: 0.313em; + font-family: Helvetica, Arial, sans-serif; + -webkit-border-radius:5px; + -moz-border-radius: 5px; + border-radius: 5px; + border: 1px solid #17B506; + background-color: #E7EFD0; + color: #3f4559; + font-size: 90%; + z-index: -1; +} +div#feedback li, div#info li, div#error li{ + color: #4C566C; +} + +div#help { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #ACCFCC; + padding: 0.313em; + background-color: #E9F4F3; + color: #024C41; +} + +div#warning { + width: 95%; + margin-left: auto; + margin-right: auto; + margin-top: 0.938em; + margin-bottom: 0.938em; + border: 1px solid #FF8400; + padding: 0.313em; + background-color: #FFF6ED; + color: #D95900; + font-weight: bold; +} +acronym { + cursor: help; +} + +div.news p { + margin: 0; + padding:0; +} +div.news span.date { + font-family:Helevetica, Arial, sans-serif; + color: #4C566C; + font-size: .5em; +} + +.news{ + padding: 0; + margin-bottom: 1em; + margin-top: 1em; +} +/* home page links */ +div.home-link { + padding: 0.125em; + float: left; + text-align: center; + margin: 0.125em; + width: 7.5em; + height: 5.625em; +} +div.home-link:hover { + padding: 0.063em; + background-color: #F7F3ED; + border: 1px solid #afafaf; + float: left; + text-align: center; + margin: 0.125em; +} +div.home-link a { + text-decoration: none; + font-weight: bold; +} + +div.home-link img { + border: 0; +} + +div.dropdown { + width: 12.5em; + padding: 0.125em; + background-color: white; + color: black; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-bottom: 1px solid #ECFEEA; + font-weight: normal; +} + +div.dropdown-heading { + background-color: #ACCFCC; + color: #595241; + border-left: 1px solid #ECFEEA; + border-right: 1px solid #ECFEEA; + border-top: 1px solid #ECFEEA; + font-weight: bold; + padding: 0.125em; +} + +div.required { + font-weight: bold; + color: red; + font-size: large; + float: left; + position: relative; + margin-top: -0.313em; + height: 0.938em; + padding-right: 0.125em; +} + +div#content_text { + margin-left: 0.313em; +} + +#content, #content-tablet{ + padding-top: .313em; + z-index: 1000; + background-color: white; +} +form { + display:inline; + max-width: 100%; +} + +/* paging*/ +div.paging { + margin-top: 1em; + text-align: center; + + +} +div.paging ul { + list-style: none; + display: inline; + padding: 0; + max-width: 10%; + margin-bottom: 1em; +} +div.paging li { + display: inline; + padding-left: 0.125em; + padding-right: 0.125em; + padding-top: 0; + padding-bottom: 0; + width: 10%; +} + +div.paging li a { + text-decoration: none; + padding-left: 0.25em; + padding-right: 0.25em; + color: black; +} + +div.paging li a:hover, div.paging li a.current, #show-all a:active, #show-all a:focus, #show-all a:hover, +#show-pages a:active, #show-pages a:focus, #show-pages a:hover { + border: 1px solid #4c96f4; + color: white; + background-color: #4c96f4; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +#show-pages:active, #show-pages:focus, #show-pages:hover, #show-all:active, #show-all:focus, #show-all:hover{ + background-color: #4c96f4; +} + +#tl_corner{ + + background-image:url(images/tl_corner.gif); + background-position: top left; + background-repeat: no-repeat; + padding:0; +} + +div.tabs { + /* Navigational Plone Tabs(tm), implemented by customizing the a tag - they are surprisingly elegant. The power of CSS runs strong in these :) */ + background-color: transparent; + border-collapse: collapse; + border-bottom: 1px solid #B8AE9C; + padding: 0.5em 0em 0em 2em; + white-space: nowrap; +} + +div.tabs a { + /* The normal, unselected tabs. They are all links */ + background-color: transparent; + border-color: #B8AE9C; + border-width: 1px; + border-style: solid solid none solid; + color: #595241; + height: 1.2em; + margin-right: 0.5em; + padding: 0em 2em 0em; + +} + +div.tabs a.selected { + /* The selected tab. There's only one of this */ + background-color: white; + border-bottom: #B8AE9C 1px solid; + color: #595241; + font-weight: normal; +} + +div.tabs a:hover, div.tabs a.active { + background-color: #B8AE9C; + border-bottom: 1px solid #B8AE9C; + color: white; +} + +.headingbox a{ + color: #4C566C; +} +.headingbox a:link, .headingbox a:visited{ + text-decoration: none; +} +div.box { +} +h4.box { + background-color: #F5F5F5; + padding: .313em; +} +h4.box a { + display: block; + color: #4C566C; + background-color: #F5F5F5; + text-decoration: none; +} +div.box { + padding: 0.313em; + background-color: #F5F5F5; + color: black; + border: 1px solid #B8AE9C; + font-size:0.85em; + font-weight: normal; + padding:0.125em; +} + +h5.box { + background-color: #6F7172; + border: 1px solid #B8AE9C; + border-style: solid solid none solid; + color: Black; + padding: 0em 1em 0em 1em; + display: inline; + font-size: 1em; + height: 1em; +} + +div.box a:link { + text-decoration: none; +} + +div.box a:visited { + color: #2A6C28; + text-decoration: none; +} + +div.box a:hover { + text-decoration: underline; +} + +.boxDetails { + text-align: right; +} + +div.box .content { + padding: 1em; + font-size: 1em; +} + +div.box a.close { + float: right; + text-transform: none; + border-left: 1pt solid #B8AE9C; + padding: 0em 0.2em; +} + +div.box h1, div.box h2, div.box h3, div.box h4 { + margin: 0; + padding: 0; +} + +div.box .even { + background-color: #F7F3ED; +} + +div.box .odd { + background-color: transparent; +} + + +/* users/index.php */ +div.course { + position: relative; + width: 12.5em; + height: 10.5em; + border: rgb(204, 204, 204) 1px solid; + background-color: #F7F7F7; + float: left; + margin: 0.188em; + padding: 0.313em; +} + +div.course.break { + clear: left; +} + +div.course h2 { + border: 0; + font-weight: normal; + font-size: large; + +} + +div.course:hover { + background-color:#FBF4E9; + border: #B8AE9C 1px solid; +} + + +table.data .odd img.headicon{ + width: 2.469em; + height: 2.469em; + -webkit-border-radius:5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +.icon{ + -webkit-border-radius:10px; + -moz-border-radius: 10px; + border-radius: 10px; + border-color: white; + width: 2.5em; + height: 2.5em; + float: left; +} +div.course div.shortcuts { + text-align: right; + clear: left; + vertical-align: middle; + width: 12.5em; +} + +fieldset#shortcuts { + float: right; + background-color: #FEFDEF; + border: 1pt solid #B8AE9C; + margin: -5pt 5pt 5pt 5pt; + padding-right: 10pt; + padding-bottom: 5pt; + padding-left: 10pt; +} + +fieldset { + margin-bottom: 10pt; + -webkit-border-radius:5px; + -moz-border-radius: 5px; + border-radius: 5px; + padding: 0 0.375em; + width: 90%; + margin: 0 auto; + width:95%; + margin:0 auto; + border:thin #A9ADB0 solid; + margin-bottom: 1em; + +} +#shortcuts legend { +} +#shortcuts ul { + position: relative; + margin-top: 0pt; + margin-bottom: 0pt; + margin-left: 0pt; + list-style-type: none; + padding-left: 0pt; +} + +/*a#guide,*/ a#my-courses-link { + background-color: #6D84A2; +} + +#guide img{ + border:none; +} + +div#content-test, div.content-from-module { + float: left; + margin-top: 2em; + margin-bottom: 2em; + padding-right: 5pt; + width: 80%; +} + +div#container { + text-align: left; + margin: 0 auto; + padding: 0; + border:0; + width: 95%; +} + +/* index page */ +ul#home-links, ul#home-detail-links { + list-style: none; +} + +/*my start page */ +#my_courses_container{ + text-align: left; + margin: 0 auto; + border:0; + min-width: 100%; +} + +.my-courses-list{ + border: solid 1px #A9ADB0; + -webkit-border-radius:5px; + -moz-border-radius: 5px; + border-radius: 5px; + padding: .313em; + margin: .313em; + padding: .313em; + background-color: white; +} +.my-courses-list a{ + color: black; + text-decoration: none; + +} + +.my-courses-list-ul{ + margin: 0 auto; + padding-left: 0; + width: 100%; +} +.my-courses-links{ + font-size: 80%; + padding-top: .75em; +} +.my-courses-resume{ + float: right; +} +.fl-link-summary{ + padding-left: 0.875em; + padding-bottom: 0.875em; + display: inline; +} + +.fl-theme-iphone [class*="fl-list"] > li .fl-link-summary{ + color: #4C566C; +} +.current_head{ + padding-top: .5em; +} +.current_box{ + max-width: 100%; +} +.current_list{ + width: 95%; + padding: 0.375em; +} +.current_list li{ + list-style-type: none; + font-style: bold; + padding-bottom: .5em; + padding-left: .5em; + margin:0; +} +.current_list li a:active, .current_list li a:focus, .current_list li a:hover{ + color: white; + background-color: #4C96F4; +} + +.current_list_date_time{ + font-size: 65%; +} +#show-all, #show-pages{ + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + padding: .5em; + border: solid 1px #A9ADB0; + background-color: white; + + +} +#show-all{ + +} +#show-all a, #show-pages a{ + color: black; + padding-left: 0.25em; + padding-right: 0.25em; + text-decoration: none; + display: block; +} + +/* enrollment tabs */ +#navlist { + padding: 0; + margin-left: 0; + margin-right: auto; + margin-left: auto; + margin-bottom: .25em; + margin-top: 0.938em; + white-space: nowrap; +} + +#navlist li { + list-style: none; + display: inline; + margin: 0; +} + +#navlist li a { + padding: 0.188em 0.563em; + border: 1px solid #F7F3ED; + border-bottom: none; + background-color: #F7F3ED; + text-decoration: none; + margin-left: .25em; + white-space: nowrap; +} + +#navlist li a:hover, #navlist li a:active { + color: #000; + background-color: #fff; +} + +/* tree */ +.img-size-tree { + vertical-align: middle; + margin-top: 0; + padding:0; + height:1.45em; + width:1.5em; +} +/* profile page */ +dl#public-profile dt { + float: left; + width: 90%; + border-right: 1px solid #F7F3ED; + padding: 0.313em 0.313em 0.313em 0; + + margin-right: 0.313em; +} +dl#public-profile dd { + margin: 0; +} + +div.social-right{ + margin-left:.5em; + margin-top: 1em; +} +div.social-left{ + margin-left:.5em; +} +h4.profile{ + float: left; +} +.social-wrapper h3{ + padding-top: .5em; +} +.my-contacts h3{ + padding-bottom: .375em; +} +img#profile{ + border: 1px #cccccc solid; + margin-left: 1em; +} +dd{ + margin: 0; +} + +/** forum stuff **/ +#forum-thread li {border:1px solid #eee; border-bottom: 1px solid #F7F3ED; float:left; width: 97%; list-style: none; } +#forum-thread li.even { background-color: #F7F3ED; border-top: none; } +#forum-thread li.odd { background-color: #fff; } +div.forum-post-author { float:left; width:19.375em; padding:0.5em 0.625em; } +div.forum-post-author a.title {font-size: 1.1em; line-height: 1.2em; font-weight: bold; text-decoration:none; } +div.forum-post-author img.profile-picture { border: 2px solid #F7F3ED; text-align:right;} +div.forum-post-content { margin-left: 19.375em; padding: 0.313em 0 1.125em 1.125em;} +div.forum-post-content h3 { font-weight: 500; float:left;clear:right; } +div.forum-post-ctrl { float: right; padding-right: 0.313em; color: #a1a1a1;} +div.forum-post-ctrl a { text-decoration: none; } +div.forum-post-ctrl span { color: black; background-color: #fefdc2; padding: 0.188em; } +div.forum-post-content p.date { color: #a1a1a1; border-bottom: 1px solid #F7F3ED; } +div.forum-post-content div.body p { margin-bottom:1em; } +div.forum-paginator{border:thin #cccccc solid; padding:.3em; width:95%;margin:auto;background-color:#F7F3ED;} +span.forum-paginator-active{font-weight:700;text-decoration:underline; height:2em;} + + + +/** inbox stuff - reuses some of the forum layout **/ +#inbox-msg li {border:1px solid #eee; border-bottom: 1px solid #F7F3ED; width: 95%; list-style: none; min-height: 11em;} + +/* tool list on admin home and manage screens */ + li.top-tool { + list-style: none; + padding: 0.125em 0.125em 0.125em 0.938em; + margin-bottom: 0.313em; + line-height: 200%; + border: solid 1px #A9ADB0; + -webkit-border-radius:8px; + -moz-border-radius: 8px; + border-radius: 8px; + background: white; +} + +li.child-tool a { + font-size: x-small; + font-weight: normal; +} + +ul.child-top-tool { + margin-top: -0.313em; + padding-left: 0; + margin-left: 0; + display: inline; +} + +li.child-tool { + display: inline; + margin-right: 0.313em; + font-size: x-small; +} + + +/* browse courses */ +div.browse-course { + padding-bottom: 0.625em; +} + +dl.browse-course { + width: 90%; + padding-bottom: 0.625em; + background-color: #fffaf0; + margin:auto; + margin-left:1em; +} +dl.browse-course dt { + float: left; + font-weight: bold; + width: 25%; + text-align: right; + clear: left; + padding: 0.313em 0.625em 0.313em 0; + vertical-align: middle; + +} +dl.browse-course dd { + margin-bottom: 0.313em; + clear: right; + padding: 0.313em 0 0.313em 0.625em; + margin-left: 26%; + +} +.row .buttons{ + border: none; +} + +/* form fields grouping for WCAG 2.0 conformance*/ +fieldset.group_form{ + width:98%; + margin:0 auto; + color: #4C566C; + padding:.313em; + margin: .313em; + border: 1px #A9ADB0 solid; + background-color: white; +} + +legend.group_form{ + background-color:white; + font-weight: 600; + color: #4C566C; + padding:.313em; + margin: .313em; + border: 1px #4C566C solid; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; +} + +/*Overrides above a:active, a:hover, a:focus so the "Navigation" button itself isn't highlighted when activated. +Ensure styling matches that in fl-tabs.*/ +.topnavlistcontainer a:hover, .topnavlistcontainer a:active, .topnavlistcontainer a:focus{ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); +} + +/*Added by Silvia */ +div.column_primary { + float: left; + width: 42%; + margin: 0.313em; + padding: 0; + min-width: 10.625em; +} + +div.column_equivalent{ + float: left; + width: 52%; + margin-left: 0.938em; + margin-top: 0.313em; + margin-right: 0.313em; + margin-bottom: 0.313em; + min-width: 10.625em; + padding: 0.313em; + border: 1px solid #EEE; + background-color: #FFF; +} + +div.resource_box{ + border: 1px solid #aaa; + width: 95%; + margin: 0.313em; + padding: 0.313em; + min-width: 9.375em; + background-color: #eee; +} + +h2.alternatives_to{ + margin-top: 0.75em; + font-size: 90%; + color: #A50707; +} + +div.alternative_box{ + border: 1px solid #ddd; + margin: 0.313em; + padding: 0.313em; + min-width: 9.375em; + background-color: #fff; +} + +div.alternative_box legend { + color: #000; +} + +div.resource_box legend { + color: #000; +} + +label.primary a{ + color: #A50707; + font-weight: bolder; + background-color: white; +} + +/* format of "table of contents" on content page */ +#toc a { + display:block; + margin:0.188em; +} +#toc .h2, #toc .h3, #toc .h4, #toc .h5, #toc .h6{ + padding:0 0 0 0; +} + + +fieldset#toc { + background-color: #FEFDEF; + border: 1pt solid #B8AE9C; + width:89%; +} + +#side-menu{ + overflow:hidden; +} + +/* cleans up glossary question mark line spacing*/ +sup{ + border: 1pt solid #B8AE9C; + vertical-align:bottom; + margin-top: 1em; +} + +/* jQuery tooltip styles */ +#tooltip{ + position:absolute; + z-index:3000; + border:3px solid #111; + background-color:#eeeeee; + padding:0.313em; +} +#tooltip h3,#tooltip div{ + margin:0; +} + +/* style for home page modules "detail view" */ +div.home_box { + padding: .75em 0; + margin: 0 auto; +} + +.outside_box{ + background:#e0e0e0; + width: 17em; + margin: .375em; + padding: 0; + height:9.8em; +} + +.inside_box{ + width:100%; + margin:auto; + height:52%; + margin-bottom:.2em; + background:#eeeeee; + +} +.details_or{ + width:28.8em; + height:9.8em; + margin:0; + background-image:url(images/details_r.png); + background-position: top right; + background-repeat:no-repeat; +} +.details_ol{ + height:9.8em; + margin:0; + width:.45em; + background-image:url(images/details_l.png); + background-position: top left; + background-repeat:no-repeat; +} +.details_ir{ + width:.5em; + height:100%; + float:right; + background-image:url(images/details_ir.png); + background-position: top right; + background-repeat:no-repeat; +} +.details_il{ + height:100%; + float:left; + background-image:url(images/details_il.png); + background-position: top left; + background-repeat:no-repeat; +} +.home-title{ + font-size:12pt; +} +.buttonbox{ + float:right; +} +.details_text{ + margin-left:1em; +} +.draggable_selected { + background-color: lightgrey; + cursor: move; +} + +div.menuedit{ + float:right; + margin-top:-1.2em; + border:1px solid #cccccc; +} +li.folders { + list-style: disc url(../../images/folder.gif) outside; + font-family: Helvetica,sans-serif; + margin-bottom: 0; + margin-top: 0; + margin-right: 0; +} + +li.folders .disabled { + color: #B8AE9C; +} + +ul.folder{ + list-style-image:none; + list-style-position:outside; + list-style-type:none; + margin:0em; + padding:0em; +} + +#topnavlist-tablet{ + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + border: black; + background: black; + z-index: 1000; + padding-bottom: 0; + margin-bottom: 0; +} + +ul#topnavlist-tablet li { + color: white; +} + +ul#topnavlist-tablet>li:hover, ul#topnavlist-tablet>li:hover a, ul#topnavlist-tablet>li:active, +ul#topnavlist-tablet>li:active a, ul#topnavlist-tablet>li:focus, ul#topnavlist-tablet>li:focus a { + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, -moz-linear-gradient(#4a94f4, #236de5); +} + +ul#topnavlist-tablet li a { + text-decoration: none; +} + +.flc-screenNavigator-backButton .fl-link-hilight{ + display: none; +} + +div.toolcontainer{ + border: #cccccc 1px solid; + -webkit-border-radius:5px; + -moz-border-radius: 5px; + border-radius: 5px; + margin-top: 1em; + margin-bottom: 1em; +} + + + + + +/* list attributes */ +ul { + list-style: none; +} +li { + color: black; + list-style: none; +} + +ol#tools>li:hover, ol#tools>li:hover a { + /*border: 1px solid #e0e0e0;*/ + background-color: #e6e6e6; + color: black; + + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -moz-linear-gradient(#4a94f4, #236de5); +} + +[class*="fl-container"]:not(.fl-navbar){ + margin: 0; + margin-left: .313em; + margin-right: .313em; + padding: 0; +} +div#navigation-column{ + + width: 50%; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + z-index: 1000; + position: absolute; + top: 2em; + background: black; + padding-right: .2em; + padding-left: .2em; + padding-top: .2em; + padding-bottom: .2em; + display: none; +} +div#contentcolumn{ + padding-top: .313em; + margin-top: .313em; + padding: .313em; + margin-bottom: 1em; + position: absolute; + top: .7em; + top: 1.2em; + top: 2em; +} +#content-text{ + position: relative; + top: .7em; +} + + + + +#content-contentwrapper{ + height:100%; + position:relative; + z-index:1000; + width:100%; + overflow:hidden; + +} + +#leftcolumn{ + float: left; + width: 17em; + margin-left: 0.313em; + margin-top:-0.625em; +} + +#copyright{ + font-size: 0.5em; +} +#gototop{ + text-align: center; + color: #4B6B90; +} + +#tools{ + margin: 0 auto; + padding: 0.313em; + +} + + +/* ATutor Social Styles */ +div .profile_container { + background-color:#eee; + border: 1px solid #8e8e8e; + width:80%; + padding:0.5em; + margin-bottom: 0.5em; +} + +div .profile_container .top_right { + float: right; +} + +dl.public-profile dd{ + margin-left:0; +} +dl.public-profile dt { + float: left; + font-weight: bold; + min-width:12em; +} + +/* Search form */ +div .search_form { + margin-bottom: 1em; +} + +div .search_form .row{ + background-color: #DEDEC0; + padding: 0.5em; +} +div .button { + background-color: #eee; + border: 1px solid #aaa; +} +div .button:hover{ + background-color: #cccccc; + color: #ffffff; +} + +/* Side menu */ +ul.social_side_menu { + padding-left: 2em; +} +ul.social_side_menu li { + padding-bottom: 0.2em; + list-style: circle; +} + +div .divider { + border-bottom:1px solid #C1C157; + padding-bottom:0.5em; + margin-bottom:0.5em; +} + +.activity{ + line-height:18pt; + font-size:.8em; +} + +div.contentbox, input-form{ + padding:.5em; + background-color: #ffffff; + overflow:hidden; + border: #A9ADB0 solid 1px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +div.suggestions{ + border:1px solid #a50707; + margin-left:0.625em; + width:50%; +} +li.inlinelist{ + display: inline; + padding-right: 1em; +} +ul.social_inline_menu{ + background-color: #eeeeee; + border:thin #cccccc solid; + padding:.5em; + width:90%; + margin:auto; +} +.results-hide-show-link-container{ + border: #A9ADB0 solid 1px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} +#results-hide-show-link{ + height: 100%; +} + +#hide-show-container{ + -webkit-border-radius:8px; + -moz-border-radius: 8px; + border-radius: 8px; + margin-top: 0.875em; + margin-bottom: 0.875em; + padding: 0.875em; + padding-right: .2em; + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999), to(black)); + background: -moz-linear-gradient(#999, black); +} + +.hide-show-container h4{ + border: #A9ADB0 solid 1px; + -webkit-border-radius:8px; + -moz-border-radius: 8px; + border-radius: 8px; + margin-top: 0.875em; + margin-bottom: 0.875em; + padding: 0.875em; + padding-right: .2em; + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F8FAFB), to(#B6C0C6)); + background: -moz-linear-gradient(#F8FAFB, #B6C0C6); + background: white; +} + +#hide-show-container a:link, +#hide-show-container a:focus, +#hide-show-container a:hover{ + color: white; + text-decoration: none; + text-shadow: none; + display: block; +} + +.hide-show-container a:link:not(.fl-list-menu):not(.fl-list-brief), +.hide-show-container a:focus:not(.fl-list-menu):not(.fl-list-brief), +.hide-show-container a:hover:not(.fl-list-menu):not(.fl-list-brief), +.hide-show-container a:active:not(.fl-list-menu):not(.fl-list-brief), +#hide-show-container a:active{ + color: white; + color: #4C566C; + text-decoration: none; + text-shadow: none; + display: block; +} + +.hide-show-container a>h4, .fl-theme-iphone a .results-hide-show-link{ + color: white; +} +/* REBUILDING THE TOP NAVIGATION MENU */ + +#navigation-bar{ + height: 2; + border-bottom: .5px solid black; +} + +/*Overrides above a:active, a:hover, a:focus so the "Navigation" button itself isn't highlighted when activated. +Ensure styling matches that in fl-tabs.*/ +.topnavlistcontainer a:hover, .topnavlistcontainer a:active, .topnavlistcontainer a:focus{ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); +} + + + +/*this CSS creates a button that looks exactly like a Mobile FSS tab.*/ +.navigation-bar-button{ + border-width:5px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + font-size: 18px;/*keep this in px*/ + padding-left: .3em; + padding-right: .3em; + padding-top: .1em; + color: white; + position: relative; + top: .4em; + + + /* default mobile fss color scheme for tabs not AA compliant. Here is a compliant bg image: */ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); + background-color: #354D68; + -moz-border-image: url("images/navbar_normal_button_insetShadow.png") 5 5 5 5 stretch; + -webkit-border-image: url(images/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -moz-border-image:url(images/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -webkit-border-left-image: none; + -moz-border-left-image: none; + -webkit-background-origin: border; + -moz-background-origin: border; + -webkit-background-clip: border; + -moz-background-clip: border; + margin-top: .3em; + margin-bottom: -1em; +} + + +/* hiding/showing course content */ + +div#content-link-container{ + list-style: none; + padding-top: .316em; + float: right; +} + + +.content_link_tablet { + border-width:5px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + font-size: 0.875em;/*keep this in px*/ + font-size: 18px; + /*padding: .1em;*/ + padding-left: .3em; + padding-right: .3em; + padding-top: .1em; + padding-bottom: .1em; + margin-right: .313em; + + + /* default mobile fss color scheme for tabs not AA compliant. Here is a compliant bg image: */ + background-image: -webkit-gradient(linear, left top, left bottom, + from(#3b5371), + color-stop(0.5, #374e6b), + color-stop(0.50, #354d68), + to(#354d68) + ); + -webkit-border-image: url(images/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -moz-border-image: url(images/navbar_normal_button_insetShadow.png) 5 5 5 5 stretch; + -webkit-border-left-image: none; + -moz-border-left-image: none; + -webkit-background-origin: border; + -moz-background-origin: border; + -webkit-background-clip: border; + -moz-background-clip: border; + margin-bottom: -0.25em; + + +} +.flc-screenNavigator-navbar .content_link{ + color: white; + text-decoration: none; + font-weight: bold; + background-color: #354D68; +} +.fl-theme-iphone .content_link_tablet_highlight{ + color: #4c96f4; + font-weight: bold; + +} + +#content{ + position: absolute; + top: 2em; + right: 0.313em; + width: 50%; + float: right; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + border: 4px solid black; + z-index: 1000; + display: none; +} + +/* hiding/showing top navigation and results-display */ +ul#topnavlist { + display: none; + position: relative; + top: 1.2em; + z-index: 1; +} + +div#results-display, .results-display{ + display: none; +} + +ul#topnavlist li { + padding: 0; + margin: 0; +} + +ul#topnavlist>li:hover, ul#topnavlist>li:hover a, ul#topnavlist>li:active, ul#topnavlist>li:active a, +ul#topnavlist>li:focus, ul#topnavlist>li:focus a { + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -moz-linear-gradient(#4a94f4, #236de5); +} + +ul#topnavlist li a { + color: #4C566C; + text-decoration: none; +} +.content-expand { + background-image:url("images/plus.png"); + background-position: 100% 100%; + background-repeat: no-repeat; +} +.content-closed{ + background-image:url("images/minus.png"); + background-position: 100% 100%; + background-repeat: no-repeat; +} + +/* SUBNAVLIST HIGHLIGHTING and Gmail-STYLE "more" button */ +ul#subnavlist li a{ + color: black; +} + +ul#subnavlist li a:active, ul#subnavlist li a:focus, ul#subnavlist li a:hover { + color: red; + border-bottom: #4C566C 2px solid; + text-decoration: none; +} +ul#subnavlist{ + color: black; + padding: 0; + padding-bottom: 0.313em; + margin: 0; + font-size: 90%; + text-align: center; +} +.selected{ + color: red; + font-size: 0.875em; + border-bottom: #4C566C 2px solid; +} +#subnavlist-more .more-item{ + font-size: 0.875em; list-style-type: bullet; + +} +.more-icon { + background-image:url('images/hidemenu.gif'); + background-position: 100% 100%; + background-repeat: no-repeat; +} +.more-button{ +} +.more-button-surround{ +} +.subnavlist-more{ + + display: block; + display: none; +} +ul#subnavlist li:not(#subnavlist-more){ + display: inline; +} + +ul#subnavlist li a, ul#subnavlist li a:visited { + color: black; +} +ul#subnavlist li a{ + text-decoration: none; +} + + /*creates a little up-facing arrow to help mimick an ipad-style popover. + See http://nicolasgallagher.com/pure-css-speech-bubbles/demo/ */ +.triangle-isosceles { + position: relative; +} + +.triangle-isosceles:after { + border-style: solid; + content: ""; + display: block; + position: absolute; +} + +.triangle-isosceles.top:after { + border-color: black transparent; + border-width: 0pt 15px 15px; + bottom: auto; + left: auto; + left: 20%; + top: 95%; + z-index: 1000; +} + +.triangle-isosceles.top.right:after { + border-color: black transparent; + border-width: 0pt 15px 15px; + bottom: auto; + left: auto; + right: 30%; + top: 98%; + z-index: 1000; +} + +/*'Previous' and 'Next' buttons */ +.previous{ + margin-left:3.125em; +} + +.triangle-isosceles.previous:after { + top:1em; /* controls vertical position */ + left:-3.125em; /* value = - border-left-width - border-right-width */ + bottom:auto; + border-width:15px 50px 10px 0; + border-color:transparent #f3961c; + border-color: transparent #F3961C; + border-width: 10px 10px 10px 0pt; + bottom: auto; + left: -0.75em; + top: 0; +} + +/* sequence links */ +#sequence-links{ + float: left; + padding-right:0; + position: relative; + right: -.313em; +} + +#course-level-navigation, #sequence-links-course-navigation{ + float: right; +} + +/************************************************************************************************/ +/*Adds arrows to Fluid Tabs. Here is a good guide for creating triangles with CSS: +http://jonrohan.me/guide/css/creating-triangles-in-css/ */ +/************************************************************************************************/ + +ul.sequence-links li { + position:relative; + z-index:1; + overflow:hidden; + list-style:none; +} + +ul.sequence-links li.back a:link, +ul.sequence-links li.back a:visited { + display:block; + padding-left:12px; + color:white; +} + +ul.sequence-links li.forward a:link, +ul.sequence-links li.forward a:visited { + display:block; + padding-right:0.75em; + color:white; +} +/*WCAG*/ +ul.sequence-links li a:hover, ul.sequence-links li a:focus, ul.sequence-links li a:active, +ul.sequence-links li.back a:hover, ul.sequence-links li.back a:focus, ul.sequence-links li.back a:active, +ul.sequence-links li.forward a:hover, ul.sequence-links li.forward a:focus, ul.sequence-links li.forward a:active { + color: #4c96f4; + background:transparent; +} + + +ul.sequence-links li:before, +ul.sequence-links li:after, +ul.sequence-links li a:before, +ul.sequence-links li a:after { + content:""; + position:absolute; + top:50%; + /* left:0;*/ +} + +ul.sequence-links li a:before, +ul.sequence-links li a:after { + margin:-0.5em 0 0; + } + +/*arrow that points to the left, beside the "Previous" text */ +.arrow.back a:after {/*arrow pointing to the left*/ + background: none repeat scroll 0% 0% transparent; + border-color: transparent #FFFFFF; + border-style: solid; + border-width: 5px 0pt 5px 6px; + left: .5em; + margin-top: -0.438em; +} + +/*left and right triangle icons change color*/ +.arrow a:hover:after, .arrow a:focus:after, .arrow a:active:after, +.arrow.forward a:hover:after, .arrow.forward a:focus:after, .arrow.forward a:active:after{ + border-color: transparent #4c96f4; +} + +.arrow.back a:after { + border-width: 6px 6px 6px 0pt; + left: 0.188em; + + top: .75em; +} + +} +/*arrow that points to the right, beside the "Next" text */ +.arrow.forward a:after { + background: none repeat scroll 0% 0% transparent; + border-color: transparent #FFFFFF; + border-style: solid; + margin-top: -0.425em; + +} +.arrow.forward a:after { + + background: none repeat scroll 0% 0% transparent; + border-color: transparent transparent transparent white; + border-width: 6px; + border-style: solid; + width:0; + height:0; + right: -0.313em; + top: 0.85em; +} +/* style for "last modified" information of course content*/ +#content-info{ + padding-top: 2em; + font-size: 80%; +} + +ul.my-courses-list-ul > li:hover{ + background-color: #4c96f4; + color: #fff; + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -webkit-gradient(linear, left top, left bottom, from(#4a94f4), to(#236de5)); + background: url(../images/themes/iphone/listmenu_loader.gif) no-repeat 97% center, + -moz-linear-gradient(#4a94f4, #236de5); +} +ul.my-courses-list-ul > li:hover a{ + color: white; +} +#topnavlistcontainer { + float: left; +} + +/* to be created as a separate desktop theme file. The classes below should be removed when +Mark McLaren's port of mobile fss to firefox is committed to infusion: +https://github.com/fluid-project/infusion/blob/25ad6755ef78347b414d60bd4037a0f197f9d09d/infusion-branch/src/webapp/framework/fss/css/fss-mobile-theme-firefox.css */ +.fl-tabs li:first-child { + border-bottom-left-radius: 5px; + border-top-left-radius: 5px; +} + +.fl-theme-iphone .fl-tabs li { + -moz-border-image: url("images/navbar_normal_button_insetShadow.png") 5 5 5 5 stretch; + background-color: #354D68; +} +[class*="fl-container"] [class*="fl-list"] > li:first-child, [class*="fl-container"] [class*="fl-list"] > li:first-child a { + border-top-left-radius: 8px; + border-top-right-radius: 8px; +} +[class*="fl-container"] [class*="fl-list"] > li:last-child, [class*="fl-container"] [class*="fl-list"] > li:last-child a { + border-bottom-left-radius: 8px; + border-bottom-right-radius: 8px; +} + +.fl-theme-iphone .fl-tabs .fl-tabs-active { + background-image: -moz-linear-gradient( + center top, + rgba(149, 184, 239,1), + rgba(35,109,229,1), + rgba(149, 184, 239,1) 50%, + rgba(75,148,244,1) 50% + ); +} + +/* A simulation for a:active on the device, requires JS */ +/* since .fl-list is for mixed material lists, dont include them in these effects */ +.fl-theme-iphone [class*=fl-list]:not(.fl-list):not(.fl-grid) a:active, +.fl-theme-iphone [class*=fl-list]:not(.fl-list):not(.fl-grid) a.fl-link-hilight { + background: url(../images/themes/iphone/listmenu_arrow.png) no-repeat right -25px, + -moz-linear-gradient(#4a94f4, #236de5); +} diff --git a/docs/themes/simplified-desktop/test.html b/docs/themes/simplified-desktop/test.html new file mode 100644 index 000000000..f91ff9714 --- /dev/null +++ b/docs/themes/simplified-desktop/test.html @@ -0,0 +1,109 @@ + + + + + + + <?php echo SITE_NAME; ?> : <?php echo $this->page_title; ?> + + + + + + + + + + + + + + + + +rtl_css; ?> +course_id) && $system_courses[$this->course_id]['rss']): ?> + + + + + + + + + + + + +custom_css; ?> + + + + + +
+
+
    +
  • Pretty content row 1
  • +
  • Pretty content row 2
  • + +
  • Pretty content row 3
  • +
  • Pretty content row 4
  • +
  • Pretty content row 5
  • +
  • Pretty content row 1
  • +
  • Pretty content row 2
  • + +
  • Pretty content row 3
  • +
  • Pretty content row 4
  • +
  • Pretty content row 5
  • +
  • Pretty content row 1
  • +
  • Pretty content row 2
  • + +
  • Pretty content row 3
  • +
  • Pretty content row 4
  • +
  • Pretty content row 5
  • +
  • Pretty content row 1
  • +
  • Pretty content row 2
  • + +
  • Pretty content row 3
  • +
  • Pretty content row 4
  • +
  • Pretty content row 5
  • +
  • Pretty content row 1
  • +
  • Pretty content row 2
  • + +
  • Pretty content row 3
  • +
  • Pretty content row 4
  • +
  • Pretty content row 5
  • + +
+
+
+ + +
+ + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/theme.cfg.php b/docs/themes/simplified-desktop/theme.cfg.php new file mode 100644 index 000000000..b180cf4cf --- /dev/null +++ b/docs/themes/simplified-desktop/theme.cfg.php @@ -0,0 +1,45 @@ + diff --git a/docs/themes/simplified-desktop/theme_info.xml b/docs/themes/simplified-desktop/theme_info.xml new file mode 100644 index 000000000..6becef119 --- /dev/null +++ b/docs/themes/simplified-desktop/theme_info.xml @@ -0,0 +1,12 @@ + + + + + + Mobile + 1.0 + Mobile + 2010-08-16 + This is the default theme for Android and iPhone mobile devices. + + diff --git a/docs/themes/simplified-desktop/users/browse.tmpl.php b/docs/themes/simplified-desktop/users/browse.tmpl.php new file mode 100644 index 000000000..f46e94757 --- /dev/null +++ b/docs/themes/simplified-desktop/users/browse.tmpl.php @@ -0,0 +1,163 @@ + +mobile_device_type == IPAD_DEVICE): ?> + +
+courses_rows)){ ?> + courses_rows as $row){ ?> + +
    +
  • +

    + + + 150){ + echo "..."; + } + ?>  + +   + + +
  • + +
+ + +
+ +mobile_device_type != IPAD_DEVICE): ?> + +
+courses_rows)){ ?> + courses_rows as $row){ ?> + +
    +
  • +

    + + + 150){ + echo "..."; + } + ?>  + +   + + +
  • + +
+ + +
+ + + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/users/email_change.tmpl.php b/docs/themes/simplified-desktop/users/email_change.tmpl.php new file mode 100644 index 000000000..f11d8096b --- /dev/null +++ b/docs/themes/simplified-desktop/users/email_change.tmpl.php @@ -0,0 +1,39 @@ + + + + + + +
+ + +
+ +
+ *
+
+
+ +
+ *
+ +
+ +
+ + +
+
+
+ + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/users/index.tmpl.php b/docs/themes/simplified-desktop/users/index.tmpl.php new file mode 100644 index 000000000..2f41cdac5 --- /dev/null +++ b/docs/themes/simplified-desktop/users/index.tmpl.php @@ -0,0 +1,79 @@ + + +
+
    + +courses as $row): + static $counter; + $counter++; +?> + +
  • + '.htmlentities($row['title']).'' ?> + + <?php echo _AT('resume'); ?> + + + + +
  • + + + +
+
+ +
+

+ all_news); + }else{ + $perpage = 10; + } + + $newscount = count($this->all_news); + $num_pages = (ceil($newscount/$perpage));; + $start = ($p-1)*$perpage; + $end = ($p*$perpage); + + print_paginator($page, $num_pages, '', 1); + for($i=$start;$i<=$end; $i++){ + $count = $i; + if (isset($this->all_news)) { + echo '
    '; + if(isset($this->all_news[$i]['thumb'])){ + echo '
  • '.$this->all_news[$i]['alt'].' ' . $this->all_news[$i]['link'] .'
    '; + if($this->all_news[$i]['object']['course_id']){ + echo ''.'Posted in '.''.$this->all_news[$i]['course'].''; + } + echo ' on '.AT_DATE('%F %j, %g:%i',$this->all_news[$i]['time']).'
  • '; + } + echo '
'; + } + } + if($perpage == count($this->all_news)){ ?> +
+ +
+ +

+
+ \ No newline at end of file diff --git a/docs/themes/simplified-desktop/users/password_change.tmpl.php b/docs/themes/simplified-desktop/users/password_change.tmpl.php new file mode 100644 index 000000000..410fa728d --- /dev/null +++ b/docs/themes/simplified-desktop/users/password_change.tmpl.php @@ -0,0 +1,66 @@ + + + + + + +
+ + + + + +
+ +
+ *
+
+
+ +
+ *
+
+ ·
+ ·
+
+ +
+ *
+ +
+ +
+ + +
+
+
+ + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/users/pref_wizard/index.tmpl.php b/docs/themes/simplified-desktop/users/pref_wizard/index.tmpl.php new file mode 100644 index 000000000..0d384b1c7 --- /dev/null +++ b/docs/themes/simplified-desktop/users/pref_wizard/index.tmpl.php @@ -0,0 +1,73 @@ + + + + + + <?php echo SITE_NAME; ?> : <?php echo _AT('preferences'); ?> + + + + + + + + + +

+ + +

+ printAll(); ?> + +
+start_template != null) { + $savant->display($this->start_template); + } + else if ($this->pref_template != null) { + echo '
'; + include_once($this->pref_template); + + + foreach ($this->pref_wiz as $pref => $template) { + echo ''; + } + echo ''; + echo ''; + + echo '
'; + echo ''; + if ($this->pref_index < count($this->pref_wiz) - 1) echo ''; + else echo ''; + echo '
'; + echo '
'; + } +?> +
+ + + + \ No newline at end of file diff --git a/docs/themes/simplified-desktop/users/pref_wizard/initialize.tmpl.php b/docs/themes/simplified-desktop/users/pref_wizard/initialize.tmpl.php new file mode 100644 index 000000000..ed759cff6 --- /dev/null +++ b/docs/themes/simplified-desktop/users/pref_wizard/initialize.tmpl.php @@ -0,0 +1,47 @@ +pref_wiz);?> + +
+
+ +
+
+ pref_wiz)) echo checked ?> /> + +
+ +
+ pref_wiz)) echo checked ?> /> + +
+ +
+ pref_wiz)) echo checked ?> /> + +
+ +
+ pref_wiz)) echo checked ?> /> + +
+ +
+ pref_wiz)) echo checked ?> /> + +
+ +
+ pref_wiz)) echo checked ?> /> + +
+ +
+ /> + +
+ +
+
+ " accesskey="d" /> + + +
\ No newline at end of file diff --git a/docs/themes/simplified-desktop/users/preferences.tmpl.php b/docs/themes/simplified-desktop/users/preferences.tmpl.php new file mode 100644 index 000000000..640c96be6 --- /dev/null +++ b/docs/themes/simplified-desktop/users/preferences.tmpl.php @@ -0,0 +1,280 @@ + +"; + $onload = "setPreviewFace(); setPreviewSize(); setPreviewColours();"; +} + +require(AT_INCLUDE_PATH.'header.inc.php'); + +if($_SESSION['course_id'] == "-1"){ +echo '

'; +} + +?> + +
+ + + + + +
+ +'."\n\r"; + else if (isset($_SESSION['prefs']['PREF_THEME'])) + echo ' '."\n\r"; + + if (isset($_POST['mnot'])) + echo ' '."\n\r"; + else if (isset($this->notify)) + echo ' '."\n\r"; + + if (isset($_POST['time_zone'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_TIMEZONE'])) + echo ' '."\n\r"; + + if (isset($_POST['numbering'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_NUMBERING'])) + echo ' '."\n\r"; + + if (isset($_POST['use_jump_redirect'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_JUMP_REDIRECT'])) + echo ' '."\n\r"; + + if (isset($_POST['auto'])) + echo ' '."\n\r"; + else if (isset($this->is_auto_login)) + echo ' '."\n\r"; + + if (isset($_POST['form_focus'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_FORM_FOCUS'])) + echo ' '."\n\r"; + + if (isset($_POST['show_guide'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_SHOW_GUIDE'])) + echo ' '."\n\r"; + + if (isset($_POST['content_editor'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_CONTENT_EDITOR'])) + echo ' '."\n\r"; + } + + if ($current_tab != 1) + { + // save selected options on tab 1 (display settings) + if (isset($_POST['fontface'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_FONT_FACE'])) + echo ' '."\n\r"; + + if (isset($_POST['font_times'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_FONT_TIMES'])) + echo ' '."\n\r"; + + if (isset($_POST['fg'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_FG_COLOUR'])) + echo ' '."\n\r"; + + if (isset($_POST['bg'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_BG_COLOUR'])) + echo ' '."\n\r"; + + if (isset($_POST['hl'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_HL_COLOUR'])) + echo ' '."\n\r"; + } + + if ($current_tab != 2) + { + // save selected options on tab 2 (content settings) + if (isset($_POST['use_alternative_to_text'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_USE_ALTERNATIVE_TO_TEXT'])) + echo ' '."\n\r"; + + if (isset($_POST['preferred_alt_to_text'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ALT_TO_TEXT'])) + echo ' '."\n\r"; + + if (isset($_POST['alt_to_text_append_or_replace'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ALT_TO_TEXT_APPEND_OR_REPLACE'])) + echo ' '."\n\r"; + + if (isset($_POST['alt_text_prefer_lang'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ALT_TEXT_PREFER_LANG'])) + echo ' '."\n\r"; + + if (isset($_POST['use_alternative_to_audio'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_USE_ALTERNATIVE_TO_AUDIO'])) + echo ' '."\n\r"; + + if (isset($_POST['preferred_alt_to_audio'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ALT_TO_AUDIO'])) + echo ' '."\n\r"; + + if (isset($_POST['alt_to_audio_append_or_replace'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ALT_TO_AUDIO_APPEND_OR_REPLACE'])) + echo ' '."\n\r"; + + if (isset($_POST['alt_audio_prefer_lang'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ALT_AUDIO_PREFER_LANG'])) + echo ' '."\n\r"; + + if (isset($_POST['use_alternative_to_visual'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_USE_ALTERNATIVE_TO_VISUAL'])) + echo ' '."\n\r"; + + if (isset($_POST['preferred_alt_to_visual'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ALT_TO_VISUAL'])) + echo ' '."\n\r"; + + if (isset($_POST['alt_to_visual_append_or_replace'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ALT_TO_VISUAL_APPEND_OR_REPLACE'])) + echo ' '."\n\r"; + + if (isset($_POST['alt_visual_prefer_lang'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ALT_VISUAL_PREFER_LANG'])) + echo ' '."\n\r"; + } + + if ($current_tab != 3) + { + // save selected options on tab 3 (tool settings) + if (isset($_POST['dictionary_val'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_DICTIONARY'])) + echo ' '."\n\r"; + + if (isset($_POST['thesaurus_val'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_THESAURUS'])) + echo ' '."\n\r"; + + if (isset($_POST['encyclopedia_val'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ENCYCLOPEDIA'])) + echo ' '."\n\r"; + + if (isset($_POST['atlas_val'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ATLAS'])) + echo ' '."\n\r"; + + if (isset($_POST['note_taking_val'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_NOTE_TAKING'])) + echo ' '."\n\r"; + + if (isset($_POST['calculator_val'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_CALCULATOR'])) + echo ' '."\n\r"; + + if (isset($_POST['abacus_val'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_ABACUS'])) + echo ' '."\n\r"; + } + + if ($current_tab != 4) + { + // save selected options on tab 4 (control settings) + if (isset($_POST['show_contents'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_SHOW_CONTENTS'])) + echo ' '."\n\r"; + + if (isset($_POST['show_next_previous_buttons'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_SHOW_NEXT_PREVIOUS_BUTTONS'])) + echo ' '."\n\r"; + + if (isset($_POST['show_bread_crumbs'])) + echo ' '."\n\r"; + else if (isset($_SESSION['prefs']['PREF_SHOW_BREAD_CRUMBS'])) + echo ' '."\n\r"; + } + + echo '
'; + include(AT_INCLUDE_PATH .'../users/'.$tabs[$current_tab][1]); + echo '
'; +// include(getcwd().'/'.$tabs[$current_tab][1]); + +?> +
+ + + + + + + +
+
+
+'; +} + +require(AT_INCLUDE_PATH.'footer.inc.php'); ?> diff --git a/docs/themes/simplified-desktop/users/profile.tmpl.php b/docs/themes/simplified-desktop/users/profile.tmpl.php new file mode 100644 index 000000000..b8d9a480c --- /dev/null +++ b/docs/themes/simplified-desktop/users/profile.tmpl.php @@ -0,0 +1,131 @@ + + +
+ + + +
+
+
+

+
+ +
+
+ + + +
+ +
+ *
+ +
+
+
+ + /> +
+ + +
+ *
+ +
+ + + +
+ *
+ + /> + + /> + + + /> + + /> + + +
+ +
+
+
+

+
+ + +
+
+
+
+
+
+
+
+ + +
+
+ +
+ +
+
+ /> /> /> +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+
+ + +
+
+
+ + \ No newline at end of file