1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-20 13:49:42 +02:00
documize/gui/app/styles/widget/widget-list-picker.scss

108 lines
1.8 KiB
SCSS
Raw Normal View History

.widget-list-picker {
margin: 10px 0;
> .options {
2017-11-22 16:28:17 +00:00
width: 100%;
margin: 0 auto;
padding: 0;
> .option {
2018-09-03 17:36:54 +01:00
@include border-radius(3px);
margin: 0 0 15px 0;
padding: 10px 15px;
color: $color-gray;
background-color: $color-off-white;
2018-09-03 17:36:54 +01:00
border: 1px solid $color-gray;
cursor: pointer;
position: relative;
list-style-type: none;
line-height: 26px;
&:hover {
2018-09-03 17:36:54 +01:00
> .text-header, > .text {
color: $color-off-black;
}
}
> .text-header {
@include ease-in();
color: $color-gray;
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 80%;
}
> .text {
2018-09-03 17:36:54 +01:00
@include ease-in();
color: $color-gray;
font-size: 1rem;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2017-11-22 16:28:17 +00:00
width: 80%;
}
> .material-icons {
position: absolute;
top: 10px;
right: 10px;
2018-09-03 17:36:54 +01:00
color: $color-green;
font-weight: 700;
font-size: 1.3rem;
}
}
> .selected {
2018-09-03 17:36:54 +01:00
> .text-header, > .text {
color: $color-off-black;
}
background-color: $color-yellow !important;
border: 1px solid $color-goldy !important;
}
}
}
.widget-list-picker-horiz {
> .options {
> .option {
display: inline-block;
margin: 15px 15px 0 0;
padding: 10px 15px;
width: 30%;
@media only screen and (max-width: 1200px) {
display: block;
width: 100%;
}
}
}
}
.widget-list-choice {
text-align: left;
margin: 0;
padding: 0;
display: inline-block;
> li {
margin: 0 20px 0 0;
padding: 0;
display: inline-block;
font-size: 1.3rem;
font-weight: 700;
color: $color-gray;
cursor: pointer;
}
> .selected {
color: $color-green;
border-bottom: 1px solid $color-green;
}
}