PHP Classes

File: engine/modules/contrib/foundation/source/scss/forms/_fieldset.scss

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   engine/modules/contrib/foundation/source/scss/forms/_fieldset.scss   Download  
File: engine/modules/contrib/foundation/source/scss/forms/_fieldset.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 5 years ago
Size: 1,095 bytes
 

Contents

Class file image Download
// Foundation for Sites by ZURB // foundation.zurb.com // Licensed under MIT Open Source //// /// @group forms //// /// Default border around custom fieldsets. /// @type Border $fieldset-border: 1px solid $medium-gray !default; /// Default padding inside custom fieldsets. /// @type Number $fieldset-padding: rem-calc(20) !default; /// Default margin around custom fieldsets. /// @type Number $fieldset-margin: rem-calc(18 0) !default; /// Default padding between the legend text and fieldset border. /// @type Number $legend-padding: rem-calc(0 3) !default; @mixin fieldset { margin: $fieldset-margin; padding: $fieldset-padding; border: $fieldset-border; legend { // Covers up the fieldset's border to create artificial padding margin: 0; margin-#{$global-left}: rem-calc(-3); padding: $legend-padding; background: $body-background; } } @mixin foundation-form-fieldset { fieldset { margin: 0; padding: 0; border: 0; } legend { max-width: 100%; margin-bottom: $form-spacing * 0.5; } .fieldset { @include fieldset; } }