-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dana Greenberg
committed
Jun 29, 2016
1 parent
78937ac
commit c20a6a6
Showing
43 changed files
with
31,935 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
/* | ||
Animation example, for spinners | ||
*/ | ||
.ui-grid-animate-spin { | ||
-moz-animation: ui-grid-spin 2s infinite linear; | ||
-o-animation: ui-grid-spin 2s infinite linear; | ||
-webkit-animation: ui-grid-spin 2s infinite linear; | ||
animation: ui-grid-spin 2s infinite linear; | ||
display: inline-block; | ||
} | ||
@-moz-keyframes ui-grid-spin { | ||
0% { | ||
-moz-transform: rotate(0deg); | ||
-o-transform: rotate(0deg); | ||
-webkit-transform: rotate(0deg); | ||
transform: rotate(0deg); | ||
} | ||
|
||
100% { | ||
-moz-transform: rotate(359deg); | ||
-o-transform: rotate(359deg); | ||
-webkit-transform: rotate(359deg); | ||
transform: rotate(359deg); | ||
} | ||
} | ||
@-webkit-keyframes ui-grid-spin { | ||
0% { | ||
-moz-transform: rotate(0deg); | ||
-o-transform: rotate(0deg); | ||
-webkit-transform: rotate(0deg); | ||
transform: rotate(0deg); | ||
} | ||
|
||
100% { | ||
-moz-transform: rotate(359deg); | ||
-o-transform: rotate(359deg); | ||
-webkit-transform: rotate(359deg); | ||
transform: rotate(359deg); | ||
} | ||
} | ||
@-o-keyframes ui-grid-spin { | ||
0% { | ||
-moz-transform: rotate(0deg); | ||
-o-transform: rotate(0deg); | ||
-webkit-transform: rotate(0deg); | ||
transform: rotate(0deg); | ||
} | ||
|
||
100% { | ||
-moz-transform: rotate(359deg); | ||
-o-transform: rotate(359deg); | ||
-webkit-transform: rotate(359deg); | ||
transform: rotate(359deg); | ||
} | ||
} | ||
@-ms-keyframes ui-grid-spin { | ||
0% { | ||
-moz-transform: rotate(0deg); | ||
-o-transform: rotate(0deg); | ||
-webkit-transform: rotate(0deg); | ||
transform: rotate(0deg); | ||
} | ||
|
||
100% { | ||
-moz-transform: rotate(359deg); | ||
-o-transform: rotate(359deg); | ||
-webkit-transform: rotate(359deg); | ||
transform: rotate(359deg); | ||
} | ||
} | ||
@keyframes ui-grid-spin { | ||
0% { | ||
-moz-transform: rotate(0deg); | ||
-o-transform: rotate(0deg); | ||
-webkit-transform: rotate(0deg); | ||
transform: rotate(0deg); | ||
} | ||
|
||
100% { | ||
-moz-transform: rotate(359deg); | ||
-o-transform: rotate(359deg); | ||
-webkit-transform: rotate(359deg); | ||
transform: rotate(359deg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
|
||
.ui-grid-render-container { | ||
position: inherit; | ||
// overflow: hidden; | ||
|
||
.border-radius(0, @gridBorderRadius, @gridBorderRadius, 0); | ||
|
||
// Prevent an outline from showing if we focus the render container element | ||
&:focus { | ||
outline: none; | ||
} | ||
} | ||
|
||
.ui-grid-viewport { | ||
// overflow: auto; // TODO(c0bra): turn back on when virtual repeater is hooked up | ||
min-height: 20px; | ||
position: relative; | ||
overflow-y: scroll; | ||
-webkit-overflow-scrolling: touch; | ||
|
||
&:focus { | ||
outline: none !important; | ||
} | ||
} | ||
|
||
.ui-grid-canvas { | ||
position: relative; | ||
padding-top:1px; //to prevent canvas from absorbing the 1st rendered row's margin | ||
} | ||
|
||
.ui-grid-row { | ||
//position: absolute; | ||
// border-bottom: 1px solid @borderColor; | ||
|
||
&:nth-child(odd) .ui-grid-cell { | ||
background-color: @rowColorOdd; //rgb(253, 253, 253); | ||
} | ||
|
||
&:nth-child(even) .ui-grid-cell { | ||
background-color: @rowColorEven; | ||
} | ||
|
||
&:last-child .ui-grid-cell { | ||
border-bottom-color: @borderColor; | ||
border-bottom-style: solid; | ||
|
||
} | ||
} | ||
|
||
.ui-grid-no-row-overlay { | ||
position: absolute; | ||
top: 0; | ||
bottom: 0; | ||
left: 0; | ||
right: 0; | ||
margin: 10%; | ||
|
||
.ui-grid-top-panel-background; | ||
.border-radius(@gridBorderRadius); | ||
border: @gridBorderWidth solid @borderColor; | ||
|
||
font-size: 2em; | ||
text-align: center; | ||
|
||
> * { | ||
position: absolute; | ||
display: table; | ||
margin: auto 0; | ||
width: 100%; | ||
top: 0; | ||
bottom: 0; | ||
left: 0; | ||
right: 0; | ||
opacity: 0.66; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
/*! | ||
* Bootstrap v3.3.5 (http://getbootstrap.com) | ||
* Copyright 2011-2015 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
*/ | ||
|
||
/****** NOTE: IMPORTANT INFORMATION ABOUT USING THIS FILE *********\ | ||
* If you are importing this file then use `@import (reference) '..../bootstrap'` | ||
* ENSURE that you use the (refrerence) | ||
* WHY? Because otherwise you will import the entire contents of less bootstrap | ||
* | ||
* How does this work? | ||
* All of the bootstrap less elements are namespaced under `#ui-grid-twbs` | ||
* This prevents the CSS generated using this file from conflicting with a project's | ||
* import of bootstrap. | ||
* | ||
* XXX: Why are so many of these imports commented out? | ||
* There are several issues with the `extend` function in less. | ||
* Using extend, even within an import that only has a reference will import that | ||
* css element. This causes bloat in the distributed css files. | ||
* Related Issues: | ||
* https://github.com/less/less.js/issues/1968 | ||
* https://github.com/less/less.js/issues/1851 | ||
* | ||
* If you comment in one of these files you may get much more than css then you want. | ||
* Only do this sparingly. | ||
*/ | ||
#ui-grid-twbs { | ||
// Core variables and mixins | ||
@import (reference) "@{bootstrapDirectory}/less/variables.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/mixins.less"; | ||
|
||
// Reset and dependencies | ||
@import (reference) "@{bootstrapDirectory}/less/normalize.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/print.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/glyphicons.less"; | ||
|
||
// Core CSS | ||
@import (reference) "@{bootstrapDirectory}/less/scaffolding.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/code.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/tables.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/forms.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/buttons.less"; | ||
//@import (reference) "@{bootstrapDirectory}/less/type.less"; | ||
//@import (reference) "@{bootstrapDirectory}/less/grid.less"; | ||
|
||
// Components | ||
@import (reference) "@{bootstrapDirectory}/less/component-animations.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/dropdowns.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/button-groups.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/input-groups.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/breadcrumbs.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/pagination.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/labels.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/badges.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/jumbotron.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/alerts.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/progress-bars.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/media.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/list-group.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/responsive-embed.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/wells.less"; | ||
@import (reference) "@{bootstrapDirectory}/less/close.less"; | ||
//@import (reference) "@{bootstrapDirectory}/less/navs.less"; | ||
//@import (reference) "@{bootstrapDirectory}/less/navbar.less"; | ||
//@import (reference) "@{bootstrapDirectory}/less/pager.less"; | ||
//@import (reference) "@{bootstrapDirectory}/less/thumbnails.less"; | ||
//@import (reference) "@{bootstrapDirectory}/less/panels.less"; | ||
|
||
// Components w/ JavaScript | ||
@import (reference) "@{bootstrapDirectory}/less/tooltip.less"; | ||
//@import (reference) "@{bootstrapDirectory}/less/modals.less"; | ||
//@import (reference) "@{bootstrapDirectory}/less/popovers.less"; | ||
|
||
// Utility classes | ||
@import (reference) "@{bootstrapDirectory}/less/utilities.less"; | ||
//@import (reference) "@{bootstrapDirectory}/less/responsive-utilities.less"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@import 'variables'; | ||
|
||
.ui-grid-cell { | ||
overflow: hidden; | ||
// position: absolute; | ||
// position: relative; // NOTE: removing so border is visible | ||
float: left; | ||
background-color: inherit; | ||
border-right: @gridBorderWidth solid; | ||
border-color: @borderColor; | ||
box-sizing: border-box; | ||
|
||
&:last-child { | ||
border-right: 0; | ||
} | ||
} | ||
|
||
.ui-grid-cell-contents { | ||
padding: 5px; | ||
-moz-box-sizing: border-box; | ||
-webkit-box-sizing: border-box; | ||
box-sizing: border-box; | ||
white-space: nowrap; | ||
-ms-text-overflow: ellipsis; | ||
-o-text-overflow: ellipsis; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
height: 100%; | ||
// width: 100%; | ||
} | ||
|
||
.ui-grid-cell-contents-hidden { | ||
visibility: hidden; | ||
width: 0; | ||
height:0; | ||
display: none; | ||
} | ||
|
||
.ui-grid-row .ui-grid-cell.ui-grid-row-header-cell { | ||
background-color: @rowHeaderCell; | ||
border-bottom: solid @gridBorderWidth @borderColor; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@import '../../../less/variables'; | ||
@import (reference) '../../../less/bootstrap/bootstrap'; | ||
|
||
// .ui-grid-cell-contents:focus { | ||
// outline: 0; | ||
// background-color: @focusedCell; | ||
// } | ||
|
||
.ui-grid-cell-focus { | ||
outline: 0; | ||
background-color: @focusedCell; | ||
} | ||
|
||
.ui-grid-focuser { | ||
position: absolute; | ||
left: 0px; | ||
top: 0px; | ||
z-index: -1; | ||
width:100%; | ||
height:100%; | ||
#ui-grid-twbs > .form-control-focus(); | ||
} | ||
|
||
.ui-grid-offscreen{ | ||
display: block; | ||
position: absolute; | ||
left: -10000px; | ||
top: -10000px; | ||
clip:rect(0px,0px,0px,0px); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@import '../../../less/variables'; | ||
|
||
div.ui-grid-cell { | ||
input { | ||
border-radius: inherit; | ||
padding: 0; | ||
width: 100%; | ||
color: inherit; | ||
height: auto; | ||
font: inherit; | ||
outline: none; | ||
} | ||
input:focus { | ||
color: inherit; | ||
outline: none; | ||
} | ||
input[type="checkbox"] { | ||
margin: 9px 0 0 6px; | ||
width: auto; | ||
} | ||
input.ng-invalid { | ||
border: @invalidValueBorder; | ||
} | ||
input.ng-valid { | ||
border: @validValueBorder; | ||
} | ||
} |
Oops, something went wrong.