#85773 regru styles customization — blue color replace

This commit is contained in:
Valery Kovalev 2021-04-29 19:06:02 +03:00
parent bbba5b322f
commit 27046f95c9
8 changed files with 33 additions and 14 deletions

View File

@ -54,6 +54,11 @@ pre {
text-align: initial; text-align: initial;
vertical-align: initial; vertical-align: initial;
} }
&.function,
&.keyword {
color: $header;
}
} }
} }
} }

View File

@ -34,6 +34,7 @@ THE SOFTWARE.
.container { .container {
h3 { h3 {
@include font-medium; @include font-medium;
font-size: medium;
} }
form { form {

View File

@ -63,6 +63,10 @@ THE SOFTWARE.
.button { .button {
margin: 0 .25rem .5rem; margin: 0 .25rem .5rem;
&.is-primary {
background-color: $header;
}
} }
} }
} }
@ -87,6 +91,11 @@ THE SOFTWARE.
.button { .button {
margin-left: .5rem; margin-left: .5rem;
&.is-mini {
background-color: $header;
color: $callout;
}
i + span, i + span,
span + i { span + i {

View File

@ -31,6 +31,7 @@ THE SOFTWARE.
overflow-wrap: break-word; overflow-wrap: break-word;
a { a {
color: $header;
text-decoration: none; text-decoration: none;
} }
} }
@ -47,4 +48,8 @@ THE SOFTWARE.
.buttons { .buttons {
margin: 1rem 0; margin: 1rem 0;
} }
.dark-button {
background-color: $header;
}
} }

View File

@ -35,25 +35,24 @@ THE SOFTWARE.
&:focus { &:focus {
a { a {
&::after { &::after {
background: $dark-blue; background: $header;
} }
} }
} }
// Light blue color if the user has gone past a tab
&.is-before { &.is-before {
a { a {
color: mix($dark-grey, $primary); color: mix($header, $header);
&::after { &::after {
background: rgba($primary, .5); background: rgba($header, .5);
} }
&:hover { &:hover {
color: $dark-blue; color: $header;
&::after { &::after {
background: $dark-blue; background: $header;
} }
} }
} }
@ -62,7 +61,7 @@ THE SOFTWARE.
// If a user has changed something in the tab, we'll make the text dark always // If a user has changed something in the tab, we'll make the text dark always
&.is-changed { &.is-changed {
a { a {
color: $dark-blue; color: $header;
} }
} }

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
$header: #0071fe; $header: #066BC6;
$highlight: #f2c94c; $highlight: #f2c94c;
$callout: #f3f5f9; $callout: #f3f5f9;
@import "~do-bulma/src/style"; @import "~do-bulma/src/style";
@ -32,14 +32,14 @@ $callout: #f3f5f9;
.do-bulma { .do-bulma {
@import "../../../build/prism"; @import "../../../build/prism";
$pretty--color-dark: $primary; $pretty--color-dark: $header;
$pretty--color-default: $primary; $pretty--color-default: $header;
@import "~pretty-checkbox/src/pretty-checkbox"; @import "~pretty-checkbox/src/pretty-checkbox";
$vs-border-color: $border; $vs-border-color: $border;
$vs-border-radius: $border-radius; $vs-border-radius: $border-radius;
$vs-dropdown-box-shadow: 0 2px 4px rgba($dark-blue, .06); $vs-dropdown-box-shadow: 0 2px 4px rgba($header, .06);
$vs-state-active-bg: $primary; $vs-state-active-bg: $header;
@import "~vue-select/src/scss/vue-select"; @import "~vue-select/src/scss/vue-select";
@import "header"; @import "header";

View File

@ -87,7 +87,7 @@ THE SOFTWARE.
<h2>{{ $t('templates.app.globalConfig') }}</h2> <h2>{{ $t('templates.app.globalConfig') }}</h2>
<Global :data="global"></Global> <Global :data="global"></Global>
<DropletCallout></DropletCallout> <!-- <DropletCallout></DropletCallout> -->
<h2>{{ $t('templates.app.setup') }}</h2> <h2>{{ $t('templates.app.setup') }}</h2>
<Setup :data="{ domains: domains.filter(d => d !== null), global, confFiles }"></Setup> <Setup :data="{ domains: domains.filter(d => d !== null), global, confFiles }"></Setup>

View File

@ -55,7 +55,7 @@ THE SOFTWARE.
<div class="buttons is-centered"> <div class="buttons is-centered">
<a class="button is-success" @click="downloadTar">{{ $t('templates.setup.downloadConfig') }}</a> <a class="button is-success" @click="downloadTar">{{ $t('templates.setup.downloadConfig') }}</a>
<a ref="copyTar" class="button is-primary">{{ $t('templates.setup.copyBase64') }}</a> <a ref="copyTar" class="button is-primary dark-button">{{ $t('templates.setup.copyBase64') }}</a>
</div> </div>
</div> </div>
</template> </template>