card 1.15.1 → 1.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/card.gemspec +19 -16
  4. data/config/initializers/recaptcha.rb +1 -0
  5. data/db/migrate_core_cards/20150202143810_import_bootstrap_layout.rb +13 -14
  6. data/db/migrate_core_cards/20150326205655_bootswatch_themes.rb +30 -0
  7. data/db/migrate_core_cards/20150331135745_new_card_menu.rb +8 -0
  8. data/db/migrate_core_cards/20150508212032_menu_compatibility.rb +27 -0
  9. data/db/migrate_core_cards/20150510031118_fix_skin_images.rb +13 -0
  10. data/db/migrate_core_cards/data/1.12_stylesheets/classic_cards.scss +9 -5
  11. data/db/migrate_core_cards/data/1.12_stylesheets/common.scss +5 -5
  12. data/{test/fixtures/.gitkeep → db/migrate_core_cards/data/themes/bootstrap_default/_bootswatch.scss} +0 -0
  13. data/db/migrate_core_cards/data/themes/bootstrap_default/_variables.scss +866 -0
  14. data/db/migrate_core_cards/data/themes/cerulean/_bootswatch.scss +125 -0
  15. data/db/migrate_core_cards/data/themes/cerulean/_variables.scss +861 -0
  16. data/db/migrate_core_cards/data/themes/cosmo/_bootswatch.scss +237 -0
  17. data/db/migrate_core_cards/data/themes/cosmo/_variables.scss +861 -0
  18. data/db/migrate_core_cards/data/themes/cyborg/_bootswatch.scss +210 -0
  19. data/db/migrate_core_cards/data/themes/cyborg/_variables.scss +861 -0
  20. data/db/migrate_core_cards/data/themes/darkly/_bootswatch.scss +330 -0
  21. data/db/migrate_core_cards/data/themes/darkly/_variables.scss +861 -0
  22. data/db/migrate_core_cards/data/themes/flatly/_bootswatch.scss +313 -0
  23. data/db/migrate_core_cards/data/themes/flatly/_variables.scss +861 -0
  24. data/db/migrate_core_cards/data/themes/journal/_bootswatch.scss +120 -0
  25. data/db/migrate_core_cards/data/themes/journal/_variables.scss +861 -0
  26. data/db/migrate_core_cards/data/themes/lumen/_bootswatch.scss +496 -0
  27. data/db/migrate_core_cards/data/themes/lumen/_variables.scss +861 -0
  28. data/db/migrate_core_cards/data/themes/paper/_bootswatch.scss +607 -0
  29. data/db/migrate_core_cards/data/themes/paper/_variables.scss +861 -0
  30. data/db/migrate_core_cards/data/themes/readable/_bootswatch.scss +174 -0
  31. data/db/migrate_core_cards/data/themes/readable/_variables.scss +861 -0
  32. data/db/migrate_core_cards/data/themes/sandstone/_bootswatch.scss +194 -0
  33. data/db/migrate_core_cards/data/themes/sandstone/_variables.scss +861 -0
  34. data/db/migrate_core_cards/data/themes/simplex/_bootswatch.scss +142 -0
  35. data/db/migrate_core_cards/data/themes/simplex/_variables.scss +861 -0
  36. data/db/migrate_core_cards/data/themes/slate/_bootswatch.scss +417 -0
  37. data/db/migrate_core_cards/data/themes/slate/_variables.scss +861 -0
  38. data/db/migrate_core_cards/data/themes/spacelab/_bootswatch.scss +137 -0
  39. data/db/migrate_core_cards/data/themes/spacelab/_variables.scss +861 -0
  40. data/db/migrate_core_cards/data/themes/superhero/_bootswatch.scss +332 -0
  41. data/db/migrate_core_cards/data/themes/superhero/_variables.scss +861 -0
  42. data/db/migrate_core_cards/data/themes/united/_bootswatch.scss +42 -0
  43. data/db/migrate_core_cards/data/themes/united/_variables.scss +861 -0
  44. data/db/migrate_core_cards/data/themes/yeti/_bootswatch.scss +437 -0
  45. data/db/migrate_core_cards/data/themes/yeti/_variables.scss +861 -0
  46. data/db/seed/README.md +2 -0
  47. data/db/{bootstrap → seed/new}/card_actions.yml +561 -295
  48. data/db/{bootstrap → seed/new}/card_acts.yml +1 -1
  49. data/db/seed/new/card_changes.yml +29331 -0
  50. data/db/{bootstrap → seed/new}/card_references.yml +1544 -1355
  51. data/db/seed/new/cards.yml +28057 -0
  52. data/db/seed/test/fixtures/.gitkeep +0 -0
  53. data/{test → db/seed/test}/fixtures/card_actions.yml +1501 -1235
  54. data/{test → db/seed/test}/fixtures/card_acts.yml +244 -244
  55. data/db/seed/test/fixtures/card_changes.yml +34527 -0
  56. data/{test → db/seed/test}/fixtures/card_references.yml +2215 -2026
  57. data/db/seed/test/fixtures/cards.yml +32708 -0
  58. data/{test → db/seed/test}/fixtures/mao2.jpg +0 -0
  59. data/{test → db/seed/test}/fixtures/rails.gif +0 -0
  60. data/{test → db/seed/test}/seed.rb +0 -0
  61. data/db/version_core_cards.txt +1 -1
  62. data/lib/card/format.rb +56 -56
  63. data/lib/cardio.rb +7 -5
  64. data/mod/01_core/chunk/include.rb +1 -1
  65. data/mod/01_core/set/all/fetch.rb +27 -27
  66. data/mod/01_core/set/all/rules.rb +53 -53
  67. data/mod/01_core/set/all/states.rb +5 -0
  68. data/mod/01_core/spec/format/html_format_spec.rb +6 -6
  69. data/mod/01_core/spec/set/all/rules2_spec.rb +6 -6
  70. data/mod/01_history/set/all/history.rb +4 -4
  71. data/mod/02_basic_types/set/all/rss.rb +10 -9
  72. data/mod/03_machines/lib/javascript/script_card_menu.js.coffee +20 -0
  73. data/mod/03_machines/lib/javascript/wagn.js.coffee +46 -34
  74. data/mod/03_machines/lib/javascript/wagn_mod.js.coffee +36 -148
  75. data/mod/03_machines/lib/stylesheets/style_bootstrap_compatible.css +10 -96
  76. data/mod/03_machines/lib/stylesheets/style_cards.scss +127 -87
  77. data/mod/03_machines/set/self/script_card_menu.rb +10 -2
  78. data/mod/05_email/set/all/follow.rb +38 -22
  79. data/mod/05_email/set/right/follow.rb +79 -1
  80. data/mod/05_email/set/type_plus_right/user/follow.rb +31 -31
  81. data/mod/05_email/spec/set/all/follow_spec.rb +37 -28
  82. data/mod/05_email/spec/set/right/followers_spec.rb +29 -29
  83. data/mod/05_standard/set/all/error.rb +17 -20
  84. data/mod/05_standard/set/all/links.rb +31 -18
  85. data/mod/05_standard/set/all/rich_html/content.rb +41 -18
  86. data/mod/05_standard/set/all/rich_html/editing.rb +21 -17
  87. data/mod/05_standard/set/all/rich_html/header.rb +13 -48
  88. data/mod/05_standard/set/all/rich_html/menu.rb +147 -0
  89. data/mod/05_standard/set/all/rich_html/modal.rb +54 -0
  90. data/mod/05_standard/set/all/rich_html/toolbar.rb +237 -0
  91. data/mod/05_standard/set/all/rich_html/wrapper.rb +43 -25
  92. data/mod/05_standard/set/right/account.rb +8 -7
  93. data/mod/05_standard/set/rstar/rules.rb +111 -84
  94. data/mod/05_standard/set/self/head.rb +15 -15
  95. data/mod/05_standard/set/type/set.rb +65 -34
  96. data/mod/05_standard/spec/set/all/attach_spec.rb +1 -1
  97. data/mod/05_standard/spec/set/all/rich_html/wrapper_spec.rb +13 -9
  98. data/mod/05_standard/spec/set/rstar/rules_spec.rb +1 -1
  99. data/mod/06_bootstrap/lib/javascript/bootstrap.js +108 -97
  100. data/mod/06_bootstrap/lib/javascript/smartmenu.js +94 -0
  101. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_alerts.scss +73 -0
  102. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_badges.scss +68 -0
  103. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
  104. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_button-groups.scss +243 -0
  105. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_buttons.scss +160 -0
  106. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_carousel.scss +269 -0
  107. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_close.scss +36 -0
  108. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_code.scss +69 -0
  109. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_component-animations.scss +37 -0
  110. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_dropdowns.scss +214 -0
  111. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_forms.scss +578 -0
  112. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_glyphicons.scss +305 -0
  113. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_grid.scss +84 -0
  114. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_input-groups.scss +166 -0
  115. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_jumbotron.scss +50 -0
  116. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_labels.scss +66 -0
  117. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_list-group.scss +124 -0
  118. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_media.scss +61 -0
  119. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_mixins.scss +39 -0
  120. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_modals.scss +150 -0
  121. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_navbar.scss +662 -0
  122. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_navs.scss +242 -0
  123. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_normalize.scss +427 -0
  124. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_pager.scss +54 -0
  125. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_pagination.scss +88 -0
  126. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_panels.scss +265 -0
  127. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_popovers.scss +135 -0
  128. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_print.scss +107 -0
  129. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_progress-bars.scss +87 -0
  130. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_responsive-embed.scss +35 -0
  131. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_responsive-utilities.scss +177 -0
  132. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_scaffolding.scss +162 -0
  133. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_tables.scss +234 -0
  134. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_theme.scss +273 -0
  135. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_thumbnails.scss +38 -0
  136. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_tooltip.scss +102 -0
  137. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_type.scss +298 -0
  138. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_utilities.scss +55 -0
  139. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_variables.scss +866 -0
  140. data/mod/06_bootstrap/lib/stylesheets/bootstrap/_wells.scss +29 -0
  141. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
  142. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_background-variant.scss +11 -0
  143. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  144. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_buttons.scss +52 -0
  145. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  146. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  147. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_forms.scss +88 -0
  148. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
  149. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  150. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  151. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  152. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_image.scss +33 -0
  153. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  154. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_list-group.scss +31 -0
  155. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  156. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  157. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
  158. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_pagination.scss +23 -0
  159. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_panels.scss +24 -0
  160. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
  161. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  162. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  163. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
  164. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_size.scss +10 -0
  165. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  166. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  167. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_text-emphasis.scss +11 -0
  168. data/mod/06_bootstrap/lib/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  169. data/mod/06_bootstrap/lib/stylesheets/{bootswatch_mixins.scss → bootstrap/mixins/_vendor-prefixes.scss} +1 -61
  170. data/mod/06_bootstrap/lib/stylesheets/bootstrap_cards.scss +20 -13
  171. data/mod/06_bootstrap/lib/stylesheets/smartmenu.css +433 -0
  172. data/mod/06_bootstrap/set/all/bootstrap/wrapper.rb +2 -2
  173. data/mod/06_bootstrap/set/all/rich_bootstrap.rb +58 -4
  174. data/mod/06_bootstrap/set/self/bootstrap_js.rb +1 -1
  175. data/mod/06_bootstrap/set/self/bootswatch_shared.rb +32 -0
  176. data/mod/06_bootstrap/set/self/smartmenu_css.rb +7 -0
  177. data/mod/06_bootstrap/set/self/smartmenu_js.rb +7 -0
  178. data/spec/spec_helper.rb +16 -16
  179. metadata +133 -93
  180. data/db/bootstrap/card_changes.yml +0 -12765
  181. data/db/bootstrap/cards.yml +0 -11567
  182. data/db/seeds.rb +0 -8
  183. data/mod/03_machines/lib/javascript/script_card_menu.js +0 -72
  184. data/mod/06_bootstrap/lib/stylesheets/bootstrap_css.css +0 -6565
  185. data/mod/06_bootstrap/lib/stylesheets/theme_bootstrap_default.css +0 -476
  186. data/mod/06_bootstrap/lib/stylesheets/theme_cerulean.css +0 -6721
  187. data/mod/06_bootstrap/lib/stylesheets/theme_cosmo.css +0 -5898
  188. data/mod/06_bootstrap/lib/stylesheets/theme_cyborg.css +0 -5876
  189. data/mod/06_bootstrap/lib/stylesheets/theme_darkly.css +0 -5986
  190. data/mod/06_bootstrap/lib/stylesheets/theme_flatly.css +0 -6830
  191. data/mod/06_bootstrap/lib/stylesheets/theme_journal.css +0 -6647
  192. data/mod/06_bootstrap/lib/stylesheets/theme_lumen.css +0 -6097
  193. data/mod/06_bootstrap/lib/stylesheets/theme_paper.css +0 -6647
  194. data/mod/06_bootstrap/lib/stylesheets/theme_readable.css +0 -5896
  195. data/mod/06_bootstrap/lib/stylesheets/theme_sandstone.css +0 -6733
  196. data/mod/06_bootstrap/lib/stylesheets/theme_simplex.css +0 -5886
  197. data/mod/06_bootstrap/lib/stylesheets/theme_slate.css +0 -7057
  198. data/mod/06_bootstrap/lib/stylesheets/theme_spacelab.css +0 -5935
  199. data/mod/06_bootstrap/lib/stylesheets/theme_superhero.css +0 -5964
  200. data/mod/06_bootstrap/lib/stylesheets/theme_united.css +0 -6588
  201. data/mod/06_bootstrap/lib/stylesheets/theme_yeti.css +0 -6088
  202. data/mod/06_bootstrap/set/self/bootstrap_css.rb +0 -9
  203. data/mod/06_bootstrap/set/self/bootswatch_mixins.rb +0 -9
  204. data/mod/06_bootstrap/set/self/theme_bootstrap_default.rb +0 -2
  205. data/mod/06_bootstrap/set/self/theme_cerulean.rb +0 -9
  206. data/mod/06_bootstrap/set/self/theme_cosmo.rb +0 -2
  207. data/mod/06_bootstrap/set/self/theme_cyborg.rb +0 -2
  208. data/mod/06_bootstrap/set/self/theme_darkly.rb +0 -2
  209. data/mod/06_bootstrap/set/self/theme_flatly.rb +0 -2
  210. data/mod/06_bootstrap/set/self/theme_journal.rb +0 -2
  211. data/mod/06_bootstrap/set/self/theme_lumen.rb +0 -2
  212. data/mod/06_bootstrap/set/self/theme_paper.rb +0 -2
  213. data/mod/06_bootstrap/set/self/theme_readable.rb +0 -2
  214. data/mod/06_bootstrap/set/self/theme_sandstone.rb +0 -2
  215. data/mod/06_bootstrap/set/self/theme_simplex.rb +0 -2
  216. data/mod/06_bootstrap/set/self/theme_slate.rb +0 -2
  217. data/mod/06_bootstrap/set/self/theme_spacelab.rb +0 -2
  218. data/mod/06_bootstrap/set/self/theme_superhero.rb +0 -2
  219. data/mod/06_bootstrap/set/self/theme_united.rb +0 -2
  220. data/mod/06_bootstrap/set/self/theme_yeti.rb +0 -2
  221. data/test/fixtures/card_changes.yml +0 -17961
  222. data/test/fixtures/cards.yml +0 -16218
