Skip to content
Permalink
Browse files

[DDW-652]: Style fixes

  • Loading branch information...
yakovkaravelov committed Jun 14, 2019
1 parent 0181377 commit 772dcebdbe9aa22e36cc7db34d28cbda7df4ac90
@@ -18,7 +18,7 @@
}

.epochSelector {
width: 275px;
width: 280px;

input {
border: 0;
@@ -29,6 +29,12 @@
padding-right: 0;
padding-top: 0;
}

:global {
.SimpleOptions_options {
top: 220px !important;
}
}
}

.noResultsLabel {
@@ -62,27 +62,16 @@ export const humanizeDurationToShort = (currentLocale, dateTime) => {
humanizedDurationLanguage = 'de';
break;
default:
humanizedDurationLanguage = 'shortEn';
humanizedDurationLanguage = 'en';
}

return humanizeDuration
.humanizer({
languages: {
shortEn: {
y: () => 'y',
mo: () => 'mo',
w: () => 'w',
d: () => 'd',
h: () => 'h',
m: () => 'm',
s: () => 's',
ms: () => 'ms',
},
},
})(Math.max(0, new Date(dateTime).getTime() - new Date().getTime()), {
return humanizeDuration(
Math.max(0, new Date(dateTime).getTime() - new Date().getTime()),
{
round: true,
language: humanizedDurationLanguage,
})
}
)
.replace(/\s/g, '')
.replace(/,/g, ' ');
};
@@ -20,7 +20,7 @@ const rpAutocomplete = {
// BUBBLE
const rpBubble = {
'--rp-bubble-bg-color': '#fafbfc',
'--rp-bubble-border-color': '#c6cdd6',
'--rp-bubble-border-color': 'rgba(32, 34, 37, 0.07)',
'--rp-bubble-border-radius': '2px',
};

@@ -99,12 +99,12 @@ const rpModal = {
// OPTIONS
const rpOptions = {
'--rp-option-bg-color': '#fafbfc',
'--rp-option-bg-color-highlighted': '#edeeef',
'--rp-option-border-color': '#c6cdd6',
'--rp-option-bg-color-highlighted': 'rgba(32, 34, 37, 0.07)',
'--rp-option-border-color': 'rgba(32, 34, 37, 0.07)',
'--rp-option-checkmark-color': '#5e6066',
'--rp-option-line-height': '22px',
'--rp-option-text-color': '#5e6066',
'--rp-options-border-color': '#c6cdd6',
'--rp-options-border-color': 'rgba(32, 34, 37, 0.07)',
'--rp-options-shadow': 'none',
};

@@ -548,7 +548,7 @@ const CARDANO_THEME_CONFIG = {
'--theme-staking-content-background-color': '#fafbfc',
'--theme-staking-content-border-color': '#c6cdd6',
'--theme-staking-font-color-accent': '#5e6066',
'--theme-staking-background-color': '#efefef',
'--theme-staking-background-color': 'rgba(32, 34, 37, 0.1)',
'--theme-staking-font-color-regular': '#5e6066',
'--theme-staking-font-color-light': 'rgba(94, 96, 102, 0.7)',
'--theme-staking-font-color-lighter': 'rgba(94, 96, 102, 0.5)',
@@ -546,7 +546,7 @@ const DARK_BLUE_THEME_CONFIG = {
'#fafbfc',
},
staking: {
'--theme-staking-background-color': '#0b1926',
'--theme-staking-background-color': 'rgba(233, 244, 254, 0.1)',
'--theme-staking-content-background-color': '#263345',
'--theme-staking-content-border-color': '#263345',
'--theme-staking-font-color-accent': '#cecfd1',
@@ -542,7 +542,7 @@ const LIGHT_BLUE_THEME_CONFIG = {
'transparent',
},
staking: {
'--theme-staking-background-color': '#ebeff2',
'--theme-staking-background-color': 'rgba(52, 70, 94, 0.1)',
'--theme-staking-content-background-color': '#fafbfc',
'--theme-staking-content-border-color': '#c6cdd6',
'--theme-staking-font-color-accent': '#5e6066',
@@ -1,11 +1,18 @@
.selectInput {
&:after {
&::after {
bottom: 22.5px;
}
&:hover::after {
background-color: var(--rp-select-input-text-color);
}

input {
cursor: pointer;
}
}

.isOpen {
.selectInput:after {
.selectInput::after {
bottom: 22.5px;
}
}

0 comments on commit 772dceb

Please sign in to comment.
You can’t perform that action at this time.