Browse Source

输入框背景

fudan
欧醚 3 years ago
parent
commit
f040551b86
Signed by: OmmyZhang GPG Key ID: 757D312E7C9D13F7
3 changed files with 11 additions and 7 deletions
  1. BIN
     
  2. BIN
     
  3. +11
    -7
      templates/list.html

BIN
View File


BIN
View File


+ 11
- 7
templates/list.html View File

@ -61,6 +61,11 @@
position: relative;
}
.input-form {
position: absolute;
top: 0;
}
.part2 {
min-width: 200px;
overflow: hidden;
@ -76,15 +81,16 @@
}
.new .qbox {
background: black;
background: transparent;
color: white;
border: none;
}
.new .qbox input,
.new .qbox textarea {
border: none;
border-bottom: 2px solid;
background: black;
background: transparent;
color: white;
border-radius: 0;
}
@ -176,15 +182,13 @@
</div>
<div class="part1">
<div id="new" class="new twin-collapse twin front">
<form action="new" method="post">
<img src="/img/ord_fudan/input_bg.jpg" width="100%">
<form action="new" method="post" class="input-form">
<div class="form-group qbox">
<h1 style="margin: -14px -13px 20px">自荐提名</h1>
<h1 style="margin: -18px -16px 15px">自荐提名</h1>
<textarea class="form-control" name="text" rows="5" maxlength="4000" placeholder="{{text1}}" required="required"></textarea>
<hr />
<textarea class="form-control" name="privateText" rows="4" maxlength="1000" placeholder="{{text2}}"></textarea>
<hr />
{% for v in vs %}
<div class="form-group row">
<label for="{{v.name}}" class="col-sm-7 col-form-label">{{v.ques}}</label>

Loading…
Cancel
Save