mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
Convert dropdowns to CSS variables
This commit is contained in:
@@ -80,7 +80,7 @@ body_class: ""
|
||||
</symbol>
|
||||
</svg>
|
||||
|
||||
<div class="d-flex gap-5 justify-content-center" id="dropdownMacos">
|
||||
<div class="d-flex gap-5 justify-content-center dropdown" id="dropdownMacos">
|
||||
<ul class="dropdown-menu dropdown-menu-macos mx-0 shadow" style="width: 220px;">
|
||||
<li><a class="dropdown-item active" href="#">Action</a></li>
|
||||
<li><a class="dropdown-item" href="#">Another action</a></li>
|
||||
@@ -100,7 +100,7 @@ body_class: ""
|
||||
<div class="b-example-divider"></div>
|
||||
|
||||
|
||||
<div class="d-flex gap-5 justify-content-center" id="dropdownFilter">
|
||||
<div class="d-flex gap-5 justify-content-center dropdown" id="dropdownFilter">
|
||||
<div class="dropdown-menu pt-0 mx-0 rounded-3 shadow overflow-hidden" style="width: 280px;">
|
||||
<form class="p-2 mb-2 bg-light border-bottom">
|
||||
<input type="search" class="form-control" autocomplete="false" placeholder="Type to filter...">
|
||||
@@ -152,7 +152,7 @@ body_class: ""
|
||||
|
||||
<div class="b-example-divider"></div>
|
||||
|
||||
<div class="d-flex gap-5 justify-content-center" id="dropdownIcons">
|
||||
<div class="d-flex gap-5 justify-content-center dropdown" id="dropdownIcons">
|
||||
<ul class="dropdown-menu mx-0 shadow" style="width: 220px;">
|
||||
<li>
|
||||
<a class="dropdown-item d-flex gap-2 align-items-center" href="#">
|
||||
@@ -316,7 +316,7 @@ body_class: ""
|
||||
|
||||
<div class="b-example-divider"></div>
|
||||
|
||||
<div class="dropdown-menu d-flex align-items-stretch p-3 rounded-3 shadow-lg" style="width: 600px" id="dropdownMega">
|
||||
<div class="dropdown-menu d-flex align-items-stretch p-3 rounded-3 shadow-lg dropdown" style="width: 600px" id="dropdownMega">
|
||||
<nav class="d-grid gap-2 col-8">
|
||||
<a href="#" class="btn btn-hover-light d-flex align-items-center gap-3 py-2 px-3 lh-sm">
|
||||
<svg class="bi" width="32" height="32"><use xlink:href="#image-fill"/></svg>
|
||||
|
||||
Reference in New Issue
Block a user