Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task bootstrap layout #26

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open

Task bootstrap layout #26

wants to merge 31 commits into from

Conversation

yuki1299
Copy link
Collaborator

@yuki1299 yuki1299 commented Jan 9, 2020

  • Added Bootstrap Js files and created new js 'publisher_bootstrap' file
  • Added Css Bootstrap files and created new css 'publisher_bootstrap' css file
  • Created new controller and layout for publisher_bootstrap
  • Changed Dummy Rails Project controller to render Publisher Bootstrap layout
  • Updated nokogiri gem
  • Added new loldesign logo white
  • Added template js plugin files
  • Added css files of sb-admin-2 bootstrap template
  • Added custom styles folder of sb-admin-2 bootstrap template
  • Created new helper LoldesignPublisherBootstrapHelper
  • Updated Sidebar of loldesign_publisher (STATIC)
  • Changed layout of dummy user index page with sb-admin-2 bootstrap temmplate
  • Added more styles to new layout with bootstrap
  • Created pages login and register
  • Pagination Styles
  • Responsive with new template bootstrap layout
  • Added and configurated will_paginate gem
  • Added metadata lines to enable responsive styles
  • Added responsive search bar on topbar partial
  • Updated loldesign_publisher version
  • Created Errors page
  • Updated loldesign_publisher version
  • Added new default image -> 'logo_error'
  • Fixed some layout details and new layout of 'new' pages
  • Load Vex styles on bootstrap theme
  • New layout of Show Screens
  • Responsive styles of show screen with new bootstrap layout
  • Added new author to gem

@sourcelevel-bot
Copy link

Hello, @yuki1299! This is your first Pull Request that will be reviewed by SourceLevel, an automatic Code Review service. It will leave comments on this diff with potential issues and style violations found in the code as you push new commits. You can also see all the issues found on this Pull Request on its review page. Please check our documentation for more information.

*= require_tree ./modules
*= require loldesign_publisher/override_publisher
*= require_tree ./plugins/vex
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Files must end with a new line

$fs-unit: if(type-of($fs) == "number", unit($fs), false);

// Add !important suffix if needed
$rfs-suffix: if($important, " !important", "");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings must use single quotes

Read more about it here.

// Responsive font-size mixin
@mixin rfs($fs, $important: false) {
// Cache $fs unit
$fs-unit: if(type-of($fs) == "number", unit($fs), false);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings must use single quotes

Read more about it here.

@if $rfs-breakpoint-unit-cache == "px" {
$rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1);
}
@else if $rfs-breakpoint-unit-cache == "rem" or $rfs-breakpoint-unit-cache == "em" {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings must use single quotes

Read more about it here.

@if $rfs-breakpoint-unit-cache == "px" {
$rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1);
}
@else if $rfs-breakpoint-unit-cache == "rem" or $rfs-breakpoint-unit-cache == "em" {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings must use single quotes

Read more about it here.

@if $rfs-breakpoint-unit-cache == "px" {
$rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1);
}
@else if $rfs-breakpoint-unit-cache == "rem" or $rfs-breakpoint-unit-cache == "em" {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Statement must start on the same line as the closing brace of the previous statement

$rfs-breakpoint-unit-cache: unit($rfs-breakpoint);

// Remove unit from $rfs-breakpoint for calculations
@if $rfs-breakpoint-unit-cache == "px" {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings must use single quotes

Read more about it here.

@if $rfs-base-font-size-unit == "px" {
$rfs-base-font-size: $rfs-base-font-size / ($rfs-base-font-size * 0 + 1);
}
@else if $rfs-base-font-size-unit == "rem" {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings must use single quotes

Read more about it here.

@sourcelevel-bot
Copy link

SourceLevel has finished reviewing this Pull Request and has found:

  • 3872 possible new issues (including those that may have been commented here).
  • 1101 fixed issues! 🎉

See more details about this review.

$rfs-base-font-size-unit: unit($rfs-base-font-size);

// Remove px-unit from $rfs-base-font-size for calculations
@if $rfs-base-font-size-unit == "px" {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings must use single quotes

Read more about it here.

$rfs-factor: 10 !default;

@if type-of($rfs-factor) != "number" or $rfs-factor <= 1 {
@error "`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1.";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings must use single quotes

Read more about it here.

// Factor of decrease
$rfs-factor: 10 !default;

@if type-of($rfs-factor) != "number" or $rfs-factor <= 1 {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings must use single quotes

Read more about it here.

}

.invisible {
visibility: hidden !important;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed

//

.visible {
visibility: visible !important;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed


// Reset

.text-reset { color: inherit !important; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed


.text-break {
word-break: break-word !important; // IE & < Edge 18
overflow-wrap: break-word !important;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed


.text-break {
word-break: break-word !important; // IE & < Edge 18
overflow-wrap: break-word !important;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected word-break, found overflow-wrap

.text-decoration-none { text-decoration: none !important; }

.text-break {
word-break: break-word !important; // IE & < Edge 18

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed

.text-decoration-none { text-decoration: none !important; }

.text-break {
word-break: break-word !important; // IE & < Edge 18

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected overflow-wrap, found word-break

@include text-hide($ignore-warning: true);
}

.text-decoration-none { text-decoration: none !important; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed

.text-muted { color: $text-muted !important; }

.text-black-50 { color: rgba($black, .5) !important; }
.text-white-50 { color: rgba($white, .5) !important; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed

.text-muted { color: $text-muted !important; }

.text-black-50 { color: rgba($black, .5) !important; }
.text-white-50 { color: rgba($white, .5) !important; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color functions such as 'rgba' should only be used in variable declarations

.text-body { color: $body-color !important; }
.text-muted { color: $text-muted !important; }

.text-black-50 { color: rgba($black, .5) !important; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed

.text-body { color: $body-color !important; }
.text-muted { color: $text-muted !important; }

.text-black-50 { color: rgba($black, .5) !important; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color functions such as 'rgba' should only be used in variable declarations

}

.text-body { color: $body-color !important; }
.text-muted { color: $text-muted !important; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed

@include text-emphasis-variant(".text-#{$color}", $value);
}

.text-body { color: $body-color !important; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed

.text-white { color: $white !important; }

@each $color, $value in $theme-colors {
@include text-emphasis-variant(".text-#{$color}", $value);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings must use single quotes

Read more about it here.


// Contextual colors

.text-white { color: $white !important; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed

.font-weight-normal { font-weight: $font-weight-normal !important; }
.font-weight-bold { font-weight: $font-weight-bold !important; }
.font-weight-bolder { font-weight: $font-weight-bolder !important; }
.font-italic { font-style: italic !important; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important not allowed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant