[spencer] update styles

fix ul
fix flex rules for firefox layout
This commit is contained in:
Joe Fleming 2015-05-26 12:45:39 -07:00
parent 3a91d865e5
commit dfed9998ee
3 changed files with 15 additions and 25 deletions

View file

@ -1,8 +1,6 @@
.legend-col-wrapper {
.flex(0 1 auto);
.flex-parent(0, 0, auto);
z-index: 10;
overflow-x: hidden;
overflow-y: auto;
min-height: 0;
.legend-toggle {
@ -26,11 +24,13 @@
}
.legend-ul {
.flex(1, 1, 1px);
overflow-x: hidden;
overflow-y: auto;
list-style-type: none;
padding: 0;
visibility: visible;
.display(flex);
.flex-direction(column);
min-height: 0;
min-width: 60px;
margin-right: 5px;
@ -44,7 +44,6 @@
color: #666;
cursor: default;
text-align: left;
.flex-grow(2);
white-space: nowrap;
overflow-x: hidden;
text-overflow: ellipsis;

View file

@ -10,20 +10,6 @@
&.vis-type-markdown {
.vis-editor-config {
.flex-parent();
> ul {
.flex-parent();
.flex(1, 1, auto);
li {
.flex-parent();
.flex(1, 1, auto);
}
}
}
.visualization-options {
.flex-parent();
.flex(1, 1, auto);
@ -42,4 +28,4 @@
}
}
}

View file

@ -91,8 +91,8 @@
.flex-parent(1, 1, auto);
> div.vis-editor-config {
.flex(1, 1, auto);
overflow-y: auto;
.flex-parent(1, 1, 1px);
overflow: auto;
}
> .vis-edit-sidebar-buttons {
@ -157,7 +157,7 @@
}
&-group {
.flex-parent();
.flex-parent(0, 1, auto);
color: @text-color;
}
@ -298,6 +298,10 @@
}
}
vis-editor-agg-group {
.flex-parent(0, 1, auto);
}
&-canvas {
.flex(1, 0, @screen-md-min - @vis-editor-sidebar-basis);
.display(flex);
@ -337,7 +341,8 @@ vis-editor-agg-group,
vis-editor-agg,
vis-editor-agg-params,
vis-editor-agg-param,
vis-editor-vis-options {
vis-editor-vis-options,
vis-editor-vis-options > * {
.flex-parent();
}