@@ -1,4 +1,7 @@
1
- /* This backwards-compatibility spreadsheet is intended to keep the old "Classic" skins working even as the HTML has changed for the new bootstrap skins. It is NOT intended to be used in new skins. */
1
+ /*
2
+ This backwards-compatibility stylesheet is intended to keep the old "Classic" skins working.
3
+ It is NOT intended to be used in new skins.
4
+ */
2
5
 
3
6
  #menu {
4
7
  height: 30px;
@@ -30,6 +33,12 @@
30
33
  width: 100%;
31
34
  }
32
35
  }
36
+ .navbox-form {
37
+ input {
38
+ display: inline;
39
+ min-height: 25px;
40
+ }
41
+ }
33
42
  }
34
43
 
35
44
  #primary {
@@ -56,99 +65,4 @@ fieldset {
56
65
  .alert-info {
57
66
  background: #ccc;
58
67
  padding: 5px 10px;
59
- }
60
-
61
-
62
- .pagination {
63
- display: inline-block;
64
- padding-left: 0;
65
- margin: 20px 0;
66
- border-radius: 4px;
67
- }
68
- .pagination > li {
69
- display: inline;
70
- }
71
- .pagination > li > a,
72
- .pagination > li > span {
73
- position: relative;
74
- float: left;
75
- padding: 6px 12px;
76
- margin-left: -1px;
77
- line-height: 1.42857143;
78
- color: #337ab7;
79
- text-decoration: none;
80
- background-color: #fff;
81
- border: 1px solid #ddd;
82
- }
83
- .pagination > li:first-child > a,
84
- .pagination > li:first-child > span {
85
- margin-left: 0;
86
- border-top-left-radius: 4px;
87
- border-bottom-left-radius: 4px;
88
- }
89
- .pagination > li:last-child > a,
90
- .pagination > li:last-child > span {
91
- border-top-right-radius: 4px;
92
- border-bottom-right-radius: 4px;
93
- }
94
- .pagination > li > a:hover,
95
- .pagination > li > span:hover,
96
- .pagination > li > a:focus,
97
- .pagination > li > span:focus {
98
- color: #666666;
99
- background-color: #eee;
100
- border-color: #ddd;
101
- }
102
- .pagination > .active > a,
103
- .pagination > .active > span,
104
- .pagination > .active > a:hover,
105
- .pagination > .active > span:hover,
106
- .pagination > .active > a:focus,
107
- .pagination > .active > span:focus {
108
- z-index: 2;
109
- color: #fff;
110
- cursor: default;
111
- background-color: #666666;
112
- border-color: #666666;
113
- }
114
- .pagination > .disabled > span,
115
- .pagination > .disabled > span:hover,
116
- .pagination > .disabled > span:focus,
117
- .pagination > .disabled > a,
118
- .pagination > .disabled > a:hover,
119
- .pagination > .disabled > a:focus {
120
- color: #777;
121
- cursor: not-allowed;
122
- background-color: #fff;
123
- border-color: #ddd;
124
- }
125
- .pagination-lg > li > a,
126
- .pagination-lg > li > span {
127
- padding: 10px 16px;
128
- font-size: 18px;
129
- }
130
- .pagination-lg > li:first-child > a,
131
- .pagination-lg > li:first-child > span {
132
- border-top-left-radius: 6px;
133
- border-bottom-left-radius: 6px;
134
- }
135
- .pagination-lg > li:last-child > a,
136
- .pagination-lg > li:last-child > span {
137
- border-top-right-radius: 6px;
138
- border-bottom-right-radius: 6px;
139
- }
140
- .pagination-sm > li > a,
141
- .pagination-sm > li > span {
142
- padding: 5px 10px;
143
- font-size: 12px;
144
- }
145
- .pagination-sm > li:first-child > a,
146
- .pagination-sm > li:first-child > span {
147
- border-top-left-radius: 3px;
148
- border-bottom-left-radius: 3px;
149
- }
150
- .pagination-sm > li:last-child > a,
151
- .pagination-sm > li:last-child > span {
152
- border-top-right-radius: 3px;
153
- border-bottom-right-radius: 3px;
154
68
  }
@@ -22,7 +22,7 @@ Choosing (b) will mean your CSS will not be affected by automated updates.
22
22
  .card-frame,
23
23
  .card-body,
24
24
  .ALL {
25
- overflow: auto;
25
+ overflow: inherit;
26
26
  white-space: normal;
27
27
  }
28
28
 
@@ -41,43 +41,112 @@ Choosing (b) will mean your CSS will not be affected by automated updates.
41
41
  .confirm_update_all-view,
42
42
  .follow-updater,
43
43
  .admin-error-message,
44
- .labeled-view .card-menu-link {
44
+ .labeled-view .card-menu-link {
45
45
  display: none
46
46
  }
47
47
 
48
48
 
49
49
  /* -- card-headers and menus--*/
50
-
51
50
  .card-header {
52
51
  .card-header-title {
53
52
  display: inline-block;
54
53
  overflow: hidden;
54
+ span.header-icon {
55
+ margin: 0px 5px;
56
+ }
55
57
  }
56
58
  .toggler {
57
59
  display: inline-block;
58
60
  position: relative;
59
61
  }
60
62
  }
61
- .card-menu {
62
- display: none;
63
- position: absolute;
64
- z-index: 1005;
65
- li {
66
- white-space: nowrap;
63
+
64
+ .menu-slot {
65
+ width:100%;
66
+ position: relative;
67
+
68
+ span.menu-item-label {
69
+ margin-left: 5px;
70
+ }
71
+
72
+ .card-menu {
73
+ position: absolute;
74
+ right: 5px;
75
+ top: 3px;
76
+ li {
77
+ white-space: nowrap;
78
+ text-align: left;
79
+ a {
80
+ color: #333;
81
+ }
82
+ }
83
+ .dropdown-menu {
84
+ right: -2px;
85
+ top: 18px;
86
+ min-width: 110px;
87
+ }
88
+ .dropdown-menu:before {
89
+ content: "";
90
+ width: 0;
91
+ height: 0;
92
+ border-left: 5px solid transparent;
93
+ border-right: 5px solid transparent;
94
+ border-bottom: 5px solid white;
95
+ position: absolute;
96
+ top: -5px;
97
+ right: 2px;
98
+ }
99
+ }
100
+
101
+ .vertical-card-menu .dropdown-menu {
102
+ z-index: 2;
103
+ }
104
+
105
+ .horizontal-card-menu {
106
+ z-index: 1;
107
+ li {
108
+ height: 30px;
109
+ }
110
+ .btn {
111
+ padding: 6px 12px;
112
+ }
67
113
  }
68
114
  }
69
- .card-menu-link {
70
- margin-left: 5px;
71
- display: inline-block;
72
- float: right;
115
+
116
+ .card-header-title {
117
+ margin-right: 3px;
118
+ }
119
+
120
+
121
+ .dropdown-menu {
122
+ z-index: 1005;
123
+ }
124
+
125
+ .navbar.toolbar {
126
+ margin-bottom: 0;
127
+ }
128
+
129
+ .toolbar {
130
+ .navbar-text span.glyphicon, span.menu-item-label {
131
+ margin-left: 5px;
132
+ }
73
133
  }
74
134
 
75
135
 
76
136
  /*-- closed and labeled views --*/
77
137
 
78
138
  .closed-view {
79
- white-space: nowrap !important;
80
- overflow: hidden;
139
+ position: relative;
140
+ > .card-frame {
141
+ white-space: nowrap !important;
142
+ padding-right: 30px;
143
+ overflow: hidden;
144
+ text-overflow: ellipsis;
145
+ position: static;
146
+ }
147
+ .card-menu.btn-group {
148
+ display: none;
149
+ }
81
150
  .card-header {
82
151
  display: inline-block;
83
152
  }
@@ -85,18 +154,18 @@ Choosing (b) will mean your CSS will not be affected by automated updates.
85
154
  .closed-content {
86
155
  display: inline;
87
156
  white-space: nowrap !important;
88
-
157
+
89
158
  table, thead, tbody, tr, th, td, p, h1, h2, h3, h4, h5, h6, ul, li, pre, ol, div, span, a, blockquote, img, label, i {
90
159
  display: inline !important;
91
160
  white-space: nowrap !important;
92
161
  float: none !important;
93
162
  }
94
- br, hr, input, textarea, object {
163
+ br, hr, input, textarea, object, :after, :before {
95
164
  display: none !important;
96
165
  }
97
166
  }
98
167
 
99
- .labeled-view:hover .card-menu-link {
168
+ .labeled-view:hover .card-menu {
100
169
  display: inline-block;
101
170
  }
102
171
 
@@ -130,7 +199,7 @@ Choosing (b) will mean your CSS will not be affected by automated updates.
130
199
 
131
200
  .navbox-item-label {
132
201
  float: left;
133
- position: relative;
202
+ position: relative;
134
203
  }
135
204
 
136
205
 
@@ -172,7 +241,7 @@ It includes basic styling for:
172
241
  3. views that by definition alter default styling (closed, labeled)
173
242
  4. errors / warnings / notices
174
243
  5. key default content for new installs (home page, sidebar)
175
-
244
+
176
245
  Most colors are greyscale; any that aren't are explained with comments beginning with "NOTGREY"
177
246
 
178
247
  Note that this CSS is taken from code so that it will be updated automatically with releases.
@@ -185,7 +254,7 @@ in your skin. Choosing (b) will mean your CSS will not be affected by automated
185
254
  .card-frame {
186
255
  text-align: left;
187
256
  font-weight: normal;
188
- font-style: normal;
257
+ font-style: normal;
189
258
  }
190
259
 
191
260
 
@@ -193,60 +262,28 @@ in your skin. Choosing (b) will mean your CSS will not be affected by automated
193
262
  /*- DYNAMIC ELEMENTS - */
194
263
  /*-------------------- */
195
264
 
196
- /* -- card menus -- */
197
265
 
198
- .card-menu {
199
- font-size: 11px;
200
- li {
201
- text-align: right;
202
- a {
203
- color: #333;
204
- }
205
- }
206
- .ui-menu-icon {
207
- float: left;
208
- margin-right: 5px;
209
- }
210
- }
211
- .ui-menu .ui-menu-item {
212
- padding: 2px 0;
213
- }
266
+ /* related view (used by many menu items, such as "referred to by") */
214
267
 
215
- .card-menu-tappable {
216
- font-size: 18px;
217
- .ui-menu-icon {
218
- padding: 7px;
219
- display: inline-block;
220
- margin-right: 15px;
221
- background: #666;
222
- border-radius: 3px;
223
- -moz-border-radius: 3px;
224
- color: #fff;
225
- font-size: 10px;
226
- }
227
- .ui-menu-icon:after {
228
- content: '<';
268
+ .related-view {
269
+ > .card-frame, & {
270
+ > .card-body {
271
+ background: #bbb;
272
+ padding: 5px;
273
+ > .ALL {
274
+ background: #fff;
275
+ > .card-header {
276
+ background: #ddd;
277
+ padding: 5px;
278
+ color: #000;
279
+ }
280
+ > .card-body {
281
+ padding: 8px 2%;
282
+ }
283
+ }
284
+ }
229
285
  }
230
286
  }
231
-
232
-
233
- /* related view (used by many menu items, such as "referred to by") */
234
-
235
- .related-view > .card-body {
236
- background: #bbb;
237
- padding: 5px;
238
- > .ALL {
239
- background: #fff;
240
- > .card-header {
241
- background: #ddd;
242
- padding: 5px;
243
- color: #000;
244
- }
245
- > .card-body {
246
- padding: 8px 2%;
247
- }
248
- }
249
- }
250
287
 
251
288
  /* navboxes */
252
289
 
@@ -369,15 +406,15 @@ textarea {
369
406
  display: inline-block;
370
407
  position: relative;
371
408
  }
372
-
409
+
373
410
  .pointer-item-add {
374
411
  margin-top: 10px;
375
412
  }
376
-
413
+
377
414
  .input-group-addon.handle {
378
415
  padding-left: 1px;
379
416
  padding-right: 1px;
380
-
417
+
381
418
  .glyphicon-option-vertical.left {
382
419
  margin-right: -7px;
383
420
  }
@@ -413,6 +450,9 @@ div.search-result-list {
413
450
  list-style: none;
414
451
  padding: 5px 0;
415
452
  margin: 0;
453
+ .closed-view > .card-frame {
454
+ margin-bottom: 0;
455
+ }
416
456
  }
417
457
  div.pointer-list .pointer-item,
418
458
  div.search-result-list .search-result-item {
@@ -463,14 +503,14 @@ $act-gray: #b7b7b7;
463
503
  float: left;
464
504
  }
465
505
 
466
- .act {
506
+ .act {
467
507
  .head {
468
508
  float: left;
469
509
  margin-right:10px;
470
510
  min-width: 175px;
471
511
  }
472
512
  .nr {
473
- float: left;
513
+ float: left;
474
514
  }
475
515
  .title {
476
516
  float: left;
@@ -484,7 +524,7 @@ $act-gray: #b7b7b7;
484
524
  float:left;
485
525
  clear:left;
486
526
  }
487
-
527
+
488
528
  .action-container {
489
529
  overflow: hidden;
490
530
  }
@@ -506,7 +546,7 @@ $act-gray: #b7b7b7;
506
546
  margin: 12px 10px 0px 10px;
507
547
  width: 20px;
508
548
  }
509
- /*
549
+ /*
510
550
  .name-diff {
511
551
  color: #000;
512
552
  border-style: solid;
@@ -533,23 +573,23 @@ $act-gray: #b7b7b7;
533
573
  padding: 6px 0px;
534
574
  }
535
575
  }
536
-
576
+
537
577
  .arrow-down {
538
- width: 0;
539
- height: 0;
578
+ width: 0;
579
+ height: 0;
540
580
  border-left: 7px solid transparent;
541
581
  border-right: 7px solid transparent;
542
582
  border-top: 11px solid $act-gray;
543
583
  display: block;
544
584
  }
545
585
  .arrow-right {
546
- width: 0;
547
- height: 0;
586
+ width: 0;
587
+ height: 0;
548
588
  border-top: 7px solid transparent;
549
589
  border-bottom: 7px solid transparent;
550
590
  border-left: 11px solid $act-gray;
551
591
  display: block;
552
- }
592
+ }
553
593
  .info {
554
594
  font-style: italic;
555
595
  }
@@ -604,7 +644,7 @@ $act-gray: #b7b7b7;
604
644
 
605
645
 
606
646
  #credit, /* these are both deprecated */
607
- .flash-notice {
647
+ .flash-notice {
608
648
  color: #333;
609
649
  font-size: 1.1em;
610
650
  background: #fff;
@@ -643,7 +683,7 @@ $act-gray: #b7b7b7;
643
683
  }
644
684
  aside {
645
685
  float: right;
646
- border: 1px solid #999;
686
+ border: 1px solid #999;
647
687
  background: white;
648
688
  width: 33%;
649
689
  padding: 1em;
@@ -836,7 +876,7 @@ table.show-cache td {
836
876
 
837
877
  /* note said this is o non-ie browsers do better with image floats. looks over-specified.
838
878
  html>body .open-view {
839
- width: auto;
879
+ width: auto;
840
880
  }
841
881
  */
842
882