diff options
Diffstat (limited to 'scss/pysite')
27 files changed, 0 insertions, 1212 deletions
diff --git a/scss/pysite/_fonts.scss b/scss/pysite/_fonts.scss deleted file mode 100644 index 51c88e96..00000000 --- a/scss/pysite/_fonts.scss +++ /dev/null @@ -1,20 +0,0 @@ -// Styling related to specific font-faces. -// scss-lint:disable QualifyingElement UrlFormat - -@font-face { - font-family: "Fira Code"; - - src: url("https://unpkg.com/firacode/distr/eot/FiraCode-Regular.eot"); - src: url("https://unpkg.com/firacode/distr/eot/FiraCode-Regular.eot?#iefix") format("embedded-opentype"), - url("https://unpkg.com/firacode/distr/woff2/FiraCode-Regular.woff2") format("woff2"), - url("https://unpkg.com/firacode/distr/woff/FiraCode-Regular.woff") format("woff"), - url("https://unpkg.com/firacode/distr/ttf/FiraCode-Regular.ttf") format("truetype"); -} - -.fira-code { - font-family: 'Fira Code', "monospace", Fallback; -} - -textarea.fira-code { - line-height: 1.3 !important; -} diff --git a/scss/pysite/_mixins.scss b/scss/pysite/_mixins.scss deleted file mode 100644 index a7883a23..00000000 --- a/scss/pysite/_mixins.scss +++ /dev/null @@ -1,43 +0,0 @@ -// scss-lint:disable VendorPrefix - -@mixin linear_gradient_background($base_colour, $start_colour, $end_colour) { - // Apply a linear gradient background to a selector - // scss-lint:disable DuplicateProperty NameFormat - - background: $base_colour; - background: -webkit-linear-gradient(top, $start_colour 3%, $end_colour 100%); - background: -moz-linear-gradient(top, $start_colour 3%, $end_colour 100%); - background: -ms-linear-gradient(top, $start_colour 3%, $end_colour 100%); - background: -o-linear-gradient(top, $start_colour 3%, $end_colour 100%); - background: -webkit-gradient(linear, top, bottom, color-stop(3%, $start_colour), color-stop(100%, $end_colour)); - background: linear-gradient(to bottom, $start_colour 3%, $end_colour 100%); - - // Why is this a thing? - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$base_colour}', endColorstr='#{$end_colour}', GradientType=0); -} - -@mixin box_shadow($offset_x, $offset_y, $colour, $blur_radius: 0, $spread_radius: 0) { - // Apply a box shadow to a selector - -webkit-box-shadow: $offset_x $offset_y $blur_radius $spread_radius $colour; - -moz-box-shadow: $offset_x $offset_y $blur_radius $spread_radius $colour; - box-shadow: $offset_x $offset_y $blur_radius $spread_radius $colour; -} - -@mixin inset_box_shadow($offset_x, $offset_y, $colour, $blur_radius: 0, $spread_radius: 0) { - // Apply an inset box shadow to a selector - -webkit-box-shadow: inset $offset_x $offset_y $blur_radius $spread_radius $colour; - -moz-box-shadow: inset $offset_x $offset_y $blur_radius $spread_radius $colour; - box-shadow: inset $offset_x $offset_y $blur_radius $spread_radius $colour; -} - -@mixin border_radius($radius) { - -webkit-border-radius: $radius; - -moz-border-radius: $radius; - border-radius: $radius; -} - -@mixin transition($type, $time, $effect) { - transition: $type $time $effect; - -moz-transition: $type $time $effect; - -webkit-transition: $type $time $effect; -} diff --git a/scss/pysite/_uikit_shim.scss b/scss/pysite/_uikit_shim.scss deleted file mode 100644 index 312d717a..00000000 --- a/scss/pysite/_uikit_shim.scss +++ /dev/null @@ -1,138 +0,0 @@ -// Styling that modifies things that are already provided -// by UIKit. This file is intended to be imported from the -// main `style.scss`. - - -@import "variables"; - -$button_dark_background_colour: rgba(0, 0, 0, .95); -$button_dark_border_colour: rgba(34, 34, 34, .93); -$button_dark_hover_background_colour: rgba(0, 0, 0, .70); - -$button_darkish_background_colour: rgba(0, 0, 0, .11); -$button_darkish_border_colour: rgba(34, 34, 34, .09); -$button_darkish_hover_background_colour: rgba(0, 0, 0, .22); - -$dropbar_background_colour: #222222; -$nav_header_colour: #666666; - -th p { - margin: 0; -} - -.uk-offcanvas-content { - flex: 1 0 auto; -} - -.uk-background-secondary .uk-navbar-dropdown-nav { - .uk-active a { - color: $white; - } - - .uk-nav-header { - color: $nav_header_colour; - font-size: 120%; - font-weight: bold; - padding: 0; - text-transform: none; - - &.uk-active { - color: $white; - } - } - - .uk-navbar-dropbar { - background: $dropbar_background_colour; - } -} - -.uk-navbar-container, -.uk-sticky-placeholder, -.uk-navbar-nav > li > a, -.uk-navbar-left > a { - height: 70px; -} - -.uk-navbar-dropdown { - overflow-y: auto; - top: 45px !important; -} - -.uk-article-title { - margin-bottom: 0 !important; -} - -.uk-article-meta { - margin-left: 2px; - margin-top: 0 !important; -} - -.uk-section { - padding-bottom: 30px; - padding-top: 20px; -} - -.uk-heading-divider .uk-article-meta { - margin-bottom: 0; -} - -footer { - // scss-lint:disable QualifyingElement - flex-shrink: 0; - - div.uk-section { - padding: 0; - - div.uk-text-center { - margin-top: 20px; - } - } -} - -.uk-button-dark { - background: $button_dark_background_colour; - border: 1px solid $button_dark_border_colour; - color: $white; - - :hover { - background: $button_dark_hover_background_colour; - } -} - -.uk-button-darkish { // Technically our own style, but uses the uk prefix - background: $button_darkish_background_colour; - border: 1px solid $button_darkish_border_colour; - - :hover { - background: $button_darkish_hover_background_colour; - } -} - -.uk-navbar-container { - padding-left: 40px; - padding-right: 40px; -} - -// Custom success button - -.uk-button-success { - background-color: $success_colour; - border: 1px solid transparent; - color: $white; -} - -.uk-button-success:hover, -.uk-button-success:focus { - background-color: darken($success_colour, 5%); -} - -.uk-button-success:active, -.uk-button-success.uk-active { - background-color: darken($success_colour, 10%); -} - -.uk-button-success:disabled { - background-color: $white !important; - border: 1px solid $global_border; - color: $muted_colour !important; -} diff --git a/scss/pysite/_variables.scss b/scss/pysite/_variables.scss deleted file mode 100644 index 936ce5cc..00000000 --- a/scss/pysite/_variables.scss +++ /dev/null @@ -1,30 +0,0 @@ -// Variables for use throughout the site's SCSS files - - -$white: #FFFFFF; -$black: #000000; -$red: #FF0000; -$green: #00FF00; - -$success_colour: #32D296; -$danger_colour: #F0506E; -$muted_colour: #999999; - -$primary_background: #7289DA; -$muted_background: #F8F8F8; - -$global_border: #E5E5E5; -$border_darker: #AAAAAA; - -$winner_colour_brighter: #EEBB00; -$winner_colour: #E0B000; -$winner_colour_hover: #DAA900; -$winner_colour_active: #DAA015; - -$clean_logs_background: #36393E; -$clean_logs_embed_background: #2E3136; -$clean_logs_embed_border: #282B30; -$clean_logs_anchor_color: #A9C4DA; -$clean_logs_timestamp: #75797F; - - diff --git a/scss/pysite/pages/_rst.scss b/scss/pysite/pages/_rst.scss deleted file mode 100644 index 9d9b241d..00000000 --- a/scss/pysite/pages/_rst.scss +++ /dev/null @@ -1,24 +0,0 @@ -// Page-specific styling for pages that make use of embedded -// RST documents that have been parsed into HTML. - - -$page_classes: ( - uses-rst, // All pages that declare their use of the RST parser -); - -@each $class in $page_classes { - .#{$class} { - .document li p { - margin-bottom: 0; - } - - .document img { - margin-bottom: 20px; - } - - #editor { - min-height: 50vh; - resize: vertical; - } - } -} diff --git a/scss/pysite/pages/errors/_common.scss b/scss/pysite/pages/errors/_common.scss deleted file mode 100644 index 27dac785..00000000 --- a/scss/pysite/pages/errors/_common.scss +++ /dev/null @@ -1,131 +0,0 @@ -@import "mixins"; -@import "variables"; - -$close_button_background: #FF5F4F; - -$error_header_color: #E84149; - -$half_opacity_black: rgba(0, 0, 0, .5); - -$maximize_button_background: #19CC32; -$minimize_button_background: #F9C206; - -$muted_background: #E8E8E8; - -$top_bar_background_gradient_1: #F1F1F1; -$top_bar_background_gradient_2: #E9E9E9; -$top_bar_background_gradient_3: #D8D8D8; -$top_bar_bottom_border: #BDBCC1; -$top_bar_shadow_colour: rgba(255, 255, 255, .76); - -$window_border: #C1C2C2; - -$page_classes: ( - blueprint-error, // All error pages -); - -@each $class in $page_classes { - .#{$class} { - .window { - @include border_radius(4px); - @include box_shadow(0, 4px, $half_opacity_black, 12px); - - border: 1px solid $window_border; - height: 500px; - margin: 20px auto auto; - width: 100%; - } - - .inside { - background: $black; - height: 100%; - padding-right: 20px; - } - - .block { - background: $black; - width: 100%; - } - - .top, - .panel { - float: left; - } - - .top { - @include linear_gradient_background($top_bar_background_gradient_1, $top_bar_background_gradient_2, $top_bar_background_gradient_3); - @include inset_box_shadow(0, 1px, $top_bar_shadow_colour, 1px, 0); - - border-bottom: 2px solid $top_bar_bottom_border; - overflow: hidden; - padding: 7px 0; - position: relative; - width: 100%; - } - - .panel { - padding-left: 9px; - padding-top: 2px; - } - - // Window buttons - - #terminal-close, - #second-button, - #third-button { - @include border_radius(6px); - - cursor: pointer; - display: inline-block; - float: left; - height: 12px; - margin-right: 7px; - width: 12px; - } - - #terminal-close { - background: $close_button_background; - } - - #second-button { - background: $minimize_button_background; - } - - #third-button { - background: $maximize_button_background; - } - - #terminal { - background-color: $black; - color: $white; - height: 100%; - width: 100%; - - code { - white-space: pre-wrap; - } - } - - pre { - border: 0; - border-radius: 3px; - } - - .uk-background-muted, - .error-header { - background-color: $muted_background !important; - } - - .error-header { - color: $error_header_color; - font-family: monospace; - } - - code, - pre { - overflow-wrap: break-word; - width: 100%; - word-wrap: break-word; - } - } -} diff --git a/scss/pysite/pages/main/_index.scss b/scss/pysite/pages/main/_index.scss deleted file mode 100644 index 36a046cf..00000000 --- a/scss/pysite/pages/main/_index.scss +++ /dev/null @@ -1,11 +0,0 @@ -$page_classes: ( - page-main-index, -); - -@each $class in $page_classes { - .#{$class} { - #invite-button { - padding: 0; - } - } -} diff --git a/scss/pysite/pages/main/about/_partners.scss b/scss/pysite/pages/main/about/_partners.scss deleted file mode 100644 index 280d9a46..00000000 --- a/scss/pysite/pages/main/about/_partners.scss +++ /dev/null @@ -1,12 +0,0 @@ -$page_classes: ( - page-main-about-partners, -); - -@each $class in $page_classes { - .#{$class} { - #partner-cards .uk-card-default { - margin-top: 2em; - text-align: center; - } - } -} diff --git a/scss/pysite/pages/main/about/_privacy.scss b/scss/pysite/pages/main/about/_privacy.scss deleted file mode 100644 index b4203f8d..00000000 --- a/scss/pysite/pages/main/about/_privacy.scss +++ /dev/null @@ -1,12 +0,0 @@ -$page_classes: ( - page-main-about-privacy, -); - -@each $class in $page_classes { - .#{$class} { - td, - th { - max-width: 30rem; - } - } -} diff --git a/scss/pysite/pages/main/bot/_clean_logs.scss b/scss/pysite/pages/main/bot/_clean_logs.scss deleted file mode 100644 index 980ca9cf..00000000 --- a/scss/pysite/pages/main/bot/_clean_logs.scss +++ /dev/null @@ -1,47 +0,0 @@ -.clean-logs { - - background-color: $clean_logs_background; - - .nick { - font-weight: 700; - } - - .time { - color: $clean_logs_timestamp; - font-size: 11px; - font-weight: normal; - margin-left: .8em; - } - - .text { - color: $white; - margin-bottom: 1em; - } - - .embed { - background-color: $clean_logs_embed_background; - border: 2px solid $clean_logs_embed_border; - border-radius: 5px; - color: $white; - margin-bottom: 1.5em; - padding: 1em; - width: 60%; - - .footer { - font-size: 9px; - } - - .fields { - display: flex; - flex-wrap: wrap; - } - - .field { - flex: 50%; - } - - a { - color: $clean_logs_anchor_color; - } - } -} diff --git a/scss/pysite/pages/main/info/_resources.scss b/scss/pysite/pages/main/info/_resources.scss deleted file mode 100644 index ec2854d7..00000000 --- a/scss/pysite/pages/main/info/_resources.scss +++ /dev/null @@ -1,29 +0,0 @@ -$page_classes: ( - page-main-info-resources, -); - -@each $class in $page_classes { - .#{$class} { - .payment-icon { - margin-right: 1em; - - img { - height: 2em; - } - } - - .payment-description { - height: 3.7rem; - margin-right: .5rem; - vertical-align: text-bottom; - } - - .resource-title { - margin-bottom: -1rem; - - div { - padding-bottom: 0; - } - } - } -} diff --git a/scss/pysite/pages/main/jams/_index.scss b/scss/pysite/pages/main/jams/_index.scss deleted file mode 100644 index a1f80162..00000000 --- a/scss/pysite/pages/main/jams/_index.scss +++ /dev/null @@ -1,44 +0,0 @@ -@import "variables"; -@import "../../../../uikit/variables"; - -$page_classes: ( - page-main-jams-index, -); - -@each $class in $page_classes { - .#{$class} { - .date-separator { - vertical-align: middle; - } - - .theme-label { - margin-top: 3px; - } - - .jam-tiles { - border-color: $border_darker transparent; - border-style: solid; - border-width: 1px; - - .uk-tile-success { - background: $success_colour; - } - - .uk-tile-danger { - background: $danger_colour; - } - - .uk-tile-winner { - background: $winner_colour_brighter; - } - - .jam-tile-text { - align-items: center; - color: $white; - display: flex; - justify-content: center; - text-transform: uppercase; - } - } - } -} diff --git a/scss/pysite/pages/main/jams/_join.scss b/scss/pysite/pages/main/jams/_join.scss deleted file mode 100644 index 6281edee..00000000 --- a/scss/pysite/pages/main/jams/_join.scss +++ /dev/null @@ -1,33 +0,0 @@ -$page_classes: ( - page-main-jams-join, -); - -@each $class in $page_classes { - .#{$class} { - .question-label { - margin-top: 0; - } - - .checkbox-label { - padding-left: .7rem; - } - - .radio-label { - padding-left: .7rem; - padding-right: 1rem; - } - - .range-label { - padding-left: .3rem; - } - - .textarea { - min-height: 15rem; - resize: vertical; - } - - .slider-label { - margin-right: 1rem; - } - } -} diff --git a/scss/pysite/pages/main/jams/_team_list.scss b/scss/pysite/pages/main/jams/_team_list.scss deleted file mode 100644 index 75fd397d..00000000 --- a/scss/pysite/pages/main/jams/_team_list.scss +++ /dev/null @@ -1,57 +0,0 @@ -@import "variables"; - -$page_classes: (jam-team-list); - -@each $class in $page_classes { - .#{$class} { - .team-list-cards { - margin-top: 20px; - } - - .team-links { - text-align: center; - } - - .team-subtitle { - margin-bottom: 0; - } - - .team-card-own { - border: solid 2px $primary_background; - - &.team-card-winner { - border-color: $winner_colour $winner_colour $primary_background $primary_background; - } - } - - .team-badge-own { - color: $primary_background; - } - - .team-card-winner { - border: solid 2px $winner_colour; - } - - .team-badge-winner { - color: $winner_colour; - } - - .team-member-avatars { - padding: 10px; - text-align: center; - - .team-member-avatar-link { - margin: 0 5px; - - .team-member-avatar { - height: 32px; - } - } - - .team-member-avatar-link:hover, - .team-member-avatar-link:active { - text-decoration: none; - } - } - } -} diff --git a/scss/pysite/pages/main/jams/_team_view.scss b/scss/pysite/pages/main/jams/_team_view.scss deleted file mode 100644 index 891aabfa..00000000 --- a/scss/pysite/pages/main/jams/_team_view.scss +++ /dev/null @@ -1,100 +0,0 @@ -$page_classes: (jam-team-view); - -$gitlab_activity_background: #F5F5F5; -$pasta_background: #EAF5FF; -$pasta_text: #0366D6; - -@each $class in $page_classes { - .#{$class} { - .participant-card-list { - margin-bottom: 25px; - } - - .participant-card { - margin-bottom: 10px; - padding: 10px; - - .participant-avatar-link { - margin-right: 10px; - - .participant-avatar { - height: 2.5rem; - } - } - - .participant-avatar-link:hover, - .participant-avatar-link:active { - text-decoration: none; - } - - .participant-links { - float: right; - } - } - - .gitlab-activity { - background-color: $gitlab_activity_background; - height: 500px; - overflow-x: hidden; - overflow-y: auto; - width: 100%; - - .gitlab-activity-loading { - align-items: center; - display: flex; - height: 100%; - justify-content: center; - width: 100%; - - .gitlab-activity-spinner { - text-align: center; - width: 100%; - } - } - - .gitlab-activity-events { - height: auto; - width: 100%; - } - - .gitlab-activity-event-item { - background-color: $white; - border: solid 1px $muted_colour; - border-bottom-width: 0; - box-sizing: border-box; - display: flex; - justify-content: center; - padding: 10px; - vertical-align: middle; - width: 100%; - - .gitlab-activity-event-item-content { - width: 100%; - } - - .pasta { - background-color: $pasta_background; - border-radius: 3px; - color: $pasta_text; - font-family: Consolas, monaco, monospace; - font-size: 12px; - margin-right: 10px; - padding: 3px 5px; - } - } - - .gitlab-activity-event-item:nth-last-child(2) { - border-bottom-width: 1px; - } - - .gitlab-activity-events-footer { - color: $muted_colour; - display: flex; - justify-content: center; - padding: 10px; - text-align: center; - vertical-align: middle; - } - } - } -} diff --git a/scss/pysite/pages/staff/_common.scss b/scss/pysite/pages/staff/_common.scss deleted file mode 100644 index 69c9d533..00000000 --- a/scss/pysite/pages/staff/_common.scss +++ /dev/null @@ -1,103 +0,0 @@ -@import "variables"; - -$quote_colour: #99AAB5; -$sidebar_button_border_colour: rgba(0, 0, 0, .11); - -$page_classes: ( - blueprint-staff, // All staff pages -); - -@each $class in $page_classes { - .#{$class} { - .participant-handle { - cursor: move !important; - } - - #member-answers-sidebar { - border-right: 1px solid $global_border; - margin-right: 1rem; - min-width: 20vw; - width: 20vw; - - .avatar { - margin: 1vw 4vw; - width: 12vw; - } - } - - .approval-card { - border: 1px solid $global_border; - padding: 0; - - img { - height: 2.5rem; - } - - h2 { - margin-bottom: 0; - vertical-align: central; - } - - .user-id { - margin-bottom: 0 !important; - } - - .expand-icon { - display: none; - } - - .contract-icon { - display: inline-block; - } - - .uk-button { - padding-left: 10px; - padding-right: 10px; - } - - .uk-card-body { - border-top: 1px solid $global_border; - padding-top: 20px; - } - - .status-icon.fa-check { - color: $success_colour; - } - - .status-icon.fa-times { - color: $danger_colour; - } - - .approved { - .status-icon.fa-times { - display: none; - } - } - - .unapproved { - .status-icon.fa-check { - display: none; - } - } - - &.collapsed { - .expand-icon { - display: inline-block; - } - - .contract-icon { - display: none; - } - - .uk-card-header { - border-bottom: 0; - } - - .uk-card-body { - display: none; - visibility: hidden; - } - } - } - } -} diff --git a/scss/pysite/pages/staff/jams/_edit_ending.scss b/scss/pysite/pages/staff/jams/_edit_ending.scss deleted file mode 100644 index c21d3bd8..00000000 --- a/scss/pysite/pages/staff/jams/_edit_ending.scss +++ /dev/null @@ -1,12 +0,0 @@ -$page_classes: ( - page-staff-jams-edit-ending, // All wiki pages -); - -@each $class in $page_classes { - .#{$class} { - #editor { - min-height: 50vh; - resize: vertical; - } - } -} diff --git a/scss/pysite/pages/staff/jams/_edit_info.scss b/scss/pysite/pages/staff/jams/_edit_info.scss deleted file mode 100644 index 5863c2bb..00000000 --- a/scss/pysite/pages/staff/jams/_edit_info.scss +++ /dev/null @@ -1,12 +0,0 @@ -$page_classes: ( - page-staff-jams-edit-info, // All wiki pages -); - -@each $class in $page_classes { - .#{$class} { - .editor { - min-height: 30vh; - resize: vertical; - } - } -} diff --git a/scss/pysite/pages/staff/jams/forms/_preamble_edit.scss b/scss/pysite/pages/staff/jams/forms/_preamble_edit.scss deleted file mode 100644 index 2847b3d5..00000000 --- a/scss/pysite/pages/staff/jams/forms/_preamble_edit.scss +++ /dev/null @@ -1,12 +0,0 @@ -$page_classes: ( - page-staff-jams-forms-preamble-edit, // All wiki pages -); - -@each $class in $page_classes { - .#{$class} { - .editor { - min-height: 30vh; - resize: vertical; - } - } -} diff --git a/scss/pysite/pages/staff/jams/forms/_questions_view.scss b/scss/pysite/pages/staff/jams/forms/_questions_view.scss deleted file mode 100644 index eea8eab2..00000000 --- a/scss/pysite/pages/staff/jams/forms/_questions_view.scss +++ /dev/null @@ -1,13 +0,0 @@ -$page_classes: ( - page-staff-jams-forms-questions, // All wiki pages -); - -@each $class in $page_classes { - .#{$class} { - .delete-question-button, - .edit-question-button { - padding-left: 5px; - padding-right: 5px; - } - } -} diff --git a/scss/pysite/pages/staff/jams/forms/_view.scss b/scss/pysite/pages/staff/jams/forms/_view.scss deleted file mode 100644 index f0a233f3..00000000 --- a/scss/pysite/pages/staff/jams/forms/_view.scss +++ /dev/null @@ -1,13 +0,0 @@ -$page_classes: ( - page-staff-jams-forms-view, // All wiki pages -); - -@each $class in $page_classes { - .#{$class} { - .delete-question-button, - .edit-question-button { - padding-left: 5px; - padding-right: 5px; - } - } -} diff --git a/scss/pysite/pages/staff/jams/infractions/_view.scss b/scss/pysite/pages/staff/jams/infractions/_view.scss deleted file mode 100644 index bcee8fdf..00000000 --- a/scss/pysite/pages/staff/jams/infractions/_view.scss +++ /dev/null @@ -1,12 +0,0 @@ -$page_classes: ( - page-staff-jams-infractions, // All wiki pages -); - -@each $class in $page_classes { - .#{$class} { - .delete-infraction-button { - padding-left: 5px; - padding-right: 5px; - } - } -} diff --git a/scss/pysite/pages/staff/jams/teams/_view.scss b/scss/pysite/pages/staff/jams/teams/_view.scss deleted file mode 100644 index 54a455d4..00000000 --- a/scss/pysite/pages/staff/jams/teams/_view.scss +++ /dev/null @@ -1,28 +0,0 @@ -@import "variables"; - -$page_classes: (page-staff-jams-edit-teams); - -@each $class in $page_classes { - .#{$class} { - .team-winner-unset-button, - .team-winner-button { - background-color: $winner_colour; - border: 1px solid transparent; - color: $white; - } - - .team-winner-unset-button:hover, - .team-winner-button:hover { - background-color: $winner_colour_hover; - } - - .team-winner-unset-button:active, - .team-winner-button:active { - background-color: $winner_colour_active; - } - - .team-card-winner { - border: solid 2px $winner_colour; - } - } -} diff --git a/scss/pysite/pages/staff/tables/_edit.scss b/scss/pysite/pages/staff/tables/_edit.scss deleted file mode 100644 index 17b1fecd..00000000 --- a/scss/pysite/pages/staff/tables/_edit.scss +++ /dev/null @@ -1,12 +0,0 @@ -$page_classes: ( - page-staff-tables-edit, -); - -@each $class in $page_classes { - .#{$class} { - #editor { - min-height: 50vh; - resize: vertical; - } - } -} diff --git a/scss/pysite/pages/staff/tables/_table.scss b/scss/pysite/pages/staff/tables/_table.scss deleted file mode 100644 index cfe5b658..00000000 --- a/scss/pysite/pages/staff/tables/_table.scss +++ /dev/null @@ -1,12 +0,0 @@ -$page_classes: ( - page-staff-tables-table, -); - -@each $class in $page_classes { - .#{$class} { - .delete-infraction-button { - padding-left: 5px; - padding-right: 5px; - } - } -} diff --git a/scss/pysite/pages/wiki/_common.scss b/scss/pysite/pages/wiki/_common.scss deleted file mode 100644 index ac062b59..00000000 --- a/scss/pysite/pages/wiki/_common.scss +++ /dev/null @@ -1,77 +0,0 @@ -@import "variables"; - -$quote_colour: #99AAB5; -$sidebar_button_border_colour: rgba(0, 0, 0, .11); - -$page_classes: ( - blueprint-wiki, // All wiki pages -); - -@each $class in $page_classes { - .#{$class} { - .quote { - border-left: 3px solid $primary_background; - color: $quote_colour; - margin-bottom: 1rem; - padding-left: 20px; - } - - #wiki-nav .uk-nav-divider { - min-width: 8rem; - } - - #wiki-sidebar { - transition: width ease 1s; - } - - #wiki-page { - overflow-x: hidden; - } - - #wiki-sidebar-button { - align-items: center; - border: 1px solid $sidebar_button_border_colour; - color: $white; - height: 3rem; - justify-content: center; - min-height: 3rem; - min-width: 3rem; - width: 3rem; - } - - #doc-view { - width: calc(100% - 6rem); - } - - @media (max-width: 639px) { - #doc-view { - width: calc(100% - 1rem); - } - } - - .sidebar-search-input { - border-left: 0; - border-right: 0; - margin-top: 5px; - padding-right: 0; - } - - .search-button { - border: 0; - width: 100%; - } - - .content { - flex-grow: 1; - margin: 0 1rem 1rem; - } - - .location-input { - margin-left: 15px; - } - - .preview-title { - padding: 1rem 1rem .1rem; - } - } -} diff --git a/scss/pysite/style.scss b/scss/pysite/style.scss deleted file mode 100644 index 3858d4c4..00000000 --- a/scss/pysite/style.scss +++ /dev/null @@ -1,175 +0,0 @@ -// General imports, for styles that apply to all pages -// scss-lint:disable QualifyingElement - -@import "fonts"; -@import "mixins"; -@import "uikit_shim"; -@import "variables"; - -/* - Page-specific styling imports - - You can target pages in the following ways: - - * For specific pages, take the view name, prefix it with - "page-" and replace all the dots with dashes. This will - give you a class that only matches that page. - * For all pages under a specific blueprint, take the blueprint - name, prefix it with "blueprint-" and replace all the dots with - dashes. This will give you a class that matches every page - under that blueprint. - - For example: - "main.index.jams" -> ".page-main-index-jams" - "wiki" -> ".blueprint-wiki" - - Additionally, you can use your own class names for categories of pages. - For example, you might provide a "uses-rst" class, which you would then - make use of in your templates by putting it in a "page_classes" block. - - For example: - {% block page_classes %}uses-rst{% endblock %} - - If you do this, make sure you document it on the wiki! -*/ - - -// Styles useful across all pages -@import "pages/rst"; - -// Sectional: Errors Blueprint -@import "pages/errors/common"; - -// Sectional: Main Blueprint -@import "pages/main/index"; - -@import "pages/main/about/partners"; -@import "pages/main/about/privacy"; - -@import "pages/main/info/resources"; - -@import "pages/main/jams/index"; -@import "pages/main/jams/join"; -@import "pages/main/jams/team_view"; -@import "pages/main/jams/team_list"; - -@import "pages/main/bot/clean_logs"; - -// Sectional: Staff Blueprint -@import "pages/staff/common"; - -@import "pages/staff/jams/edit_ending"; -@import "pages/staff/jams/edit_info"; - -@import "pages/staff/jams/forms/preamble_edit"; -@import "pages/staff/jams/forms/questions_view"; -@import "pages/staff/jams/forms/view"; - -@import "pages/staff/jams/infractions/view"; - -@import "pages/staff/jams/teams/view"; - -@import "pages/staff/tables/edit"; -@import "pages/staff/tables/table"; - -// Sectional: Wiki Blueprint -@import "pages/wiki/common"; - -/* - Custom styling using our own classes and IDs. If instead you're - modifying existing UIKit styles to better suit our site, you should - put it in the UIKit shim file instead. -*/ - -html { - height: 100%; - - body { - display: flex; - flex-direction: column; - height: 100%; - } -} - -.navbar-logo { - height: 60%; - margin-left: -10px; - margin-top: 2px; - max-width: 110%; - padding-left: 3px; -} - -.hover-title a { - @include transition(opacity, 200ms, ease-in-out); - - opacity: 0; - visibility: hidden; -} - -.hover-title:hover a { - @include transition(opacity, 200ms, ease-in-out); - - opacity: 1; - visibility: visible; -} - -.debug-mode-item { - color: $primary_background !important; -} - -.jam-image { - max-width: 15rem; -} - -.cursor-default { - cursor: default !important; -} - -.full-width { - width: 100%; -} - -// Forms - -select { - -webkit-appearance: unset !important; - - left: auto !important; - opacity: 1 !important; - position: relative !important; - top: auto !important; -} - -div.danger-input * { - border-color: $red !important; - color: $red; - - transition: color .5s ease, - border-color .5s ease; -} - -// Tables - -table.table-bordered { - border: 1px solid $global_border !important; -} - -tr.thick-bottom-border { - border-bottom: 3px solid $global_border !important; -} - -td.left-border, -th.left-border { - border-left: 1px solid $global_border !important; -} - -td.right-border, -th.right-border { - border-right: 1px solid $global_border !important; -} - -// Flash of Unstyled Content fixes - -.prevent-fouc { - display: none; -} |