Browse Source

some adjustments to layout template for deform

master
Holger Frey 7 years ago
parent
commit
a66bf5ac12
  1. 15
      ordr2/static/style.css
  2. 2
      ordr2/templates/layout.jinja2

15
ordr2/static/style.css

@ -11,9 +11,13 @@ header .btn-toolbar .btn-group {
} }
main { main {
padding-top: 2em; padding-top: 2rem;
margin-bottom: 2rem;
} }
main h1 {
margin-bottom:2rem;
}
.o2-faqs h1, .o2-faqs h2 { .o2-faqs h1, .o2-faqs h2 {
margin-bottom:1rem; margin-bottom:1rem;
@ -22,3 +26,12 @@ main {
.o2-faqs h3 { .o2-faqs h3 {
margin-top:2rem; margin-top:2rem;
} }
.item-password > div {
margin-bottom: 1rem;
}
.deform-form-buttons{
padding-top: 2rem;
}

2
ordr2/templates/layout.jinja2

@ -11,6 +11,8 @@
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<!-- Icons --> <!-- Icons -->
<link href="{{ request.static_url('ordr2:static/font/css/open-iconic-bootstrap.css') }}" rel="stylesheet"> <link href="{{ request.static_url('ordr2:static/font/css/open-iconic-bootstrap.css') }}" rel="stylesheet">
<!-- Forms by deform library -->
<link rel="stylesheet" href="{{request.static_url('deform:static/css/form.css')}}" type="text/css" media="screen" />
<!-- Custom styles for this scaffold --> <!-- Custom styles for this scaffold -->
<link href="{{ request.static_url('ordr2:static/style.css') }}" rel="stylesheet"> <link href="{{ request.static_url('ordr2:static/style.css') }}" rel="stylesheet">