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

116 lines
1.6 KiB
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;
}
2022-02-09 12:25:08 +01:00
.marged-right {
margin-right: 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;
2022-02-04 15:09:48 +01:00
background: $d-blue30;
padding: 1em;
2022-03-01 12:02:18 +01:00
margin-bottom: 1rem;
hr {
margin: 0.5em -1em;
background: $rules;
}
.go-to-step,
.custom-action {
@extend .clickable;
padding: 1.5em;
border-radius: 0.25em;
}
}
.has-no-background {
background: none;
}
.has-no-outline,
.has-no-border {
border: none;
}
2021-12-17 12:13:34 +01:00
.has-no-padding {
padding: 0;
}
2022-03-01 11:49:42 +01:00
.is-filtered-icon-primary {
filter: invert(48%) sepia(68%) saturate(6489%) hue-rotate(233deg) brightness(89%) contrast(81%);
}
.is-large-button {
width: 100%;
display: block;
}
.has-no-padd-left {
padding-left: 0;
}
.has-background-icon-left {
padding-left: 44px;
2022-03-01 11:49:42 +01:00
}
// icone bg
.has-background-transparent {
background-color: transparent;
}
.has-background-plus {
background: url('/assets/icons/plus-circle.svg') no-repeat 16px center;
}
.has-background-trash {
background: url('/assets/icons/trash-2.svg') no-repeat 16px center;
2022-03-01 11:49:42 +01:00
}
2022-03-10 11:06:18 +01:00
.is-block {
display: block;
}