.form-type-checkbox .formtips-wrapper {
display: inline-block;
}
.formtip {
display: inline-block;
margin: 0 .3em;
background-color: #ccc;
border: 2px solid #ccc;
color: #fff;
border-radius: 50%;
width: 13px;
height: 13px;
line-height: 13px;
font-size: 12px;
font-weight: bold;
text-decoration: none;
text-align: center;
/* Needed for fieldset override. */
letter-spacing: normal;
box-sizing: content-box;
vertical-align: baseline;
}
.formtip:focus,
.formtip:hover,
.formtip:active {
background-color: #2369a6;
border: 2px solid #2369a6;
color: #fff;
text-decoration: none;
transition: all .25s ease-in-out;
cursor: help;
}
.formtip::before {
content: '?';
color: #fff;
}
.formtips-processed:not(.formtips-show) {
display: none;
opacity: 0;
}
.formtips-processed.formtips-show {
opacity: 1;
display: block;
}
.formtips-processed {
transition: opacity 0.25s ease-in-out;
z-index: 100;
display: none;
text-align: left;
padding: 20px;
position: absolute;
border-radius: 3px;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
/* font-size: 0.8em; */
line-height: 1.4;
}
.formtips-processed ul.tips,
div.description.formtips-processed,
.form-item .description.formtips-processed,
.form-item__description.formtips-processed {
color: #fff;
margin: 0;
}
.formtips-processed.filter-guidelines,
div.description.formtips-processed,
.form-item .description.formtips-processed,
.form-item__description.formtips-processed {
background-color: #1e2021;
}
.formtips-processed.filter-guidelines .filter-guidelines-item {
margin: 0;
color: #fff;
}
.filter-wrapper .form-item label {
display: table;
}
/* The pointer of the tooltip. */
.formtips-processed::before {
position: absolute;
content: '';
width: 0;
height: 0;
border: 6px solid transparent;
border-bottom-color: #1e2021;
left: 1.5em;
top: -12px;
}
/* Ensure the wrapper doesn't cut off tip. */
.formtips-item {
overflow: visible !important;
position: relative;
}
/**
* Workaround for Seven theme until
* https://www.drupal.org/project/drupal/issues/3028675 is committed.
*/
.vertical-tabs {
overflow: inherit !important;
}
View source
- .form-type-checkbox .formtips-wrapper {
- display: inline-block;
- }
-
- .formtip {
- display: inline-block;
- margin: 0 .3em;
- background-color: #ccc;
- border: 2px solid #ccc;
- color: #fff;
- border-radius: 50%;
- width: 13px;
- height: 13px;
- line-height: 13px;
- font-size: 12px;
- font-weight: bold;
- text-decoration: none;
- text-align: center;
- /* Needed for fieldset override. */
- letter-spacing: normal;
-
- box-sizing: content-box;
- vertical-align: baseline;
- }
-
- .formtip:focus,
- .formtip:hover,
- .formtip:active {
- background-color: #2369a6;
- border: 2px solid #2369a6;
- color: #fff;
-
- text-decoration: none;
- transition: all .25s ease-in-out;
-
- cursor: help;
- }
-
- .formtip::before {
- content: '?';
- color: #fff;
- }
-
- .formtips-processed:not(.formtips-show) {
- display: none;
- opacity: 0;
- }
-
- .formtips-processed.formtips-show {
- opacity: 1;
- display: block;
- }
-
- .formtips-processed {
- transition: opacity 0.25s ease-in-out;
- z-index: 100;
- display: none;
- text-align: left;
- padding: 20px;
- position: absolute;
- border-radius: 3px;
- box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
- /* font-size: 0.8em; */
- line-height: 1.4;
- }
-
- .formtips-processed ul.tips,
- div.description.formtips-processed,
- .form-item .description.formtips-processed,
- .form-item__description.formtips-processed {
- color: #fff;
- margin: 0;
- }
-
- .formtips-processed.filter-guidelines,
- div.description.formtips-processed,
- .form-item .description.formtips-processed,
- .form-item__description.formtips-processed {
- background-color: #1e2021;
- }
-
- .formtips-processed.filter-guidelines .filter-guidelines-item {
- margin: 0;
- color: #fff;
- }
-
- .filter-wrapper .form-item label {
- display: table;
- }
-
- /* The pointer of the tooltip. */
- .formtips-processed::before {
- position: absolute;
- content: '';
- width: 0;
- height: 0;
- border: 6px solid transparent;
- border-bottom-color: #1e2021;
- left: 1.5em;
- top: -12px;
- }
-
- /* Ensure the wrapper doesn't cut off tip. */
- .formtips-item {
- overflow: visible !important;
- position: relative;
- }
-
- /**
- * Workaround for Seven theme until
- * https://www.drupal.org/project/drupal/issues/3028675 is committed.
- */
- .vertical-tabs {
- overflow: inherit !important;
- }