forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds EUI to Render Functions (elastic#751)
* Added EuiFieldText and EuiButton to advanced_filter Added EuiSelect to dropdown_filter Added EUI to time_picker_mini cleaned up styles for time picker Changed inputs and buttons to compressed size fixed style in datetime_quick_list Changed select to plain select Changed to plain button for time_picker_mini Added arrow icon to dropdown_filter Changed to plain input and button for advanced filter Cleaned up dropdown_filter Cleaned up datetime_calender Cleaned up advanced_filter style Fixed datetime_calendar styles Removed bootstrap from datable. Applied basic style for datatable Fixed icon in datatable Removed paginate_controls Fixed pagination logic changed initial height of time_filter element Replaced & with prefixes in advanced_filter, dropdown_filter, and time_filter SCSS files Added maxWidth to datasource preview * Fixed overflow issues in datasource preview * Reverted time_filter default height to 50
- Loading branch information
Showing
26 changed files
with
266 additions
and
243 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
9 changes: 9 additions & 0 deletions
9
public/components/datasource/datasource_preview/datasource_preview.scss
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,9 @@ | ||
.canvasDatasourcePreview { | ||
max-width: 80vw; | ||
max-height: 60vh; | ||
height: 100%; | ||
|
||
.canvasDatasourcePreview__panel { | ||
height: calc(100% - #{$euiSize} * 3); | ||
} | ||
} |
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 |
---|---|---|
@@ -1,31 +1,46 @@ | ||
.canvasDataTable { | ||
width: 100%; | ||
height: 100%; | ||
overflow: auto; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
|
||
td, th { | ||
border-top: 0px !important; | ||
border-bottom: 0px !important; | ||
} | ||
.canvasDataTable__tableWrapper { | ||
@include euiScrollBar; | ||
width: 100%; | ||
height: 100%; | ||
overflow: auto; | ||
|
||
th { | ||
white-space: nowrap; | ||
// removes white square in the scrollbar corner | ||
&::-webkit-scrollbar-corner { | ||
background: transparent; | ||
} | ||
} | ||
|
||
// This is a bootstrap overwrite | ||
.controls--perpage { | ||
padding: $euiSizeXS $euiSize; | ||
text-align: right; | ||
.canvasDataTable__footer { | ||
width: 100%; | ||
display: flex; | ||
justify-content: space-around; | ||
} | ||
|
||
label { | ||
color: $euiColorDarkestShade; | ||
font-weight: bold; | ||
.canvasDataTable__tbody { | ||
.canvasDataTable__tr:hover { | ||
background-color: transparentize($euiColorLightShade, 0.5); | ||
} | ||
} | ||
|
||
select { | ||
width: 60px; | ||
margin-left: $euiSizeS; | ||
} | ||
.canvasDataTable__table { | ||
min-width: 100%; | ||
} | ||
|
||
.canvasDataTable__th, | ||
.canvasDataTable__td { | ||
text-align: left; | ||
padding: $euiSizeS; | ||
} | ||
|
||
.canvasDataTable__th { | ||
white-space: nowrap; | ||
font-weight: bold; | ||
} | ||
} |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
public/components/paginate_controls/paginate_controls.scss
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.