Add stylelint

This commit is contained in:
rubenmoya
2017-12-22 18:29:36 +01:00
parent 9b912dc0f9
commit ca5e47af5c
33 changed files with 1029 additions and 88 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"extends": [
"stylelint-config-standard",
"stylelint-config-property-sort-order-smacss"
],
"rules": {
"selector-pseudo-element-colon-notation": "double",
"color-hex-case": "upper",
"declaration-empty-line-before": null,
"block-no-empty": true,
"shorthand-property-no-redundant-values": true,
"custom-property-empty-line-before": null
}
}
+5 -2
View File
@@ -20,10 +20,13 @@
"postcss-cli": "^2.6.0", "postcss-cli": "^2.6.0",
"postcss-cssnext": "^2.9.0", "postcss-cssnext": "^2.9.0",
"postcss-import": "^9.0.0", "postcss-import": "^9.0.0",
"postcss-reporter": "^3.0.0" "postcss-reporter": "^3.0.0",
"stylelint-config-property-sort-order-smacss": "^2.0.0",
"stylelint-config-standard": "^18.0.0"
}, },
"scripts": { "scripts": {
"build": "postcss -c postcss.config.js" "build": "postcss -c postcss.config.js",
"lint": "stylelint './src/**/*.css'"
}, },
"keywords": [ "keywords": [
"library", "library",
+1 -1
View File
@@ -1,10 +1,10 @@
.CDB-Box-modal { .CDB-Box-modal {
box-sizing: border-box;
min-width: 160px; min-width: 160px;
border: 1px solid var(--color-line); border: 1px solid var(--color-line);
border-radius: 4px; border-radius: 4px;
background: white; background: white;
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.16); box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.16);
box-sizing: border-box;
} }
.CDB-Box-modalHeader { .CDB-Box-modalHeader {
+5 -4
View File
@@ -1,10 +1,10 @@
.CDB-Button { .CDB-Button {
position: relative; position: relative;
box-sizing: border-box;
padding: 8px 20px; padding: 8px 20px;
transition: background 300ms; transition: background 300ms;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
box-sizing: border-box;
.CDB-Button-Text { .CDB-Button-Text {
@@ -20,12 +20,12 @@
.CDB-Button--loading { .CDB-Button--loading {
.CDB-Button-loader { .CDB-Button-loader {
position: absolute; position: absolute;
z-index: 10;
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%) scale(0); transform: translate(-50%, -50%) scale(0);
transform-origin: 50%; transform-origin: 50%;
opacity: 0; opacity: 0;
z-index: 10;
} }
.CDB-Button-Text { .CDB-Button-Text {
@@ -52,6 +52,7 @@
transform: translate(-50%, -50%) scale(0); transform: translate(-50%, -50%) scale(0);
opacity: 0; opacity: 0;
} }
100% { 100% {
transform: translate(-50%, -50%) scale(1); transform: translate(-50%, -50%) scale(1);
opacity: 1; opacity: 1;
@@ -154,8 +155,8 @@
.CDB-Button--secondary { .CDB-Button--secondary {
color: var(--color-blue);
box-shadow: inset 0 0 0 1px var(--color-blue); box-shadow: inset 0 0 0 1px var(--color-blue);
color: var(--color-blue);
&:hover { &:hover {
background: rgba(var(--color-blue), 0.08); background: rgba(var(--color-blue), 0.08);
@@ -194,8 +195,8 @@
} }
.CDB-Button--white { .CDB-Button--white {
color: white;
box-shadow: inset 0 0 0 1px white; box-shadow: inset 0 0 0 1px white;
color: white;
&:hover { &:hover {
background: rgba(white, 0.08); background: rgba(white, 0.08);
+5 -4
View File
@@ -1,33 +1,33 @@
.CDB-Checkbox { .CDB-Checkbox {
position: absolute; position: absolute;
z-index: 1;
width: 16px; width: 16px;
height: 16px; height: 16px;
opacity: 0; opacity: 0;
vertical-align: middle; vertical-align: middle;
z-index: 1;
} }
.CDB-Checkbox-face { .CDB-Checkbox-face {
position: relative; position: relative;
z-index: 2;
box-sizing: border-box;
width: 16px; width: 16px;
height: 16px; height: 16px;
border: 1px solid var(--color-line); border: 1px solid var(--color-line);
border-radius: 3px; border-radius: 3px;
background: white; background: white;
cursor: pointer; cursor: pointer;
box-sizing: border-box;
z-index: 2;
pointer-events: none; pointer-events: none;
&::before, &::before,
&::after { &::after {
content: '';
display: block; display: block;
position: absolute; position: absolute;
bottom: 3px; bottom: 3px;
width: 2px; width: 2px;
border-radius: 1px; border-radius: 1px;
background: white; background: white;
content: '';
} }
&::before { &::before {
@@ -71,6 +71,7 @@
background: var(--color-line-hover); background: var(--color-line-hover);
} }
} }
.CDB-Checkbox:active + .CDB-Checkbox-face { .CDB-Checkbox:active + .CDB-Checkbox-face {
border: 1px solid var(--color-blue); border: 1px solid var(--color-blue);
+3 -3
View File
@@ -37,12 +37,12 @@
} }
.CDB-Dropdown-optionsElement { .CDB-Dropdown-optionsElement {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 12px 10px; padding: 12px 10px;
overflow: hidden;
border-bottom: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line);
color: var(--color-blue); color: var(--color-blue);
text-overflow: ellipsis;
white-space: nowrap;
&:last-child { &:last-child {
border-bottom: 0; border-bottom: 0;
+2 -2
View File
@@ -1,4 +1,5 @@
.CDB-InputText { .CDB-InputText {
box-sizing: border-box;
width: 100%; width: 100%;
min-height: 32px; min-height: 32px;
padding: 7px 8px; padding: 7px 8px;
@@ -6,7 +7,6 @@
border-radius: 4px; border-radius: 4px;
font-size: var(--font-size-medium); font-size: var(--font-size-medium);
line-height: var(--line-height-medium); line-height: var(--line-height-medium);
box-sizing: border-box;
&.is-cursor { &.is-cursor {
cursor: pointer; cursor: pointer;
@@ -53,12 +53,12 @@
} }
.CDB-InputTextPlain { .CDB-InputTextPlain {
box-sizing: border-box;
width: 100%; width: 100%;
border: 0; border: 0;
background: transparent; background: transparent;
font-size: var(--font-size-medium); font-size: var(--font-size-medium);
line-height: var(--line-height-medium); line-height: var(--line-height-medium);
box-sizing: border-box;
} }
.CDB-FieldError .CDB-InputText { .CDB-FieldError .CDB-InputText {
+1 -1
View File
@@ -78,11 +78,11 @@
&.is-active::after, &.is-active::after,
&:focus::after, &:focus::after,
&:hover::after { &:hover::after {
content: '';
position: absolute; position: absolute;
left: -1px; left: -1px;
width: 1px; width: 1px;
height: calc(100% + 2px); height: calc(100% + 2px);
content: '';
} }
&:hover::after { &:hover::after {
+3 -3
View File
@@ -1,14 +1,15 @@
.CDB-Radio { .CDB-Radio {
position: absolute; position: absolute;
z-index: 1;
width: 16px; width: 16px;
height: 16px; height: 16px;
opacity: 0; opacity: 0;
vertical-align: middle; vertical-align: middle;
z-index: 1;
} }
.CDB-Radio-face { .CDB-Radio-face {
position: relative; position: relative;
box-sizing: border-box;
width: 16px; width: 16px;
height: 16px; height: 16px;
border: 1px solid var(--color-line); border: 1px solid var(--color-line);
@@ -16,9 +17,9 @@
background: white; background: white;
text-indent: 20px; text-indent: 20px;
cursor: pointer; cursor: pointer;
box-sizing: border-box;
&::before { &::before {
content: '';
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
@@ -28,7 +29,6 @@
margin-left: -3px; margin-left: -3px;
border-radius: 50%; border-radius: 50%;
background: white; background: white;
content: '';
} }
} }
+3 -3
View File
@@ -8,8 +8,7 @@
} }
.CDB-SelectFake { .CDB-SelectFake {
-webkit-appearance: none; box-sizing: border-box;
appearance: none;
width: 100%; width: 100%;
padding: 7px 8px 6px; padding: 7px 8px 6px;
border: 1px solid var(--color-line); border: 1px solid var(--color-line);
@@ -17,7 +16,8 @@
background: white; background: white;
font-size: var(--font-size-medium); font-size: var(--font-size-medium);
line-height: var(--line-height-medium); line-height: var(--line-height-medium);
box-sizing: border-box; -webkit-appearance: none;
appearance: none;
&:hover { &:hover {
border: 1px solid var(--color-line-hover); border: 1px solid var(--color-line-hover);
+1 -1
View File
@@ -1,11 +1,11 @@
.CDB-Textarea { .CDB-Textarea {
box-sizing: border-box;
width: 100%; width: 100%;
padding: 7px 8px 6px; padding: 7px 8px 6px;
border: 1px solid var(--color-line); border: 1px solid var(--color-line);
border-radius: 4px; border-radius: 4px;
font-size: var(--font-size-medium); font-size: var(--font-size-medium);
line-height: var(--line-height-medium); line-height: var(--line-height-medium);
box-sizing: border-box;
&:hover { &:hover {
border: 1px solid var(--color-line-hover); border: 1px solid var(--color-line-hover);
+2 -2
View File
@@ -1,9 +1,9 @@
.CDB-Toggle { .CDB-Toggle {
position: absolute; position: absolute;
z-index: 1;
width: 32px; width: 32px;
height: 16px; height: 16px;
opacity: 0; opacity: 0;
z-index: 1;
&:hover { &:hover {
+ .CDB-ToggleFace { + .CDB-ToggleFace {
@@ -25,6 +25,7 @@
background: var(--color-text-alt); background: var(--color-text-alt);
&::before { &::before {
content: '';
position: absolute; position: absolute;
top: 2px; top: 2px;
left: 2px; left: 2px;
@@ -33,7 +34,6 @@
border-radius: 50%; border-radius: 50%;
background: white; background: white;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.48); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.48);
content: '';
} }
} }
+2 -2
View File
@@ -34,9 +34,9 @@
flex: 1; flex: 1;
width: 0; width: 0;
padding-right: 16px; padding-right: 16px;
overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
overflow: hidden;
} }
.CDB-HeaderInfo-actionsItem { .CDB-HeaderInfo-actionsItem {
@@ -46,6 +46,7 @@
} }
.CDB-HeaderNumeration { .CDB-HeaderNumeration {
box-sizing: border-box;
width: 24px; width: 24px;
min-width: 24px; min-width: 24px;
height: 24px; height: 24px;
@@ -56,5 +57,4 @@
font-size: var(--font-size-small); font-size: var(--font-size-small);
line-height: 23px; line-height: 23px;
text-align: center; text-align: center;
box-sizing: border-box;
} }
+8 -4
View File
@@ -1,12 +1,12 @@
.CDB-Loader { .CDB-Loader {
position: absolute; position: absolute;
z-index: 2;
top: 0; top: 0;
left: 0; left: 0;
width: 50%; width: 50%;
height: 3px; height: 3px;
transform: translateX(-200%); transform: translateX(-200%);
background-image: linear-gradient(90deg, rgba(var(--color-blue), 1) 0%, #32BBFE 90%, #FAFEFF 95%); background-image: linear-gradient(90deg, rgba(var(--color-blue), 1) 0%, #32BBFE 90%, #FAFEFF 95%);
z-index: 2;
} }
.CDB-Loader.is-visible { .CDB-Loader.is-visible {
@@ -17,6 +17,7 @@
from { from {
transform: translateX(-200%); transform: translateX(-200%);
} }
to { to {
transform: translateX(200%); transform: translateX(200%);
} }
@@ -28,9 +29,9 @@
} }
.CDB-LoaderIcon-spinner { .CDB-LoaderIcon-spinner {
animation: rotate 2s linear infinite;
width: 16px; width: 16px;
height: 16px; height: 16px;
animation: rotate 2s linear infinite;
} }
.CDB-LoaderIcon--small, .CDB-LoaderIcon--small,
@@ -46,10 +47,10 @@
} }
.CDB-LoaderIcon-path { .CDB-LoaderIcon-path {
stroke: rgba(255, 255, 255, 0.88);
stroke-linecap: round;
animation: dash 1.5s ease-in-out infinite; animation: dash 1.5s ease-in-out infinite;
stroke-width: 4px; stroke-width: 4px;
stroke-linecap: round;
stroke: rgba(255, 255, 255, 0.88);
} }
.CDB-LoaderIcon--big .CDB-LoaderIcon-path { .CDB-LoaderIcon--big .CDB-LoaderIcon-path {
@@ -59,6 +60,7 @@
.CDB-LoaderIcon.is-dark .CDB-LoaderIcon-path { .CDB-LoaderIcon.is-dark .CDB-LoaderIcon-path {
stroke: rgba(0, 0, 0, 0.24); stroke: rgba(0, 0, 0, 0.24);
} }
.CDB-LoaderIcon.is-blue .CDB-LoaderIcon-path { .CDB-LoaderIcon.is-blue .CDB-LoaderIcon-path {
stroke: var(--color-blue); stroke: var(--color-blue);
} }
@@ -74,10 +76,12 @@
stroke-dasharray: 1, 150; stroke-dasharray: 1, 150;
stroke-dashoffset: 0; stroke-dashoffset: 0;
} }
50% { 50% {
stroke-dasharray: 90, 150; stroke-dasharray: 90, 150;
stroke-dashoffset: -35; stroke-dashoffset: -35;
} }
100% { 100% {
stroke-dasharray: 90, 150; stroke-dasharray: 90, 150;
stroke-dashoffset: -124; stroke-dashoffset: -124;
+3 -3
View File
@@ -48,9 +48,9 @@
} }
.CDB-NavMenu-item.is-disabled .CDB-NavMenu-link { .CDB-NavMenu-item.is-disabled .CDB-NavMenu-link {
pointer-events: none;
color: var(--color-text-alt); color: var(--color-text-alt);
cursor: default; cursor: default;
pointer-events: none;
} }
.CDB-NavSubmenu { .CDB-NavSubmenu {
@@ -110,9 +110,9 @@
} }
.CDB-NavSubmenu-item.is-disabled .CDB-NavMenu-link { .CDB-NavSubmenu-item.is-disabled .CDB-NavMenu-link {
pointer-events: none;
cursor: default;
opacity: 0.24; opacity: 0.24;
cursor: default;
pointer-events: none;
} }
.CDB-NavMenu-item.is-selected .CDB-NavMenu-link { .CDB-NavMenu-item.is-selected .CDB-NavMenu-link {
+4 -4
View File
@@ -18,6 +18,7 @@
height: 100%; height: 100%;
&::before { &::before {
content: '';
display: block; display: block;
position: absolute; position: absolute;
right: 1px; right: 1px;
@@ -25,10 +26,10 @@
left: 0; left: 0;
height: 1px; height: 1px;
background: var(--color-black); background: var(--color-black);
content: '';
} }
&::after { &::after {
content: '';
display: block; display: block;
position: absolute; position: absolute;
top: 1; top: 1;
@@ -36,12 +37,12 @@
left: 7px; left: 7px;
width: 1px; width: 1px;
background: var(--color-black); background: var(--color-black);
content: '';
} }
} }
.CDB-Shape-add.is-small { .CDB-Shape-add.is-small {
&::before { &::before {
content: '';
display: block; display: block;
position: absolute; position: absolute;
right: 3px; right: 3px;
@@ -49,10 +50,10 @@
left: 4px; left: 4px;
height: 1px; height: 1px;
background: var(--color-black); background: var(--color-black);
content: '';
} }
&::after { &::after {
content: '';
display: block; display: block;
position: absolute; position: absolute;
top: 4px; top: 4px;
@@ -60,7 +61,6 @@
left: 8px; left: 8px;
width: 1px; width: 1px;
background: var(--color-black); background: var(--color-black);
content: '';
} }
} }
+2 -2
View File
@@ -5,6 +5,7 @@
background: var(--color-black); background: var(--color-black);
&::before { &::before {
content: '';
display: block; display: block;
position: absolute; position: absolute;
top: 2px; top: 2px;
@@ -13,10 +14,10 @@
height: 1px; height: 1px;
transform: rotate(45deg); transform: rotate(45deg);
background: var(--color-black); background: var(--color-black);
content: '';
} }
&::after { &::after {
content: '';
display: block; display: block;
position: absolute; position: absolute;
top: 2px; top: 2px;
@@ -25,7 +26,6 @@
height: 1px; height: 1px;
transform: rotate(-45deg); transform: rotate(-45deg);
background: var(--color-black); background: var(--color-black);
content: '';
} }
&.is-up { &.is-up {
+3 -2
View File
@@ -25,21 +25,21 @@
height: 100%; height: 100%;
&::before { &::before {
content: '';
display: block; display: block;
position: absolute; position: absolute;
width: 1px; width: 1px;
transform: rotate(-45deg); transform: rotate(-45deg);
background: var(--color-black); background: var(--color-black);
content: '';
} }
&::after { &::after {
content: '';
display: block; display: block;
position: absolute; position: absolute;
width: 1px; width: 1px;
transform: rotate(45deg); transform: rotate(45deg);
background: var(--color-black); background: var(--color-black);
content: '';
} }
&.is-medium { &.is-medium {
@@ -95,6 +95,7 @@
&::before { &::before {
background: var(--color-highlight); background: var(--color-highlight);
} }
&::after { &::after {
background: var(--color-highlight); background: var(--color-highlight);
} }
+2 -2
View File
@@ -4,21 +4,21 @@
height: 100%; height: 100%;
&::before { &::before {
content: '';
display: block; display: block;
position: absolute; position: absolute;
width: 1px; width: 1px;
transform: rotate(-45deg); transform: rotate(-45deg);
background: var(--color-black); background: var(--color-black);
content: '';
} }
&::after { &::after {
content: '';
display: block; display: block;
position: absolute; position: absolute;
width: 1px; width: 1px;
transform: rotate(45deg); transform: rotate(45deg);
background: var(--color-black); background: var(--color-black);
content: '';
} }
&.is-huge { &.is-huge {
+1 -1
View File
@@ -3,6 +3,7 @@
height: 100%; height: 100%;
&::before { &::before {
content: '';
display: block; display: block;
position: absolute; position: absolute;
right: 2px; right: 2px;
@@ -10,7 +11,6 @@
left: 2px; left: 2px;
height: 1px; height: 1px;
background: var(--color-black); background: var(--color-black);
content: '';
} }
} }
+2 -1
View File
@@ -17,9 +17,9 @@
&:first-child { &:first-child {
position: relative; position: relative;
z-index: 1;
margin-left: 0; margin-left: 0;
box-shadow: 3px 0 0 white; box-shadow: 3px 0 0 white;
z-index: 1;
} }
} }
@@ -52,6 +52,7 @@
.CDB-Shape-DatasetItem { .CDB-Shape-DatasetItem {
border: 1px solid var(--color-line-hover); border: 1px solid var(--color-line-hover);
background: var(--color-black); background: var(--color-black);
&:first-child { &:first-child {
box-shadow: 3px 0 var(--color-black); box-shadow: 3px 0 var(--color-black);
} }
+1
View File
@@ -1,5 +1,6 @@
.CDB-Shape-hamburguer { .CDB-Shape-hamburguer {
width: 16px; width: 16px;
&:hover { &:hover {
cursor: pointer; cursor: pointer;
} }
+4 -3
View File
@@ -4,6 +4,7 @@
height: 100%; height: 100%;
&::before { &::before {
content: '';
display: block; display: block;
position: absolute; position: absolute;
top: 0; top: 0;
@@ -12,10 +13,10 @@
height: 11px; height: 11px;
border: 1px solid var(--color-black); border: 1px solid var(--color-black);
border-radius: 50%; border-radius: 50%;
content: '';
} }
&::after { &::after {
content: '';
display: block; display: block;
position: absolute; position: absolute;
right: 2px; right: 2px;
@@ -24,7 +25,6 @@
height: 7px; height: 7px;
transform: rotate(314deg); transform: rotate(314deg);
background: var(--color-black); background: var(--color-black);
content: '';
} }
} }
@@ -42,6 +42,7 @@
&::before { &::before {
border: 1px solid white; border: 1px solid white;
} }
&::after { &::after {
background: white; background: white;
} }
@@ -56,6 +57,7 @@
} }
&::after { &::after {
content: '';
display: block; display: block;
position: absolute; position: absolute;
right: 4px; right: 4px;
@@ -63,6 +65,5 @@
width: 1px; width: 1px;
height: 5px; height: 5px;
transform: rotate(314deg); transform: rotate(314deg);
content: '';
} }
} }
+4 -2
View File
@@ -15,6 +15,7 @@
width: 2px; width: 2px;
height: 2px; height: 2px;
} }
&::after { &::after {
width: 2px; width: 2px;
height: 2px; height: 2px;
@@ -29,24 +30,25 @@
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
&::before { &::before {
content: '';
display: block; display: block;
position: absolute; position: absolute;
left: 4px; left: 4px;
width: 3px; width: 3px;
height: 3px; height: 3px;
background: var(--color-black); background: var(--color-black);
content: '';
} }
&::after { &::after {
content: '';
display: block; display: block;
position: absolute; position: absolute;
left: 9px; left: 9px;
width: 3px; width: 3px;
height: 3px; height: 3px;
background: var(--color-black); background: var(--color-black);
content: '';
} }
} }
+1 -1
View File
@@ -4,8 +4,8 @@
} }
.CDB-Shape-threePoints.is-horizontal { .CDB-Shape-threePoints.is-horizontal {
transform: rotate(90deg);
padding: 4px 0; padding: 4px 0;
transform: rotate(90deg);
} }
.CDB-Shape-threePointsItem { .CDB-Shape-threePointsItem {
+5 -2
View File
@@ -3,6 +3,7 @@
height: 100%; height: 100%;
&::before { &::before {
content: '';
display: block; display: block;
position: absolute; position: absolute;
top: 8px; top: 8px;
@@ -11,10 +12,10 @@
height: 1px; height: 1px;
transform: rotate(-45deg); transform: rotate(-45deg);
background: var(--color-black); background: var(--color-black);
content: '';
} }
&::after { &::after {
content: '';
display: block; display: block;
position: absolute; position: absolute;
top: 8px; top: 8px;
@@ -23,7 +24,6 @@
height: 1px; height: 1px;
transform: rotate(45deg); transform: rotate(45deg);
background: var(--color-black); background: var(--color-black);
content: '';
} }
} }
@@ -36,6 +36,7 @@
left: 2px; left: 2px;
width: 8px; width: 8px;
} }
&::after { &::after {
right: 1px; right: 1px;
width: 8px; width: 8px;
@@ -46,6 +47,7 @@
&::before { &::before {
background: var(--color-blue); background: var(--color-blue);
} }
&::after { &::after {
background: var(--color-blue); background: var(--color-blue);
} }
@@ -55,6 +57,7 @@
&::before { &::before {
background: white; background: white;
} }
&::after { &::after {
background: white; background: white;
} }
+2 -2
View File
@@ -53,6 +53,7 @@
} }
.CDB-Type--polygon::before { .CDB-Type--polygon::before {
content: '';
display: block; display: block;
position: absolute; position: absolute;
top: 1px; top: 1px;
@@ -60,10 +61,10 @@
bottom: 1px; bottom: 1px;
left: 1px; left: 1px;
border: 1px solid var(--color-line-hover); border: 1px solid var(--color-line-hover);
content: '';
} }
.CDB-Type--line::before { .CDB-Type--line::before {
content: '';
display: block; display: block;
position: absolute; position: absolute;
top: 0; top: 0;
@@ -73,5 +74,4 @@
width: 1px; width: 1px;
transform: rotate(45deg); transform: rotate(45deg);
background: var(--color-line-hover); background: var(--color-line-hover);
content: '';
} }
+1 -1
View File
@@ -7,12 +7,12 @@
} }
.CDB-InfoTooltip::after { .CDB-InfoTooltip::after {
content: '';
display: block; display: block;
position: absolute; position: absolute;
width: 0; width: 0;
height: 0; height: 0;
border: 4px solid transparent; border: 4px solid transparent;
content: '';
} }
.is-black { .is-black {
-4
View File
@@ -1,10 +1,8 @@
@import 'variables/sizes'; @import 'variables/sizes';
@import 'variables/colors'; @import 'variables/colors';
@import 'utilities/defaults'; @import 'utilities/defaults';
@import 'utilities/fonts'; @import 'utilities/fonts';
@import 'utilities/helpers'; @import 'utilities/helpers';
@import 'components/forms/checkbox'; @import 'components/forms/checkbox';
@import 'components/forms/dropdowns'; @import 'components/forms/dropdowns';
@import 'components/forms/inputs'; @import 'components/forms/inputs';
@@ -15,7 +13,6 @@
@import 'components/forms/tabsForms'; @import 'components/forms/tabsForms';
@import 'components/forms/textarea'; @import 'components/forms/textarea';
@import 'components/forms/toggle'; @import 'components/forms/toggle';
@import 'components/shapes/add'; @import 'components/shapes/add';
@import 'components/shapes/arrow'; @import 'components/shapes/arrow';
@import 'components/shapes/check-circle'; @import 'components/shapes/check-circle';
@@ -31,7 +28,6 @@
@import 'components/shapes/threePoints'; @import 'components/shapes/threePoints';
@import 'components/shapes/toogle-arrow'; @import 'components/shapes/toogle-arrow';
@import 'components/shapes/type'; @import 'components/shapes/type';
@import 'components/avatars'; @import 'components/avatars';
@import 'components/boxes'; @import 'components/boxes';
@import 'components/buttons'; @import 'components/buttons';
+6 -6
View File
@@ -4,8 +4,8 @@
font-weight: 300; font-weight: 300;
src: url('../fonts/OpenSans-Light.eot'); src: url('../fonts/OpenSans-Light.eot');
src: url('../fonts/OpenSans-Light.eot?#iefix') format('embedded-opentype'), src: url('../fonts/OpenSans-Light.eot?#iefix') format('embedded-opentype'),
url('../fonts/OpenSans-Light.woff') format('woff'), url('../fonts/OpenSans-Light.woff') format('woff'),
url('../fonts/OpenSans-Light.ttf') format('truetype'); url('../fonts/OpenSans-Light.ttf') format('truetype');
} }
@font-face { @font-face {
@@ -14,8 +14,8 @@
font-weight: 400; font-weight: 400;
src: url('../fonts/OpenSans-Regular.eot'); src: url('../fonts/OpenSans-Regular.eot');
src: url('../fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'), src: url('../fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/OpenSans-Regular.woff') format('woff'), url('../fonts/OpenSans-Regular.woff') format('woff'),
url('../fonts/OpenSans-Regular.ttf') format('truetype'); url('../fonts/OpenSans-Regular.ttf') format('truetype');
} }
@font-face { @font-face {
@@ -24,6 +24,6 @@
font-weight: 600; font-weight: 600;
src: url('../fonts/OpenSans-Semibold.eot'); src: url('../fonts/OpenSans-Semibold.eot');
src: url('../fonts/OpenSans-Semibold.eot?#iefix') format('embedded-opentype'), src: url('../fonts/OpenSans-Semibold.eot?#iefix') format('embedded-opentype'),
url('../fonts/OpenSans-Semibold.woff') format('woff'), url('../fonts/OpenSans-Semibold.woff') format('woff'),
url('../fonts/OpenSans-Semibold.ttf') format('truetype'); url('../fonts/OpenSans-Semibold.ttf') format('truetype');
} }
+2 -1
View File
@@ -119,9 +119,9 @@
/* -- DECORATION */ /* -- DECORATION */
.u-ellipsis { .u-ellipsis {
overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
overflow: hidden;
} }
.u-upperCase { .u-upperCase {
@@ -168,6 +168,7 @@
.u-showDesktop { .u-showDesktop {
display: none !important; display: none !important;
} }
.u-showMobile { .u-showMobile {
display: block !important; display: block !important;
} }
+11 -3
View File
@@ -23,37 +23,45 @@ time, mark, audio, video {
font-size: 100%; font-size: 100%;
vertical-align: baseline; vertical-align: baseline;
} }
/* HTML5 display-role reset for older browsers */ /* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { footer, header, hgroup, menu, nav, section {
display: block; display: block;
} }
body { body {
line-height: 1; line-height: 1;
} }
ol, ul { ol, ul {
list-style: none; list-style: none;
} }
blockquote, q { blockquote, q {
quotes: none; quotes: none;
} }
blockquote:before, blockquote:after, blockquote:before, blockquote:after,
q:before, q:after { q:before, q:after {
content: ''; content: '';
} }
table { table {
border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
border-collapse: collapse;
} }
// Resetting buttons too // Resetting buttons too
button { button {
box-sizing: border-box;
margin: 0; margin: 0;
padding: 0; padding: 0;
border: none; border: none;
background: transparent;
box-sizing: border-box;
outline: none; outline: none;
background: transparent;
} }
dd, dt { dd, dt {
display: inline-block; display: inline-block;
} }
+920 -16
View File
File diff suppressed because it is too large Load Diff