From e897ee9dae8f6bb91c8b899d6083a16f38761e6b Mon Sep 17 00:00:00 2001 From: piensaenpixel Date: Thu, 18 Aug 2016 12:43:02 +0200 Subject: [PATCH] first modals --- src/scss/cdb-components/loader.scss | 25 ++++++++ src/scss/cdb-components/modals.scss | 92 +++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 src/scss/cdb-components/modals.scss diff --git a/src/scss/cdb-components/loader.scss b/src/scss/cdb-components/loader.scss index 3122409..6325483 100644 --- a/src/scss/cdb-components/loader.scss +++ b/src/scss/cdb-components/loader.scss @@ -57,6 +57,11 @@ This is the generic loader for widgets, maps, components, ... +
+ + + +
@@ -65,6 +70,11 @@ This is the generic loader for widgets, maps, components, ...
+
+ + + +
@@ -78,6 +88,11 @@ This is the generic loader for widgets, maps, components, ...
+
+ + + +
@@ -91,6 +106,11 @@ This is the generic loader for widgets, maps, components, ...
+
+ + + +
@@ -112,6 +132,11 @@ This is the generic loader for widgets, maps, components, ... height: 14px; } +.CDB-LoaderIcon--medium .CDB-LoaderIcon-spinner { + width: 24px; + height: 24px; +} + .CDB-LoaderIcon--big .CDB-LoaderIcon-spinner { width: 40px; height: 40px; diff --git a/src/scss/cdb-components/modals.scss b/src/scss/cdb-components/modals.scss new file mode 100644 index 0000000..c2302d2 --- /dev/null +++ b/src/scss/cdb-components/modals.scss @@ -0,0 +1,92 @@ +// Modals styles +// ---------------------------------------------- + +/* SG +# Modals/Mod Error Creating Table + + +``` +
+ +
+

We couldn’t fetch your data

+

Don’t panic, follow these steps

+ +
+
+``` +*/ + +@import '../cdb-variables/sizes'; +@import '../cdb-variables/colors'; +@import '../cdb-utilities/mixins'; + + +.Modal-listActions { + margin-top: $baseSize * 4; +} + +.Modal-listActionsitem, +.Modal-icon { + margin-right: $baseSize * 2; +} + +.Modal-listActionsitem:last-child { + margin-right: 0; +} + +.Modal-icon { + margin-top: 6px; + line-height: 34px; /* align-items: baseline doesnt work correctly in ff */ +} + + +/* SG +# Modals/Loading + + +``` +
+ +
+

Export untitled map

+

This map, and the connect data, will be exported as a .carto file

+ +
+
+``` +*/ + +