-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1433 from lucasnetau/css_updates
Refactor CSS to fix various namespace clashes and improve compatibility with newer Bootstrap CSS libraries
- Loading branch information
Showing
10 changed files
with
235 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// TOOLTIP ------------ | ||
*[tooltip] { | ||
position: relative; | ||
} | ||
|
||
*[tooltip]:hover::after { | ||
background: rgba(0, 0, 0, 0.9); | ||
border-radius: 5px 5px 5px 0; | ||
bottom: 23px; | ||
color: $white; | ||
content: attr(tooltip); | ||
padding: 10px 5px; | ||
position: absolute; | ||
z-index: 98; | ||
left: 2px; | ||
width: 230px; | ||
text-shadow: none; | ||
font-size: 12px; | ||
line-height: 1.5em; | ||
cursor: default; | ||
} | ||
|
||
*[tooltip]:hover::before { | ||
border: solid; | ||
border-color: $grey-dark transparent; | ||
border-width: 6px 6px 0; | ||
bottom: 17px; | ||
content: ''; | ||
left: 2px; | ||
position: absolute; | ||
z-index: 99; | ||
cursor: default; | ||
} | ||
|
||
.tooltip-element { | ||
visibility: visible; | ||
color: $white; | ||
background: $black; | ||
width: 16px; | ||
height: 16px; | ||
border-radius: 8px; | ||
display: inline-block; | ||
text-align: center; | ||
line-height: 16px; | ||
margin: 0 5px; | ||
font-size: 12px; | ||
cursor: default; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
.formbuilder-required, | ||
.required-asterisk { | ||
color: $error; | ||
} | ||
|
||
.formbuilder-checkbox-group, | ||
.formbuilder-radio-group { | ||
input[type='checkbox'], | ||
input[type='radio'] { | ||
margin: 0 4px 0 0; | ||
} | ||
} | ||
|
||
.formbuilder-checkbox-inline, | ||
.formbuilder-radio-inline { | ||
margin-right: 8px; | ||
display: inline-block; | ||
vertical-align: middle; | ||
padding-left: 0; | ||
label { | ||
input[type='text'] { | ||
margin-top: 0; | ||
} | ||
} | ||
} | ||
|
||
.formbuilder-checkbox-inline:first-child, | ||
.formbuilder-radio-inline:first-child { | ||
padding-left: 0; | ||
} | ||
|
||
.formbuilder-autocomplete-list { | ||
background-color: $white; | ||
display: none; | ||
list-style: none; | ||
padding: 0; | ||
border: 1px solid $grey-light; | ||
border-width: 0 1px 1px; | ||
position: absolute; | ||
z-index: 20; | ||
max-height: 200px; | ||
overflow-y: auto; | ||
|
||
li { | ||
display: none; | ||
cursor: default; | ||
padding: 5px; | ||
margin: 0; | ||
transition: background-color 200ms ease-in-out; | ||
|
||
&:hover, | ||
&.active-option { | ||
background-color: $input-box-shadow-color; | ||
} | ||
} | ||
} |
Oops, something went wrong.