diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/css/.htaccess b/css/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/css/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/css/widget-blocks/.htaccess b/css/widget-blocks/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/css/widget-blocks/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/fonts/.htaccess b/fonts/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/fonts/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/img/.htaccess b/img/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/img/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/inc/.htaccess b/inc/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/inc/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/inc/views/.htaccess b/inc/views/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/inc/views/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/inc/widgets/.htaccess b/inc/widgets/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/inc/widgets/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/js/.htaccess b/js/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/js/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/js/vendor/.htaccess b/js/vendor/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/js/vendor/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/languages/.htaccess b/languages/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/languages/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/lxp/.htaccess b/lxp/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/lxp/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/lxp/bkp-2024-mar-admin-teacher-modal.php b/lxp/bkp-2024-mar-admin-teacher-modal.php new file mode 100644 index 0000000..4984025 --- /dev/null +++ b/lxp/bkp-2024-mar-admin-teacher-modal.php @@ -0,0 +1,281 @@ + + + + + + + + \ No newline at end of file diff --git a/lxp/bkp-24-mar-admin-teachers.php b/lxp/bkp-24-mar-admin-teachers.php new file mode 100644 index 0000000..d102c9d --- /dev/null +++ b/lxp/bkp-24-mar-admin-teachers.php @@ -0,0 +1,419 @@ + 'lxp_client_admin')); +$lxp_client_admin_user_ids = array_map(function ($user) { return $user->ID; }, $lxp_client_admin_users); +// get post TL_DISTRICT_CPT based on multiple 'lxp_district_admin' meta values +$district_posts = get_posts(array( + 'post_type' => 'tl_district', + 'meta_query' => array( + array( + 'key' => 'lxp_district_admin', + 'value' => $lxp_client_admin_user_ids, + 'compare' => 'IN' + ) + ) +)); + +$treks_src = get_stylesheet_directory_uri() . '/treks-src'; +$district_post = lxp_get_user_district_post( (isset($_GET['district_id']) ? get_post_meta($_GET['district_id'], 'lxp_district_admin', true) : 0) ); +$district_schools = !$district_post ? [] : lxp_get_district_schools($district_post->ID); +$district_schools_ids = array_map(function ($school) { return $school->ID; }, $district_schools); +$district_schools_teachers = lxp_get_all_schools_teachers( isset($_GET['school_id']) ? [$_GET['school_id']] : $district_schools_ids ); +?> + + + + + + + + District / Teachers + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+

Teachers

+

Comprehensive teacher database and records management

