Files
2020-11-15 23:36:38 +11:00

137 lines
3.7 KiB
SCSS

@import "../../assets/css/mixin.scss";
.component_share{
h2{
margin: 0 0 5px 0;
font-size: 1.2em;
font-weight: 100;
.component_icon{
float: right;
width: 24px;
}
}
.copy {
cursor: copy;
}
.share--content{
margin-bottom: 10px;
&.link-type{
display: flex;
flex-direction: row;
> div{
cursor: pointer;
text-align: center;
margin-right: 4px;
padding: 15px 0;
width: 100%;
border-radius: 3px;
background: var(--bg-color);
color: var(--emphasis);
&.active{
background: var(--primary);
}
@include ripple(var(--emphasis-primary), var(--primary));
}
}
&.existing-links{
overflow-y: auto;
-webkit-overflow-scrolling: touch;
.link-details{
padding: 3px 5px;
border: 2px solid var(--super-light);
border-left: none;
border-right: none;
margin-top: -2px;
line-height: 20px;
.role{
margin-left: -5px;
margin-right: 5px;
font-size: 0.8em;
color: var(--light);
display: inline-block;
min-width: 75px;
text-transform: uppercase;
}
.path{
vertical-align: middle;
font-size: 0.9em;
max-width: 170px;
display: inline-block;
white-space: nowrap;
overflow-x: hidden;
text-overflow: ellipsis;
}
.component_icon{
width: 20px;
float: right;
cursor: pointer;
}
}
}
&.advanced-settings{
max-height: 115px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
}
.shared-link{
display: table;
input{
display: table-cell;
width: 100%;
font-size: 0.9em;
background: var(--bg-color);
color: var(--emphasis);
box-sizing: border-box;
padding: 4px 5px;
border-radius: 3px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border: 2px solid var(--primary);
border-right: none;
}
> div {
border-radius: 5px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border: 2px solid var(--primary);
border-left: none;
background: var(--bg-color);
display: table-cell;
width: 1%;
button{
padding: 0px 8px;
img{
width: 16px;
height: 16px;
vertical-align: middle;
}
}
}
}
}
.component_supercheckbox{
> label{
color: var(--emphasis);
font-size: 0.95em;
font-style: italic;
input{
margin-right: 5px;
margin-top: 2px;
}
}
> div > input{
width: calc(100% - 10px);
box-sizing: border-box;
margin-bottom: 5px;
border: 1px solid var(--light);
border-radius: 2px;
font-size: 0.9em;
padding: 2px 5px;
color: var(--emphasis-secondary);
}
}