mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-10 02:08:48 -06:00
change all scss hex codes to use schemes
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
@import "assets/scss/_variables";
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
|
||||||
|
|
||||||
@@ -32,14 +33,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ais-SearchBox-input {
|
.ais-SearchBox-input {
|
||||||
color: #d7d7d7;
|
color: $grey-8;
|
||||||
background-color: #3e3e3e;
|
background-color: $grey-6;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-radius: 1px;
|
border-radius: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ais-SearchBox-submitIcon, .ais-SearchBox-resetIcon {
|
.ais-SearchBox-submitIcon, .ais-SearchBox-resetIcon {
|
||||||
> path { fill: #bcbcbc; }
|
> path { fill: $grey-9; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.ais-SearchBox-input::placeholder {
|
.ais-SearchBox-input::placeholder {
|
||||||
|
|||||||
11
client/src/assets/scss/_variables.scss
Normal file
11
client/src/assets/scss/_variables.scss
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
$grey-9: #b3b3b3;
|
||||||
|
$grey-8: #a0a0a0;
|
||||||
|
$grey-7: #565656;
|
||||||
|
$grey-6: #3e3e3e;
|
||||||
|
$grey-5: #292929;
|
||||||
|
$grey-4: #242424;
|
||||||
|
$grey-3: #1d1d1d;
|
||||||
|
$grey-2: #181818;
|
||||||
|
$grey-1: #151515;
|
||||||
|
$grey-0: #000000;
|
||||||
|
$highlight: #d2ca00;
|
||||||
@@ -11,6 +11,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
@import "../assets/scss/_variables";
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
|
||||||
@@ -18,30 +20,31 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.character-button {
|
.character-button {
|
||||||
background-color: #292929;
|
background-color: $grey-6;
|
||||||
border-color: #1d1d1d;
|
border-color: $grey-4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.character-button {
|
.character-button {
|
||||||
&:focus {
|
&:focus {
|
||||||
background-color: #292929 !important;
|
background-color: $grey-6 !important;
|
||||||
border-color: #1d1d1d !important;
|
border-color: $grey-4 !important;
|
||||||
|
|
||||||
&:active { box-shadow: none !important;}
|
&:active { box-shadow: none !important;}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #1d1d1d !important;
|
background-color: $grey-4 !important;
|
||||||
border-color: #161616 !important;
|
border-color: $grey-3 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background-color: #1d1d1d !important;
|
background-color: $grey-3 !important;
|
||||||
border-color: #161616 !important;
|
border-color: $grey-3 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.character-button > .badge {
|
.character-button > .badge {
|
||||||
background-color: #565656;
|
background-color: $grey-7;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*.btn-dark {*/
|
/*.btn-dark {*/
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style lang="scss">
|
||||||
.card-title { font-family: 'Montserrat', sans-serif; font-weight: 600; }
|
.card-title { font-family: 'Montserrat', sans-serif; font-weight: 600; }
|
||||||
.deleted-scene { font-size: 0.75em; line-height: 12px; }
|
.deleted-scene { font-size: 0.75em; line-height: 12px; }
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -9,10 +9,12 @@
|
|||||||
</b-card>
|
</b-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style lang="scss">
|
||||||
|
@import "../assets/scss/_variables";
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
color: #b3b3b3;
|
color: $grey-9;
|
||||||
background-color: #161616;
|
background-color: $grey-1;
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.88);
|
border-bottom: 1px solid rgba(0, 0, 0, 0.88);
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,9 +12,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
@import "../assets/scss/_variables";
|
||||||
|
|
||||||
.quote-list > tr {
|
.quote-list > tr {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
&:hover { background-color: #242424; }
|
&:hover { background-color: $grey-4; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.quote-text {
|
.quote-text {
|
||||||
|
|||||||
@@ -31,6 +31,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
@import "../assets/scss/_variables";
|
||||||
|
|
||||||
.expandable-result {
|
.expandable-result {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@@ -47,7 +49,7 @@
|
|||||||
.quote-list > tr {
|
.quote-list > tr {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
&:hover { background-color: #242424; }
|
&:hover { background-color: $grey-4; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.quote-text {
|
.quote-text {
|
||||||
|
|||||||
@@ -21,7 +21,9 @@
|
|||||||
</ais-hits>
|
</ais-hits>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<style>
|
<style lang="scss">
|
||||||
|
@import "../assets/scss/_variables";
|
||||||
|
|
||||||
.card-footer {
|
.card-footer {
|
||||||
padding: 0.1em;
|
padding: 0.1em;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
@@ -30,7 +32,7 @@
|
|||||||
|
|
||||||
mark, .mark {
|
mark, .mark {
|
||||||
padding: 0.02em;
|
padding: 0.02em;
|
||||||
background-color: #d2ca00;
|
background-color: $highlight;
|
||||||
/*color: #black;*/
|
/*color: #black;*/
|
||||||
/*-webkit-filter: invert(100%);*/
|
/*-webkit-filter: invert(100%);*/
|
||||||
/*filter: invert(100%);*/
|
/*filter: invert(100%);*/
|
||||||
|
|||||||
@@ -36,6 +36,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
@import "../assets/scss/_variables";
|
||||||
|
|
||||||
.season-card > .card-body > .card-header {
|
.season-card > .card-body > .card-header {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@@ -61,23 +63,23 @@
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
.popover-header {
|
.popover-header {
|
||||||
background-color: #1d1d1d;
|
background-color: $grey-3;
|
||||||
border-color: #181818;
|
border-color: $grey-2;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-right > .arrow::after, .bs-popover-auto[x-placement^="right"] > .arrow::after {
|
.bs-popover-right > .arrow::after, .bs-popover-auto[x-placement^="right"] > .arrow::after {
|
||||||
/*left: 1px;*/
|
/*left: 1px;*/
|
||||||
/*border-width: 0.5rem 0.5rem 0.5rem 0;*/
|
/*border-width: 0.5rem 0.5rem 0.5rem 0;*/
|
||||||
border-right-color: #181818;
|
border-right-color: $grey-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popover-body {
|
.popover-body {
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #161616;
|
background-color: $grey-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.season-title { color: #a2a2a2; cursor: pointer; }
|
.season-title { color: $grey-8; cursor: pointer; }
|
||||||
|
|
||||||
.accordion.list-group-item {
|
.accordion.list-group-item {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@@ -104,7 +106,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card-header {
|
.card-header {
|
||||||
background-color: #161616;
|
background-color: $grey-2;
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.88);
|
border-bottom: 1px solid rgba(0, 0, 0, 0.88);
|
||||||
font-family: 'Montserrat', sans-serif;
|
font-family: 'Montserrat', sans-serif;
|
||||||
}
|
}
|
||||||
@@ -120,12 +122,12 @@
|
|||||||
|
|
||||||
.list-group-item {
|
.list-group-item {
|
||||||
border-color: rgba(24, 24, 24, 0.82);
|
border-color: rgba(24, 24, 24, 0.82);
|
||||||
background-color: #111111;
|
background-color: $grey-3;
|
||||||
color: #a0a0a0;
|
color: $grey-8;
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
|
|
||||||
&:hover { background-color: #161616; }
|
&:hover { background-color: $grey-2; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-link {
|
.no-link {
|
||||||
|
|||||||
Reference in New Issue
Block a user