Skip to content

TAFE Digital but better by jordy3d

Details

Authorjordy3d

LicenseNo License

Categorystudytafensw

Created

Updated

Size21 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

TAFE Digital Campus, but better.

Has one course-specific set of things, but I can't exactly enrol in every course.

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name         TAFE Digital but better
@version      20220722.00.36
@namespace    userstyles.world/user/jordy3d
@description  TAFE Digital Campus, but better.

Has one course-specific set of things, but I can't exactly enrol in every course.
@author       jordy3d
@license      No License
==/UserStyle== */

@-moz-document domain("studytafensw.edu.au") {
/*Bane's Fixes*/

/*Set Units page to a proper fucking grid*/
#units > div > div.b-grid.justify-content-center.b-grid--three-column.b-grid--equal-height.row
{
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 0px 0px; 
  width: 100%; 
  height: 100%; 
}
#units > div > div.b-grid.justify-content-center.b-grid--three-column.b-grid--equal-height.row > div { max-width: 100%; }

/*More Obvious Open Classes*/
:not([class*="hidden"]) > a.b-unit-card { border: 6px solid #3dc2ff !important; }

/*Centerise the lesson titles*/
.b-lesson-card__title { margin: 5px 0; }

/*Ensure gap below h5p content*/
iframe[src*="tafensw"] { margin-bottom: 3rem; }

/*Fix assessment buttons*/
#overview-button { font-size: 0; line-height: 0; }
#overview-button span { font-size: .875rem; line-height: 24px; }
#submit-button { font-size: 0; line-height: 0; }
#submit-button span { font-size: .875rem; line-height: 24px; }
#currentstatus-button { font-size: 0; line-height: 0; }
#currentstatus-button span { font-size: .875rem; line-height: 24px; }

/*Fixing card images*/
.b-unit-card__img, .b-unit-card__img img { height: 110px; }

/*Better image zoom display*/
.block-image__image .visually-hidden:not(:focus):not(:active)
{
  width: 100% !important;
  height: 100% !important;
  background: #00000057 !important;
  position: relative !important;
  bottom: 20px !important;
  left: 0 !important;
  
  clip-path: none !important;
}
/*Zoom cursor on whole image*/
.img--zoom { cursor: zoom-in; }

/*Remove Review Mode thing for student*/
#scormtop { display: none; }

/*Debigulate "Chat with our Customer Help Team" button*/
[id*="OracleChatContainer"]:not(.open) { width: 42px !important; min-width: 42px!important; overflow: hidden; transition: all .1s !important; }
[id*="OracleChatContainer"]:not(.open) h1 { opacity: 0; }
[id*="OracleChatContainer"]:not(.open) #chatchevron { transform: rotate(-90deg); transition: all .1s; }
[id*="OracleChatContainer"]:not(.open):hover { width: 330px !important; }
[id*="OracleChatContainer"]:not(.open):hover h1 { opacity: 1; }
[id*="OracleChatContainer"]:not(.open):hover #chatchevron { transform: rotate(0deg); }


/*Adjust Online Chat locations*/
.b-online-chat { bottom: 0; }
.b-online-chat__content__link-container { bottom: -22px; background: #2e6dff; box-shadow: 0 0 5px 5px #333; }
.b-online-chat__content__link-container__drawer-toggle { background: #2e6dff; color: #ccc !important; }

/*Keep Accordion side borders active when open*/
.blocks-accordion__item:not(.blocks-accordion__item--closed) { border-left: 4px solid #2d739f !important; }
.blocks-accordion__item button, .blocks-accordion__item section { border: none !important; }

/*Unfuck the "Scroll to Top" button*/
a#scroll-top { top: 50%; }
a#scroll-top >i::before {content: "\e683"}

/*Indent sub-categories on Unit Lessons view*/
.b-lesson-card__nonumber { margin-left: 0px; }

.b-progress-meter__svg-ring { stroke: #1f1654; }
}

@-moz-document domain("studytafensw.edu.au") {
/*Dark Theme*/

/*Dark Scrollbar*/
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #fff0; }
::-webkit-scrollbar-thumb { background: #222; }
::-webkit-scrollbar-thumb:hover { background: #252525; }
::-webkit-scrollbar-corner { background: #0000; }


body, html,

.site #sp-main-body,

.overview,
.lesson__content, .page__wrapper--white,
.blocks-lesson,

.curtain__container,

.block-text.block-text--onecol,

.b-grid--grey-1,
.b-layout--grey-1, .b-layout--grey-1+.b-layout--overlap-top-75:before
{
  background: #3d3d3f;
}

.b-content-box,

.b-support-tabs,

.student-dashboard .onedrive .b-file-list,

.b-file-list__list-item,

.b-key-dates,

#region-main,

.page__header,
.next-lesson,
.lesson__sidebar,

.blocks-accordion__header,

.blocks-tabs__content, .blocks-tabs__content-item,

.block-flashcard__back, .block-flashcard__front,

.b-assessment-progress__task:last-child:before,
.b-assessment-progress__task:after
{
  background: #363639;
}

.b-lesson-card,

.b-contact-info,

.b-site-header,

.card,

.b-compactor__title,
.b-compactor__title:after,

.b-lesson-header__dropdown-button.b-button--secondary:not(:disabled):not(.disabled),

.b-lesson-header__dropdown .dropdown-menu,

.b-file-upload__heading,
.b-assessment-submit-buttons,

.student-dashboard #support-tab-1-tab,

.student-dashboard .onedrive .b-one-drive__heading,

.b-content-table .table-striped tbody tr:nth-of-type(odd),

.blocks-tabs__header-item,

.blocks-accordion .blocks-accordion__item .blocks-accordion__header,

.playing-card__content, 

.previous-lesson,

.block-knowledge__wrapper,

.rise-table-wrap tr:nth-child(even) td,

.timeline-card, .timeline-card__body,

.que .info,

.modal-content, .moodle-dialogue-base .moodle-dialogue-wrap.moodle-dialogue-content,

.b-results-table>table>tbody>tr:nth-child(odd)
{
  background: #2e2e2f !important;
}

.block-text.block-text--onecol
{
  background: #3d3d3f !important;
}

.blocks-tabs__header-item--active,

.block-text[style*="rgb(245, 245, 245)"], .blocks-accordion, 
.block-sorting-activity,
.block-image,

.block-timeline,

.que .formulation, .que .outcome, .que .comment,

.block-knowledge
{
  background: #363639 !important;
}

.b-assessment-card,

.b-assessments-table .table-striped tbody tr:nth-of-type(odd),
.b-assessments-table .restrictionmessage,

.b-content-box__feature,

.b-file-list__list-item:nth-child(odd),

#intro.generalbox,

.overview-list-item__link:active, .overview-list-item__link:hover,

.lesson-link--active, .lesson-link:hover,

.pile__wrap,

.block-embed,

.rise-table-wrap td,

.block-impact--d,

.block-embed__item
{
  background: #12121338 !important;
}

.blocks-accordion .blocks-accordion__item .blocks-accordion__header:hover
{
  background: #12121354 !important;
}

[data-iz-overlay] > div:first-child,

.overview-sidebar__search__input
{
  background: #121213b0 !important;
  backdrop-filter: blur(3px);
}

.b-compactor__content,

.b-compactor__content-wrapper,

.b-lesson-header__dropdown-menu-item:hover,

.card-header button,

.b-key-dates__list-item:nth-child(odd),

.blocks-accordion__content,

.fr-view table.fr-alternate-rows tbody tr:nth-child(2n),

.path-mod-quiz #mod_quiz_navblock .qnbutton,
.path-mod-quiz #mod_quiz_navblock .qnbutton .trafficlight,

.b-discussion__replies,

.joms-comment__reply textarea,

.b-dashboard-feedback,

.b-dashboard-feedback__card
{
  background: #12121385 !important;
}

.b-layout--blue-tint, .b-layout--blue-tint+.b-layout--overlap-top-75:before,

#OracleChatContainer .tab-content
{
  background: #29344f !important;
}

.b-layout--blue-light, .b-layout--blue-light+.b-layout--overlap-top-75:before,

.b-lesson-header__dropdown-menu-item--current:link, .b-lesson-header__dropdown-menu-item--current:visited,

table.quizreviewsummary td.cell,

#page-mod-quiz-view table.quizattemptsummary tr.bestrow td,

.b-recent-unit--blue,
.b-dashboard-course-card--blue,
.b-dashboard-course-card__results-wrapper,

.b-discussion__policy
{
  background: #1c2c51 !important;
}

.b-layout--blue-tint, .b-layout--blue-tint+.b-layout--overlap-top-75:before,

mark
{
  background: #2e6dff;
}

thead th { background: #0f6da8 !important; }

#page-mod-quiz-review .que.correct .outcome, .path-mod-quiz #mod_quiz_navblock .qnbutton.correct .trafficlight,

.que.pre-correct .info, .que.pre-correct .content .formulation
{
  background: #155500 !important;
}

.b-assessment-progress__task--current:after,

#page-mod-quiz-review .que.partiallycorrect .outcome, .path-mod-quiz #mod_quiz_navblock .qnbutton.partiallycorrect .trafficlight
{
  background: #e86d3d !important;
}

.quiz-card__container,

.lesson__content,

body, [stylus-iframe*="tafe"],

#mod_quiz_navblock,

.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd, .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd.yui3-widget-hd,

.student-dashboard .onedrive .b-one-drive__footer,

.joms-page,
.joms-comment__reply, .joms-comment__reply div,

.block-list
{
  background: #0000 !important;
}

.b-course-header__heading,

.block-text.block-text--heading,
.block-impact--note,

.quiz-multiple-response-option-wrap:hover:not(.quiz-multiple-response-option-wrap--complete),
.quiz-multiple-choice-option-wrap:hover:not(.quiz-multiple-choice-option-wrap--complete),

.b-recent-unit--blue .b-recent-unit__last-lesson,

.b-dashboard-course-card__view-results-button,

table.quizreviewsummary th.cell
{
  background-color: #00000055 !important;
}

.quiz-match__item-feedback-bubble,

#page-mod-quiz-review .que.incorrect .outcome,
#page-mod-quiz-review .qnbutton.incorrect
{ 
  background: #ff000069 !important; 
}

body, strong, h1, h2, h3, h4, h5, h6,

.b-lesson-card__body,

.b-assessment-card,

.b-button--secondary:not(:disabled):not(.disabled),

.b-unit-card, .b-unit-card:link, .b-unit-card:visited,

.b-course-header,

.b-compactor__title,

.card-header button,

.b-support-tile__heading,

.student-dashboard .onedrive .b-one-drive__heading,

.b-key-dates,

.overview-list-item__title,

.lesson-header__title,

.blocks-accordion__header,

.block-flashcard__flip,

.playing-card__content,
.pile__title,

.restart-button,

.quiz-fill__input,

.block-knowledge__retake,

.brand--head, .brand--head *,
.brand--body, .brand--body *,

.que .formulation, .que .outcome, .que .comment,

.table, table.collection, table.flexible, .generaltable,

.moodle-dialogue-base .closebutton::after,

.que.pre-correct .info, .que.pre-correct .content .formulation,

.b-progress-meter__suffix,
.b-dashboard-course-card,

.b-discussion__reply-author-name,
.joms-comment__reply textarea,
.b-discussion__policy-content,

#OracleChatContainer .tab-content,
#OracleChatContain...

Reviews

No reviews yet.