Closed (fixed)
Project:
BS Base
Version:
8.x-1.x-dev
Component:
BS Bootstrap
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 May 2017 at 16:39 UTC
Updated:
19 Jul 2017 at 14:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
njagojevic commentedComment #3
CTaPByK commentedComment #4
pivica commentedComment #5
CTaPByK commentedI play last night a bit with this and here is the patch. @njagojevic can fix things if needed.
This screenshot is for demo content, patch: https://www.drupal.org/node/2875260#comment-12110557
Comment #6
njagojevic commentedAdded some margin between bars:
IMO this occurs because not all gulp tusks were run with previous commit.
Comment #7
njagojevic commentedComment #8
pivica commentedWhy not make a new library from this?
Was this removed on puprose or by accident?
Not too happy that we are adding this globally. Do we need to use background and sizing utilities for something else or only for progress component for now? If it's only for progress component then it's better to move this two utilities in progress SASS for now.
We should use $spacer-y variable here. Also, this could go to partial so it's easier for an override in child themes when needed - similarly how we are defining other partials.
Comment #9
njagojevic commentedApplied all suggestions from #8 comment.
Comment #10
pivica commentedAre we adding background and sizing here because it's needed for progress component or we are adding it here because we need it for p_c_b implementation. If this is not dependency on progress component and if we are doing it because of p_c_b implementation then i think we should move this two to separate utils libraries probably, maybe?
We could add it to bs_bootstrap/util, create new lib or add it to two separate libs, not sure. Also, there is sass/base/util.scss here for global util classes... damn it ;)
At least let us figure the facts first - is progress dependent on this two utils or not?
Thoughts?
Comment #11
njagojevic commentedWe need those utilities for p_c_b implementation, not only for progress component.
Progress in p_c_b is implemented by using this two utils.
IMO they should go to global util class.
Comment #12
pivica commentedOkey lets then not complicate stuff too much for now and let us just add it to sass/base/util.scss i guess with a comment note why these two sass files are included.
Later when we switch to libraries support we can refactor this.
Sounds OK?
Comment #13
njagojevic commentedSounds OK to me. Moved these utilities to sass/base/util.scss.
Comment #14
pivica commentedNice, one last minor thing and then we are good to go ;)
80 char limit for comments and dot on the end of a sentence is missing for both lines.
Comment #15
njagojevic commentedFixed :-)
Comment #17
pivica commentedThx, committed.