+
+ +
+
+ + +
+
+ + + +
+
+ + + +
+
+
+ + +
+
+ + +
+ +
+
+ + +
+ + + + + + + + + + + + + ID, 'lxp_teacher_admin_id', true)); + $lxp_teacher_school = null; + $lxp_teacher_district = null; + $lxp_teacher_school_id = get_post_meta($teacher->ID, 'lxp_teacher_school_id', true); + if ($lxp_teacher_school_id) { + $lxp_teacher_school = get_post($lxp_teacher_school_id); + $lxp_teacher_district_id = get_post_meta($lxp_teacher_school->ID, 'lxp_school_district_id', true); + if ($lxp_teacher_district_id) { + $lxp_teacher_district = get_post($lxp_teacher_district_id); + } + } + $lxp_teacher_students = array(); + if ($lxp_teacher_district && $lxp_teacher_school) { + $lxp_teacher_students = lxp_get_school_teacher_students($lxp_teacher_school->ID, $teacher->ID); + } + ?> + + + + + + + + + + + +
+
+ Teacher + logo +
+
+
+ Email + logo +
+
+
+ District + logo +
+
+
+ School + logo +
+
+
+ Students + logo +
+
+
+ ID + logo +
+
+
+ teacher +
+
post_title?>
+
+
+
+
user_email : '(No Admin Login Found)'; ?>
+
post_title : '---'; ?>post_title : '---' ?>ID; ?> + +
+ + + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lxp/functions-bkp-04-04-23.php b/lxp/functions-bkp-04-04-23.php new file mode 100644 index 0000000..2e71e80 --- /dev/null +++ b/lxp/functions-bkp-04-04-23.php @@ -0,0 +1,760 @@ + 0 ? $user_id : get_current_user_id(); + $school_query = new WP_Query( array( + 'post_type' => TL_SCHOOL_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_school_admin_id', 'value' => $user_id, 'compare' => '=') + ) + ) ); + $posts = $school_query->get_posts(); + $school_post = count( $posts ) > 0 ? $posts[0] : null; + return $school_post; +} + +function lxp_get_user_district_post($user_id = 0) +{ + $user_id = intval($user_id) > 0 ? $user_id : get_current_user_id(); + $district_query = new WP_Query( array( + 'post_type' => TL_DISTRICT_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_district_admin', 'value' => $user_id, 'compare' => '=') + ) + ) ); + $posts = $district_query->get_posts(); + $district_post = count( $posts ) > 0 ? $posts[0] : null; + return $district_post; +} + +function lxp_get_district_schools($district_id) +{ + $school_query = new WP_Query( array( + 'post_type' => TL_SCHOOL_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_school_district_id', 'value' => $district_id, 'compare' => '=') + ) + ) ); + + $posts = $school_query->get_posts(); + return $posts; +} + +function lxp_get_school_teachers($school_id) +{ + $school_query = new WP_Query( array( + 'post_type' => TL_TEACHER_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_teacher_school_id', 'value' => $school_id, 'compare' => '=') + ), + 'orderby' => 'title', + 'order' => 'ASC' + ) ); + + $posts = $school_query->get_posts(); + return $posts; +} + +function lxp_get_school_students($school_id) +{ + $school_query = new WP_Query( array( + 'post_type' => TL_STUDENT_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_student_school_id', 'value' => $school_id, 'compare' => '=') + ), + 'orderby' => 'title', + 'order' => 'ASC' + ) ); + + $posts = $school_query->get_posts(); + return $posts; +} + +function lxp_get_school_teacher_students($school_id, $teacher_id) +{ + $school_query = new WP_Query( array( + 'post_type' => TL_STUDENT_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_student_school_id', 'value' => $school_id, 'compare' => '='), + array('key' => 'lxp_teacher_id', 'value' => $teacher_id, 'compare' => '=') + ), + 'orderby' => 'title', + 'order' => 'ASC' + ) ); + + $posts = $school_query->get_posts(); + return $posts; +} + +function lxp_get_all_schools_teachers($school_ids) +{ + if (empty($school_ids)) { + return array(); + } + + $school_query = new WP_Query( array( + 'post_type' => TL_TEACHER_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_teacher_school_id', 'value' => $school_ids, 'compare' => 'IN') + ), + 'orderby' => 'title', + 'order' => 'ASC' + ) ); + + $posts = $school_query->get_posts(); + return $posts; +} + +function lxp_get_all_schools_students($school_ids) +{ + + if (empty($school_ids)) { + return array(); + } + + $school_query = new WP_Query( array( + 'post_type' => TL_STUDENT_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_student_school_id', 'value' => $school_ids, 'compare' => 'IN') + ) + ) ); + + $posts = $school_query->get_posts(); + return $posts; +} + +function lxp_get_teacher_post($lxp_teacher_admin_id) +{ + $school_query = new WP_Query( array( + 'post_type' => TL_TEACHER_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_teacher_admin_id', 'value' => $lxp_teacher_admin_id, 'compare' => '=') + ) + ) ); + + $posts = $school_query->get_posts(); + return ( count($posts) > 0 ? $posts[0] : null ); +} + +function lxp_get_teacher_classes($lxp_class_teacher_id) +{ + $school_query = new WP_Query( array( + 'post_type' => TL_CLASS_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_class_teacher_id', 'value' => $lxp_class_teacher_id, 'compare' => '=') + ) + ) ); + return $school_query->get_posts(); +} + +function lxp_get_student_all_classes($student_id) +{ + $school_query = new WP_Query( array( + 'post_type' => TL_CLASS_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_student_ids', 'value' => $student_id, 'compare' => '=') + ) + ) ); + return $school_query->get_posts(); +} + +function lxp_get_all_teachers_classes($teachers_ids) +{ + if (empty($teachers_ids)) { + return array(); + } + + $school_query = new WP_Query( array( + 'post_type' => TL_CLASS_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_class_teacher_id', 'value' => $teachers_ids, 'compare' => 'IN') + ) + ) ); + return $school_query->get_posts(); +} + +function get_trek_section_by_id($section_id) +{ + global $wpdb; + return $wpdb->get_row("SELECT * FROM {$wpdb->prefix}trek_sections WHERE id={$section_id}"); +} + +function lxp_get_class_assignments($class_id) +{ + $school_query = new WP_Query( array( + 'post_type' => TL_ASSIGNMENT_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'class_id', 'value' => $class_id, 'compare' => '=') + ) + ) ); + return $school_query->get_posts(); +} + +function lxp_get_all_teachers_assignments($teachers_ids) +{ + + if (empty($teachers_ids)) { + return array(); + } + + $school_query = new WP_Query( array( + 'post_type' => TL_ASSIGNMENT_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_assignment_teacher_id', 'value' => $teachers_ids, 'compare' => 'IN') + ) + ) ); + return $school_query->get_posts(); +} + +function lxp_get_teacher_assignments($teacher_id, $count = -1) +{ + $school_query = new WP_Query( array( + 'post_type' => TL_ASSIGNMENT_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => $count, + 'meta_query' => array( + array('key' => 'lxp_assignment_teacher_id', 'value' => $teacher_id, 'compare' => 'IN') + ) + ) ); + return $school_query->get_posts(); +} + +function lxp_get_trek_segment_assignment($trek_id, $trek_section_id, $lxp_assignment_teacher_id) +{ + $assignments_query = new WP_Query( array( + 'post_type' => TL_ASSIGNMENT_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'trek_id', 'value' => $trek_id, 'compare' => '='), + array('key' => 'trek_section_id', 'value' => $trek_section_id, 'compare' => '='), + array('key' => 'lxp_assignment_teacher_id', 'value' => $lxp_assignment_teacher_id, 'compare' => '=') + ) + ) ); + return $assignments_query->get_posts(); +} + +function lxp_get_assignment($assignment_id) { + $assignment = get_post($assignment_id); + $assignment->grade = get_post_meta($assignment_id, 'grade', true); + $assignment->lxp_assignment_teacher_id = get_post_meta($assignment_id, 'lxp_assignment_teacher_id', true); + $assignment->lxp_student_ids = get_post_meta($assignment_id, 'lxp_student_ids'); + $assignment->trek_section_id = get_post_meta($assignment_id, 'trek_section_id', true); + $assignment->trek_id = get_post_meta($assignment_id, 'trek_id', true); + $assignment->start_date = get_post_meta($assignment_id, 'start_date', true); + $assignment->schedule = json_decode(get_post_meta($assignment_id, 'schedule', true)); + return $assignment; +} + +function lxp_get_students($students_ids) { + $students = array_map(function ($student_id) + { + $student = get_post($student_id); + $student->grades = get_post_meta($student_id, 'grades', true); + $admin = get_userdata(get_post_meta($student_id, 'lxp_student_admin_id', true)); + $student->admin_first_name = get_user_meta($admin->ID, 'first_name', true); + $student->admin_last_name = get_user_meta($admin->ID, 'last_name', true); + $student->name = $admin->data->display_name; + $student->status = "In progress"; + $student->score = "0%"; + $student->progress = "0/0"; + return $student; + }, $students_ids); + return $students; +} + +function lxp_get_trek_digital_journals($trek_id) { + $courseId = get_post_meta($trek_id, 'tl_course_id', true); + $journal_query = new WP_Query( array( + 'post_type' => "tl_lesson", + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'tl_course_id', 'value' => $courseId, 'compare' => '=') + ) + ) ); + return $journal_query->get_posts(); +} + +// function lxp_get_student_assignment_grade to get grade for student with slid number +function lxp_get_student_assignment_grade($student_post_id, $assignment_post_id, $slide) { + $assignment_grade_key = "assignment_" . $assignment_post_id . "_slide_" . $slide . "_grade"; + return get_post_meta($student_post_id, $assignment_grade_key, true); +} + +function lxp_get_student_post($student_id) +{ + $school_query = new WP_Query( array( + 'post_type' => TL_STUDENT_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_student_admin_id', 'value' => $student_id, 'compare' => '=') + ) + ) ); + + $posts = $school_query->get_posts(); + return count($posts) > 0 ? $posts[0] : null; +} + +// function lxp_get_student_assignments to get all student assignments using WPQuery object and return array of assignments +function lxp_get_student_assignments($student_post_id) +{ + $school_query = new WP_Query( array( + 'post_type' => TL_ASSIGNMENT_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_student_ids', 'value' => $student_post_id, 'compare' => 'IN') + ) + ) ); + return $school_query->get_posts(); +} + +function lxp_get_assignments_treks($assignments) +{ + $treks = array_map(function ($assignment) { return get_post($assignment->trek_id)->ID; }, $assignments); + $query = new WP_Query( array( 'post_type' => TL_TREK_CPT , 'posts_per_page' => -1, 'post_status' => array( 'publish' ), 'post__in' => array_values(array_unique($treks)), 'meta_key' => 'sort', 'orderby' => 'meta_value_num', 'order' => 'ASC' ) ); + return $query->get_posts(); +} + +function lxp_assignment_stats($assignment_id) { + $students_ids = get_post_meta($assignment_id, 'lxp_student_ids'); + $q = new WP_Query( array( "post_type" => TL_STUDENT_CPT, 'posts_per_page' => -1, "post__in" => $students_ids ) ); + $students_posts = $q->get_posts(); + $students = array_map(function ($student) use ($assignment_id) { + $attempted = lxp_user_assignment_attempted($assignment_id, $student->ID); + $submission = lxp_get_assignment_submissions($assignment_id, $student->ID); + /* + if ($attempted && is_null($submission)) { + $status = 'In Progress'; + }else if ($attempted && !is_null($submission)) { + $status = 'Completed'; + } else { + $status = 'To Do'; + } + */ + $status = 'To Do'; + if ($attempted && !is_null($submission) && !$submission['lti_user_id'] && !$submission['submission_id']) { + $status = 'In Progress'; + } else if ($attempted && !is_null($submission) && $submission['lti_user_id'] && $submission['submission_id']) { + $status = 'Completed'; + } + $lxp_student_admin_id = get_post_meta($student->ID, 'lxp_student_admin_id', true); + $userdata = get_userdata($lxp_student_admin_id); + $progress = $submission && $submission['score_raw'] && $submission['score_max'] ? $submission['score_raw'] .'/'. $submission['score_max'] : '---'; + $score = $submission && $submission['score_scaled'] ? round(($submission['score_scaled'] * 100), 2) . '%' : '---'; + $data = array("ID" => $student->ID, "name" => $userdata->data->display_name, "status" => $status, "progress" => $progress, "score" => $score); + return $data; + } , $students_posts); + return $students; +} + +function lxp_get_teacher_saved_treks($teacher_post_id, $treks_saved_ids, $strand = '', $sort='', $search='') +{ + if (count($treks_saved_ids) > 0 && is_array($treks_saved_ids)) { + // get teacher post type 'treks_saved' metadata + // $treks_saved_ids = get_post_meta($teacher_post_id, 'treks_saved'); + $args = array( 'post_type' => TL_TREK_CPT , 'posts_per_page' => -1, 'post_status' => array( 'publish' ), 'post__in' => array_values(array_unique($treks_saved_ids)), 'meta_key' => 'sort', 'orderby' => 'meta_value_num', 'order' => 'ASC' ); + if(!($strand === '' || $strand === 'none')) { + $args['meta_query'] = array('key' => 'strands', 'value' => $strand, 'compare' => '='); + } + + if(!($sort === '' || $sort === 'none')) { + $args['order'] = $sort; + } + + if(!($search === '' || $search === 'none')) { + $args['s'] = $search; + } + + $query = new WP_Query( $args ); + return $query->get_posts(); + } else { + return array(); + } +} + +// function to get assignment submission post type by assignment id using WPQuery object which returns array of posts. +function lxp_get_assignment_submissions($assignment_id, $student_post_id) +{ + $query = new WP_Query( array( 'post_type' => TL_ASSIGNMENT_SUBMISSION_CPT , 'posts_per_page' => -1, 'post_status' => array( 'publish' ), + 'meta_query' => array( + array('key' => 'lxp_assignment_id', 'value' => $assignment_id, 'compare' => '='), + array('key' => 'lxp_student_id', 'value' => $student_post_id, 'compare' => '=') + ) + ) + ); + $assignment_submission_posts = $query->get_posts(); + + if ($assignment_submission_posts) { + $assignment_submission_post = $assignment_submission_posts[0]; + $assignment_submission_post_data = array( + 'ID' => $assignment_submission_post->ID, + 'lxp_assignment_id' => get_post_meta($assignment_submission_post->ID, 'lxp_assignment_id', true), + 'lxp_student_id' => get_post_meta($assignment_submission_post->ID, 'lxp_student_id', true), + 'lti_user_id' => get_post_meta($assignment_submission_post->ID, 'lti_user_id', true), + 'submission_id' => get_post_meta($assignment_submission_post->ID, 'submission_id', true), + 'score_min' => get_post_meta($assignment_submission_post->ID, 'score_min', true), + 'score_max' => get_post_meta($assignment_submission_post->ID, 'score_max', true), + 'score_raw' => get_post_meta($assignment_submission_post->ID, 'score_raw', true), + 'score_scaled' => get_post_meta($assignment_submission_post->ID, 'score_scaled', true), + 'completion' => boolval(get_post_meta($assignment_submission_post->ID, 'completion', true)), + 'duration' => get_post_meta($assignment_submission_post->ID, 'duration', true) + ); + return $assignment_submission_post_data; + } else { + return null; + } +} + +function lxp_user_assignment_attempted($assignment_id, $user_id) { + $query = new WP_Query( array( 'post_type' => TL_ASSIGNMENT_CPT , 'posts_per_page' => -1, 'post_status' => array( 'publish' ), 'p' => $assignment_id, + 'meta_query' => array( + array('key' => 'attempted_students', 'value' => $user_id, 'compare' => 'IN') + ) + ) + ); + $assignment_posts = $query->get_posts(); + return count($assignment_posts) > 0 ? true : false; +} + +function assignments_submissions($assignments, $student_post) +{ + $assignments_submission = array_map(function($assignment) use ($student_post) { + $attempted = lxp_user_assignment_attempted($assignment->ID, $student_post->ID); + $submission = lxp_get_assignment_submissions($assignment->ID, $student_post->ID); + $status = 'To Do'; + if ($attempted && !is_null($submission) && !$submission['lti_user_id'] && !$submission['submission_id']) { + $status = 'In Progress'; + } else if ($attempted && !is_null($submission) && $submission['lti_user_id'] && $submission['submission_id']) { + $status = 'Completed'; + } + return array( $assignment->ID => array('status' => $status, 'submission' => $submission) ); + }, $assignments); + return $assignments_submission; +} + +function get_assignment_lesson_slides($assignment_post_id) { + + $trek_id = get_post_meta($assignment_post_id, 'trek_id', true); + $course_id = get_post_meta($trek_id, 'tl_course_id', true); + $trek_section_id = get_post_meta($assignment_post_id, 'trek_section_id', true); + global $wpdb; + $trek_section = $wpdb->get_row("SELECT * FROM {$wpdb->prefix}trek_sections WHERE id={$trek_section_id}"); + $lesson_query = new WP_Query( array( + 'post_type' => "tl_lesson", + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'tl_course_id', 'value' => $course_id, 'compare' => '=') + ) + ) ); + $activity_id = 0; + foreach ($lesson_query->get_posts() as $lesson) { + if ($lesson->post_title == $trek_section->title) { + $tool_url_parts = parse_url(get_post_meta($lesson->ID, 'lti_tool_url', true)); + if (isset($tool_url_parts['query'])) { + $q = []; + parse_str($tool_url_parts['query'], $q); + $activity_id = isset($q['activity']) ? $q['activity'] : 0; + } + } + } + + $curriki_studio_host = 'https://studio.edtechmasters.us'; + // get tekversion post meta data based on $trek_id + $tekversion = get_post_meta($trek_id, 'tekversion', true); + if ($tekversion == '2021') { + $curriki_studio_host = 'https://rpaprivate.edtechmasters.us'; + } + + $url = $curriki_studio_host . '/api/api/v1/activities/' . $activity_id . '/h5p/cp'; + $ch = curl_init($url); + $authorization_token = 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIzNDMiLCJqdGkiOiI5MDcwOTk0YmIxMDA3NGJiMjAyNjJiYjFkMzZlZmIzMjk4MGZmNTBlZjg2MjQyYWVjMGU1MmU5OTYzYTM5ZDgwODU4MDlhNTEyNTcyZDZkNyIsImlhdCI6MTY4NDA3MzQ3Ny4xNzAyODUsIm5iZiI6MTY4NDA3MzQ3Ny4xNzAyOSwiZXhwIjoxNzE1Njk1ODc3LjE2MDYxNiwic3ViIjoiMiIsInNjb3BlcyI6W119.Lvu-Ar22TFuDbCg0X1yg2dXtdUBo-3F4gXvZx_U2I4z1yEYyIbi81BVMV_KhMJhlZ77_W7oSJYFfTP6LXpMUdESoNL8rqb0POqSv4mOh2whAARfOvev34KGHijbpxXP2qgup8BIoh5yZWwKhYEP1yqrk1MdGdYlo6jEwXXn0PnpeXLdC5f-OCqCFfwJGMjhoTQENrvW50-WoQEpA5ziSAw98D1Jy6Q-KqN-PqIcTZYZ6QGOIfxyoJrSDhky8TbF_aT_QA124Q8b382VvcltOTX0m9TYBge-vQdHn3anE-J0czLTa7is6EHHOmX6DM2eobj96FtffiIsRi_DZ11EIMzbXMA1t2PgUMjybqWSPh441CSwiawSe321r4vB8bVbJXYjiBHEgHquYCmREeMpId5sgGn4ddKC8LinqVazmsIPgE6_ifW09Udp_XEPdB4bevUXtCI1KZV349a7DeI6UPj1IDA0rkxtMPzRvT-G9bghDsWjoTZU0SNDIsIdJGRvCn6KjIKu3PgA_s8T5s5tsU0VWDUO1UrKFl0_A9EsW8z2icC39qobFp-J_kFagJKihefmsMZQd3adVNjukG5XjJjL8qnGg6uYzAV7_RBdDjLjXe2Z30O1Ly576T-WqIWoof5cFAkLcRF96l7Wywg46fwkDWksw8jgiE6_-JF3uRkI'; + // Set cURL options + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_TIMEOUT, 160); + curl_setopt($ch, CURLOPT_HTTPHEADER, array( + 'Authorization: ' . $authorization_token + )); + + // Execute the cURL request + $response = curl_exec($ch); + // Get the HTTP response code + $code = curl_getinfo($ch, CURLINFO_HTTP_CODE); + + // Check for cURL errors + if ($response === false) { + return false; + } + + // Close cURL session + curl_close($ch); + + $data = array(); + if ($code === 200) { + $data = json_decode($response); + $data->slides = array_filter($data->slides, function($item) { + return strtolower($item->title) !== 'you did it!'; + }); + } + return $data; +} + +function lxp_check_assignment_submission($assignment_id, $student_post_id) { + + $assignment_post = get_post($assignment_id); + $user_post = get_post($student_post_id); + $userId = get_post_meta($user_post->ID, 'lxp_student_admin_id', true); + + $assignment_submission_get_query = new WP_Query( array( 'post_type' => TL_ASSIGNMENT_SUBMISSION_CPT , 'posts_per_page' => -1, 'post_status' => array( 'publish' ), + 'meta_query' => array( + array('key' => 'lxp_assignment_id', 'value' => $assignment_id, 'compare' => '='), + array('key' => 'lxp_student_id', 'value' => $student_post_id, 'compare' => '=') + ) + ) + ); + $assignment_submission_posts = $assignment_submission_get_query->get_posts(); + if (!count($assignment_submission_posts)) { + $assignment_submission_post_title = $user_post->post_title . ' | ' . $assignment_post->post_title; + $assignment_submission_post_arg = array( + 'post_title' => wp_strip_all_tags($assignment_submission_post_title), + 'post_content' => $assignment_submission_post_title, + 'post_status' => 'publish', + 'post_author' => $userId, + 'post_type' => TL_ASSIGNMENT_SUBMISSION_CPT + ); + $assignment_submission_post_id = wp_insert_post($assignment_submission_post_arg); + if ($assignment_submission_post_id) { + update_post_meta($assignment_submission_post_id, 'lxp_assignment_id', $assignment_post->ID); + update_post_meta($assignment_submission_post_id, 'lxp_student_id', $user_post->ID); + } + return $assignment_submission_post_id ? true : false; + } +} + +function lxp_assignment_submission_auto_score($assignment_submission_id, $slide) { + $sub_content_ids = get_post_meta($assignment_submission_id, "subContentIds"); + $slide_result_keys = array_map(function($sub_content_id) use ($slide) { + return "slide_{$slide}_subContentId_{$sub_content_id}_result"; + }, $sub_content_ids); + $slide_contents_result = array_filter(get_post_meta($assignment_submission_id), function($key) use ($slide_result_keys) { + return in_array($key, $slide_result_keys); + }, ARRAY_FILTER_USE_KEY); + + $score = array_reduce($slide_contents_result, function($carry, $item) { + $carry += json_decode($item[0])->score->raw; + return $carry; + }, 0); + + $max = array_reduce($slide_contents_result, function($carry, $item) { + $carry += json_decode($item[0])->score->max; + return $carry; + }, 0); + return array( + 'score' => $score, + 'max' => $max + ); +} + +function lxp_get_teacher_group_by_type($lxp_class_teacher_id, $type) +{ + $query = new WP_Query( array( + 'post_type' => TL_CLASS_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array( + 'key' => 'lxp_class_teacher_id', + 'value' => $lxp_class_teacher_id, 'compare' => '=' + ), + array( + 'key' => 'lxp_class_type', + 'value' => $type, 'compare' => '=' + ) + ) + ) ); + return $query->get_posts(); +} + +function lxp_get_teacher_default_classes($lxp_class_teacher_id) +{ + $query = new WP_Query( array( + 'post_type' => TL_CLASS_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array( + 'key' => 'lxp_class_teacher_id', + 'value' => $lxp_class_teacher_id, 'compare' => '=' + ), + array( + 'key' => 'lxp_class_type', + 'compare' => 'NOT EXISTS' + ) + ) + ) ); + return $query->get_posts(); +} + +function lxp_get_teacher_groups($lxp_group_teacher_id) +{ + $query = new WP_Query( array( + 'post_type' => TL_GROUP_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array( + 'key' => 'lxp_group_teacher_id', + 'value' => $lxp_group_teacher_id, 'compare' => '=' + ) + ) + ) ); + return $query->get_posts(); +} + +function lxp_get_class_group($class_id) +{ + $query = new WP_Query( array( + 'post_type' => TL_GROUP_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_class_group_id', 'value' => $class_id, 'compare' => '=') + ) + ) ); + return $query->get_posts(); +} + +function lxp_get_student_class_group_by_type($student_id, $type) +{ + $query = new WP_Query( array( + 'post_type' => TL_CLASS_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_student_ids', 'value' => $student_id, 'compare' => '='), + array( + 'key' => 'lxp_class_type', + 'value' => $type, 'compare' => '=' + ) + ) + ) ); + return $query->get_posts(); +} + +function lxp_get_all_teacher_groups($teachers_ids) +{ + if (empty($teachers_ids)) { + return array(); + } + + $query = new WP_Query( array( + 'post_type' => TL_GROUP_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_group_teacher_id', 'value' => $teachers_ids, 'compare' => 'IN') + ) + ) ); + return $query->get_posts(); +} + +function lxp_get_all_teachers_group_by_type($teachers_ids, $type) +{ + if (empty($teachers_ids)) { + return array(); + } + + $query = new WP_Query( array( + 'post_type' => TL_CLASS_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_class_teacher_id', 'value' => $teachers_ids, 'compare' => 'IN'), + array( + 'key' => 'lxp_class_type', + 'value' => $type, 'compare' => '=' + ) + ) + ) ); + return $query->get_posts(); +} + +function lxp_get_teacher_all_default_classes($teachers_ids) +{ + if (empty($teachers_ids)) { + return array(); + } + + $query = new WP_Query( array( + 'post_type' => TL_CLASS_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_class_teacher_id', 'value' => $teachers_ids, 'compare' => 'IN'), + array( + 'key' => 'lxp_class_type', + 'compare' => 'NOT EXISTS' + ) + ) + ) ); + return $query->get_posts(); +} + +function lxp_get_all_teachers_groups($teachers_ids) +{ + if (empty($teachers_ids)) { + return array(); + } + + $query = new WP_Query( array( + 'post_type' => TL_GROUP_CPT, + 'post_status' => array( 'publish' ), + 'posts_per_page' => -1, + 'meta_query' => array( + array('key' => 'lxp_group_teacher_id', 'value' => $teachers_ids, 'compare' => 'IN') + ) + ) ); + return $query->get_posts(); +} + +?> \ No newline at end of file diff --git a/trek/.htaccess b/trek/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/trek/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/trek/parts/.htaccess b/trek/parts/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/trek/parts/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/.htaccess b/treks-src/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/.vscode/.htaccess b/treks-src/.vscode/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/.vscode/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/assets/.htaccess b/treks-src/assets/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/assets/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/assets/fonts/.htaccess b/treks-src/assets/fonts/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/assets/fonts/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/assets/fonts/droid-sans/.htaccess b/treks-src/assets/fonts/droid-sans/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/assets/fonts/droid-sans/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/assets/img/.htaccess b/treks-src/assets/img/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/assets/img/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/.htaccess b/treks-src/js/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/.htaccess b/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/dist/.htaccess b/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/dist/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/dist/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/docs/.htaccess b/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/docs/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/docs/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/tests/.htaccess b/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/tests/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/tests/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/tests/images/.htaccess b/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/tests/images/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/Animated-Circular-Progress-Bar-with-jQuery-Canvas-Circle-Progress/tests/images/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/.htaccess b/treks-src/js/webshim/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/.htaccess b/treks-src/js/webshim/demos/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/css/.htaccess b/treks-src/js/webshim/demos/css/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/css/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demo-js/.htaccess b/treks-src/js/webshim/demos/demo-js/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demo-js/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/.htaccess b/treks-src/js/webshim/demos/demos/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/cfgs/.htaccess b/treks-src/js/webshim/demos/demos/cfgs/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/cfgs/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/cfgs/assets/.htaccess b/treks-src/js/webshim/demos/demos/cfgs/assets/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/cfgs/assets/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/filereader/.htaccess b/treks-src/js/webshim/demos/demos/filereader/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/filereader/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/filereader/upload/.htaccess b/treks-src/js/webshim/demos/demos/filereader/upload/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/filereader/upload/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/mediaelement/.htaccess b/treks-src/js/webshim/demos/demos/mediaelement/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/mediaelement/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/mediaelement/assets/.htaccess b/treks-src/js/webshim/demos/demos/mediaelement/assets/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/mediaelement/assets/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/mediaelement/assets/images/.htaccess b/treks-src/js/webshim/demos/demos/mediaelement/assets/images/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/mediaelement/assets/images/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/themes/.htaccess b/treks-src/js/webshim/demos/demos/themes/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/themes/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/themes/metro/.htaccess b/treks-src/js/webshim/demos/demos/themes/metro/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/themes/metro/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/themes/rounded-shadow/.htaccess b/treks-src/js/webshim/demos/demos/themes/rounded-shadow/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/themes/rounded-shadow/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/webforms/.htaccess b/treks-src/js/webshim/demos/demos/webforms/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/webforms/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/demos/webforms/assets/.htaccess b/treks-src/js/webshim/demos/demos/webforms/assets/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/demos/webforms/assets/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/demos/images/.htaccess b/treks-src/js/webshim/demos/images/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/demos/images/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/.htaccess b/treks-src/js/webshim/js-webshim/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/.htaccess b/treks-src/js/webshim/js-webshim/dev/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/FlashCanvas/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/FlashCanvas/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/FlashCanvas/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/FlashCanvasPro/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/FlashCanvasPro/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/FlashCanvasPro/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/combos/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/combos/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/combos/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/i18n/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/i18n/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/i18n/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/jme/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/jme/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/jme/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/jpicker/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/jpicker/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/jpicker/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/jpicker/images/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/jpicker/images/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/jpicker/images/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/moxie/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/moxie/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/moxie/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/moxie/flash/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/moxie/flash/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/moxie/flash/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/moxie/js/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/moxie/js/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/moxie/js/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/plugins/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/plugins/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/plugins/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/styles/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/styles/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/styles/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/styles/scss/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/styles/scss/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/styles/scss/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/dev/shims/swf/.htaccess b/treks-src/js/webshim/js-webshim/dev/shims/swf/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/dev/shims/swf/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/.htaccess b/treks-src/js/webshim/js-webshim/minified/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/FlashCanvas/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/FlashCanvas/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/FlashCanvas/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/FlashCanvasPro/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/FlashCanvasPro/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/FlashCanvasPro/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/combos/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/combos/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/combos/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/i18n/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/i18n/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/i18n/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/jme/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/jme/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/jme/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/jpicker/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/jpicker/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/jpicker/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/jpicker/images/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/jpicker/images/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/jpicker/images/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/moxie/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/moxie/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/moxie/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/moxie/flash/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/moxie/flash/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/moxie/flash/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/moxie/js/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/moxie/js/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/moxie/js/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/plugins/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/plugins/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/plugins/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/styles/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/styles/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/styles/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/js/webshim/js-webshim/minified/shims/swf/.htaccess b/treks-src/js/webshim/js-webshim/minified/shims/swf/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/js/webshim/js-webshim/minified/shims/swf/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/style-bckp/.htaccess b/treks-src/style-bckp/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/style-bckp/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/style-bkup/.htaccess b/treks-src/style-bkup/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/style-bkup/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/style-bkup/common.css b/treks-src/style-bkup/common.css new file mode 100644 index 0000000..bc622ee --- /dev/null +++ b/treks-src/style-bkup/common.css @@ -0,0 +1,31 @@ +/* Common Style Rules */ +@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap"); +@font-face { + font-family: "Droid Sans"; + src: url("../assets/fonts/droid-sans/DroidSans.ttf"); +} +:root { + /* Color Variables */ + --main-color-black: #000000; + --main-color-white: #ffffff; + /* Font variables */ + --main-primary-font: "Nunito", sans-serif; + --main-secondary-font: "Droid Sans"; +} +* { + padding: 0; + margin: 0; + box-sizing: border-box; +} + +/* body { + background-color: #e5e5e5 !important; +} */ + +/* Common Class Style */ +.main-container { + max-width: 1200px; + margin: 0px auto; + margin-bottom: 48px; + padding: 0px 20px; +} diff --git a/treks-src/style-bkup/main.css b/treks-src/style-bkup/main.css new file mode 100644 index 0000000..7f334a5 --- /dev/null +++ b/treks-src/style-bkup/main.css @@ -0,0 +1,796 @@ +/* Common Style Rules */ +@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap"); +@font-face { + font-family: "Droid Sans"; + src: url("../assets/fonts/droid-sans/DroidSans.ttf"); +} +:root { + /* Color Variables */ + --main-color-black: #000000; + --main-color-white: #ffffff; + /* Font variables */ + --main-primary-font: "Nunito", sans-serif; + --main-secondary-font: "Droid Sans"; +} +* { + padding: 0; + margin: 0; + box-sizing: border-box; +} + +body { + background-color: #e5e5e5 !important; +} + +/* ******************************** Section Base Style */ + +/* Common Class Style */ +.main-container { + max-width: 1200px; + margin: 0px auto; + margin-bottom: 48px; + padding: 0px 20px; +} + +.section-div-header { + display: flex; + justify-content: space-between; + padding-bottom: 8px; +} +.section-div-header h2 { + font-family: "Nunito"; + font-style: normal; + font-weight: 700; + font-size: 18px; + line-height: 24px; + color: #000000; +} +.section-div-header a { + font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 14px; + line-height: 24px; + text-decoration-line: underline; +} +/* Header Section Style */ + +.header-section { + background-color: var(--main-color-white); + height: 80px; +} + +.header-section-div { + display: flex; + justify-content: space-between; +} + +.header-logo-search { + display: flex; +} +ul { + padding-left: 0 !important; +} +.header-logo { + padding: 16px 0px 16px 16px; +} + +.header-search { + border: 1px solid #979797; + border-radius: 8px; + width: 320px; + + height: 40px; + display: flex; + align-items: center; + margin-top: 20px; + margin-bottom: 20px; + margin-left: 48px; +} +@media (max-width: 991px) { + .header-search { + width: 100%; + + height: 40px; + display: flex; + align-items: center; + margin-top: 20px; + margin-bottom: 20px; + margin-left: 0px; + } +} + +.header-search input { + display: block; + border: none; + outline: none; + + /* font-family: var(--main-secondary-font); */ + font-family: "Droid Sans"; + font-style: normal; + font-weight: 100; + font-size: 16px; + line-height: 24px; +} + +.header-notification-user { + display: flex; +} +.header-notification { + cursor: pointer; + padding-top: 30px; + padding-bottom: 34px; + margin-right: 35px; +} +.header-user { + display: flex; +} +.header-user .user-avatar { + padding: 16px 0; + margin-right: 6px; +} + +.header-user .user-detail { + padding-top: 16px; +} + +.header-user .user-detail span:nth-child(1) { + display: block; + font-family: var(--main-primary-font); + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 24px; + color: var(--main-color-black); +} + +.header-user .user-detail span:nth-child(2) { + display: block; + font-family: var(--main-secondary-font); + font-style: normal; + font-weight: 400; + font-size: 10px; + line-height: 16px; + color: #979797; +} +.header-user .user-options { + cursor: pointer; + padding-top: 37px; + padding-left: 22px; + padding-right: 22px; +} + +/* Nav Section Style */ + +.nav-section { + padding-top: 40px; +} + +.nav-section ul { + display: flex; + flex-wrap: wrap; + /* justify-content: space-between; */ + gap: 10px; +} +.nav-section ul li { + flex: 1; + list-style: none; + display: flex; + align-items: center; + /* border: 1px solid red; */ + justify-content: center; + padding-bottom: 8px; + padding-top: 6px; + border-bottom: 1px solid #eaedf1; +} + +.nav-section ul li a { + display: block; + margin-left: 10px; + text-decoration: none; + font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 18px; + line-height: 24px; + color: #979797; +} +.nav-section ul .nav-section-selected a { + color: #0b5d7a; +} +.nav-section ul .nav-section-selected { + border-bottom: 1px solid #0b5d7a; +} +/* .nav-section ul .nav-section-selected { + padding-bottom: 8px; + border-bottom-width: max-content; + border-bottom: 1px solid #0b5d7a; +} */ + +/* Reminders: section */ +.reminder-section { + margin-top: 32px; +} +.reminder-section-div { + /* height: 48px; */ + background: #ffffff; + border: 1px solid #979797; + border-radius: 56px; + display: flex; + justify-content: space-between; + align-items: center; + padding-left: 19px; + padding-right: 22px; + flex-wrap: wrap; + padding: 12px 20px; +} +.reminder-section-div .reminder-title { + display: flex; + align-items: center; +} + +.reminder-section-div .reminder-title span { + margin-left: 11px; + display: block; +} + +.reminder-section-div .reminder-detail span { + font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 24px; + color: #979797; +} +.reminder-section-div .reminder-vli { + padding-right: 16px; + border-right: 1px solid #979797; + padding-left: 16px; +} +.reminder-section-div .reminder-arrow { + cursor: pointer; +} + +/* Recent TREKs */ +.recent-treks-section { + padding-top: 24px; +} +.recent-treks-section-div { + background: #ffffff; + border-radius: 16px; + padding: 16px; +} +.recent-treks-section-div .recent-treks-header { + /* display: flex; + justify-content: space-between; + padding-bottom: 8px; */ + border-bottom: 1px solid #eaedf1; +} +.recent-treks-section-div .recent-treks-header h2 { + /* font-family: "Nunito"; + font-style: normal; + font-weight: 700; + font-size: 18px; + line-height: 24px; + color: #000000; */ +} +.recent-treks-section-div .recent-treks-header a { + /* font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 14px; + line-height: 24px; + text-decoration-line: underline; */ + color: #0b5d7a; +} + +.recent-treks-section-div .recent-treks-cards-list { + margin-top: 16px; + display: flex; + flex-wrap: wrap; + gap: 0px 16px; +} + +.recent-treks-section-div .recent-treks-cards-list .recent-treks-card-body { + width: 280px; +} +@media (max-width: 400px) { + .recent-treks-section-div .recent-treks-cards-list .recent-treks-card-body { + width: 100% !important; + } +} +.recent-treks-section-div .recent-treks-cards-list .recent-treks-card-body h3 { + max-width: 210px; + margin-top: 8px; + font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 24px; + + color: #000000; +} +.recent-treks-section-div + .recent-treks-cards-list + .recent-treks-card-body + span { + font-family: "Droid Sans"; + font-style: normal; + font-weight: 400; + font-size: 10px; + line-height: 16px; + color: #979797; +} + +/* Pending Assignments */ +.pending-assignments-section { + margin-top: 24px; +} +.pending-assignments-section-div { + background: #ffffff; + border-radius: 16px; + padding: 16px; +} +.pending-assignments-section-div .pending-assignments-header { + border-bottom: 1px solid #eaedf1; +} +.pending-assignments-section-div .pending-assignments-header a { + color: #0b5d7a; +} +.pending-assignments-section-div .pending-assignments-table { + margin-top: 16px; +} + +.pending-assignments-section-div .pending-assignments-table table { + width: 100%; + border-spacing: 0px; + table-layout: fixed; + /* border: 1px solid red; */ +} +.pending-assignments-table table thead { + background: #f6f7fa; +} +.pending-assignments-table table thead tr th { + padding: 8px; + font-family: "Nunito"; + font-style: normal; + font-weight: 700; + font-size: 16px; + line-height: 24px; + color: #000000; + text-align: left; +} + +.pending-assignments-table table tbody tr td { + padding: 20px 8px; + font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 24px; + + color: #000000; + border-bottom: 1px solid #eaedf1; +} +.assignments-table-cs-td-poly .polygon-shap { + width: 48px; + height: 48px; + background-color: #1fa5d4; + clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); + /* identical to box height, or 150% */ + + display: flex; + align-items: center; + justify-content: center; +} +.assignments-table-cs-td-poly { + display: flex; +} +.assignments-table-cs-td-poly div:nth-child(2) span { + margin-left: 8px; + display: block; +} +.assignments-table-cs-td-poly div:nth-child(2) span:nth-child(2) { + font-family: "Droid Sans"; + font-style: normal; + font-weight: 400; + font-size: 10px; + line-height: 16px; + /* identical to box height, or 160% */ + + /* Secondary/Gray-4 */ + + color: #979797; +} +.assignments-table-cs-td-poly .polygon-shap span { + display: block; + font-family: "Nunito"; + font-style: normal; + font-weight: 700; + font-size: 16px; + line-height: 24px; + color: #ffffff; +} +/* Calendar & Activities Completed Overall */ +.clen-act-section { + margin-top: 24px; +} + +.clen-act-section-div { + display: flex; + gap: 0px 24px; +} +.calendar-portion { + flex: 1; + background: #ffffff; + border-radius: 16px; + padding: 16px; + height: 392px; +} +.calendar-portion .calendar-portion-header { + border-bottom: 1px solid #000000; +} +.calendar-portion .calendar-portion-header a { + color: #0b5d7a; +} +/* activities portion */ +.activities-portion { + flex: 1; + background: #ffffff; + border-radius: 16px; + padding: 16px; +} + +.activities-portion .activities-portion-header { + border-bottom: 1px solid #000000; +} +.activities-portion .activities-portion-header a { + color: #0b5d7a; +} + +.activities-portion .activities-portion-prap { + margin-top: 16px; +} +.activities-portion .activities-portion-prap { + font-family: "Arial"; + font-style: normal; + font-weight: 400; + font-size: 16px; + line-height: 24px; + color: #000000; +} + +.activities-portion .activities-portion-progress { + margin-top: 16px; + display: flex; + justify-content: space-between; +} +.activities-portion .activities-portion-progress .portion-progress-div { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} +.activities-portion .activities-portion-progress .portion-progress-div p { + font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 24px; + + color: #000000; +} + +/* Media Query */ +@media only screen and (max-width: 1120px) { + .reminder-section-div { + padding-left: 10px; + padding-right: 10px; + } + .reminder-section-div .reminder-vli { + padding-right: 6px; + } +} +@media only screen and (max-width: 1080px) { + .reminder-section-div { + flex-direction: column; + height: max-content; + } + .reminder-section-div .reminder-vli { + border-right: none; + /* border-bottom: 1px solid #979797; */ + } + .reminder-section-div .reminder-detail { + border-bottom: 1px solid #979797; + margin-bottom: 12px; + text-align: center; + } +} + +@media only screen and (max-width: 767px) { + .pending-assignments-section-div .pending-assignments-table { + overflow-x: scroll; + } + .pending-assignments-section-div .pending-assignments-table table { + width: 900px; + } +} + +@media only screen and (max-width: 606px) { + .recent-treks-section-div .recent-treks-cards-list { + flex-direction: column; + align-items: center; + } + .clen-act-section-div { + flex-direction: column; + align-items: center; + } + .calendar-portion { + width: 100%; + margin-bottom: 24px; + } + .activities-portion { + width: 100%; + } +} +/* Nav style */ +nav.navbar { + background: #fff !important; + padding: 0; +} +.nav_section_treks { + padding-top: 32px; +} +.nav_container { + margin-bottom: 0; +} + +/* TREKs Styling */ + +.treks_main_container { + max-width: 1440px; + margin: 0px auto; + padding: 0; +} +.nav_container { + margin-bottom: 0; +} +.main-container .filter_treks_flx { + display: flex; + gap: 24px; + padding: 24px; +} +@media (max-width: 767px) { + .main-container .filter_treks_flx { + flex-direction: column; + } +} +.filter_treks_section { + padding-top: 0; +} +.filter_my_treks_sec { + width: 100%; +} +.filter_section { + padding: 0; +} +.filter_section h2 { + margin: 0; +} + +.filter_treks_section .treks_bottom_border { + border-bottom: 1px solid #eaedf1; +} +.filter_treks_section .treks_bottom_border .filter_treks_heading { + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 24px; + color: #000000; + margin: 20px 0; + padding-left: 8px; +} +.recent_filter_treks_div { + height: 100%; + width: 260px; +} +@media (max-width: 1207px) { + .recent_filter_treks_div { + height: auto; + } + @media (max-width: 480px) { + .recent_filter_treks_div { + width: 100%; + } + } +} +.filter_section .filter_bx { + display: flex; + align-items: flex-start; + gap: 16px; + margin-right: 58px; +} +.treks_card_list { + gap: 24px !important; +} +.treks_card_body { + width: 265px !important; +} +.treks_card_body div img { + width: 100%; +} +.treks_inner_flx { + display: flex; + gap: 32px; + align-items: center; +} +.sort_flex_bx { + display: flex; + align-items: center; + gap: 8px; + min-height: 40px; +} +.sort_flex_bx p { + margin: 0; + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 24px; + color: #979797; +} +.filter_section a { + /* font-style: normal; + font-weight: 500; + font-size: 14px; + line-height: 24px; + text-decoration-line: underline; */ + color: #0b5d7a; +} +@media (max-width: 516px) { + .treks_nav .treks_ul li a { + margin-left: 9px; + font-size: 16px; + } +} + +/* Interpendence Practice */ +.nav_section_interpendence { + padding: 32px 0; +} +.interpendence_content_section { + max-width: 1250px; + margin: 0 auto; + padding: 0 20px 32px; +} +.interpendence_content_section .practice_img { + width: 100%; +} +.treks_practice_bx { + display: flex; + align-items: center; + flex-wrap: wrap; + gap: 16px; + padding-bottom: 24px; +} +.practice_flx { + display: flex; + align-items: center; + gap: 16px; +} +.practice_text { + margin: 0; + font-style: normal; + font-weight: 600; + font-size: 16px; + line-height: 24px; + color: #979797; +} +.interpendence_text { + font-style: normal; + font-weight: 700; + font-size: 24px; + line-height: 32px; + color: #000000; + margin-bottom: 4px; +} +.student_text { + font-weight: 400; + color: #000000; + margin-bottom: 32px; +} + +/* tabs styling */ + +.treks_ul li { + padding: 0 !important; +} +.nav-link { + width: 100%; + flex: 1; + list-style: none; + display: flex; + align-items: center; + justify-content: center; + padding-bottom: 8px; + padding-top: 6px; + border-bottom: 1px solid #eaedf1; +} +.nav-link.active { + color: #0b5d7a !important; + border-bottom: 2px solid #0b5d7a !important; + padding-bottom: 8px; + padding-top: 6px; +} +.tab-content > .active { + display: flex !important; +} +.nav-section ul li button { + display: block; + border: none; + background: none; + /* margin-left: 10px; */ + text-decoration: none; + font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 18px; + line-height: 24px; + color: #979797; +} +@media (max-width: 480px) { + .nav-section ul li button { + margin-left: 10px; + } +} +.nav-section ul li button:hover { + color: #979797; +} +.nav-section ul .nav-section-selected a { + color: #0b5d7a; +} +.nav-section ul .nav-section-selected { + border-bottom: 2px solid #0b5d7a; +} + +/* */ + +.treks_nav { + padding-top: 0; + display: flex; + flex-wrap: wrap; + align-items: flex-start; + justify-content: space-between; +} +.nav-section ul { + display: flex; + flex-wrap: wrap; + /* justify-content: space-between; */ + gap: 10px; +} +.nav-section .treks_ul { + max-width: 640px; + width: 100%; +} +.nav-section ul li { + flex: 1; + list-style: none; + display: flex; + align-items: stretch; + /* border: 1px solid red; */ + justify-content: center; + padding-bottom: 8px; + padding-top: 6px; + border-bottom: 1px solid #eaedf1; +} + +.nav-section ul li a { + display: block; + margin-left: 10px; + text-decoration: none; + font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 18px; + line-height: 24px; + color: #979797; +} diff --git a/treks-src/style-bkup/style-trek-section.css b/treks-src/style-bkup/style-trek-section.css new file mode 100644 index 0000000..43bb080 --- /dev/null +++ b/treks-src/style-bkup/style-trek-section.css @@ -0,0 +1,86 @@ +@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap"); +@font-face { + font-family: "Arial"; + font-style: normal; + font-weight: normal; + src: local("Arial"), url("./fonts/ARIAL.woff") format("woff"); +} + +.trek-main-body-wrapper h1 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 24px !important; + line-height: 32px !important; + color: #000000; +} +.trek-main-body-wrapper h2 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 20px !important; + line-height: 28px !important; + color: #000000; +} +.trek-main-body-wrapper h3 { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 18px !important; + line-height: 24px !important; + color: #000000; +} +.trek-main-body-wrapper h4 { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #000000; +} +.trek-main-body-wrapper h5 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 14px !important; + line-height: 24px !important; + color: #000000; +} + +.trek-main-body-wrapper h6 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 12px !important; + line-height: 24px !important; + color: #000000; +} + +.trek-main-body-wrapper ul li, +.trek-main-body-wrapper ol li, +li::marker { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 400 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #000000; +} +.trek-main-body-wrapper a { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 600 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #000000; +} + +.trek-main-body-wrapper p { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 400 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #000000; +} diff --git a/treks-src/style-bkup/treksstyle.css b/treks-src/style-bkup/treksstyle.css new file mode 100644 index 0000000..e0d9661 --- /dev/null +++ b/treks-src/style-bkup/treksstyle.css @@ -0,0 +1,509 @@ +/* Common Style Rules */ +@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap"); +@font-face { + font-family: "Droid Sans"; + src: url("../assets/fonts/droid-sans/DroidSans.ttf"); +} + +body { + background-color: #f6f7fa !important; +} + +/* Common Class */ +.text-style-heading-s2-cm { + font-family: "Nunito"; + font-style: normal; + font-weight: 700; + font-size: 24px; + /* line-height: 32px; */ + margin-bottom: 0px !important; +} +.text-style-prep-cm { + font-family: "Arial"; + font-style: normal; + font-weight: 400; + font-size: 16px; + line-height: 24px; + color: #000000; +} +/* Header Section Style */ +.treks-nav { + background: #ffffff !important; +} +.header-section { + background-color: var(--main-color-white); + height: 80px; +} + +.header-section-div { + display: flex; + justify-content: space-between; +} + +.header-logo-search { + display: flex; +} +ul { + padding-left: 0 !important; +} +.header-logo { + padding: 16px 0px 16px 16px; +} + +.header-search { + border: 1px solid #979797; + border-radius: 8px; + width: 320px; + + height: 40px; + display: flex; + align-items: center; + margin-top: 20px; + margin-bottom: 20px; + margin-left: 48px; +} +@media (max-width: 991px) { + .header-search { + width: 100%; + + height: 40px; + display: flex; + align-items: center; + margin-top: 20px; + margin-bottom: 20px; + margin-left: 0px; + } +} + +.header-search input { + display: block; + border: none; + outline: none; + + /* font-family: var(--main-secondary-font); */ + font-family: "Droid Sans"; + font-style: normal; + font-weight: 100; + font-size: 16px; + line-height: 24px; +} + +.header-notification-user { + display: flex; +} +.header-notification { + cursor: pointer; + padding-top: 30px; + padding-bottom: 34px; + margin-right: 35px; +} +.header-user { + display: flex; +} +.header-user .user-avatar { + padding: 16px 0; + margin-right: 6px; +} + +.header-user .user-detail { + padding-top: 16px; +} + +.header-user .user-detail span:nth-child(1) { + display: block; + font-family: var(--main-primary-font); + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 24px; + color: var(--main-color-black); +} + +.header-user .user-detail span:nth-child(2) { + display: block; + font-family: var(--main-secondary-font); + font-style: normal; + font-weight: 400; + font-size: 10px; + line-height: 16px; + color: #979797; +} +.header-user .user-options { + cursor: pointer; + padding-top: 37px; + padding-left: 22px; + padding-right: 22px; +} + +/* Nav Section Style */ + +.nav-section { + padding-top: 40px; +} + +.nav-section ul { + display: flex; + flex-wrap: wrap; + /* justify-content: space-between; */ + gap: 10px; +} +.nav-section ul li { + flex: 1; + list-style: none; + display: flex; + align-items: center; + /* border: 1px solid red; */ + justify-content: center; + padding-bottom: 8px; + padding-top: 6px; + border-bottom: 1px solid #eaedf1; +} + +.nav-section ul li a { + display: block; + margin-left: 10px; + text-decoration: none; + font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 18px; + line-height: 24px; + color: #979797; +} +.nav-section ul .nav-section-selected a { + color: #0b5d7a; +} +.nav-section ul .nav-section-selected { + border-bottom: 1px solid #0b5d7a; +} + +/* My TREKs breadcrumbs - */ +@media only screen and (max-width: 400px) { + .my-trk-bc-section-div .bc-img-1 { + margin-right: 8px !important; + } + .my-trk-bc-section-div .bc-img-2 { + margin-left: 10px !important; + margin-right: 10px !important; + } +} +.my-trk-bc-section { + margin-top: 22px; +} +.my-trk-bc-section-div { + display: flex; + align-items: center; +} +.my-trk-bc-section-div p { + margin-bottom: 0px !important; + + font-family: "Nunito"; + font-style: normal; + font-weight: 600; + font-size: 16px; + line-height: 24px; + color: #979797; +} +.my-trk-bc-section-div .bc-img-1 { + margin-right: 18px; +} +.my-trk-bc-section-div .bc-img-2 { + margin-left: 25px; + margin-right: 25px; +} + +/* My TREKs Detail */ +@media only screen and (max-width: 844px) { + .my-trk-detail-section-div { + flex-direction: column; + } + .my-trk-detail-section-div .my-trk-detail-prep { + margin-left: 0px !important; + margin-top: 12px; + } +} +@media only screen and (max-width: 350px) { + .my-trk-detail-section-div .my-trk-detail-img { + width: 280px !important; + height: 144px !important; + } + .my-trk-detail-section-div .my-trk-detail-img img { + width: 100% !important; + height: 100% !important; + } +} +.my-trk-detail-section { + margin-top: 24px; + padding-bottom: 24px; + border-bottom: 1px solid #eaedf1; +} +.my-trk-detail-section-div { + display: flex; +} +.my-trk-detail-section-div .my-trk-detail-img { + width: 320px; + height: 184px; +} +.my-trk-detail-section-div .my-trk-detail-prep { + margin-left: 24px; +} +.my-trk-detail-section-div .my-trk-detail-prep .detail-prep-title { + margin-bottom: 16px; +} +.my-trk-detail-section-div .my-trk-detail-prep .detail-prep-title h2 { + font-family: "Nunito"; + font-style: normal; + font-weight: 700; + font-size: 24px; + line-height: 32px; + color: #000000; +} + +.my-trk-detail-section-div .my-trk-detail-prep .detail-prep-desc p { + max-width: 640px; + font-family: "Arial"; + font-style: normal; + font-weight: 400; + font-size: 16px; + line-height: 24px; + color: #000000; +} + +.my-trk-detail-section-div .detail-prep-tags { + display: flex; + flex-wrap: wrap; + gap: 16px 16px; +} +.my-trk-detail-section-div .detail-prep-tags .tags-body { + display: flex; + align-items: center; + width: 140px; + height: 48px; + /* background: #eaedf1; + border: 1px solid #979797; */ + border-radius: 24px; + padding-left: 8px; +} +.my-trk-detail-section-div .detail-prep-tags .tags-body .tags-body-polygon { + width: 32px; + height: 32px; + /* background-color: #979797; */ + clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); + display: flex; + align-items: center; + justify-content: center; + color: #ffffff; +} +.my-trk-detail-section-div .detail-prep-tags .tags-body .tags-body-detail span { + margin-left: 8px; + font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 24px; + /* color: #979797; */ +} + +/* overview-poly-body */ + +.detail-prep-tags .overview-poly-body { + background: #eaedf1; + border: 1px solid #979797; +} +.detail-prep-tags .overview-poly-body .tags-body-polygon { + background: #979797; +} + +.my-trk-detail-section-div .detail-prep-tags .overview-poly-body .tags-body-detail span { + color: #979797; +} +/* recall-poly-body */ +.detail-prep-tags .recall-poly-body { + background: #eaedf1; + border: 1px solid #ca2738; +} +.detail-prep-tags .recall-poly-body .tags-body-polygon { + background: #ca2738; +} +.my-trk-detail-section-div .detail-prep-tags .recall-poly-body .tags-body-detail span { + color: #ca2738; +} + +/* pa-poly-body */ +.detail-prep-tags .pa-poly-body { + background: #eaedf1; + border: 1px solid #1fa5d4; +} +.detail-prep-tags .pa-poly-body .tags-body-polygon { + background: #1fa5d4; +} +.my-trk-detail-section-div .detail-prep-tags .pa-poly-body .tags-body-detail span { + color: #1fa5d4; +} +/* pb-poly-body */ +.detail-prep-tags .pb-poly-body { + background: #eaedf1; + border: 1px solid #1fa5d4; +} +.detail-prep-tags .pb-poly-body .tags-body-polygon { + background: #1fa5d4; +} +.my-trk-detail-section-div .detail-prep-tags .pb-poly-body .tags-body-detail span { + color: #1fa5d4; +} +/* apply-poly-body */ +.detail-prep-tags .apply-poly-body { + background: #eaedf1; + border: 1px solid #9fc33b; +} +.detail-prep-tags .apply-poly-body .tags-body-polygon { + background: #9fc33b; +} +.my-trk-detail-section-div .detail-prep-tags .apply-poly-body .tags-body-detail span { + color: #9fc33b; +} + +/* TREKs assigned to */ +.trk-assign-section { + padding-top: 40px; + padding-bottom: 40px; + border-bottom: 1px solid #eaedf1; +} +.trk-assign-section-div { + display: flex; +} +.trk-assign-section-div p { + margin-bottom: 0px !important; + font-family: "Nunito"; + font-style: normal; + font-weight: 700; + font-size: 18px; + line-height: 24px; + color: #000000; +} +.trk-assign-section-div a { + margin-left: 9px; + font-family: "Nunito"; + font-style: normal; + font-weight: 500; + font-size: 18px; + line-height: 24px; + text-decoration-line: underline; + color: #0b5d7a; +} + +/* Central Concepts */ + +.central-cncpt-section { + padding-top: 24px; + padding-bottom: 24px; + border-bottom: 1px solid #eaedf1; +} + +.central-cncpt-section-div .central-cncpt-list-div { + padding-left: 32px; + margin-top: 16px; +} + +/* Central Concepts 4 topic detail */ +@media only screen and (max-width: 400px) { + .central-topic-section-div .central-topic-each-list { + flex-direction: column; + } + .central-topic-section-div .central-topic-each-list .list-heading { + white-space: nowrap; + /* width: 120px !important; */ + + text-align: left !important; + margin-right: 0px !important; + } +} +.central-topic-section { + padding-top: 24px; + padding-bottom: 24px; + border-bottom: 1px solid #eaedf1; +} + +.central-topic-section-div { +} +.central-topic-section-div .central-topic-each-list { + display: flex; +} +.central-topic-section-div .central-topic-each-list .list-heading { + white-space: nowrap; + width: 120px !important; + /* border: 1px solid red; */ + text-align: right; + margin-right: 16px; +} +.central-topic-section-div .central-topic-each-list .list-detail { + flex: 1; +} + +.central-topic-section-div .central-topic-each-list .list-detail h5 { + margin-bottom: 0px !important; + font-family: "Nunito"; + font-style: normal; + font-weight: 700; + font-size: 18px; + color: #000000; +} +/* recall-cc-heading */ +.recall-cc-heading { + color: #ca2738; +} +/* pa-cc-heading */ +.pa-cc-heading { + color: #1fa5d4; +} +/* pb-cc-heading */ +.pb-cc-heading { + color: #1fa5d4; +} + +/* apply-cc-heading */ +.apply-cc-heading { + color: #9fc33b; +} + +/* Integrated Standards Alignment*/ +.intg-stand-section { + padding-top: 24px; + padding-bottom: 24px; +} +.intg-stand-section-div { +} +.intg-stand-section-div .intg-stand-heading { +} +.intg-stand-section-div .intg-stand-detail-list { + margin-top: 24px; +} +.intg-stand-section-div .intg-stand-detail-list .intg-stand-list { + display: flex; +} +.intg-stand-section-div .intg-stand-detail-list .intg-stand-list h4 { + margin-bottom: 0px !important; + margin-right: 16px; + font-family: "Nunito"; + font-style: normal; + font-weight: 700; + font-size: 18px; + line-height: 24px; + color: #000000; +} +.intg-stand-section-div .intg-stand-detail-list .intg-stand-list p { + margin-bottom: 0px !important; +} +.intg-stand-section-div .intg-stand-detail { + margin-top: 8px; +} +.intg-stand-section-div .intg-stand-detail-list .intg-stand-detail .main-detail { + margin-left: 26px; + margin-bottom: 0px !important; +} + +.intg-stand-section-div .intg-stand-detail-list .intg-stand-detail .sub-detal { + margin-left: 46px; +} + +/* media query */ diff --git a/treks-src/style-v1/.htaccess b/treks-src/style-v1/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/style-v1/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/style-v2/.htaccess b/treks-src/style-v2/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/style-v2/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/style/.htaccess b/treks-src/style/.htaccess new file mode 100644 index 0000000..ca3cd10 --- /dev/null +++ b/treks-src/style/.htaccess @@ -0,0 +1,16 @@ + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + +RewriteEngine On +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + \ No newline at end of file diff --git a/treks-src/style/style-trek-section.css b/treks-src/style/style-trek-section.css new file mode 100644 index 0000000..43bb080 --- /dev/null +++ b/treks-src/style/style-trek-section.css @@ -0,0 +1,86 @@ +@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap"); +@font-face { + font-family: "Arial"; + font-style: normal; + font-weight: normal; + src: local("Arial"), url("./fonts/ARIAL.woff") format("woff"); +} + +.trek-main-body-wrapper h1 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 24px !important; + line-height: 32px !important; + color: #000000; +} +.trek-main-body-wrapper h2 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 20px !important; + line-height: 28px !important; + color: #000000; +} +.trek-main-body-wrapper h3 { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 18px !important; + line-height: 24px !important; + color: #000000; +} +.trek-main-body-wrapper h4 { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #000000; +} +.trek-main-body-wrapper h5 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 14px !important; + line-height: 24px !important; + color: #000000; +} + +.trek-main-body-wrapper h6 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 12px !important; + line-height: 24px !important; + color: #000000; +} + +.trek-main-body-wrapper ul li, +.trek-main-body-wrapper ol li, +li::marker { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 400 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #000000; +} +.trek-main-body-wrapper a { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 600 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #000000; +} + +.trek-main-body-wrapper p { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 400 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #000000; +} diff --git a/treks-src/style/trek-section.css b/treks-src/style/trek-section.css new file mode 100644 index 0000000..303cb36 --- /dev/null +++ b/treks-src/style/trek-section.css @@ -0,0 +1,136 @@ +@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap"); +@font-face { + font-family: "Arial"; + font-style: normal; + font-weight: normal; + src: local("Arial"), url("./fonts/ARIAL.woff") format("woff"); +} + +.trek-main-body-wrapper h1 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 24px !important; + line-height: 32px !important; + color: #000000; +} +.trek-main-body-wrapper h2 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 20px !important; + line-height: 28px !important; + color: #000000; +} +.trek-main-body-wrapper h3 { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 18px !important; + line-height: 24px !important; + color: #000000; +} +.trek-main-body-wrapper h4 { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #000000; +} +.trek-main-body-wrapper h5 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 14px !important; + line-height: 24px !important; + color: #000000; +} + +.trek-main-body-wrapper h6 { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 12px !important; + line-height: 24px !important; + color: #000000; +} + +.trek-main-body-wrapper h1 a { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 24px !important; + line-height: 32px !important; + color: #26428b; +} +.trek-main-body-wrapper h2 a { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 20px !important; + line-height: 28px !important; + color: #26428b; +} +.trek-main-body-wrapper h3 a { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 18px !important; + line-height: 24px !important; + color: #26428b; +} +.trek-main-body-wrapper h4 a { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #26428b; +} +.trek-main-body-wrapper h5 a { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 14px !important; + line-height: 24px !important; + color: #26428b; +} + +.trek-main-body-wrapper h6 a { + font-family: "Nunito", sans-serif !important; + font-style: normal !important; + font-weight: 700 !important; + font-size: 12px !important; + line-height: 24px !important; + color: #26428b; +} + +.trek-main-body-wrapper ul li, +.trek-main-body-wrapper ol li, +li::marker { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 400 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #000000; +} +.trek-main-body-wrapper a { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 600 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #26428b; +} + +.trek-main-body-wrapper p { + font-family: "Arial" !important; + font-style: normal !important; + font-weight: 400 !important; + font-size: 16px !important; + line-height: 24px !important; + color: #000000; +}