2017-03-16 15:29:07 +00:00
/ * *
* @ file
* Webform styles .
* /
/ * *
* Container inline
* /
. form-item . container-inline {
margin : 2px 0 ;
}
/ * *
* Issue # 2731991 : Setting required on radios marks all options required .
* /
. form-checkboxes . form-required : after ,
. form-radios . form-required : after {
display : none ;
}
/ * *
2018-11-23 12:29:20 +00:00
* Element title inline .
2017-03-16 15:29:07 +00:00
* /
2018-11-23 12:29:20 +00:00
. webform-element--title-inline > label {
2017-03-16 15:29:07 +00:00
display : inline ;
2018-11-23 12:29:20 +00:00
padding-right : 0 . 5em ;
2017-03-16 15:29:07 +00:00
}
2018-11-23 12:29:20 +00:00
/ * *
* Fieldset title inline .
* Applies to radios , checkboxes , and buttons . ( aka . form-composite )
* @ see \ Drupal \ webform \ Plugin \ WebformElement \ OptionsBase :: prepare
* @ see webform_preprocess_fieldset ( )
* /
. form-composite . webform-fieldset--title-inline legend {
float : left ;
margin : 0 . 4em 0 . 5em 0 . 4em 0 ;
}
. form-composite . webform-fieldset--title-inline . fieldset-wrapper ,
. form-composite . webform-fieldset--title-inline . fieldset-wrapper > div {
display : inline ;
2017-03-16 15:29:07 +00:00
}
2018-11-23 12:29:20 +00:00
/ * *
* Checkboxes and radios title inline .
* /
. webform-element--title-inline . form-radios ,
. webform-element--title-inline . form-checkboxes {
display : inline ;
2017-03-16 15:29:07 +00:00
}
/ * *
2018-11-23 12:29:20 +00:00
* Readonly inputs . ( @ see . form-disabled )
* @ see https : / / www . wufoo . com / html5 / attributes / 21-readonly . html
2017-03-16 15:29:07 +00:00
* /
2018-11-23 12:29:20 +00:00
. webform-readonly input [ type = "date" ] ,
. webform-readonly input [ type = "datetime-local" ] ,
. webform-readonly input [ type = "email" ] ,
. webform-readonly input [ type = "number" ] ,
. webform-readonly input [ type = "password" ] ,
. webform-readonly input [ type = "search" ] ,
. webform-readonly input [ type = "tel" ] ,
. webform-readonly input [ type = "text" ] ,
. webform-readonly input [ type = "time" ] ,
. webform-readonly input [ type = "url" ] ,
. webform-readonly textarea {
background : # ededed ;
border-color : # bbb ;
color : # 717171 ;
2017-03-16 15:29:07 +00:00
}