Update banner styles

pull/15083/head
alejandraarri 5 years ago
parent 898040deb0
commit 0a796094a5

@ -47,7 +47,8 @@
color: $cError; color: $cError;
} }
.CodeMirror-error a { .CodeMirror-error a,
.CodeMirror-warning a {
color: $cWhite; color: $cWhite;
} }
@ -57,22 +58,20 @@
.CodeMirror-warning { .CodeMirror-warning {
display: flex; display: flex;
align-items: self-start;
justify-content: flex-start;
margin: 0 0 24px;
padding: $baseSize 16px; padding: $baseSize 16px;
border-top: 1px solid #3A484E; background-color: #27333A;
background-color: #FDFFB2; color: #FEB714;
color: #2B3D43;
line-height: 16px; line-height: 16px;
text-align: left; text-align: left;
margin: 0 0 24px 0;
border-radius: $halfBaseSize;
align-items: self-start;
justify-content: flex-start;
} }
.CodeMirror-warning-icon__wrapper { .CodeMirror-warning-icon__wrapper {
display: block;
width: 16px; width: 16px;
height: 16px; height: 16px;
display: block;
margin-right: 8px; margin-right: 8px;
} }

@ -19,4 +19,3 @@ $body-background: #FFF;
$cPrincipal: #397DBA; $cPrincipal: #397DBA;
$cSecondary: #2B6191; $cSecondary: #2B6191;
$cError: #DD4B39; $cError: #DD4B39;
$cWarning: #FEFEDD;

@ -12,5 +12,5 @@
</g> </g>
</svg> </svg>
</div> </div>
<div><%= _t('editor.data.code-mirror.quota-data-services-warning') %>. <%= _t('editor.data.code-mirror.quota-data-services-warning-link') %></div> <div><%= _t('editor.data.code-mirror.quota-data-services-warning') %> <%= _t('editor.data.code-mirror.quota-data-services-warning-link') %></div>
</div> </div>

@ -2,9 +2,7 @@
<textarea class="js-editor"><%- content %></textarea> <textarea class="js-editor"><%- content %></textarea>
</div> </div>
<div class="js-warning"> <div class="js-warning"></div>
Warning Text
</div>
<% if (tips) { %> <% if (tips) { %>
<div class="CodeMirror-console js-console"> <div class="CodeMirror-console js-console">

@ -2395,8 +2395,8 @@
}, },
"code-mirror": { "code-mirror": {
"tip": "CMD + S to apply your query. CTRL + Space to autocomplete.", "tip": "CMD + S to apply your query. CTRL + Space to autocomplete.",
"quota-data-services-warning": "You're about to execute a Data Services function that will consume several credits. Therefore, we discourage its usage here", "quota-data-services-warning": "You're about to execute a Data Services function that will consume several credits. Therefore, we discourage its usage here.",
"quota-data-services-warning-link": "You can read more about the Data Services API in our <a href='https://carto.com/developers/data-services-api/reference/#geocoding-functions' target='_blank'>guides</a>" "quota-data-services-warning-link": "You can read more about the Data Services API in our <a href='https://carto.com/developers/data-services-api/reference/#geocoding-functions' target='_blank'>guides</a>."
}, },
"notifier": { "notifier": {
"sql-alter-loading": "Modifying table…", "sql-alter-loading": "Modifying table…",

@ -1,6 +1,6 @@
{ {
"name": "cartodb-ui", "name": "cartodb-ui",
"version": "1.0.0-assets.117-wds", "version": "1.0.0-assets.117-wds-2",
"description": "CARTO UI frontend", "description": "CARTO UI frontend",
"repository": { "repository": {
"type": "git", "type": "git",

Loading…
Cancel
Save