Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add dropdowns to style guide
Krzysztof Białogłowicze4460fdec3e1
diff --git a/saleor/static/scss/dashboard/layouts/_style-guide.scss b/saleor/static/scss/dashboard/layouts/_style-guide.scssindex 163d73e3c8..2f4a482111 100644--- a/saleor/static/scss/dashboard/layouts/_style-guide.scss+++ b/saleor/static/scss/dashboard/layouts/_style-guide.scss@@ -93,8 +93,9 @@}}}- #icons {+ #icons, #dropdowns {i {+ color: $off-black;font-size: 2rem;padding-right: 20px;}diff --git a/templates/dashboard/styleguide/index.html b/templates/dashboard/styleguide/index.htmlindex bb351db107..0018216d45 100644--- a/templates/dashboard/styleguide/index.html+++ b/templates/dashboard/styleguide/index.html@@ -431,6 +431,7 @@<i class="material-icons">description</i><i class="material-icons">payment</i><i class="material-icons">history</i>+ <i class="material-icons">arrow_drop_down</i></div><div class="section"><h4>@@ -1139,7 +1140,40 @@</div></div></div>- </div>+ </div>+ <div id="dropdowns" class="styleguide__content__block">+ <h3 class="styleguide__content__block--title">+ Dropdowns+ </h3>+ <div class="card">+ <div class="card-content">+ <div class="section">+ <h4>Button</h4>+ <a class='dropdown-button btn' href='#' data-activates='dropdown1'>+ Drop Me!+ </a>+ </div>+ <div class="section">+ <h4>Link</h4>+ <a class='dropdown-button' href='#' data-activates='dropdown1'>+ Drop Me!+ </a>+ </div>+ <div class="section">+ <h4>Icon</h4>+ <a class='dropdown-button' href='#' data-activates='dropdown1'>+ <i class="material-icons">more_vert</i>+ </a>+ </div>+ <ul id='dropdown1' class='dropdown-content'>+ <li><a href="#!">one</a></li>+ <li><a href="#!">two</a></li>+ <li class="divider"></li>+ <li><a href="#!">three</a></li>+ </ul>+ </div>+ </div>+ </div><div id="modals" class="styleguide__content__block"><h3 class="styleguide__content__block--title">Modals