Compare commits
35 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
90345a0bad | ||
|
|
df7bedd062 | ||
|
|
60927b4c85 | ||
|
|
a4682b23a3 | ||
|
|
289c9d32e2 | ||
|
|
712f4325d5 | ||
|
|
b205ec0cc6 | ||
|
|
de813d3070 | ||
|
|
f567653da3 | ||
|
|
0fbd357b10 | ||
|
|
aef4e7f9f5 | ||
|
|
34c8e8c816 | ||
|
|
54ce151f5f | ||
|
|
b225ce7f0c | ||
|
|
3913e9f932 | ||
|
|
25b418781f | ||
|
|
4cbe7053b7 | ||
|
|
75e6927015 | ||
|
|
261ac8a261 | ||
|
|
78f686abd7 | ||
|
|
d338a1050c | ||
|
|
72023bfb75 | ||
|
|
57424ee145 | ||
|
|
87f3524b8a | ||
|
|
aa5486a1a3 | ||
|
|
c909567dc5 | ||
|
|
5ee0e4fed2 | ||
|
|
98f9a197e2 | ||
|
|
7280b80c3d | ||
|
|
8d8a9ea2c1 | ||
|
|
580ba86680 | ||
|
|
007bea85ad | ||
|
|
e7f9d245c6 | ||
|
|
30d7cf0f99 | ||
|
|
4c4676798c |
@@ -1,7 +1,7 @@
|
||||
cache: false
|
||||
language: node_js
|
||||
node_js:
|
||||
- "4.1"
|
||||
- "6.14.2"
|
||||
|
||||
install:
|
||||
- npm install
|
||||
|
||||
@@ -17,7 +17,7 @@ If you want to use any of the CartoAssets components, after the installation jus
|
||||
It will generate a UI documentation about the components in this repository:
|
||||
- ```grunt dev```
|
||||
|
||||
If you want to check the documenation, it is generated in the ```dist``` folder.
|
||||
If you want to check the documentation, it is generated in the ```dist``` folder.
|
||||
|
||||
### How to add/update the icon font
|
||||
|
||||
@@ -43,4 +43,4 @@ Just run this command:
|
||||
|
||||
 |  |  |  | 
