forked from TheOdinProject/theodinproject
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dropdown for chat and forum (TheOdinProject#855)
* Add section for forum to sidecar * Add styling for floating drop menu * Add js component for floating menu * Remove d none class declaration * Fix tooltip showing on main btn hover * Change const to var for floatingMenu * Refactor floating menu animation to pure css * Refactor bootstrapScripts * Change responsive media class to floating dropdown * Add community dropdown to navbar * Scope user hover dropdown with js dropdown class * Add community dropdown collapse to navbar modal * Rename collapse id from example to community * Add forum link * Refactor floating menu with bem methodology * Remove collapse for simple links
- Loading branch information
1 parent
44edce0
commit 7c910c0
Showing
9 changed files
with
115 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
$(document).on('turbolinks:load', setup); | ||
|
||
function setup() { | ||
$(document).ready(function() { | ||
$('a[rel=popover]').popover(); | ||
$('.tooltip, a[rel=tooltip], [data-toggle=tooltip]').tooltip(); | ||
} | ||
$('.tooltip, a[rel=tooltip], [data-toggle="tooltip"]').tooltip(); | ||
}); |
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
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