##// END OF EJS Templates
Merge pull request #4561 from minrk/for_type_clear...
Merge pull request #4561 from minrk/for_type_clear Copied some of the logic from apptools (thanks @rkern). The current behavior: - `lookup(instance)` - return appropriate callback or a given object - `lookup_by_type(type_or_str)` - return appropriate callback for a given type or `'mod.name'` type string - `for_type(type_or_str)` - behaves the same, only adding support for type strings for consistency - `pop(type_or_str[, default])` - remove a type (by type or string) - `typ_or_str in Formatter` checks whether a type is registered, checking with `lookup_by_type` The inner structures remain unchanged.

File last commit:

r13778:009e7713
r13976:3db536e9 merge
Show More
flexbox.less
103 lines | 1.7 KiB | text/x-less | LessCssLexer
Bussonnier Matthias
readd flexible-box-model
r9271
/* Flexible box model classes */
/* Taken from Alex Russell http://infrequently.org/2009/08/css-3-progress/ */
Matthias BUSSONNIER
remove trailing whitespace
r9284
Bussonnier Matthias
readd flexible-box-model
r9271 .hbox {
Brian E. Granger
More tabs to spaces on less files.
r13696 display: -webkit-box;
-webkit-box-orient: horizontal;
-webkit-box-align: stretch;
Matthias BUSSONNIER
remove trailing whitespace
r9284
Brian E. Granger
More tabs to spaces on less files.
r13696 display: -moz-box;
-moz-box-orient: horizontal;
-moz-box-align: stretch;
Matthias BUSSONNIER
remove trailing whitespace
r9284
Brian E. Granger
More tabs to spaces on less files.
r13696 display: box;
box-orient: horizontal;
box-align: stretch;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Bussonnier Matthias
readd flexible-box-model
r9271 .hbox > * {
Brian E. Granger
More tabs to spaces on less files.
r13696 -webkit-box-flex: 0;
-moz-box-flex: 0;
box-flex: 0;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Bussonnier Matthias
readd flexible-box-model
r9271 .vbox {
Brian E. Granger
More tabs to spaces on less files.
r13696 display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-box-align: stretch;
display: -moz-box;
-moz-box-orient: vertical;
-moz-box-align: stretch;
display: box;
box-orient: vertical;
box-align: stretch;
/* width must be 100% to force FF to behave like webkit */
width: 100%;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Bussonnier Matthias
readd flexible-box-model
r9271 .vbox > * {
Brian E. Granger
More tabs to spaces on less files.
r13696 -webkit-box-flex: 0;
-moz-box-flex: 0;
box-flex: 0;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Bussonnier Matthias
readd flexible-box-model
r9271 .reverse {
Brian E. Granger
More tabs to spaces on less files.
r13696 -webkit-box-direction: reverse;
-moz-box-direction: reverse;
box-direction: reverse;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Bussonnier Matthias
readd flexible-box-model
r9271 .box-flex0 {
Brian E. Granger
More tabs to spaces on less files.
r13696 -webkit-box-flex: 0;
-moz-box-flex: 0;
box-flex: 0;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Matthias BUSSONNIER
merge box-flex1 class into .output-area css definition
r10218 .box-flex1 {
Brian E. Granger
More tabs to spaces on less files.
r13696 -webkit-box-flex: 1;
-moz-box-flex: 1;
box-flex: 1;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Matthias BUSSONNIER
merge box-flex1 class into .output-area css definition
r10218 .box-flex {
.box-flex1();
}
Bussonnier Matthias
readd flexible-box-model
r9271 .box-flex2 {
Brian E. Granger
More tabs to spaces on less files.
r13696 -webkit-box-flex: 2;
-moz-box-flex: 2;
box-flex: 2;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Bussonnier Matthias
readd flexible-box-model
r9271 .box-group1 {
Brian E. Granger
More tabs to spaces on less files.
r13696 -webkit-box-flex-group: 1;
-moz-box-flex-group: 1;
box-flex-group: 1;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Bussonnier Matthias
readd flexible-box-model
r9271 .box-group2 {
Brian E. Granger
More tabs to spaces on less files.
r13696 -webkit-box-flex-group: 2;
-moz-box-flex-group: 2;
box-flex-group: 2;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Bussonnier Matthias
readd flexible-box-model
r9271 .start {
Brian E. Granger
More tabs to spaces on less files.
r13696 -webkit-box-pack: start;
-moz-box-pack: start;
box-pack: start;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Bussonnier Matthias
readd flexible-box-model
r9271 .end {
Brian E. Granger
More tabs to spaces on less files.
r13696 -webkit-box-pack: end;
-moz-box-pack: end;
box-pack: end;
Bussonnier Matthias
readd flexible-box-model
r9271 }
Matthias BUSSONNIER
remove trailing whitespace
r9284
Bussonnier Matthias
readd flexible-box-model
r9271 .center {
Brian E. Granger
More tabs to spaces on less files.
r13696 -webkit-box-pack: center;
-moz-box-pack: center;
box-pack: center;
Bussonnier Matthias
readd flexible-box-model
r9271 }