diff --git a/package.json b/package.json index 489ae06..5d03f13 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cartoassets", "description": "Share frontend assets between different CartoDB repositories", - "version": "0.1.25", + "version": "0.1.29", "homepage": "https://github.com/cartodb/CartoAssets", "author": { "name": "CartoDB", diff --git a/src/scss/cdb-components/forms/inputs.scss b/src/scss/cdb-components/forms/inputs.scss index 4c5b843..6559fe0 100644 --- a/src/scss/cdb-components/forms/inputs.scss +++ b/src/scss/cdb-components/forms/inputs.scss @@ -21,6 +21,7 @@ border-radius: $baseSize / 2; font-size: $sFontSize-medium; line-height: $sLineHeight-medium; + box-sizing: border-box; &:hover { border: 1px solid $cHoverLine; diff --git a/src/scss/cdb-components/forms/legends.scss b/src/scss/cdb-components/forms/legends.scss index d9c7317..20483ae 100644 --- a/src/scss/cdb-components/forms/legends.scss +++ b/src/scss/cdb-components/forms/legends.scss @@ -35,37 +35,45 @@

-
-

RADIO

-
-
-

RADIO

-
- -
-
+ +
+

RADIO

+ +
``` */ @import '../../cdb-variables/sizes'; +@import '../../cdb-utilities/mixins'; .CDB-Legend { width: $baseSize * 12; } + +.CDB-Fieldset { + @include display-flex(); + @include align-items(center); +} +.CDB-Fieldset-block { + width: 100%; +} + diff --git a/src/scss/cdb-components/lists.scss b/src/scss/cdb-components/lists.scss index d85ff29..ff40d44 100644 --- a/src/scss/cdb-components/lists.scss +++ b/src/scss/cdb-components/lists.scss @@ -25,3 +25,4 @@ display: block; padding: 12px 16px; } + diff --git a/src/scss/cdb-components/menu.scss b/src/scss/cdb-components/menu.scss index 0d0c91c..2d43f8b 100644 --- a/src/scss/cdb-components/menu.scss +++ b/src/scss/cdb-components/menu.scss @@ -63,10 +63,6 @@ - -

-

- ``` */ @@ -155,103 +151,3 @@ } } - -/* SG -# Menu/Editor - - -``` -
- - - - - -
-``` -*/ - -.CDB-MenuEditor { - position: relative; - width: 72px; - min-height: 450px; - box-sizing: border-box; - padding: $baseSize * 2 0; - background: $cBlue; - box-shadow: 4px 0 $baseSize * 2 rgba(0, 0, 0, 0.05); -} - -.CDB-MenuEditor-navigationItem { - padding: 12px $baseSize * 2 12px $baseSize + 6; - border-left: 2px solid transparent; - text-align: center; -} -.CDB-MenuEditor-navigationItem.is-selected { - border-left: 2px solid #FFF; -} -.CDB-MenuEditor-navigationItem.is-selected .CDB-MenuEditor-navigationIcon { - opacity: 1; -} - -.CDB-MenuEditor-navigationLink { - display: block; -} -.CDB-MenuEditor-navigationIcon { - color: #FFF; - font-size: 24px; - line-height: 24px; - opacity: 0.32; -} -.CDB-MenuEditor-navigationLink:hover .CDB-MenuEditor-navigationIcon { - opacity: 1; -} - -.CDB-MenuEditor-logo { - width: 40px; - height: 40px; - margin: 0 auto $baseSize * 2; - padding: $baseSize - 2 0; - border-radius: $baseSize / 2; - background: #FFF; - box-sizing: border-box; - font-size: $baseSize * 3; - text-align: center; -} - -.CDB-MenuEditor-avatar { - position: absolute; - bottom: $baseSize * 2; - left: $baseSize * 2; - width: 40px; - height: 40px; -} -.CDB-MenuEditor-avatarImage { - width: 100%; - border-radius: $baseSize / 2; -} -