如何在ABP模板中使用_formwizard.scss?

问题描述 投票:0回答:1

ASP.NET Boilerplate(ABP)模板包含一个名为_formwizard.scss的文件,其中包含CSS样式,如:

.wizard,
.tabcontrol {
    display: block;
    width: 100%;
    overflow: hidden;
}

.wizard a,
.tabcontrol a {
    outline: 0;
}

/* ... */

这个文件来自哪里,我该如何使用它?

谢谢。

javascript html user-interface aspnetboilerplate formwizard
1个回答
1
投票

它来自AdminBSB,使用jQuery Steps插件。

您可以按照他们的演示中所示使用它:https://gurayyarar.github.io/AdminBSBMaterialDesign/pages/forms/form-wizard.html

<div id="wizard_horizontal">
  <h2>First Step</h2>
  <section>
    <p>
      Lorem ipsum...
    </p>
  </section>

  <h2>Second Step</h2>
  <section>
    <p>
      Donec mi sapien...
    </p>
  </section>
</div>
$('#wizard_horizontal').steps({
    headerTag: 'h2',
    bodyTag: 'section',
    transitionEffect: 'slideLeft',
    onInit: function (event, currentIndex) {
        setButtonWavesEffect(event);
    },
    onStepChanged: function (event, currentIndex, priorIndex) {
        setButtonWavesEffect(event);
    }
});
© www.soinside.com 2019 - 2024. All rights reserved.