fume 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 0
3
2
  :build:
4
- :major: 0
5
3
  :minor: 2
4
+ :patch: 1
5
+ :major: 0
data/fume.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fume}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sunteya"]
@@ -268,7 +268,7 @@
268
268
 
269
269
  <li class="string required error" id="vod_program_title_input"><label for="vod_program_title">节目名称<abbr title="required">*</abbr></label><input id="vod_program_title" maxlength="100" name="vod_program[title]" size="50" type="text" /><p class="inline-errors">不能为空字符</p></li>
270
270
  <li class="string optional" id="vod_program_player_input"><label for="vod_program_player">主演</label><input id="vod_program_player" maxlength="200" name="vod_program[player]" size="50" type="text" /><p class="inline-hints">刘嘉玲, 张曼玉</p></li>
271
- <li class="string optional" id="vod_program_director_input"><label for="vod_program_director">导演</label><input id="vod_program_director" maxlength="200" name="vod_program[director]" size="50" type="text" /></li>
271
+ <li class="string required" id="vod_program_director_input"><label for="vod_program_director">导演<abbr title="required">*</abbr></label><input id="vod_program_director" maxlength="200" name="vod_program[director]" size="50" type="text" /></li>
272
272
  <li class="string optional" id="vod_program_company_input"><label for="vod_program_company">出品公司</label><input id="vod_program_company" maxlength="200" name="vod_program[company]" size="50" type="text" /></li>
273
273
  <li class="string optional" id="vod_program_country_input"><label for="vod_program_country">出品国家</label><input id="vod_program_country" maxlength="100" name="vod_program[country]" size="50" type="text" /></li>
274
274
  <li class="text optional" id="vod_program_summary_input"><label for="vod_program_summary">节目概要</label><textarea cols="40" id="vod_program_summary" name="vod_program[summary]" rows="20"></textarea><p class="inline-hints">在浩瀚的海洋世界,各种鲨鱼和鱼类有自己的喜怒哀乐,演绎着令人思索的故事。</p></li>
@@ -642,9 +642,9 @@ body {
642
642
  }
643
643
  .formtastic ol li { margin-bottom: 1em; }
644
644
  .formtastic ol .required abbr {
645
+ line-height: 1;
645
646
  color: red;
646
647
  border: none;
647
- vertical-align: super;
648
648
  }
649
649
  .formtastic ol .error {
650
650
  border-left: 0.3em solid red;
@@ -694,6 +694,45 @@ body {
694
694
  display: inline;
695
695
  color: #888888;
696
696
  }
697
+ .formtastic ol .numeric label {
698
+ font-size: 1.2em;
699
+ color: #666666;
700
+ display: block;
701
+ padding-bottom: 0.2em;
702
+ }
703
+ .formtastic ol .numeric input { display: inline; }
704
+ .formtastic ol .numeric .inline-hints {
705
+ margin: 0 0 0 1em;
706
+ font-style: italic;
707
+ display: inline;
708
+ color: #888888;
709
+ }
710
+ .formtastic ol .file label {
711
+ font-size: 1.2em;
712
+ color: #666666;
713
+ display: block;
714
+ padding-bottom: 0.2em;
715
+ }
716
+ .formtastic ol .file input { display: inline; }
717
+ .formtastic ol .file .inline-hints {
718
+ margin: 0 0 0 1em;
719
+ font-style: italic;
720
+ display: inline;
721
+ color: #888888;
722
+ }
723
+ .formtastic ol .password label {
724
+ font-size: 1.2em;
725
+ color: #666666;
726
+ display: block;
727
+ padding-bottom: 0.2em;
728
+ }
729
+ .formtastic ol .password input { display: inline; }
730
+ .formtastic ol .password .inline-hints {
731
+ margin: 0 0 0 1em;
732
+ font-style: italic;
733
+ display: inline;
734
+ color: #888888;
735
+ }
697
736
  .formtastic ol .check_boxes fieldset .label label { font-size: 1.2em; }
698
737
  .formtastic ol .check_boxes fieldset ol li {
699
738
  float: left;
@@ -264,9 +264,9 @@ body {
264
264
  }
265
265
 
266
266
  .required abbr {
267
+ line-height: 1;
267
268
  color: red;
268
269
  border: none;
269
- vertical-align: super;
270
270
  }
271
271
 
272
272
  .error {
@@ -280,7 +280,7 @@ body {
280
280
  }
281
281
 
282
282
 
283
- .string, .select, .text {
283
+ .string, .select, .text, .numeric, .file, .password {
284
284
 
285
285
  label {
286
286
  font-size: 1.2em;
@@ -472,5 +472,4 @@ hr {
472
472
  }
473
473
 
474
474
 
475
-
476
475
  @import "ie_patch.less";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fume
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sunteya