Skip to content

Commit

Permalink
Merge pull request #261 from AY2122S1-CS2103T-W13-2/bryan/reused-scss…
Browse files Browse the repository at this point in the history
…-update

Add credit for reused work for bootstrap scss files
  • Loading branch information
huizhuansam authored Nov 7, 2021
2 parents f9770af + feecc19 commit 32f6acc
Show file tree
Hide file tree
Showing 83 changed files with 498 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_alert.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

//
// Base styles
//
Expand Down Expand Up @@ -49,3 +53,5 @@
@include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
}
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_badge.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// Base class
//
// Requires one of the contextual, color modifier classes for `color` and
Expand Down Expand Up @@ -45,3 +49,5 @@
@include badge-variant($value);
}
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_breadcrumb.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

.breadcrumb {
display: flex;
flex-wrap: wrap;
Expand Down Expand Up @@ -36,3 +40,5 @@
color: $breadcrumb-active-color;
}
}

//@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_button-group.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// stylelint-disable selector-no-qualifying-type

// Make the div behave like a button
Expand Down Expand Up @@ -164,3 +168,5 @@
}
}
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_buttons.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// stylelint-disable selector-no-qualifying-type

//
Expand Down Expand Up @@ -141,3 +145,5 @@ input[type="button"] {
width: 100%;
}
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_card.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

//
// Base styles
//
Expand Down Expand Up @@ -268,3 +272,5 @@
}
}
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_carousel.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// Wrapper for the slide container and indicators
.carousel {
position: relative;
Expand Down Expand Up @@ -189,3 +193,5 @@
color: $carousel-caption-color;
text-align: center;
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_close.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

.close {
float: right;
font-size: $close-font-size;
Expand Down Expand Up @@ -32,3 +36,5 @@ button.close {
-webkit-appearance: none;
}
// stylelint-enable

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_code.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// Inline and block code styles
code,
kbd,
Expand Down Expand Up @@ -54,3 +58,5 @@ pre {
max-height: $pre-scrollable-max-height;
overflow-y: scroll;
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_custom-forms.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// Embedded icons from Open Iconic.
// Released under MIT and copyright 2014 Waybury.
// https://useiconic.com/open
Expand Down Expand Up @@ -295,3 +299,5 @@
@include border-radius(0 $custom-file-border-radius $custom-file-border-radius 0);
}
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_dropdown.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// The dropdown wrapper (`<div>`)
.dropup,
.dropdown {
Expand Down Expand Up @@ -129,3 +133,5 @@
color: $dropdown-header-color;
white-space: nowrap; // as with > li > a
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_forms.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// stylelint-disable selector-no-qualifying-type

//
Expand Down Expand Up @@ -331,3 +335,5 @@ select.form-control-lg {
}
}
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_functions.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// Bootstrap functions
//
// Utility mixins and functions for evalutating source code across our variables, maps, and mixins.
Expand Down Expand Up @@ -84,3 +88,5 @@

@return mix($color-base, $color, $level * $theme-color-interval);
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_grid.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// Container widths
//
// Set the container width, and override it for fixed navbars in media queries.
Expand Down Expand Up @@ -50,3 +54,5 @@
@if $enable-grid-classes {
@include make-grid-columns();
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_images.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// Responsive images (ensure images don't scale beyond their parents)
//
// This is purposefully opt-in via an explicit class rather than being the default for all `<img>`s.
Expand Down Expand Up @@ -40,3 +44,5 @@
font-size: $figure-caption-font-size;
color: $figure-caption-color;
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_input-group.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// stylelint-disable selector-no-qualifying-type

//
Expand Down Expand Up @@ -157,3 +161,5 @@
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
@include border-left-radius(0);
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_jumbotron.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

.jumbotron {
padding: $jumbotron-padding ($jumbotron-padding / 2);
margin-bottom: $jumbotron-padding;
Expand All @@ -14,3 +18,5 @@
padding-left: 0;
@include border-radius(0);
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_list-group.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// Base class
//
// Easily usable on <ul>, <ol>, or <div>.
Expand Down Expand Up @@ -113,3 +117,5 @@
@each $color, $value in $theme-colors {
@include list-group-item-variant($color, theme-color-level($color, -9), theme-color-level($color, 6));
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_media.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

.media {
display: flex;
align-items: flex-start;
Expand All @@ -6,3 +10,5 @@
.media-body {
flex: 1;
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_mixins.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// Toggles
//
// Used in conjunction with global variables to enable certain theme features.
Expand Down Expand Up @@ -40,3 +44,5 @@
@import "mixins/grid-framework";
@import "mixins/grid";
@import "mixins/float";

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_modal.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// .modal-open - body class for killing the scroll
// .modal - container to scroll within
// .modal-dialog - positioning shell for the actual modal
Expand Down Expand Up @@ -166,3 +170,5 @@
@include media-breakpoint-up(lg) {
.modal-lg { max-width: $modal-lg; }
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_nav.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// Base class
//
// Kickstart any navigation component with a set of style resets. Works with
Expand Down Expand Up @@ -116,3 +120,5 @@
display: block;
}
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_navbar.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// Contents
//
// Navbar
Expand Down Expand Up @@ -309,3 +313,5 @@
}
}
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_pagination.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

.pagination {
display: flex;
@include list-unstyled();
Expand Down Expand Up @@ -75,3 +79,5 @@
.pagination-sm {
@include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $line-height-sm, $border-radius-sm);
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_popover.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

.popover {
position: absolute;
top: 0;
Expand Down Expand Up @@ -181,3 +185,5 @@
padding: $popover-body-padding-y $popover-body-padding-x;
color: $popover-body-color;
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_print.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// stylelint-disable declaration-no-important, selector-no-qualifying-type

// Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
Expand Down Expand Up @@ -122,3 +126,5 @@
// Bootstrap specific changes end
}
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_progress.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

@keyframes progress-bar-stripes {
from { background-position: $progress-height 0; }
to { background-position: 0 0; }
Expand Down Expand Up @@ -31,3 +35,5 @@
.progress-bar-animated {
animation: progress-bar-stripes $progress-bar-animation-timing;
}

//@@author
6 changes: 6 additions & 0 deletions docs/_sass/bootstrap/_reboot.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//@@author anonymxtrix-reused
// Stylesheet was taken from Bootstrap (https://getbootstrap.com/) so that we can make use of their components in our
// documentation.

// stylelint-disable at-rule-no-vendor-prefix, declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix

// Reboot
Expand Down Expand Up @@ -480,3 +484,5 @@ template {
[hidden] {
display: none !important;
}

//@@author
Loading

0 comments on commit 32f6acc

Please sign in to comment.