Files
notifications-admin/app/assets/stylesheets/components/textbox.scss
T

77 lines
1.3 KiB
SCSS
Raw Normal View History

.textbox-highlight {
$tag-background: rgba($light-blue, 0.6);
2016-02-08 11:11:55 +00:00
&-wrapper {
position: relative;
}
&-textbox {
resize: none;
z-index: 20;
background: none;
}
&-textbox,
&-background,
&-foreground,
&-mask {
2016-05-20 12:05:05 +01:00
font-size: 19px;
display: block;
box-sizing: border-box;
position: relative;
margin: 0;
padding: 4px;
overflow: hidden;
2016-05-20 12:05:05 +01:00
line-height: 1.6;
}
2016-06-02 10:40:17 +01:00
&-background {
position: absolute;
top: 0;
left: 0;
pointer-events: none;
color: transparent;
white-space: pre-wrap;
2016-06-02 10:40:17 +01:00
overflow-wrap: break-word;
word-wrap: break-word;
border: 2px solid transparent;
2016-04-14 14:08:08 +01:00
padding-bottom: $gutter-half;
z-index: 10;
.placeholder,
.placeholder-conditional {
color: transparent;
}
}
}
.textbox-help-link {
2016-04-23 16:11:41 +01:00
margin: 10px 0 0 0;
}
.textbox-right-aligned {
text-align: right;
}
.extra-tracking .form-control {
2019-03-01 11:36:56 +00:00
@include core-19($tabular-numbers: true);
padding-left: 5px;
letter-spacing: 0.04em;
}
2018-02-07 10:30:49 +00:00
.textbox-colour-preview {
@include media(desktop) {
2018-08-20 13:27:50 +01:00
width: 38px;
height: 38px;
2018-02-07 10:30:49 +00:00
margin-left: 5px;
2018-08-20 13:27:50 +01:00
border-radius: 50%;
box-shadow: inset 0 0 0 1px rgba($black, 0.2);
2018-02-07 10:30:49 +00:00
display: inline-block;
vertical-align: top;
2018-08-20 13:27:50 +01:00
transition: background 0.3s ease-out;
2018-02-07 10:30:49 +00:00
}
}