|
||||
--- | --- | --- | --- | --- |
|
||||
31+ ✔ | 38+ ✔ | 11+ ✔ | 31+ ✔ | 8+ ✔ |
|
||||
31+ ✔ | 38+ ✔ | 11+ ✔ | 31+ ✔ | 8+ ✔ |
|
||||
|
||||
10
package.json
10
package.json
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "cartoassets",
|
||||
"description": "Share frontend assets between different CARTO repositories",
|
||||
"version": "0.2.00",
|
||||
"version": "0.2.5",
|
||||
"homepage": "https://github.com/cartodb/CartoAssets",
|
||||
"author": {
|
||||
"name": "CARTO",
|
||||
@@ -55,5 +55,11 @@
|
||||
"shared components",
|
||||
"editor",
|
||||
"deep-insights"
|
||||
]
|
||||
],
|
||||
"scripts": {
|
||||
"bump": "npm version patch",
|
||||
"bump:major": "npm version major",
|
||||
"bump:minor": "npm version minor",
|
||||
"postversion": "git push origin master --follow-tags"
|
||||
}
|
||||
}
|
||||
|
||||
BIN
src/fonts/Montserrat-Bold.eot
Normal file
BIN
src/fonts/Montserrat-Bold.eot
Normal file
Binary file not shown.
BIN
src/fonts/Montserrat-Bold.ttf
Normal file
BIN
src/fonts/Montserrat-Bold.ttf
Normal file
Binary file not shown.
BIN
src/fonts/Montserrat-Bold.woff
Normal file
BIN
src/fonts/Montserrat-Bold.woff
Normal file
Binary file not shown.
BIN
src/fonts/Montserrat-Regular.eot
Normal file
BIN
src/fonts/Montserrat-Regular.eot
Normal file
Binary file not shown.
BIN
src/fonts/Montserrat-Regular.ttf
Executable file
BIN
src/fonts/Montserrat-Regular.ttf
Executable file
Binary file not shown.
BIN
src/fonts/Montserrat-Regular.woff
Normal file
BIN
src/fonts/Montserrat-Regular.woff
Normal file
Binary file not shown.
BIN
src/fonts/Montserrat-Semibold.eot
Normal file
BIN
src/fonts/Montserrat-Semibold.eot
Normal file
Binary file not shown.
BIN
src/fonts/Montserrat-Semibold.ttf
Executable file
BIN
src/fonts/Montserrat-Semibold.ttf
Executable file
Binary file not shown.
BIN
src/fonts/Montserrat-Semibold.woff
Normal file
BIN
src/fonts/Montserrat-Semibold.woff
Normal file
Binary file not shown.
@@ -175,9 +175,17 @@ Layout Component:
|
||||
&.is-disabled {
|
||||
opacity: 0.24;
|
||||
cursor: default;
|
||||
|
||||
&:active {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.CDB-Button--noPadding {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.CDB-Button--loading {
|
||||
.CDB-Button-loader {
|
||||
position: absolute;
|
||||
|
||||
@@ -126,6 +126,8 @@ This is the generic loader for widgets, maps, components, ...
|
||||
.CDB-LoaderIcon-path {
|
||||
stroke: rgba(255, 255, 255, 0.88);
|
||||
stroke-linecap: round;
|
||||
stroke-dasharray: 90, 150;
|
||||
stroke-dashoffset: 0;
|
||||
animation: dash 1.5s ease-in-out infinite;
|
||||
stroke-width: 4px;
|
||||
}
|
||||
@@ -137,11 +139,16 @@ This is the generic loader for widgets, maps, components, ...
|
||||
.CDB-LoaderIcon.is-dark .CDB-LoaderIcon-path {
|
||||
stroke: rgba(0, 0, 0, 0.24);
|
||||
}
|
||||
|
||||
.CDB-LoaderIcon.is-blue .CDB-LoaderIcon-path {
|
||||
stroke: $cBlue;
|
||||
}
|
||||
|
||||
@keyframes rotate {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
|
||||
@@ -242,7 +242,8 @@
|
||||
.CDB-NavMenu-link,
|
||||
.CDB-NavSubmenu-link {
|
||||
margin-bottom: -1px;
|
||||
color: $cAltText;
|
||||
transition: none;
|
||||
color: $cWhite;
|
||||
|
||||
&:hover {
|
||||
border-bottom: 2px solid darken($cMainLine, 8%);
|
||||
@@ -256,13 +257,13 @@
|
||||
}
|
||||
|
||||
.CDB-NavMenu-item.is-selected .CDB-NavMenu-link {
|
||||
border-bottom: 2px solid $cMainLine;
|
||||
color: $cWhite;
|
||||
border-bottom: 2px solid $cAltText;
|
||||
color: $cAltText;
|
||||
}
|
||||
|
||||
.CDB-NavSubmenu-item.is-selected .CDB-NavSubmenu-link {
|
||||
border-bottom: 2px solid $cMainLine;
|
||||
color: $cWhite;
|
||||
border-bottom: 2px solid $cAltText;
|
||||
color: $cAltText;
|
||||
}
|
||||
|
||||
.CDB-NavSubmenu-status {
|
||||
|
||||
@@ -179,9 +179,10 @@
|
||||
&:focus::after,
|
||||
&:hover::after {
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
width: 1px;
|
||||
height: calc(100% + 2px);
|
||||
height: $baseSize * 4;
|
||||
content: '';
|
||||
}
|
||||
|
||||
|
||||
@@ -77,10 +77,10 @@
|
||||
box-sizing: border-box;
|
||||
|
||||
&:hover {
|
||||
border: 1px solid $cHoverLine;
|
||||
border: 1px solid $cBlueHover;
|
||||
}
|
||||
&:focus {
|
||||
border: 1px solid $cBlue;
|
||||
border: 1px solid $cBlackHover;
|
||||
outline: none;
|
||||
}
|
||||
&:disabled {
|
||||
@@ -90,6 +90,10 @@
|
||||
&.has-error {
|
||||
@include default-form-error-style();
|
||||
}
|
||||
|
||||
&.is-cursor {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.CDB-FieldError .CDB-Select,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Fonts
|
||||
// --------------------------------------------------
|
||||
|
||||
// Open Sans
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
@@ -28,3 +29,32 @@
|
||||
url('../fonts/OpenSans-Semibold.woff') format('woff'),
|
||||
url('../fonts/OpenSans-Semibold.ttf') format('truetype');
|
||||
}
|
||||
|
||||
// Montserrat
|
||||
@font-face {
|
||||
font-family: 'Montserrat';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/Montserrat-Regular.eot');
|
||||
src: url('../fonts/Montserrat-Regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('../fonts/Montserrat-Regular.woff') format('woff'),
|
||||
url('../fonts/Montserrat-Regular.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Montserrat';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url('../fonts/Montserrat-Semibold.eot');
|
||||
src: url('../fonts/Montserrat-Semibold.eot?#iefix') format('embedded-opentype'),
|
||||
url('../fonts/Montserrat-Semibold.woff') format('woff'),
|
||||
url('../fonts/Montserrat-Semibold.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Montserrat';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('../fonts/Montserrat-Bold.eot');
|
||||
src: url('../fonts/Montserrat-Bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('../fonts/Montserrat-Bold.woff') format('woff'),
|
||||
url('../fonts/Montserrat-Bold.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@@ -38,9 +38,15 @@
|
||||
.u-lSpace--s {
|
||||
margin-left: 2px;
|
||||
}
|
||||
.u-lSpace--m {
|
||||
margin-left: 8px;
|
||||
}
|
||||
.u-lSpace--xl {
|
||||
margin-left: 12px;
|
||||
}
|
||||
.u-lSpace--xxl {
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
.u-ellipsis {
|
||||
text-overflow: ellipsis;
|
||||
@@ -123,6 +129,13 @@
|
||||
@include align-items(flex-end);
|
||||
}
|
||||
|
||||
/* Clearfix */
|
||||
.u-clearfix::after {
|
||||
display: table;
|
||||
clear: both;
|
||||
content: '';
|
||||
}
|
||||
|
||||
|
||||
/* Media queries*/
|
||||
@include media-query-mobile() {
|
||||
|
||||
Reference in New Issue
Block a user