passman/sass/credentials.scss

435 lines
8.9 KiB
SCSS
Raw Normal View History

2016-09-15 03:12:10 +08:00
#app-content {
overflow-x: hidden;
#app-content-wrapper {
min-height: 95%;
2016-10-01 03:43:55 +08:00
#passman-controls {
text-align: center;
&.sidebar-shown{
padding-right: 27% !important;
.title{
@media screen and (max-width: 765px){
display: none;
}
@media screen and (min-width: 769px) and (max-width: 1120px){
display: none;
}
}
}
border-bottom: 1px solid #c9c9c9;
2016-09-21 01:05:00 +08:00
}
2016-10-01 03:43:55 +08:00
.title {
2016-09-27 01:15:39 +08:00
text-align: center;
display: inline-block;
font-weight: bold;
margin-top: 10px;
2016-10-07 19:56:17 +08:00
@media screen and (max-width: 575px){
display: none;
}
@media screen and (min-width: 769px) and (max-width: 820px){
display: none;
}
2016-09-27 01:15:39 +08:00
}
2016-09-15 03:12:10 +08:00
.actions.creatable {
2016-09-25 23:55:29 +08:00
float: left;
2016-09-21 02:51:41 +08:00
overflow: hidden;
2016-09-15 03:12:10 +08:00
.bubble {
position: relative;
width: 185px;
@include border-radius(5px);
2016-09-12 05:40:06 +08:00
box-shadow: 0 1px 10px rgba(50, 50, 50, .7);
ul {
2016-09-13 22:31:07 +08:00
li {
2016-09-15 03:12:10 +08:00
padding-left: 10px;
2016-09-12 05:40:06 +08:00
}
2016-09-13 22:31:07 +08:00
.menuitem {
2016-09-12 05:40:06 +08:00
font-size: 12px;
display: inline;
}
}
2016-09-15 03:12:10 +08:00
}
.bubble:after {
right: inherit;
left: 10px;
top: -19px;
2016-09-12 05:40:06 +08:00
}
2016-09-28 06:14:32 +08:00
}
2016-09-27 01:15:39 +08:00
2016-10-01 03:43:55 +08:00
.viewModes {
2016-09-28 06:14:32 +08:00
float: right;
margin-right: 5px;
margin-top: 3px;
2016-10-01 03:43:55 +08:00
.view-mode:first-child {
2016-09-28 06:14:32 +08:00
@include border-left-radius(5px);
2016-10-01 03:43:55 +08:00
border: 1px solid rgba(240, 240, 240, .9);
2016-09-28 06:14:32 +08:00
}
2016-10-01 03:43:55 +08:00
.view-mode:last-child {
2016-09-28 06:14:32 +08:00
@include border-right-radius(5px);
2016-10-01 03:43:55 +08:00
border: 1px solid rgba(240, 240, 240, .9);
2016-09-28 06:14:32 +08:00
}
2016-10-01 03:43:55 +08:00
.view-mode {
2016-09-28 06:14:32 +08:00
display: inline-block;
padding: 7px;
2016-10-01 03:43:55 +08:00
background-color: rgba(240, 240, 240, .9);
2016-09-28 06:14:32 +08:00
}
2016-10-01 03:43:55 +08:00
.view-mode.active {
2016-09-28 06:14:32 +08:00
display: inline-block;
padding: 7px;
background-color: rgba(226, 226, 226, 0.9);
}
2016-10-01 03:43:55 +08:00
.view-mode {
2016-09-28 06:14:32 +08:00
cursor: pointer;
display: inline-block;
padding: 7px;
}
2016-09-25 23:55:29 +08:00
}
2016-09-28 06:14:32 +08:00
2016-10-01 03:43:55 +08:00
.searchboxContainer {
2016-09-25 23:55:29 +08:00
display: inline-block;
margin-right: 14px;
float: right;
2016-10-01 03:43:55 +08:00
.searchbox {
2016-09-25 23:55:29 +08:00
display: inline-block;
}
.searchclear {
color: #ccc;
cursor: pointer;
font-size: 18px;
height: 14px;
margin: auto;
position: absolute!important;
right: 10px;
top: 12px;
z-index: 99999999;
}
2016-09-12 04:14:11 +08:00
}
2016-09-15 03:12:10 +08:00
.credential-table {
width: 100%;
margin-top: 44px;
tr:hover {
background-color: darken(#fff, 4%);
}
2016-09-15 03:12:10 +08:00
tr {
&.selected {
background-color: #f8f8f8;
}
td {
cursor: pointer;
padding: 5px;
border-bottom: 1px solid #eeeeee;
2016-10-01 03:43:55 +08:00
.icon {
2016-09-21 00:48:51 +08:00
font-size: 19px;
2016-09-15 03:12:10 +08:00
float: left;
2016-09-21 00:48:51 +08:00
margin-right: 5px;
margin-left: 3px;
2016-09-15 03:12:10 +08:00
}
2016-09-28 06:14:32 +08:00
2016-09-15 03:12:10 +08:00
.icon-more {
display: inline-block;
float: right;
margin-left: 5px;
margin-top: 1px;
opacity: 0.4;
height: 20px;
width: 32px;
cursor: pointer;
}
.icon-more:hover {
opacity: 1;
}
.popovermenu {
margin-top: 25px;
height: 100px;
width: 100px;
right: -2px !important;
box-shadow: 0 1px 10px rgba(50, 50, 50, .7);
ul {
display: block;
width: 100px;
height: 75px;
li {
padding: 0px;
}
.menuitem {
font-size: 12px;
display: inline;
}
}
.action {
padding: 10px;
margin: -10px;
}
}
2016-09-13 22:31:07 +08:00
}
}
}
2016-09-15 03:12:10 +08:00
2016-09-28 06:14:32 +08:00
.tags {
float: right;
.tag {
background-color: rgba(240, 240, 240, .9);
padding: 4px;
font-size: 12px;
margin-right: 3px;
@include border-radius(5px);
}
2016-10-01 03:43:55 +08:00
.tag:last-child {
2016-09-28 06:14:32 +08:00
margin-right: 8px;
}
}
2016-10-01 03:43:55 +08:00
.grid-view {
2016-09-28 06:14:32 +08:00
margin-top: 44px;
display: flex;
flex-wrap: wrap;
2016-10-01 03:43:55 +08:00
.credential {
2016-09-28 06:14:32 +08:00
display: flex;
width: 100%;
2016-10-01 03:43:55 +08:00
border: 2px solid rgba(240, 240, 240, .9);
2016-09-28 06:14:32 +08:00
margin: 25px;
@include border-radius(10px);
2016-10-01 03:43:55 +08:00
.credential_content {
2016-09-28 06:14:32 +08:00
display: flex;
padding: 2px;
2016-09-28 06:14:32 +08:00
flex-direction: column;
width: 100%;
2016-09-28 06:25:21 +08:00
cursor: pointer;
2016-10-01 03:43:55 +08:00
font-size: 1.75em;
2016-09-28 06:14:32 +08:00
text-align: center;
2016-10-01 03:43:55 +08:00
.label {
2016-09-28 06:25:21 +08:00
padding-top: 0.5em;
2016-09-28 06:14:32 +08:00
padding-left: 1em;
padding-right: 1em;
line-height: 1.3em;
2016-09-28 07:23:57 +08:00
word-wrap: break-word;
2016-09-28 06:14:32 +08:00
}
2016-10-01 03:43:55 +08:00
.tags {
2016-09-28 06:25:21 +08:00
margin-bottom: 0.5em;
2016-10-01 03:43:55 +08:00
.tag {
color: #000 !important;
2016-09-28 06:14:32 +08:00
margin-top: 5px;
display: inline-block;
}
}
}
}
@media all and (min-width: 40em) {
.credential {
width: 40%;
}
}
@media all and (min-width: 58em) {
.credential {
width: 26%;
}
}
@media all and (min-width: 78em) {
.credential {
width: 20%;
}
}
}
2016-09-15 03:12:10 +08:00
.edit_credential {
2016-10-07 22:29:51 +08:00
padding-top: 10px;
2016-09-15 03:12:10 +08:00
label {
display: block;
}
input[type="text"], input[type="password"] {
width: 100%;
}
.tags {
float: left;
.tag {
background-color: rgba(240, 240, 240, .9);
padding: 4px;
font-size: 11px;
2016-09-13 22:31:07 +08:00
}
}
2016-09-16 03:21:34 +08:00
tags-input {
.tags {
width: 100%;
.input {
}
}
}
2016-09-15 03:12:10 +08:00
.credential_textarea {
width: 100%;
height: 100px;
}
.password_settings {
label {
overflow: hidden;
input[type="checkbox"] {
width: auto !important;
float: left;
}
.label {
&.sm {
font-size: 12px;
}
float: left;
2016-09-14 05:03:12 +08:00
}
2016-09-13 22:31:07 +08:00
}
2016-09-15 03:12:10 +08:00
}
.custom_fields, .files {
margin-top: 10px;
table {
width: 100%;
thead {
th {
color: #fff;
}
th.field_actions {
width: 15%;
}
}
2016-09-16 03:21:34 +08:00
tr:hover {
2016-09-15 06:11:59 +08:00
background-color: transparent;
}
2016-09-15 03:12:10 +08:00
tr {
td.field_actions {
font-size: 13px;
width: 15%;
i {
cursor: pointer;
}
}
td, th {
width: 20%;
padding: 5px;
.editable-has-buttons.editable-input {
width: 55%;
}
}
td {
height: 50px;
vertical-align: middle;
}
2016-09-14 05:03:12 +08:00
}
}
2016-09-15 03:12:10 +08:00
}
.file_tab {
2016-09-27 00:17:42 +08:00
2016-09-13 22:31:07 +08:00
}
}
.app_sidebar {
2016-10-07 18:10:06 +08:00
h2{
margin-bottom: 10px;
font-weight: 400;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 90%;
2016-10-07 18:10:06 +08:00
}
.close.icon-close {
position: absolute;
top: 10px;
right: 10px;
2016-09-24 16:09:17 +08:00
cursor: pointer;
}
padding: 10px;
2016-09-15 03:12:10 +08:00
&.item_selected {
height: 25%;
2016-09-15 03:12:10 +08:00
display: inline-block;
2016-09-14 05:03:12 +08:00
}
2016-09-15 03:12:10 +08:00
overflow-y: auto;
2016-09-15 06:11:59 +08:00
2016-10-07 18:10:06 +08:00
.credential-data{
.row{
margin-bottom: 11px;
}
2016-10-07 18:10:06 +08:00
.tags {
margin-top: 15px;
margin-bottom: 15px;
float: none;
.tag {
background-color: rgba(240, 240, 240, .9);
padding: 4px;
margin-right: 3px;
}
}
}
}
}
}
2016-10-07 18:10:06 +08:00
.credential_field {
overflow: hidden;
.cell, .value {
float: left;
}
2016-10-07 18:10:06 +08:00
.value{
&.ellipsis{
}
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 70%;
}
.tools {
margin-left: 10px;
overflow: hidden;
float: left;
2016-09-16 03:21:34 +08:00
.cell {
cursor: pointer;
margin-right: 4px;
2016-09-14 05:03:12 +08:00
}
}
2016-09-27 00:17:42 +08:00
}
2016-10-01 03:43:55 +08:00
2016-09-27 00:17:42 +08:00
.progress {
margin-top: 10px;
2016-10-01 03:43:55 +08:00
height: 20px;
2016-09-27 00:17:42 +08:00
.progress-bar {
2016-10-01 03:43:55 +08:00
position: relative;
height: 20px;
2016-09-27 00:17:42 +08:00
background-image: none;
background-color: #0082c9;
2016-10-01 03:43:55 +08:00
.progress-label {
position: absolute;
top: 0;
z-index: 2;
text-align: center;
width: 100%;
}
2016-09-27 00:17:42 +08:00
}
2016-09-27 01:15:39 +08:00
}
2016-10-01 03:43:55 +08:00
.loaderContainer {
2016-09-27 01:15:39 +08:00
height: 140px;
width: 120px;
margin-top: 30px;
margin-left: -60px;
top: 50%;
left: 50%;
position: absolute;
}
2016-10-01 03:43:55 +08:00
.loaderContainer .text {
2016-09-27 01:15:39 +08:00
width: 120px;
text-align: center;
}
2016-10-01 03:43:55 +08:00
.loader {
2016-09-27 01:15:39 +08:00
border-bottom: 10px solid #1d2d44;
border-left: 10px solid #c9c9c9;
border-right: 10px solid #c9c9c9;
border-top: 10px solid #c9c9c9;
height: 120px;
width: 120px;
border-radius: 120px;
animation: 1.1s linear 0s normal none infinite running load8;
}
2016-10-01 03:43:55 +08:00
2016-09-27 01:15:39 +08:00
@keyframes load8 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
2016-09-12 04:14:11 +08:00
}