Giter VIP home page Giter VIP logo

lui-2's People

Contributors

wufr avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

lui-2's Issues

GRID - column padding per breakpoins setting

Allow setting up custom column paddings per breakpoint, both vertical, horizontal, both sides or only up/left/right/bottom

related to: #19

Possible classnames:

.pt-xs-15p (top)
.pl-xs-15p (left)
.pr-xs-15p (right)
.pb-xs-15p (bottom)

.ph-xs-15p (horizontal - left and right)
.pv-xs-15p (vertical - top and bottom)

.p-xs-15p  (all sides)

Example:
class="col-xs-12 pv-xs-15p col-lg-4 p-v-0" (15px vertical padding on XS, 0px padding on LG)

default horizontal padding will remain as default (15px left + right padding for columns)

Grid classnames rewamp

Rename grid breakpoints same style as clothes style? Instead of havinh HD or 2K, which basically defines resolution by itself - grid can be customized, so HD can be whatever user wants, same with 2K, someone could use it for resolutions larget than 3K or lower...

Breakpoints names idea:
.col-xs
.col-s (now as sm)
.col-m (now as md)
.col-l (now as lg)
.col-xl
.col-xxl (now as hd)

or shorter variant:
.c-xs
.c-s (now as sm)
.c-m (now as md)
.c-l (now as lg)
.c-xl
.c-xxl (now as hd)

original classnames were same as Bootstrap's ones, becouse of compatibility that was needed when moving away from Bootstrap grid on our projects

.lui_radio + .lui_check wont show "must fill" warnings when "required"

Browsers wont render warning message for "required" inputs unless they are actually rendered

input must be "visible" and "display"-ed

TODO: fake radio/check over default input or maybe overflow:hidden + default check somewhere under custom one

Tested in Chrome (warning will flash and hide), Edge wont show anything

someone should kick these browser devs in buts.

Grid - ml-0 / mr-0 missing

when you use (for example) ml-xs-2 and want it to reset for larget screens,
you can't cuz there is not ml-sm-0

TODO:
add ml-X-0 mr-X-0 (not needed for "XS" since grid is mobile first)

.lui_table_list - thead cell align per breakpoint

table_list/table_list.mixins.less - line 21

&.a-left {
	text-align: left;
}

&.a-center {
	text-align: center;
}

&.a-right {
	text-align: right;
}

&.va-top {
	vertical-align: top;
}

&.va-middle,
&.va-center {
	vertical-align: middle;
}

&.va-foot {
	vertical-align: baseline;
}

these for each breakpoint aka .va-xs-foot .va-xs-top, ...

rename 2k breakpoint to something else

2k breakpoint needs to be renamed to something, that doesn't begin with number, even tho CSS should be UTF-8 compatible these days, looks like it still doesn't like number as first character for classname...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.