2018-01-22 19:27:57 +01:00
|
|
|
$fa-font-path: "~font-awesome/fonts";
|
|
|
|
@import "~font-awesome/scss/font-awesome.scss";
|
2018-01-26 20:12:41 +01:00
|
|
|
@import "~angular2-toaster/toaster";
|
2018-01-22 19:27:57 +01:00
|
|
|
|
2018-01-26 20:12:41 +01:00
|
|
|
@import "variables.scss";
|
|
|
|
@import "box.scss";
|
|
|
|
@import "plugins.scss";
|
2018-01-25 23:45:21 +01:00
|
|
|
|
2018-01-22 19:27:57 +01:00
|
|
|
* {
|
2018-01-21 05:45:22 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2018-01-22 19:27:57 +01:00
|
|
|
div::-webkit-scrollbar {
|
2018-01-21 05:45:22 +01:00
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
2018-01-23 23:06:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
div::-webkit-scrollbar-track {
|
|
|
|
background-color: transparent;
|
2018-01-21 05:45:22 +01:00
|
|
|
}
|
|
|
|
|
2018-01-22 19:27:57 +01:00
|
|
|
div::-webkit-scrollbar-thumb {
|
2018-01-23 23:06:47 +01:00
|
|
|
background-color: rgba(100,100,100,.2);
|
|
|
|
border-radius: 10px;
|
|
|
|
margin-right: 1px;
|
2018-01-24 04:21:14 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(100,100,100,.4);
|
|
|
|
}
|
2018-01-21 05:45:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
html, body {
|
2018-01-21 03:09:04 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
height: 100%;
|
2018-01-22 19:27:57 +01:00
|
|
|
background-color: $background-color;
|
2018-01-21 05:47:47 +01:00
|
|
|
overflow: hidden;
|
2018-01-22 19:27:57 +01:00
|
|
|
font-family: $font-family-sans-serif;
|
|
|
|
font-size: $font-size-base;
|
|
|
|
color: $text-color;
|
2018-01-26 04:54:09 +01:00
|
|
|
line-height: 1.42857143;
|
2018-01-22 19:27:57 +01:00
|
|
|
}
|
|
|
|
|
2018-01-24 02:27:17 +01:00
|
|
|
body {
|
|
|
|
border-top: 1px solid $border-color-dark;
|
|
|
|
}
|
|
|
|
|
2018-01-22 19:27:57 +01:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-family: $font-family-sans-serif;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $brand-primary;
|
|
|
|
text-decoration: none;
|
2018-01-21 05:45:22 +01:00
|
|
|
}
|
|
|
|
|
2018-01-25 05:26:40 +01:00
|
|
|
.monospaced {
|
|
|
|
font-family: $font-family-monospace;
|
|
|
|
}
|
|
|
|
|
2018-01-26 04:54:09 +01:00
|
|
|
.sr-only {
|
|
|
|
position: absolute !important;
|
|
|
|
width: 1px !important;
|
|
|
|
height: 1px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
margin: -1px !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
clip: rect(0, 0, 0, 0) !important;
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
input, select, textarea, button {
|
|
|
|
font-size: $font-size-base;
|
2018-01-26 20:56:54 +01:00
|
|
|
font-family: $font-family-sans-serif;
|
2018-01-26 04:54:09 +01:00
|
|
|
}
|
|
|
|
|
2018-01-26 04:59:41 +01:00
|
|
|
textarea {
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
|
2018-01-21 05:45:22 +01:00
|
|
|
#vault {
|
|
|
|
height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
|
2018-01-24 05:05:23 +01:00
|
|
|
#groupings {
|
2018-01-22 19:27:57 +01:00
|
|
|
background-color: $background-color-alt;
|
2018-01-21 05:45:22 +01:00
|
|
|
width: 15%;
|
|
|
|
min-width: 175px;
|
|
|
|
max-width: 250px;
|
2018-01-22 19:27:57 +01:00
|
|
|
border-right: 1px solid $border-color-dark;
|
2018-01-23 23:39:37 +01:00
|
|
|
|
2018-01-22 19:27:57 +01:00
|
|
|
h2 {
|
|
|
|
font-size: $font-size-base;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
2018-01-24 02:27:17 +01:00
|
|
|
ul:not(.fa-ul) {
|
2018-01-22 19:27:57 +01:00
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2018-01-23 23:39:37 +01:00
|
|
|
list-style: none;
|
2018-01-24 02:27:17 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.fa-ul {
|
|
|
|
li {
|
|
|
|
.fa-li {
|
|
|
|
left: -11px;
|
|
|
|
top: 8px;
|
|
|
|
}
|
2018-01-21 05:45:22 +01:00
|
|
|
|
2018-01-24 02:27:17 +01:00
|
|
|
a {
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
2018-01-27 16:05:56 +01:00
|
|
|
|
|
|
|
&.active .fa-li {
|
|
|
|
left: 4px;
|
|
|
|
}
|
2018-01-24 02:27:17 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 0 15px 0;
|
|
|
|
|
|
|
|
li {
|
2018-01-22 19:27:57 +01:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding: 5px 0;
|
|
|
|
color: $text-color;
|
|
|
|
}
|
2018-01-27 14:52:39 +01:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
background-color: darken($background-color-alt, 5%);
|
|
|
|
margin-left: -15px;
|
|
|
|
margin-right: -15px;
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 15px;
|
|
|
|
}
|
2018-01-22 19:27:57 +01:00
|
|
|
}
|
2018-01-21 05:45:22 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#items {
|
2018-01-22 19:27:57 +01:00
|
|
|
background-color: $background-color;
|
2018-01-21 05:45:22 +01:00
|
|
|
width: 25%;
|
|
|
|
min-width: 200px;
|
|
|
|
max-width: 350px;
|
2018-01-22 19:27:57 +01:00
|
|
|
border-right: 1px solid $border-color-dark;
|
2018-01-21 05:45:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#details {
|
2018-01-24 02:27:17 +01:00
|
|
|
background-color: $background-color-alt2;
|
2018-01-21 05:45:22 +01:00
|
|
|
flex: 1;
|
|
|
|
min-width: 400px;
|
|
|
|
}
|
|
|
|
|
2018-01-24 05:05:23 +01:00
|
|
|
#groupings, #items, #details {
|
2018-01-21 05:45:22 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-01-24 04:57:24 +01:00
|
|
|
|
|
|
|
.inner-content {
|
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
2018-01-21 05:45:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
2018-01-22 19:27:57 +01:00
|
|
|
min-height: 44px;
|
|
|
|
max-height: 44px;
|
|
|
|
background-color: $brand-primary;
|
|
|
|
color: white;
|
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
2018-01-21 05:45:22 +01:00
|
|
|
flex: 0 0 auto;
|
2018-01-22 19:27:57 +01:00
|
|
|
|
|
|
|
a, button {
|
|
|
|
color: white !important;
|
|
|
|
text-decoration: none;
|
|
|
|
background: none;
|
|
|
|
|
|
|
|
&:hover, &:focus {
|
|
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
|
|
|
padding: 12px 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
a, button {
|
|
|
|
padding: 12px 10px;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-spinner {
|
|
|
|
padding: 15px;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.right {
|
|
|
|
display: block;
|
|
|
|
right: 0;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 99999;
|
|
|
|
|
|
|
|
a, button {
|
|
|
|
padding: 12px 10px;
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-spinner {
|
|
|
|
padding: 15px;
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.header-search {
|
|
|
|
.left, .right, .search {
|
|
|
|
display: table-cell;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search {
|
|
|
|
padding: 0 7px;
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.fa-search {
|
|
|
|
position: absolute;
|
|
|
|
top: 15px;
|
|
|
|
left: 15px;
|
|
|
|
color: lighten($brand-primary, 30%);
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
float: none;
|
|
|
|
background: darken($brand-primary, 8%);
|
|
|
|
border: none;
|
|
|
|
color: white;
|
|
|
|
padding: 5px 10px 5px 30px;
|
2018-01-25 03:31:27 +01:00
|
|
|
border-radius: $border-radius;
|
2018-01-22 19:27:57 +01:00
|
|
|
|
|
|
|
&:focus {
|
2018-01-25 03:31:27 +01:00
|
|
|
border-radius: $border-radius;
|
2018-01-22 19:27:57 +01:00
|
|
|
outline: none;
|
|
|
|
background: darken($brand-primary, 10%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-input-placeholder {
|
|
|
|
color: lighten($brand-primary, 35%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
white-space: nowrap;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
2018-01-21 05:45:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
position: relative;
|
2018-01-21 05:47:47 +01:00
|
|
|
overflow: auto;
|
2018-01-21 05:45:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
height: 50px;
|
2018-01-22 19:27:57 +01:00
|
|
|
background-color: $background-color-alt;
|
2018-01-21 05:45:22 +01:00
|
|
|
flex: 0 0 auto;
|
2018-01-22 19:27:57 +01:00
|
|
|
border-top: 1px solid $border-color-dark;
|
2018-01-25 23:45:21 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 15px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
background-color: $button-backgound-color;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
padding: 7px 15px;
|
|
|
|
border: 1px solid $button-border-color;
|
2018-01-26 00:00:03 +01:00
|
|
|
margin-right: 10px;
|
2018-01-25 23:45:21 +01:00
|
|
|
font-size: $font-size-base;
|
|
|
|
color: $button-color;
|
|
|
|
|
2018-01-26 00:00:03 +01:00
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: darken($button-backgound-color, 1.5%);
|
|
|
|
}
|
|
|
|
|
2018-01-25 23:45:21 +01:00
|
|
|
&.primary {
|
|
|
|
color: $button-color-primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.danger {
|
|
|
|
color: $button-color-danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.block {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-01-22 19:27:57 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-27 19:07:36 +01:00
|
|
|
.list > a {
|
|
|
|
display: block;
|
|
|
|
padding: 3px 10px;
|
|
|
|
background-color: white;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $text-color;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2018-01-22 19:27:57 +01:00
|
|
|
|
2018-01-27 19:07:36 +01:00
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
2018-01-22 19:27:57 +01:00
|
|
|
}
|
|
|
|
|
2018-01-27 19:07:36 +01:00
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
height: 1px;
|
|
|
|
width: calc(100% - 10px);
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
2018-01-22 19:27:57 +01:00
|
|
|
|
2018-01-27 19:07:36 +01:00
|
|
|
&:last-child:before {
|
|
|
|
border: none;
|
|
|
|
height: 0;
|
|
|
|
}
|
2018-01-22 19:27:57 +01:00
|
|
|
|
2018-01-27 19:07:36 +01:00
|
|
|
&:hover, &:focus, &.active {
|
|
|
|
background-color: $list-item-hover;
|
|
|
|
}
|
2018-01-22 19:27:57 +01:00
|
|
|
|
2018-01-27 19:07:36 +01:00
|
|
|
&:not(:hover):focus {
|
|
|
|
border-left: 5px solid $brand-primary;
|
|
|
|
padding-left: 5px;
|
2018-01-22 19:27:57 +01:00
|
|
|
}
|
|
|
|
|
2018-01-27 19:07:36 +01:00
|
|
|
.text, .detail {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-01-22 19:27:57 +01:00
|
|
|
display: block;
|
|
|
|
color: $text-color;
|
2018-01-27 19:07:36 +01:00
|
|
|
}
|
2018-01-22 19:27:57 +01:00
|
|
|
|
2018-01-27 19:07:36 +01:00
|
|
|
.detail {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
color: $gray-light;
|
2018-01-22 19:27:57 +01:00
|
|
|
}
|
|
|
|
|
2018-01-27 19:07:36 +01:00
|
|
|
.icon {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
float: left;
|
|
|
|
height: 36px;
|
|
|
|
width: 34px;
|
|
|
|
margin-left: -5px;
|
|
|
|
color: $text-muted;
|
|
|
|
|
|
|
|
img {
|
|
|
|
border-radius: $border-radius;
|
|
|
|
max-height: 20px;
|
|
|
|
max-width: 20px;
|
2018-01-22 19:27:57 +01:00
|
|
|
}
|
2018-01-21 05:45:22 +01:00
|
|
|
}
|
2018-01-21 03:09:04 +01:00
|
|
|
}
|
2018-01-24 04:57:24 +01:00
|
|
|
|
2018-01-25 05:26:40 +01:00
|
|
|
.totp {
|
|
|
|
.totp-code {
|
|
|
|
font-family: $font-family-monospace;
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.totp-countdown {
|
|
|
|
margin: 3px 3px 0 0;
|
|
|
|
display: block;
|
|
|
|
user-select: none;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
.totp-sec {
|
|
|
|
font-size: 0.85em;
|
|
|
|
position: absolute;
|
|
|
|
line-height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.totp-circle {
|
|
|
|
stroke: $brand-primary;
|
|
|
|
fill: none;
|
|
|
|
|
|
|
|
&.inner {
|
|
|
|
stroke-width: 3;
|
|
|
|
stroke-dasharray: 78.6;
|
|
|
|
stroke-dashoffset: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.outer {
|
|
|
|
stroke-width: 2;
|
|
|
|
stroke-dasharray: 88;
|
|
|
|
stroke-dashoffset: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.low {
|
|
|
|
.totp-sec, .totp-code {
|
|
|
|
color: $brand-danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
.totp-circle {
|
|
|
|
stroke: $brand-danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|