847bc3864c
The primary license of the project is changing to: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later The Additional Permission is designed to permit publicly distributed CSS to be relicensed under LGPL-3.0-or-later, so we're also relicensing all CSS files in the repository as LGPL-3.0-or-later, too. This commit is one of the many steps to relicense the entire codebase. Documentation granting permission for this relicensing (from all past contributors who hold copyrights) is on file with Software Freedom Conservancy, Inc.
51 lines
990 B
CSS
51 lines
990 B
CSS
/* License: LGPL-3.0-or-later */
|
|
@import 'data-tooltip'; /* npm */
|
|
|
|
[data-ff-field] { position: relative; }
|
|
|
|
[data-ff-field]:before,
|
|
[data-ff-field]:after {
|
|
position: absolute;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
[data-ff-field='invalid']:before,
|
|
[data-ff-field='invalid']:after {
|
|
visibility: visible;
|
|
}
|
|
|
|
[data-ff-field]:before {
|
|
content: '';
|
|
position: absolute;
|
|
background: transparent;
|
|
height: 6px;
|
|
width: 6px;
|
|
border: 6px solid transparent;
|
|
border-top-color: #383838;
|
|
bottom: calc(100% - 6px);
|
|
left: 12px;
|
|
}
|
|
|
|
[data-ff-field]:after {
|
|
background: #383838;
|
|
font-weight: normal;
|
|
color: white;
|
|
padding: 6px 8px;
|
|
line-height: 1.4;
|
|
white-space: nowrap;
|
|
border-radius: 3px;
|
|
text-align: left;
|
|
content: attr(data-ff-field-error);
|
|
bottom: calc(100% + 6px);
|
|
left: 0;
|
|
}
|
|
|
|
[data-ff-field]:after,
|
|
[class*=tooltip--]:after {
|
|
font-size: .75rem;
|
|
letter-spacing: 1px;
|
|
box-shadow: 1px 1px 4px 1px rgba(0,0,0,.1);
|
|
}
|
|
|