passman/sass/credentials.scss

272 lines
5.6 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-09-21 01:05:00 +08:00
#controls{
2016-09-21 02:51:41 +08:00
border-bottom: 1px solid #c9c9c9
2016-09-21 01:05:00 +08:00
}
2016-09-15 03:12:10 +08:00
.actions.creatable {
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
}
.title{
2016-09-21 01:05:00 +08:00
width: calc( 100% - 325px);
text-align: center;
display: inline-block;
2016-09-21 01:05:00 +08:00
font-weight: bold;
}
.searchboxContainer{
position: absolute;
right: 10px;
top: 0;
2016-09-21 02:51:41 +08:00
2016-09-21 01:05:00 +08:00
.searchbox{
display: inline-block;
}
}
2016-09-21 01:05:00 +08:00
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-09-21 00:48:51 +08:00
.icon{
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
}
.tags {
float: right;
.tag {
background-color: rgba(240, 240, 240, .9);
padding: 4px;
2016-09-21 00:48:51 +08:00
font-size: 12px;
2016-09-16 03:43:23 +08:00
margin-right: 3px;
2016-09-19 23:04:42 +08:00
@include border-radius(5px);
2016-09-15 03:12:10 +08:00
}
.tag:last-child{
margin-right: 8px;
}
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
.edit_credential {
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 {
.progress {
margin-top: 10px;
height: 10px;
.progress-bar {
height: 10px;
background-image: none;
background-color: #0082c9;
}
2016-09-13 22:31:07 +08:00
}
}
}
.app_sidebar {
.close.icon-close {
position: absolute;
top: 10px;
right: 10px;
}
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;
table {
width: 100%;
2016-09-15 06:11:59 +08:00
margin-bottom: 10px;
2016-09-16 03:21:34 +08:00
tr:hover {
2016-09-15 06:11:59 +08:00
background-color: #fff;
}
tr {
td:first-child {
2016-09-15 06:11:59 +08:00
}
td {
padding: 2px;
width: auto;
white-space: nowrap;
height: 25px;
vertical-align: middle;
}
}
}
.tags {
margin-top: 15px;
margin-bottom: 15px;
.tag {
background-color: rgba(240, 240, 240, .9);
padding: 4px;
margin-right: 3px;
}
}
2016-09-15 06:11:59 +08:00
}
}
}
.credential_field {
overflow: hidden;
.cell, .value {
float: left;
}
.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-12 04:14:11 +08:00
}