funky-framadate-front/src/styles/dev-utilities/_helpers.scss

84 lines
1015 B
SCSS
Raw Normal View History

2020-04-21 10:50:26 +02:00
.text-ellipsis {
text-overflow: ellipsis;
max-width: 100%;
word-break: break-all;
overflow: hidden;
display: inline-block;
}
.clickable {
cursor: pointer;
}
.boxed-shadow {
background: $white;
box-shadow: $dark-lavender 0 0 10px;
}
2021-02-09 22:16:02 +01:00
.is-boxed {
border: 1px solid #ddd;
padding: 1em;
margin: 1em 0;
}
2020-04-21 10:50:26 +02:00
.nobold {
font-weight: normal;
}
2020-11-03 15:44:08 +01:00
.hidden {
display: none;
}
2021-02-04 09:23:15 +01:00
.padded {
padding: 1em;
}
2021-05-03 14:54:32 +02:00
.marged {
margin: 1em;
}
.marged-v {
margin-top: 1em;
margin-bottom: 1em;
}
2021-11-19 15:25:54 +01:00
.marged-auto {
margin: 0 auto;
}
2021-12-01 18:22:21 +01:00
.fixed-box {
2021-12-09 15:27:36 +01:00
box-sizing: border-box;
2021-12-01 18:22:21 +01:00
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 10;
}
.rounded-block {
border-radius: 0.25em;
background: $bg-grey;
padding: 1em;
margin-bottom: 0.5em;
hr {
margin: 0.5em -1em;
background: $rules;
}
.go-to-step,
.custom-action {
@extend .clickable;
color: $secondary_color;
padding: 1.5em;
border-radius: 0.25em;
&:hover {
background: $secondary_color;
color: $white;
}
}
}
.has-no-border {
border: none;
}