mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-23 08:48:11 +08:00
Begin integrating blueprint (#359)
* toast test * modify webpack build to allow for global CSS; use CSS modules to scope component styling * remove heatmap * add label to index resets * swapping out buttons for blueprint * adding constants to globals * swapping out blueprint buttons * title position, sidebar improvements * sidebar styles * adding toasts for validation errors * zebra section trial * integrating blueprint, switching buttons over, breaking out scatter * clean up console
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.btn {
|
||||
:local(.btn) {
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
color: "#FFF";
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
.container {
|
||||
:local(.container) {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Position, Toaster, Intent } from "@blueprintjs/core";
|
||||
|
||||
/** Singleton toaster instance. Create separate instances for different options. */
|
||||
export const ErrorToastTopCenter = Toaster.create({
|
||||
className: "recipe-toaster",
|
||||
position: Position.TOP,
|
||||
intent: Intent.WARNING
|
||||
});
|
||||
|
||||
export default {
|
||||
ErrorToastTopCenter
|
||||
};
|
||||
Reference in New Issue
Block a user