You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
254 lines
4.7 KiB
254 lines
4.7 KiB
|
|
.modules{
|
|
min-height: calc(100vh - 50px);
|
|
width: 100%;
|
|
|
|
.sidebar{
|
|
min-height: calc(100vh - 50px);
|
|
padding: 50px;
|
|
|
|
.div-drag-container{
|
|
width: 100%;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
margin: 20px 0 10px 0;
|
|
background: $grey;
|
|
border-radius: 5px;
|
|
color: white;
|
|
text-align: center;
|
|
font-size: $font-12;
|
|
.div-drag{
|
|
width: 100%;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
background: $red;
|
|
color: white;
|
|
text-align: center;
|
|
font-size: $font-12;
|
|
border-radius: 5px;
|
|
cursor: grab;
|
|
}
|
|
}
|
|
}
|
|
|
|
.content{
|
|
background: $light-grey;
|
|
padding: 50px;
|
|
|
|
|
|
.drop-action{
|
|
transition: .4s;
|
|
&.drop-inactive{
|
|
opacity: .3;
|
|
}
|
|
&.droppable{
|
|
&.drop-active{
|
|
border: 2px solid $red;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dropdown{
|
|
height: 40px;
|
|
line-height: 36px;
|
|
padding: 0 10px;
|
|
background: white;
|
|
border: 2px solid $light-grey;
|
|
border-radius: 5px;
|
|
position: relative;
|
|
transition: .4s;
|
|
|
|
.label{
|
|
font-size: $font-12;
|
|
font-weight: bold;
|
|
color: black
|
|
}
|
|
|
|
.data{
|
|
position: absolute;
|
|
font-size: $font-10;
|
|
font-weight: bold;
|
|
color: black;
|
|
right: 10px;
|
|
top: 0;
|
|
}
|
|
|
|
&:after{
|
|
content:'\f107';
|
|
font-family: $icon;
|
|
position: absolute;
|
|
font-weight: bold;
|
|
color: $dark-grey;
|
|
top: 0;
|
|
right: -25px;
|
|
}
|
|
|
|
&.active{
|
|
border: 2px solid $grey;
|
|
&:after{
|
|
color: $grey;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
.dropdown-links{
|
|
.link{
|
|
width: 100%;
|
|
height: 20px;
|
|
border-top: 1px solid $grey;
|
|
border-right: 1px solid $grey;
|
|
&:first-child{
|
|
border-left: 1px solid $grey;
|
|
}
|
|
|
|
&.source{
|
|
border: 0;
|
|
position: relative;
|
|
&:before{
|
|
content: '';
|
|
position: absolute;
|
|
right: 50%;
|
|
height: 100%;
|
|
border-left: 1px solid $grey;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.div-drop{
|
|
width: 100px;
|
|
padding: 10px;
|
|
margin: 20px 0 10px 0;
|
|
background: $grey;
|
|
color: white;
|
|
text-align: center;
|
|
font-size: $font-12;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
|
|
|
|
.user-sheet{
|
|
position: relative;
|
|
background: white;
|
|
border: 2px solid $light-grey;
|
|
border-radius: 6px;
|
|
padding: 90px 15px 15px 15px;
|
|
|
|
.fa{
|
|
position: absolute;
|
|
left: 15px;
|
|
top: 15px;
|
|
}
|
|
.name{
|
|
position: absolute;
|
|
left: 35px;
|
|
top: 15px;
|
|
font-size: $font-12;
|
|
font-weight: 700;
|
|
}
|
|
.rule{
|
|
position: absolute;
|
|
left: 35px;
|
|
top: 35px;
|
|
font-size: $font-10;
|
|
}
|
|
.avatar{
|
|
position: absolute;
|
|
right: 15px;
|
|
top: 15px;
|
|
height: 60px;
|
|
width: 60px;
|
|
img{
|
|
height: 60px;
|
|
width: 60px;
|
|
}
|
|
}
|
|
|
|
.modules-title{
|
|
font-size: $font-8;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.modules-container{
|
|
.div-drag{
|
|
width: 100%;
|
|
height: 40px;
|
|
line-height: 36px;
|
|
margin: 10px 0;
|
|
background: $red;
|
|
color: white;
|
|
text-align: center;
|
|
font-size: $font-12;
|
|
border-radius: 5px;
|
|
}
|
|
}
|
|
|
|
.modules-empty{
|
|
width: 100%;
|
|
height: 40px;
|
|
line-height: 36px;
|
|
margin: 15px 0;
|
|
background: white;
|
|
color: $grey;
|
|
text-align: center;
|
|
font-size: $font-12;
|
|
border: 2px dotted $grey;
|
|
border-radius: 5px;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#dropConfirm{
|
|
display: none;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 50px;
|
|
height: calc(100vh - 50px);
|
|
width: 100%;
|
|
background: rgba(0,0,0,0.6);
|
|
overflow: hidden;
|
|
|
|
.alert{
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background: white;
|
|
text-align: center;
|
|
border-radius: 4px;
|
|
padding: 30px 80px;
|
|
|
|
|
|
.title{
|
|
margin: 10px 0 20px 0;
|
|
font-size: $font-12;
|
|
font-weight: 700;
|
|
}
|
|
|
|
|
|
.button{
|
|
padding: 5px 20px;
|
|
margin: 10px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
font-size: $font-10;
|
|
text-transform: uppercase;
|
|
color: white;
|
|
|
|
&.confirm{
|
|
background: $red;
|
|
}
|
|
&.discard{
|
|
background: black;
|
|
}
|
|
}
|
|
}
|
|
}
|