mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
321 lines
7.5 KiB
SCSS
321 lines
7.5 KiB
SCSS
html,
|
|
body {
|
|
font-family: $ascribe--font;
|
|
font-weight: $ascribe--font-weight-light;
|
|
background-color: #f8f8f8 !important;
|
|
}
|
|
h1, h3 {
|
|
font-family: $ascribe--font;
|
|
font-weight: $ascribe--font-weight-light;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
hr {
|
|
border-top: 1px solid $ascribe-blue-border;
|
|
}
|
|
|
|
.ascribe-icon {
|
|
font-size: 1.2em;
|
|
font-weight: $ascribe--font-weight-light;
|
|
}
|
|
|
|
.icon-ascribe-search {
|
|
color: $ascribe--button-default-color;
|
|
}
|
|
|
|
.ascribe-accordion-list {
|
|
margin-bottom: 1em;
|
|
}
|
|
.ascribe-accordion-list-item {
|
|
border: 1px solid $ascribe-blue-border;
|
|
box-shadow: 0 2px 2px -2px rgba(0,0,0,.18);
|
|
}
|
|
|
|
.ascribe-accordion-list-item .wrapper {
|
|
|
|
h1 {
|
|
font-size: 1.6em;
|
|
margin: .4em 0 0 0;
|
|
}
|
|
h3 {
|
|
font-size: 1.1em;
|
|
margin-bottom: 0.4em;
|
|
}
|
|
a:not(.btn) {
|
|
color: $ascribe-black
|
|
}
|
|
.accordion-list-item-header {
|
|
a div {
|
|
color: rgba(0,0,0,.6)
|
|
}
|
|
}
|
|
}
|
|
|
|
.ascribe-accordion-list-item-table {
|
|
tbody {
|
|
tr {
|
|
&:hover {
|
|
background-color: rgba($ascribe--button-default-color, .05);
|
|
border-left-color: rgba($ascribe--button-default-color, .5);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.ascribe-footer {
|
|
margin-top: 5em;
|
|
text-transform: uppercase;
|
|
background-color: $ascribe-white;
|
|
border-top: 1px solid rgba(0, 60, 105, 0.1);
|
|
}
|
|
|
|
.route--landing {
|
|
margin: 0;
|
|
width: 100%;
|
|
padding: 5em 1em;
|
|
}
|
|
|
|
|
|
.route--login,
|
|
.route--signup {
|
|
.btn-spinner {
|
|
background-color: $ascribe--button-default-color;
|
|
}
|
|
}
|
|
|
|
.ascribe-accordion-list-item-table {
|
|
border-bottom: 0.1em solid $ascribe-blue-border;
|
|
border-left: 0.1em solid $ascribe-blue-border;
|
|
border-right: 0.1em solid $ascribe-blue-border;
|
|
}
|
|
|
|
.ascribe-table-header-column {
|
|
span {font-weight: 300;}
|
|
}
|
|
|
|
// buttons!
|
|
// thought of the day:
|
|
// "every great atrocity is the result of people just following orders"
|
|
|
|
.btn {
|
|
font-weight: $ascribe--font-weight-light;
|
|
}
|
|
|
|
.btn-default {
|
|
background-color: $ascribe--button-default-color;
|
|
border-color: $ascribe--button-default-color;
|
|
|
|
&:hover,
|
|
&:active,
|
|
&:focus,
|
|
&:active:hover,
|
|
&:active:focus,
|
|
&:active.focus,
|
|
&.active:hover,
|
|
&.active:focus,
|
|
&.active.focus {
|
|
background-color: lighten($ascribe--button-default-color, 20%);
|
|
border-color: lighten($ascribe--button-default-color, 20%);
|
|
}
|
|
}
|
|
|
|
// disabled buttons
|
|
.btn-default.disabled,
|
|
.btn-default.disabled:hover,
|
|
.btn-default.disabled:focus,
|
|
.btn-default.disabled.focus,
|
|
.btn-default.disabled:active,
|
|
.btn-default.disabled.active,
|
|
.btn-default[disabled],
|
|
.btn-default[disabled]:hover,
|
|
.btn-default[disabled]:focus,
|
|
.btn-default[disabled].focus,
|
|
.btn-default[disabled]:active,
|
|
.btn-default[disabled].active,
|
|
fieldset[disabled] .btn-default,
|
|
fieldset[disabled] .btn-default:hover,
|
|
fieldset[disabled] .btn-default:focus,
|
|
fieldset[disabled] .btn-default.focus,
|
|
fieldset[disabled] .btn-default:active,
|
|
fieldset[disabled] .btn-default.active {
|
|
background-color: darken($ascribe--button-default-color, 20%);
|
|
border-color: darken($ascribe--button-default-color, 20%);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: $ascribe--button-secondary-bg-color;
|
|
border-color: $ascribe--button-secondary-fg-color;
|
|
color: $ascribe--button-secondary-fg-color;
|
|
|
|
&:hover,
|
|
&:active,
|
|
&:focus,
|
|
&:active:hover,
|
|
&:active:focus,
|
|
&:active.focus,
|
|
&.active:hover,
|
|
&.active:focus,
|
|
&.active.focus {
|
|
background-color: $ascribe--button-secondary-fg-color;
|
|
border-color: $ascribe--button-secondary-bg-color;
|
|
color: $ascribe--button-secondary-bg-color;
|
|
}
|
|
}
|
|
|
|
// disabled buttons
|
|
.btn-secondary.disabled,
|
|
.btn-secondary.disabled:hover,
|
|
.btn-secondary.disabled:focus,
|
|
.btn-secondary.disabled.focus,
|
|
.btn-secondary.disabled:active,
|
|
.btn-secondary.disabled.active,
|
|
.btn-secondary[disabled],
|
|
.btn-secondary[disabled]:hover,
|
|
.btn-secondary[disabled]:focus,
|
|
.btn-secondary[disabled].focus,
|
|
.btn-secondary[disabled]:active,
|
|
.btn-secondary[disabled].active,
|
|
fieldset[disabled] .btn-secondary,
|
|
fieldset[disabled] .btn-secondary:hover,
|
|
fieldset[disabled] .btn-secondary:focus,
|
|
fieldset[disabled] .btn-secondary.focus,
|
|
fieldset[disabled] .btn-secondary:active,
|
|
fieldset[disabled] .btn-secondary.active {
|
|
background-color: darken($ascribe--button-secondary-bg-color, 20%);
|
|
border-color: darken($ascribe--button-secondary-fg-color, 20%);
|
|
color: darken($ascribe--button-secondary-fg-color, 20%);
|
|
}
|
|
|
|
.btn-tertiary {
|
|
background-color: transparent;
|
|
border-color: transparent;
|
|
color: $ascribe-dark-blue;
|
|
|
|
&:focus,
|
|
&:active:focus,
|
|
&:active.focus {
|
|
background-color: transparent;
|
|
border-color: transparent;
|
|
color: $ascribe-dark-blue;
|
|
}
|
|
|
|
&:hover,
|
|
&:active,
|
|
&:active:hover,
|
|
&.active:hover{
|
|
background-color: $ascribe-pink;
|
|
border-color: $ascribe-pink;
|
|
color: $ascribe-white;
|
|
}
|
|
}
|
|
|
|
.btn-wide {
|
|
font-weight: $ascribe--font-weight-light;
|
|
}
|
|
|
|
.btn-spinner, .btn-spinner:hover {
|
|
background-color: $ascribe--button-default-color;
|
|
border-color: $ascribe--button-default-color;
|
|
[class^="spinner-wrapper-"] {
|
|
color: white;
|
|
.spinner-circle {
|
|
border-color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.btn-secondary .spinner-wrapper {
|
|
.spinner-circle,
|
|
.spinner-inner {
|
|
border-color: $ascribe--button-secondary-fg-color;
|
|
color: $ascribe--button-secondary-fg-color;
|
|
}
|
|
}
|
|
|
|
.pager li > a,
|
|
.pager li > span {
|
|
background-color: $ascribe--button-default-color;
|
|
border-color: $ascribe--button-default-color;
|
|
}
|
|
|
|
.pager li > a:hover,
|
|
.pager li > span:hover,
|
|
.pager li > a:focus,
|
|
.pager li > span:focus {
|
|
background-color: lighten($ascribe--button-default-color, 20%);
|
|
border-color: lighten($ascribe--button-default-color, 20%);
|
|
}
|
|
|
|
.pager .disabled > a,
|
|
.pager .disabled > span {
|
|
background-color: $ascribe--button-default-color!important;
|
|
border-color: $ascribe--button-default-color;
|
|
}
|
|
|
|
// inputs!
|
|
.ascribe-input-glyph > .form-group > .input-group > .input-group-addon > .filter-glyph {
|
|
color: $ascribe--button-default-color;
|
|
}
|
|
.search-bar > .form-group {
|
|
margin: 0;
|
|
}
|
|
|
|
.search-bar > .form-group > .input-group {
|
|
border: 1px solid $ascribe-blue-border;
|
|
&:hover, &:focus, &:active {
|
|
border-color: $ascribe-blue-border-active;
|
|
}
|
|
input::-webkit-input-placeholder {
|
|
color: rgba($ascribe-dark-blue, 0.5);
|
|
font-style: normal;
|
|
}
|
|
/* firefox 19+ */
|
|
input::-moz-placeholder {
|
|
color: rgba($ascribe-dark-blue, 0.5);
|
|
font-style: normal;
|
|
}
|
|
/* ie */
|
|
input:-ms-input-placeholder {
|
|
color: rgba($ascribe-dark-blue, 0.5);
|
|
font-style: normal;
|
|
}
|
|
input:-moz-placeholder {
|
|
color: rgba($ascribe-dark-blue, 0.5);
|
|
font-style: normal;
|
|
}
|
|
|
|
}
|
|
|
|
.ascribe-accordion-list-item .wrapper:hover {
|
|
background-color: rgba($ascribe--button-default-color, .05);
|
|
}
|
|
|
|
// panel
|
|
.ascribe-panel-wrapper {
|
|
border: 1px solid $ascribe-blue-border;
|
|
}
|
|
// intercom stuff
|
|
#intercom-container .intercom-launcher-button {
|
|
background-color: $ascribe--button-default-color !important;
|
|
border-color: $ascribe--button-default-color !important;
|
|
}
|
|
|
|
|
|
// notifications
|
|
.ascribe-global-notification-success {
|
|
background-color: lighten($ascribe--button-default-color, 20%);
|
|
}
|
|
|
|
.action-file {
|
|
text-shadow: -1px 0 black,
|
|
0 1px black,
|
|
1px 0 black,
|
|
0 -1px black;
|
|
|
|
&:hover {
|
|
color: lighten($ascribe--button-default-color, 20%);
|
|
}
|
|
}
|