diff --git a/LICENSE b/LICENSE index 13c7639b..d1d7570c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2011 GitHub, Inc. +Copyright (c) 2011-2013 GitHub, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation diff --git a/README.md b/README.md index 472fdb29..8a084513 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ To run the tests: The majority of patches won't need to touch any Ruby code at all. The [master language list](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml) is just a configuration file. -We try to only add languages once they have a some usage on GitHub, so please note in-the-wild usage examples in your pull request. +We try to only add languages once they have some usage on GitHub, so please note in-the-wild usage examples in your pull request. Almost all bug fixes or new language additions should come with some additional code samples. Just drop them under [`samples/`](https://github.com/github/linguist/tree/master/samples) in the correct subdirectory and our test suite will automatically test them. In most cases you shouldn't need to add any new assertions. diff --git a/bin/linguist b/bin/linguist index 1be091c3..d28aaf7b 100755 --- a/bin/linguist +++ b/bin/linguist @@ -1,5 +1,9 @@ #!/usr/bin/env ruby +# linguist — detect language type for a file, or, given a directory, determine language breakdown +# +# usage: linguist + require 'linguist/file_blob' require 'linguist/repository' diff --git a/github-linguist.gemspec b/github-linguist.gemspec index 22cf066d..396149f1 100644 --- a/github-linguist.gemspec +++ b/github-linguist.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = 'github-linguist' - s.version = '2.6.9' + s.version = '2.9.7' s.summary = "GitHub Language detection" s.authors = "GitHub" @@ -12,7 +12,7 @@ Gem::Specification.new do |s| s.add_dependency 'charlock_holmes', '~> 0.6.6' s.add_dependency 'escape_utils', '~> 0.3.1' s.add_dependency 'mime-types', '~> 1.19' - s.add_dependency 'pygments.rb', '~> 0.4.2' + s.add_dependency 'pygments.rb', '~> 0.5.2' s.add_development_dependency 'mocha' s.add_development_dependency 'json' s.add_development_dependency 'rake' diff --git a/lib/linguist/blob_helper.rb b/lib/linguist/blob_helper.rb index 47031a49..81956e47 100644 --- a/lib/linguist/blob_helper.rb +++ b/lib/linguist/blob_helper.rb @@ -70,7 +70,7 @@ module Linguist # # Return true or false def likely_binary? - binary_mime_type? and not Language.find_by_filename(name) + binary_mime_type? && !Language.find_by_filename(name) end # Public: Get the Content-Type header value @@ -189,11 +189,10 @@ module Linguist # Public: Is the blob safe to colorize? # - # We use Pygments.rb for syntax highlighting blobs, which - # has some quirks and also is essentially 'un-killable' via - # normal timeout. To workaround this we try to - # carefully handling Pygments.rb anything it can't handle. - # + # We use Pygments for syntax highlighting blobs. Pygments + # can be too slow for very large blobs or for certain + # corner-case blobs. + # # Return true or false def safe_to_colorize? !large? && text? && !high_ratio_of_long_lines? @@ -278,36 +277,6 @@ module Linguist @_generated ||= Generated.generated?(name, lambda { data }) end - # Public: Should the blob be indexed for searching? - # - # Excluded: - # - Files over 0.1MB - # - Non-text files - # - Languages marked as not searchable - # - Generated source files - # - # Please add additional test coverage to - # `test/test_blob.rb#test_indexable` if you make any changes. - # - # Return true or false - def indexable? - if size > 100 * 1024 - false - elsif binary? - false - elsif extname == '.txt' - true - elsif language.nil? - false - elsif !language.searchable? - false - elsif generated? - false - else - true - end - end - # Public: Detects the Language of the blob. # # May load Blob#data @@ -343,19 +312,5 @@ module Linguist options[:options][:encoding] ||= encoding lexer.highlight(data, options) end - - # Public: Highlight syntax of blob without the outer highlight div - # wrapper. - # - # options - A Hash of options (defaults to {}) - # - # Returns html String - def colorize_without_wrapper(options = {}) - if text = colorize(options) - text[%r{
(.*?)
\s*
}m, 1] - else - '' - end - end end end diff --git a/lib/linguist/classifier.rb b/lib/linguist/classifier.rb index 85811791..a9707b28 100644 --- a/lib/linguist/classifier.rb +++ b/lib/linguist/classifier.rb @@ -130,38 +130,42 @@ module Linguist Math.log(@languages[language].to_f / @languages_total.to_f) end -private - def verbosity - @verbosity ||= (ENV['LINGUIST_DEBUG']||0).to_i - end + private + def verbosity + @verbosity ||= (ENV['LINGUIST_DEBUG'] || 0).to_i + end - # Internal: show a table of probabilities for each pair. - # - # The number in each table entry is the number of "points" that each - # token contributes toward the belief that the file under test is a - # particular language. Points are additive. - # - # Points are the number of times a token appears in the file, times - # how much more likely (log of probability ratio) that token is to - # appear in one language vs. the least-likely language. Dashes - # indicate the least-likely language (and zero points) for each token. - def dump_all_tokens(tokens, languages) - maxlen = tokens.map{|tok| tok.size}.max - printf "%#{maxlen}s", "" - puts " #" + languages.map{|lang| sprintf("%10s", lang)}.join - tokmap = Hash.new(0) - tokens.each{|tok| tokmap[tok] += 1} - tokmap.sort.each{|tok, count| - arr = languages.map{|lang| [lang, token_probability(tok, lang)] } - min = arr.map{|a,b| b}.min - minlog = Math.log(min) - if !arr.inject(true) {|result, n| result && n[1] == arr[0][1]} # if not all the same - printf "%#{maxlen}s%5d", tok, count - puts arr.map{|ent| - ent[1] == min ? " -" : sprintf("%10.3f", count*(Math.log(ent[1])-minlog)) - }.join - end - } - end + # Internal: show a table of probabilities for each pair. + # + # The number in each table entry is the number of "points" that each + # token contributes toward the belief that the file under test is a + # particular language. Points are additive. + # + # Points are the number of times a token appears in the file, times + # how much more likely (log of probability ratio) that token is to + # appear in one language vs. the least-likely language. Dashes + # indicate the least-likely language (and zero points) for each token. + def dump_all_tokens(tokens, languages) + maxlen = tokens.map { |tok| tok.size }.max + + printf "%#{maxlen}s", "" + puts " #" + languages.map { |lang| sprintf("%10s", lang) }.join + + tokmap = Hash.new(0) + tokens.each { |tok| tokmap[tok] += 1 } + + tokmap.sort.each { |tok, count| + arr = languages.map { |lang| [lang, token_probability(tok, lang)] } + min = arr.map { |a,b| b }.min + minlog = Math.log(min) + if !arr.inject(true) { |result, n| result && n[1] == arr[0][1] } + printf "%#{maxlen}s%5d", tok, count + + puts arr.map { |ent| + ent[1] == min ? " -" : sprintf("%10.3f", count * (Math.log(ent[1]) - minlog)) + }.join + end + } + end end end diff --git a/lib/linguist/generated.rb b/lib/linguist/generated.rb index 826fdc93..db591ae0 100644 --- a/lib/linguist/generated.rb +++ b/lib/linguist/generated.rb @@ -52,12 +52,14 @@ module Linguist # Return true or false def generated? name == 'Gemfile.lock' || - minified_javascript? || + minified_files? || compiled_coffeescript? || xcode_project_file? || - generated_net_docfile? || generated_parser? || - generated_protocol_buffer? + generated_net_docfile? || + generated_net_designer_file? || + generated_protocol_buffer? || + generated_jni_header? end # Internal: Is the blob an XCode project file? @@ -70,16 +72,16 @@ module Linguist ['.xib', '.nib', '.storyboard', '.pbxproj', '.xcworkspacedata', '.xcuserstate'].include?(extname) end - # Internal: Is the blob minified JS? + # Internal: Is the blob minified files? # - # Consider JS minified if the average line length is - # greater then 100c. + # Consider a file minified if it contains more than 5% spaces. + # Currently, only JS and CSS files are detected by this method. # # Returns true or false. - def minified_javascript? - return unless extname == '.js' - if lines.any? - (lines.inject(0) { |n, l| n += l.length } / lines.length) > 100 + def minified_files? + return unless ['.js', '.css'].include? extname + if data && data.length > 200 + (data.each_char.count{ |c| c <= ' ' } / data.length.to_f) < 0.05 else false end @@ -143,6 +145,16 @@ module Linguist lines[-2].include?("") end + # Internal: Is this a codegen file for a .NET project? + # + # Visual Studio often uses code generation to generate partial classes, and + # these files can be quite unwieldy. Let's hide them. + # + # Returns true or false + def generated_net_designer_file? + name.downcase =~ /\.designer\.cs$/ + end + # Internal: Is the blob of JS a parser generated by PEG.js? # # PEG.js-generated parsers are not meant to be consumed by humans. @@ -170,5 +182,16 @@ module Linguist return lines[0].include?("Generated by the protocol buffer compiler. DO NOT EDIT!") end + + # Internal: Is the blob a C/C++ header generated by the Java JNI tool javah? + # + # Returns true of false. + def generated_jni_header? + return false unless extname == '.h' + return false unless lines.count > 2 + + return lines[0].include?("/* DO NOT EDIT THIS FILE - it is machine generated */") + return lines[1].include?("#include ") + end end end diff --git a/lib/linguist/language.rb b/lib/linguist/language.rb index 54fc4698..e043be78 100644 --- a/lib/linguist/language.rb +++ b/lib/linguist/language.rb @@ -15,12 +15,21 @@ module Linguist @index = {} @name_index = {} @alias_index = {} - @extension_index = Hash.new { |h,k| h[k] = [] } - @filename_index = Hash.new { |h,k| h[k] = [] } + + @extension_index = Hash.new { |h,k| h[k] = [] } + @filename_index = Hash.new { |h,k| h[k] = [] } + @primary_extension_index = {} # Valid Languages types TYPES = [:data, :markup, :programming] + # Names of non-programming languages that we will still detect + # + # Returns an array + def self.detectable_markup + ["CSS", "Less", "Sass"] + end + # Internal: Create a new Language object # # attributes - A hash of attributes @@ -56,6 +65,12 @@ module Linguist @extension_index[extension] << language end + if @primary_extension_index.key?(language.primary_extension) + raise ArgumentError, "Duplicate primary extension: #{language.primary_extension}" + end + + @primary_extension_index[language.primary_extension] = language + language.filenames.each do |filename| @filename_index[filename] << language end @@ -141,7 +156,10 @@ module Linguist # Returns all matching Languages or [] if none were found. def self.find_by_filename(filename) basename, extname = File.basename(filename), File.extname(filename) - @filename_index[basename] + @extension_index[extname] + langs = [@primary_extension_index[extname]] + + @filename_index[basename] + + @extension_index[extname] + langs.compact.uniq end # Public: Look up Language by its name or lexer. @@ -445,8 +463,6 @@ module Linguist extnames.each do |extname| if !options['extensions'].include?(extname) options['extensions'] << extname - else - warn "#{name} #{extname.inspect} is already defined in samples/. Remove from languages.yml." end end end @@ -455,8 +471,6 @@ module Linguist fns.each do |filename| if !options['filenames'].include?(filename) options['filenames'] << filename - else - warn "#{name} #{filename.inspect} is already defined in samples/. Remove from languages.yml." end end end diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index adfce612..af1a7167 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -28,7 +28,13 @@ ABAP: type: programming lexer: ABAP primary_extension: .abap - + +ANTLR: + type: programming + color: "#9DC3FF" + lexer: ANTLR + primary_extension: .g4 + ASP: type: programming color: "#6a40fd" @@ -61,7 +67,7 @@ Ada: primary_extension: .adb extensions: - .ads - + ApacheConf: type: markup aliases: @@ -137,6 +143,11 @@ Befunge: BlitzMax: primary_extension: .bmx +Bluespec: + type: programming + lexer: verilog + primary_extension: .bsv + Boo: type: programming color: "#d4bec1" @@ -212,8 +223,18 @@ CMake: filenames: - CMakeLists.txt +COBOL: + type: programming + primary_extension: .cob + extensions: + - .cbl + - .ccp + - .cobol + - .cpy + CSS: ace_mode: css + color: "#1f085e" primary_extension: .css Ceylon: @@ -232,6 +253,7 @@ Clojure: primary_extension: .clj extensions: - .cljs + - .cljx filenames: - riemann.config @@ -270,8 +292,10 @@ Common Lisp: primary_extension: .lisp extensions: - .asd + - .cl - .lsp - .ny + - .podsl Coq: type: programming @@ -308,6 +332,14 @@ D-ObjDump: type: data lexer: d-objdump primary_extension: .d-objdump + +DM: + type: programming + color: "#075ff1" + lexer: Text only + primary_extension: .dm + aliases: + - byond DOT: type: programming @@ -328,14 +360,6 @@ Dart: type: programming primary_extension: .dart -Delphi: - type: programming - color: "#b0ce4e" - primary_extension: .pas - extensions: - - .dfm - - .lpr - DCPU-16 ASM: type: programming lexer: dasm16 @@ -344,7 +368,7 @@ DCPU-16 ASM: - .dasm aliases: - dasm16 - + Diff: primary_extension: .diff @@ -383,7 +407,6 @@ Elixir: Elm: type: programming lexer: Haskell - group: Haskell primary_extension: .elm Emacs Lisp: @@ -399,7 +422,7 @@ Emacs Lisp: Erlang: type: programming - color: "#949e0e" + color: "#0faf8d" primary_extension: .erl extensions: - .hrl @@ -408,7 +431,9 @@ F#: type: programming lexer: FSharp color: "#b845fc" - search_term: ocaml + search_term: fsharp + aliases: + - fsharp primary_extension: .fs extensions: - .fsi @@ -473,6 +498,18 @@ GAS: extensions: - .S +GLSL: + group: C + type: programming + primary_extension: .glsl + extensions: + - .fp + - .frag + - .geom + - .glslv + - .shader + - .vert + Genshi: primary_extension: .kid @@ -495,9 +532,15 @@ Gettext Catalog: extensions: - .pot +Glyph: + type: programming + color: "#e4cc98" + lexer: Tcl + primary_extension: .glf + Go: type: programming - color: "#8d04eb" + color: "#a89b4d" primary_extension: .go Gosu: @@ -581,6 +624,10 @@ Handlebars: type: markup lexer: Text only primary_extension: .handlebars + extensions: + - .hbs + - .html.handlebars + - .html.hbs Haskell: type: programming @@ -601,12 +648,15 @@ Haxe: INI: type: data extensions: - - .cfg - .ini - .prefs - .properties primary_extension: .ini +Inno Setup: + primary_extension: .iss + lexer: Text only + IRC log: lexer: IRC logs search_term: irc @@ -626,12 +676,30 @@ Ioke: color: "#078193" primary_extension: .ik +J: + type: programming + lexer: Text only + primary_extension: .ijs + JSON: type: data group: JavaScript ace_mode: json searchable: false primary_extension: .json + extensions: + - .sublime-keymap + - .sublime_metrics + - .sublime-mousemap + - .sublime-project + - .sublime_session + - .sublime-settings + - .sublime-workspace + +Jade: + group: HTML + type: markup + primary_extension: .jade Java: type: programming @@ -672,6 +740,7 @@ JavaScript: Julia: type: programming primary_extension: .jl + color: "#a270ba" Kotlin: type: programming @@ -680,6 +749,13 @@ Kotlin: - .ktm - .kts +LFE: + type: programming + primary_extension: .lfe + color: "#004200" + lexer: Common Lisp + group: Erlang + LLVM: primary_extension: .ll @@ -745,6 +821,8 @@ Logos: Logtalk: type: programming primary_extension: .lgt + extensions: + - .logtalk Lua: type: programming @@ -753,13 +831,16 @@ Lua: primary_extension: .lua extensions: - .nse + - .rbxs M: type: programming lexer: Common Lisp aliases: - mumps - primary_extension: .m + primary_extension: .mumps + extensions: + - .m Makefile: aliases: @@ -974,6 +1055,15 @@ Parrot Assembly: - pasm primary_extension: .pasm +Pascal: + type: programming + lexer: Delphi + color: "#b0ce4e" + primary_extension: .pas + extensions: + - .dfm + - .lpr + Perl: type: programming ace_mode: perl @@ -981,6 +1071,7 @@ Perl: primary_extension: .pl extensions: - .PL + - .nqp - .perl - .ph - .plx @@ -1008,6 +1099,9 @@ PowerShell: aliases: - posh primary_extension: .ps1 + extensions: + - .psd1 + - .psm1 Processing: type: programming @@ -1022,6 +1116,13 @@ Prolog: extensions: - .pro +Protocol Buffer: + type: markup + aliases: + - protobuf + - Protocol Buffers + primary_extension: .proto + Puppet: type: programming color: "#cc5555" @@ -1044,6 +1145,7 @@ Python: primary_extension: .py extensions: - .gyp + - .pyt - .pyw - .wsgi - .xpy @@ -1062,6 +1164,19 @@ R: color: "#198ce7" lexer: S primary_extension: .r + filenames: + - .Rprofile + +REALbasic: + type: programming + lexer: VB.net + primary_extension: .rbbas + extensions: + - .rbfrm + - .rbmnu + - .rbres + - .rbtbar + - .rbuistate RHTML: type: markup @@ -1124,6 +1239,7 @@ Ruby: - .gemspec - .god - .irbrc + - .mspec - .podspec - .rbuild - .rbw @@ -1132,6 +1248,7 @@ Ruby: - .thor - .watchr filenames: + - Berksfile - Gemfile - Guardfile - Podfile @@ -1172,6 +1289,11 @@ Scala: color: "#7dd3b0" primary_extension: .scala +Scaml: + group: HTML + type: markup + primary_extension: .scaml + Scheme: type: programming color: "#1e4aec" @@ -1201,7 +1323,15 @@ Shell: - zsh primary_extension: .sh extensions: + - .bats - .tmux + filenames: + - Dockerfile + +Slash: + type: programming + color: "#007eff" + primary_extension: .sl Smalltalk: type: programming @@ -1211,6 +1341,11 @@ Smalltalk: Smarty: primary_extension: .tpl +Squirrel: + type: programming + lexer: C++ + primary_extension: .nut + Standard ML: type: programming color: "#dc566d" @@ -1237,6 +1372,8 @@ Tcl: type: programming color: "#e4cc98" primary_extension: .tcl + extensions: + - .adp Tcsh: type: programming @@ -1253,6 +1390,7 @@ TeX: primary_extension: .tex extensions: - .aux + - .bib - .dtx - .ins - .ltx @@ -1287,7 +1425,6 @@ Twig: TypeScript: type: programming color: "#31859c" - lexer: Text only aliases: - ts primary_extension: .ts @@ -1298,8 +1435,8 @@ Unified Parallel C: lexer: C ace_mode: c_cpp color: "#755223" - primary_extension: .upc - + primary_extension: .upc + VHDL: type: programming lexer: vhdl @@ -1345,6 +1482,17 @@ Visual Basic: - .vba - .vbs +Volt: + type: programming + lexer: D + color: "#0098db" + primary_extension: .volt + +XC: + type: programming + lexer: C + primary_extension: .xc + XML: type: markup ace_mode: xml @@ -1356,14 +1504,18 @@ XML: extensions: - .axml - .ccxml + - .clixml - .dita - .ditamap - .ditaval - .glade - .grxml + - .jelly - .kml - .mxml - .plist + - .ps1xml + - .psc1 - .pt - .rdf - .rss @@ -1373,6 +1525,7 @@ XML: - .tmLanguage - .tmPreferences - .tmSnippet + - .tmTheme - .tml - .ui - .vxml @@ -1380,9 +1533,11 @@ XML: - .wxi - .wxl - .wxs + - .x3d - .xaml - .xlf - .xliff + - .xmi - .xsd - .xul - .zcml @@ -1403,6 +1558,8 @@ XQuery: primary_extension: .xquery extensions: - .xq + - .xql + - .xqm - .xqy XS: @@ -1422,7 +1579,7 @@ Xtend: primary_extension: .xtend YAML: - type: markup + type: data aliases: - yml primary_extension: .yml diff --git a/lib/linguist/repository.rb b/lib/linguist/repository.rb index 5c1ffdaf..4b34be0a 100644 --- a/lib/linguist/repository.rb +++ b/lib/linguist/repository.rb @@ -73,8 +73,8 @@ module Linguist # Skip vendored or generated blobs next if blob.vendored? || blob.generated? || blob.language.nil? - # Only include programming languages - if blob.language.type == :programming + # Only include programming languages and acceptable markup languages + if blob.language.type == :programming || Language.detectable_markup.include?(blob.language.name) @sizes[blob.language.group] += blob.size end end diff --git a/lib/linguist/samples.json b/lib/linguist/samples.json index ce06b4d3..32d17697 100644 --- a/lib/linguist/samples.json +++ b/lib/linguist/samples.json @@ -18,6 +18,9 @@ "Awk": [ ".awk" ], + "Bluespec": [ + ".bsv" + ], "C": [ ".c", ".h" @@ -32,18 +35,27 @@ "Ceylon": [ ".ceylon" ], + "COBOL": [ + ".cbl", + ".ccp", + ".cob", + ".cpy" + ], "CoffeeScript": [ ".coffee" ], + "Common Lisp": [ + ".lisp" + ], "Coq": [ ".v" ], + "CSS": [ + ".css" + ], "Dart": [ ".dart" ], - "Delphi": [ - ".dpr" - ], "Diff": [ ".patch" ], @@ -74,6 +86,10 @@ "GAS": [ ".s" ], + "GLSL": [ + ".fp", + ".glsl" + ], "Gosu": [ ".gs", ".gsp", @@ -125,6 +141,9 @@ "Less": [ ".less" ], + "LFE": [ + ".lfe" + ], "Literate CoffeeScript": [ ".litcoffee" ], @@ -143,6 +162,9 @@ "M": [ ".m" ], + "Makefile": [ + ".script!" + ], "Markdown": [ ".md" ], @@ -199,7 +221,11 @@ "Parrot Internal Representation": [ ".pir" ], + "Pascal": [ + ".dpr" + ], "Perl": [ + ".fcgi", ".pl", ".pm", ".script!", @@ -228,7 +254,8 @@ ".script!" ], "R": [ - ".R" + ".R", + ".script!" ], "Racket": [ ".scrbl", @@ -251,7 +278,8 @@ ".rs" ], "Sass": [ - ".sass" + ".sass", + ".scss" ], "Scala": [ ".sbt", @@ -274,6 +302,12 @@ ".sh", ".zsh" ], + "Slash": [ + ".sl" + ], + "Squirrel": [ + ".nut" + ], "Standard ML": [ ".sig", ".sml" @@ -306,9 +340,15 @@ "Visual Basic": [ ".cls" ], + "Volt": [ + ".volt" + ], "wisp": [ ".wisp" ], + "XC": [ + ".xc" + ], "XML": [ ".ant", ".ivy", @@ -337,6 +377,9 @@ ".editorconfig", ".gitconfig" ], + "Makefile": [ + "Makefile" + ], "Nginx": [ "nginx.conf" ], @@ -359,6 +402,7 @@ ".zprofile", ".zshenv", ".zshrc", + "Dockerfile", "PKGBUILD", "bash_logout", "bash_profile", @@ -380,8 +424,8 @@ ".gemrc" ] }, - "tokens_total": 359968, - "languages_total": 425, + "tokens_total": 415313, + "languages_total": 458, "tokens": { "ABAP": { "*/**": 1, @@ -1870,20 +1914,215 @@ "fragments": 1, "END": 1 }, + "Bluespec": { + "package": 2, + "TbTL": 1, + ";": 156, + "import": 1, + "TL": 6, + "*": 1, + "interface": 2, + "Lamp": 3, + "method": 42, + "Bool": 32, + "changed": 2, + "Action": 17, + "show_offs": 2, + "show_ons": 2, + "reset": 2, + "endinterface": 2, + "module": 3, + "mkLamp#": 1, + "(": 158, + "String": 1, + "name": 3, + "lamp": 5, + ")": 163, + "Reg#": 15, + "prev": 5, + "<": 44, + "-": 29, + "mkReg": 15, + "False": 9, + "if": 9, + "&&": 3, + "write": 2, + "+": 7, + "endmethod": 8, + "endmodule": 3, + "mkTest": 1, + "let": 1, + "dut": 2, + "sysTL": 3, + "Bit#": 1, + "ctr": 8, + "carN": 4, + "carS": 2, + "carE": 2, + "carW": 2, + "lamps": 15, + "[": 17, + "]": 17, + "mkLamp": 12, + "dut.lampRedNS": 1, + "dut.lampAmberNS": 1, + "dut.lampGreenNS": 1, + "dut.lampRedE": 1, + "dut.lampAmberE": 1, + "dut.lampGreenE": 1, + "dut.lampRedW": 1, + "dut.lampAmberW": 1, + "dut.lampGreenW": 1, + "dut.lampRedPed": 1, + "dut.lampAmberPed": 1, + "dut.lampGreenPed": 1, + "rule": 10, + "start": 1, + "dumpvars": 1, + "endrule": 10, + "detect_cars": 1, + "dut.set_car_state_N": 1, + "dut.set_car_state_S": 1, + "dut.set_car_state_E": 1, + "dut.set_car_state_W": 1, + "go": 1, + "True": 6, + "<=>": 3, + "12_000": 1, + "ped_button_push": 4, + "stop": 1, + "display": 2, + "finish": 1, + "function": 10, + "do_offs": 2, + "l": 3, + "l.show_offs": 1, + "do_ons": 2, + "l.show_ons": 1, + "do_reset": 2, + "l.reset": 1, + "do_it": 4, + "f": 2, + "action": 3, + "for": 3, + "Integer": 3, + "i": 15, + "endaction": 3, + "endfunction": 7, + "any_changes": 2, + "b": 12, + "||": 7, + ".changed": 1, + "return": 9, + "show": 1, + "time": 1, + "endpackage": 2, + "set_car_state_N": 2, + "x": 8, + "set_car_state_S": 2, + "set_car_state_E": 2, + "set_car_state_W": 2, + "lampRedNS": 2, + "lampAmberNS": 2, + "lampGreenNS": 2, + "lampRedE": 2, + "lampAmberE": 2, + "lampGreenE": 2, + "lampRedW": 2, + "lampAmberW": 2, + "lampGreenW": 2, + "lampRedPed": 2, + "lampAmberPed": 2, + "lampGreenPed": 2, + "typedef": 3, + "enum": 1, + "{": 1, + "AllRed": 4, + "GreenNS": 9, + "AmberNS": 5, + "GreenE": 8, + "AmberE": 5, + "GreenW": 8, + "AmberW": 5, + "GreenPed": 4, + "AmberPed": 3, + "}": 1, + "TLstates": 11, + "deriving": 1, + "Eq": 1, + "Bits": 1, + "UInt#": 2, + "Time32": 9, + "CtrSize": 3, + "allRedDelay": 2, + "amberDelay": 2, + "nsGreenDelay": 2, + "ewGreenDelay": 3, + "pedGreenDelay": 1, + "pedAmberDelay": 1, + "clocks_per_sec": 2, + "state": 21, + "next_green": 8, + "secs": 7, + "ped_button_pushed": 4, + "car_present_N": 3, + "car_present_S": 3, + "car_present_E": 4, + "car_present_W": 4, + "car_present_NS": 3, + "cycle_ctr": 6, + "dec_cycle_ctr": 1, + "Rules": 5, + "low_priority_rule": 2, + "rules": 4, + "inc_sec": 1, + "endrules": 4, + "next_state": 8, + "ns": 4, + "0": 2, + "green_seq": 7, + "case": 2, + "endcase": 2, + "car_present": 4, + "make_from_green_rule": 5, + "green_state": 2, + "delay": 2, + "car_is_present": 2, + "from_green": 1, + "make_from_amber_rule": 5, + "amber_state": 2, + "ng": 2, + "from_amber": 1, + "hprs": 10, + "7": 1, + "1": 1, + "2": 1, + "3": 1, + "4": 1, + "5": 1, + "6": 1, + "fromAllRed": 2, + "else": 4, + "noAction": 1, + "high_priority_rules": 4, + "rJoin": 1, + "addRules": 1, + "preempts": 1 + }, "C": { - "#include": 149, - "const": 357, + "#include": 150, + "const": 358, "char": 529, "*blob_type": 2, - ";": 5439, + ";": 5446, "struct": 359, "blob": 6, "*lookup_blob": 2, - "(": 6213, + "(": 6225, "unsigned": 140, "*sha1": 16, - ")": 6215, - "{": 1528, + ")": 6227, + "{": 1530, "object": 10, "*obj": 9, "lookup_object": 2, @@ -1900,22 +2139,22 @@ "sha1_to_hex": 8, "typename": 2, "NULL": 330, - "}": 1544, - "*": 253, + "}": 1546, + "*": 259, "int": 446, "parse_blob_buffer": 2, "*item": 10, - "void": 279, + "void": 284, "*buffer": 6, "long": 105, "size": 120, "item": 24, "object.parsed": 4, - "#ifndef": 84, + "#ifndef": 85, "BLOB_H": 2, - "#define": 911, - "extern": 37, - "#endif": 236, + "#define": 912, + "extern": 38, + "#endif": 239, "git_cache_init": 1, "git_cache": 4, "*cache": 4, @@ -1941,8 +2180,8 @@ "i": 410, "for": 88, "+": 551, - "[": 597, - "]": 597, + "[": 601, + "]": 601, "git_cached_obj_decref": 3, "git__free": 15, "*git_cache_get": 1, @@ -1970,7 +2209,7 @@ "else": 190, "save_commit_buffer": 3, "*commit_type": 2, - "static": 454, + "static": 455, "commit": 59, "*check_commit": 1, "quiet": 5, @@ -2248,7 +2487,7 @@ "": 1, "": 1, "": 1, - "#ifdef": 64, + "#ifdef": 66, "CONFIG_SMP": 1, "DEFINE_MUTEX": 1, "cpu_add_remove_lock": 3, @@ -3297,7 +3536,7 @@ "paused": 3, "HPE_PAUSED": 2, "http_parser_h": 2, - "__cplusplus": 18, + "__cplusplus": 20, "HTTP_PARSER_VERSION_MAJOR": 1, "HTTP_PARSER_VERSION_MINOR": 1, "": 2, @@ -3388,6 +3627,22 @@ "*http_method_str": 1, "*http_errno_name": 1, "*http_errno_description": 1, + "": 1, + "_Included_jni_JniLayer": 2, + "JNIEXPORT": 6, + "jlong": 6, + "JNICALL": 6, + "Java_jni_JniLayer_jni_1layer_1initialize": 1, + "JNIEnv": 6, + "jobject": 6, + "jintArray": 1, + "jint": 7, + "Java_jni_JniLayer_jni_1layer_1mainloop": 1, + "Java_jni_JniLayer_jni_1layer_1set_1button": 1, + "Java_jni_JniLayer_jni_1layer_1set_1analog": 1, + "jfloat": 1, + "Java_jni_JniLayer_jni_1layer_1report_1analog_1chg": 1, + "Java_jni_JniLayer_jni_1layer_1kill": 1, "strncasecmp": 2, "_strnicmp": 1, "REF_TABLE_SIZE": 1, @@ -6423,6 +6678,13 @@ "__pyx_pf_7sklearn_12linear_model_8sgd_fast_10Regression_loss": 1, "__pyx_base.__pyx_vtab": 1, "__pyx_base.loss": 1, + "syscalldef": 1, + "syscalldefs": 1, + "SYSCALL_OR_NUM": 3, + "SYS_restart_syscall": 1, + "MAKE_UINT16": 3, + "SYS_exit": 1, + "SYS_fork": 1, "__wglew_h__": 2, "__WGLEW_H__": 1, "__wglext_h_": 2, @@ -9825,6 +10087,37 @@ "<=>": 1, "other.name": 1 }, + "COBOL": { + "program": 1, + "-": 19, + "id.": 1, + "hello.": 3, + "procedure": 1, + "division.": 1, + "display": 1, + ".": 3, + "stop": 1, + "run.": 1, + "IDENTIFICATION": 2, + "DIVISION.": 4, + "PROGRAM": 2, + "ID.": 2, + "PROCEDURE": 2, + "DISPLAY": 2, + "STOP": 2, + "RUN.": 2, + "COBOL": 7, + "TEST": 2, + "RECORD.": 1, + "USAGES.": 1, + "COMP": 5, + "PIC": 5, + "S9": 4, + "(": 5, + ")": 5, + "COMP.": 3, + "COMP2": 2 + }, "CoffeeScript": { "CoffeeScript": 1, "require": 21, @@ -10540,6 +10833,49 @@ "xFF": 1, "ip.join": 1 }, + "Common Lisp": { + ";": 10, + "-": 10, + "*": 2, + "lisp": 1, + "(": 14, + "in": 1, + "package": 1, + "foo": 2, + ")": 14, + "Header": 1, + "comment.": 4, + "defvar": 1, + "*foo*": 1, + "eval": 1, + "when": 1, + "execute": 1, + "compile": 1, + "toplevel": 2, + "load": 1, + "defun": 1, + "add": 1, + "x": 5, + "&": 3, + "optional": 1, + "y": 2, + "key": 1, + "z": 2, + "declare": 1, + "ignore": 1, + "Inline": 1, + "+": 2, + "or": 1, + "#": 2, + "|": 2, + "Multi": 1, + "line": 2, + "defmacro": 1, + "body": 1, + "b": 1, + "if": 1, + "After": 1 + }, "Coq": { "Inductive": 41, "day": 9, @@ -11878,6 +12214,754 @@ "IHhas_type1.": 1, "IHhas_type2.": 1 }, + "CSS": { + ".clearfix": 8, + "{": 1661, + "*zoom": 48, + ";": 4219, + "}": 1705, + "before": 48, + "after": 96, + "display": 135, + "table": 44, + "content": 66, + "line": 97, + "-": 8839, + "height": 141, + "clear": 32, + "both": 30, + ".hide": 12, + "text": 129, + "font": 142, + "/0": 2, + "a": 268, + "color": 711, + "transparent": 148, + "shadow": 254, + "none": 128, + "background": 770, + "border": 912, + ".input": 216, + "block": 133, + "level": 2, + "width": 215, + "%": 366, + "min": 14, + "px": 2535, + "webkit": 364, + "box": 264, + "sizing": 27, + "moz": 316, + "article": 2, + "aside": 2, + "details": 2, + "figcaption": 2, + "figure": 2, + "footer": 2, + "header": 12, + "hgroup": 2, + "nav": 2, + "section": 2, + "audio": 4, + "canvas": 2, + "video": 4, + "inline": 116, + "*display": 20, + "not": 6, + "(": 748, + "[": 384, + "controls": 2, + "]": 384, + ")": 748, + "html": 4, + "size": 104, + "adjust": 6, + "ms": 13, + "focus": 232, + "outline": 30, + "thin": 8, + "dotted": 10, + "#333": 6, + "auto": 50, + "ring": 6, + "offset": 6, + "hover": 144, + "active": 46, + "sub": 4, + "sup": 4, + "position": 342, + "relative": 18, + "vertical": 56, + "align": 72, + "baseline": 4, + "top": 376, + "em": 6, + "bottom": 309, + "img": 14, + "max": 18, + "middle": 20, + "interpolation": 2, + "mode": 2, + "bicubic": 2, + "#map_canvas": 2, + ".google": 2, + "maps": 2, + "button": 18, + "input": 336, + "select": 90, + "textarea": 76, + "margin": 424, + "*overflow": 3, + "visible": 8, + "normal": 18, + "inner": 37, + "padding": 174, + "type": 174, + "appearance": 6, + "cursor": 30, + "pointer": 12, + "label": 20, + "textfield": 2, + "search": 66, + "decoration": 33, + "cancel": 2, + "overflow": 21, + "@media": 2, + "print": 4, + "*": 2, + "important": 18, + "#000": 2, + "visited": 2, + "underline": 6, + "href": 28, + "attr": 4, + "abbr": 6, + "title": 10, + ".ir": 2, + "pre": 16, + "blockquote": 14, + "solid": 93, + "#999": 6, + "page": 6, + "break": 12, + "inside": 4, + "avoid": 6, + "thead": 38, + "group": 120, + "tr": 92, + "@page": 2, + "cm": 2, + "p": 14, + "h2": 14, + "h3": 14, + "orphans": 2, + "widows": 2, + "body": 3, + "family": 10, + "Helvetica": 6, + "Arial": 6, + "sans": 6, + "serif": 6, + "#333333": 26, + "#ffffff": 136, + "#0088cc": 24, + "#005580": 8, + ".img": 6, + "rounded": 2, + "radius": 534, + "polaroid": 2, + "#fff": 10, + "#ccc": 13, + "rgba": 409, + "circle": 18, + ".row": 126, + "left": 489, + "class*": 100, + "float": 84, + ".container": 32, + ".navbar": 332, + "static": 14, + "fixed": 36, + ".span12": 4, + ".span11": 4, + ".span10": 4, + ".span9": 4, + ".span8": 4, + ".span7": 4, + ".span6": 4, + ".span5": 4, + ".span4": 4, + ".span3": 4, + ".span2": 4, + ".span1": 4, + ".offset12": 6, + ".offset11": 6, + ".offset10": 6, + ".offset9": 6, + ".offset8": 6, + ".offset7": 6, + ".offset6": 6, + ".offset5": 6, + ".offset4": 6, + ".offset3": 6, + ".offset2": 6, + ".offset1": 6, + "fluid": 126, + "*margin": 70, + "first": 179, + "child": 301, + ".controls": 28, + "row": 20, + "+": 105, + "*width": 26, + ".pull": 16, + "right": 258, + ".lead": 2, + "weight": 28, + "small": 66, + "strong": 2, + "bold": 14, + "style": 21, + "italic": 4, + "cite": 2, + ".muted": 2, + "#999999": 50, + "a.muted": 4, + "#808080": 2, + ".text": 14, + "warning": 33, + "#c09853": 14, + "a.text": 16, + "#a47e3c": 4, + "error": 10, + "#b94a48": 20, + "#953b39": 6, + "info": 37, + "#3a87ad": 18, + "#2d6987": 6, + "success": 35, + "#468847": 18, + "#356635": 6, + "center": 17, + "h1": 11, + "h4": 20, + "h5": 6, + "h6": 6, + "inherit": 8, + "rendering": 2, + "optimizelegibility": 2, + ".page": 2, + "#eeeeee": 31, + "ul": 84, + "ol": 10, + "li": 205, + "ul.unstyled": 2, + "ol.unstyled": 2, + "list": 44, + "ul.inline": 4, + "ol.inline": 4, + "dl": 2, + "dt": 6, + "dd": 6, + ".dl": 12, + "horizontal": 60, + "hidden": 9, + "ellipsis": 2, + "white": 25, + "space": 23, + "nowrap": 14, + "hr": 2, + "data": 2, + "original": 2, + "help": 2, + "abbr.initialism": 2, + "transform": 4, + "uppercase": 4, + "blockquote.pull": 10, + "q": 4, + "address": 2, + "code": 6, + "Monaco": 2, + "Menlo": 2, + "Consolas": 2, + "monospace": 2, + "#d14": 2, + "#f7f7f9": 2, + "#e1e1e8": 2, + "word": 6, + "all": 10, + "wrap": 6, + "#f5f5f5": 26, + "pre.prettyprint": 2, + ".pre": 2, + "scrollable": 2, + "y": 2, + "scroll": 2, + ".label": 30, + ".badge": 30, + "empty": 7, + "a.label": 4, + "a.badge": 4, + "#f89406": 27, + "#c67605": 4, + "inverse": 110, + "#1a1a1a": 2, + ".btn": 506, + "mini": 34, + "collapse": 12, + "spacing": 3, + ".table": 180, + "th": 70, + "td": 66, + "#dddddd": 16, + "caption": 18, + "colgroup": 18, + "tbody": 68, + "condensed": 4, + "bordered": 76, + "separate": 4, + "*border": 8, + "topleft": 16, + "last": 118, + "topright": 16, + "tfoot": 12, + "bottomleft": 16, + "bottomright": 16, + "striped": 13, + "nth": 4, + "odd": 4, + "#f9f9f9": 12, + "cell": 2, + "td.span1": 2, + "th.span1": 2, + "td.span2": 2, + "th.span2": 2, + "td.span3": 2, + "th.span3": 2, + "td.span4": 2, + "th.span4": 2, + "td.span5": 2, + "th.span5": 2, + "td.span6": 2, + "th.span6": 2, + "td.span7": 2, + "th.span7": 2, + "td.span8": 2, + "th.span8": 2, + "td.span9": 2, + "th.span9": 2, + "td.span10": 2, + "th.span10": 2, + "td.span11": 2, + "th.span11": 2, + "td.span12": 2, + "th.span12": 2, + "tr.success": 4, + "#dff0d8": 6, + "tr.error": 4, + "#f2dede": 6, + "tr.warning": 4, + "#fcf8e3": 6, + "tr.info": 4, + "#d9edf7": 6, + "#d0e9c6": 2, + "#ebcccc": 2, + "#faf2cc": 2, + "#c4e3f3": 2, + "form": 38, + "fieldset": 2, + "legend": 6, + "#e5e5e5": 28, + ".uneditable": 80, + "#555555": 18, + "#cccccc": 18, + "inset": 132, + "transition": 36, + "linear": 204, + ".2s": 16, + "o": 48, + ".075": 12, + ".6": 6, + "multiple": 2, + "#fcfcfc": 2, + "allowed": 4, + "placeholder": 18, + ".radio": 26, + ".checkbox": 26, + ".radio.inline": 6, + ".checkbox.inline": 6, + "medium": 2, + "large": 40, + "xlarge": 2, + "xxlarge": 2, + "append": 120, + "prepend": 82, + "input.span12": 4, + "textarea.span12": 2, + "input.span11": 4, + "textarea.span11": 2, + "input.span10": 4, + "textarea.span10": 2, + "input.span9": 4, + "textarea.span9": 2, + "input.span8": 4, + "textarea.span8": 2, + "input.span7": 4, + "textarea.span7": 2, + "input.span6": 4, + "textarea.span6": 2, + "input.span5": 4, + "textarea.span5": 2, + "input.span4": 4, + "textarea.span4": 2, + "input.span3": 4, + "textarea.span3": 2, + "input.span2": 4, + "textarea.span2": 2, + "input.span1": 4, + "textarea.span1": 2, + "disabled": 36, + "readonly": 10, + ".control": 150, + "group.warning": 32, + ".help": 44, + "#dbc59e": 6, + ".add": 36, + "on": 36, + "group.error": 32, + "#d59392": 6, + "group.success": 32, + "#7aba7b": 6, + "group.info": 32, + "#7ab5d3": 6, + "invalid": 12, + "#ee5f5b": 18, + "#e9322d": 2, + "#f8b9b7": 6, + ".form": 132, + "actions": 10, + "#595959": 2, + ".dropdown": 126, + "menu": 42, + ".popover": 14, + "z": 12, + "index": 14, + "toggle": 84, + ".active": 86, + "#a9dba9": 2, + "#46a546": 2, + "prepend.input": 22, + "input.search": 2, + "query": 22, + ".search": 22, + "*padding": 36, + "image": 187, + "gradient": 175, + "#e6e6e6": 20, + "from": 40, + "to": 75, + "repeat": 66, + "x": 30, + "filter": 57, + "progid": 48, + "DXImageTransform.Microsoft.gradient": 48, + "startColorstr": 30, + "endColorstr": 30, + "GradientType": 30, + "#bfbfbf": 4, + "*background": 36, + "enabled": 18, + "false": 18, + "#b3b3b3": 2, + ".3em": 6, + ".2": 12, + ".05": 24, + ".btn.active": 8, + ".btn.disabled": 4, + "#d9d9d9": 4, + "s": 25, + ".15": 24, + "default": 12, + "opacity": 15, + "alpha": 7, + "class": 26, + "primary.active": 6, + "warning.active": 6, + "danger.active": 6, + "success.active": 6, + "info.active": 6, + "inverse.active": 6, + "primary": 14, + "#006dcc": 2, + "#0044cc": 20, + "#002a80": 2, + "primary.disabled": 2, + "#003bb3": 2, + "#003399": 2, + "#faa732": 3, + "#fbb450": 16, + "#ad6704": 2, + "warning.disabled": 2, + "#df8505": 2, + "danger": 21, + "#da4f49": 2, + "#bd362f": 20, + "#802420": 2, + "danger.disabled": 2, + "#a9302a": 2, + "#942a25": 2, + "#5bb75b": 2, + "#62c462": 16, + "#51a351": 20, + "#387038": 2, + "success.disabled": 2, + "#499249": 2, + "#408140": 2, + "#49afcd": 2, + "#5bc0de": 16, + "#2f96b4": 20, + "#1f6377": 2, + "info.disabled": 2, + "#2a85a0": 2, + "#24748c": 2, + "#363636": 2, + "#444444": 10, + "#222222": 32, + "#000000": 14, + "inverse.disabled": 2, + "#151515": 12, + "#080808": 2, + "button.btn": 4, + "button.btn.btn": 6, + ".btn.btn": 6, + "link": 28, + "url": 4, + "no": 2, + ".icon": 288, + ".nav": 308, + "pills": 28, + "submenu": 8, + "glass": 2, + "music": 2, + "envelope": 2, + "heart": 2, + "star": 4, + "user": 2, + "film": 2, + "ok": 6, + "remove": 6, + "zoom": 5, + "in": 10, + "out": 10, + "off": 4, + "signal": 2, + "cog": 2, + "trash": 2, + "home": 2, + "file": 2, + "time": 2, + "road": 2, + "download": 4, + "alt": 6, + "upload": 2, + "inbox": 2, + "play": 4, + "refresh": 2, + "lock": 2, + "flag": 2, + "headphones": 2, + "volume": 6, + "down": 12, + "up": 12, + "qrcode": 2, + "barcode": 2, + "tag": 2, + "tags": 2, + "book": 2, + "bookmark": 2, + "camera": 2, + "justify": 2, + "indent": 4, + "facetime": 2, + "picture": 2, + "pencil": 2, + "map": 2, + "marker": 2, + "tint": 2, + "edit": 2, + "share": 4, + "check": 2, + "move": 2, + "step": 4, + "backward": 6, + "fast": 4, + "pause": 2, + "stop": 32, + "forward": 6, + "eject": 2, + "chevron": 8, + "plus": 4, + "sign": 16, + "minus": 4, + "question": 2, + "screenshot": 2, + "ban": 2, + "arrow": 21, + "resize": 8, + "full": 2, + "asterisk": 2, + "exclamation": 2, + "gift": 2, + "leaf": 2, + "fire": 2, + "eye": 4, + "open": 4, + "close": 4, + "plane": 2, + "calendar": 2, + "random": 2, + "comment": 2, + "magnet": 2, + "retweet": 2, + "shopping": 2, + "cart": 2, + "folder": 4, + "hdd": 2, + "bullhorn": 2, + "bell": 2, + "certificate": 2, + "thumbs": 4, + "hand": 8, + "globe": 2, + "wrench": 2, + "tasks": 2, + "briefcase": 2, + "fullscreen": 2, + "toolbar": 8, + ".btn.large": 4, + ".large.dropdown": 2, + "group.open": 18, + ".125": 6, + ".btn.dropdown": 2, + "primary.dropdown": 2, + "warning.dropdown": 2, + "danger.dropdown": 2, + "success.dropdown": 2, + "info.dropdown": 2, + "inverse.dropdown": 2, + ".caret": 70, + ".dropup": 2, + ".divider": 8, + "tabs": 94, + "#ddd": 38, + "stacked": 24, + "tabs.nav": 12, + "pills.nav": 4, + ".dropdown.active": 4, + ".open": 8, + "li.dropdown.open.active": 14, + "li.dropdown.open": 14, + ".tabs": 62, + ".tabbable": 8, + ".tab": 8, + "below": 18, + "pane": 4, + ".pill": 6, + ".disabled": 22, + "*position": 2, + "*z": 2, + "#fafafa": 2, + "#f2f2f2": 22, + "#d4d4d4": 2, + "collapse.collapse": 2, + ".brand": 14, + "#777777": 12, + ".1": 24, + ".nav.pull": 2, + "navbar": 28, + "#ededed": 2, + "navbar.active": 8, + "navbar.disabled": 4, + "bar": 21, + "absolute": 8, + "li.dropdown": 12, + "li.dropdown.active": 8, + "menu.pull": 8, + "#1b1b1b": 2, + "#111111": 18, + "#252525": 2, + "#515151": 2, + "query.focused": 2, + "#0e0e0e": 2, + "#040404": 18, + ".breadcrumb": 8, + ".pagination": 78, + "span": 38, + "centered": 2, + ".pager": 34, + ".next": 4, + ".previous": 4, + ".thumbnails": 12, + ".thumbnail": 6, + "ease": 12, + "a.thumbnail": 4, + ".caption": 2, + ".alert": 34, + "#fbeed5": 2, + ".close": 2, + "#d6e9c6": 2, + "#eed3d7": 2, + "#bce8f1": 2, + "@": 8, + "keyframes": 8, + "progress": 15, + "stripes": 15, + "@keyframes": 2, + ".progress": 22, + "#f7f7f7": 3, + ".bar": 22, + "#0e90d2": 2, + "#149bdf": 11, + "#0480be": 10, + "deg": 20, + ".progress.active": 1, + "animation": 5, + "infinite": 5, + "#dd514c": 1, + "#c43c35": 5, + "danger.progress": 1, + "#5eb95e": 1, + "#57a957": 5, + "success.progress": 1, + "#4bb1cf": 1, + "#339bb9": 5, + "info.progress": 1, + "warning.progress": 1, + ".hero": 3, + "unit": 3, + "letter": 1, + ".media": 11, + "object": 1, + "heading": 1, + ".tooltip": 7, + "visibility": 1, + ".tooltip.in": 1, + ".tooltip.top": 2, + ".tooltip.right": 2, + ".tooltip.bottom": 2, + ".tooltip.left": 2, + "clip": 3, + ".popover.top": 3, + ".popover.right": 3, + ".popover.bottom": 3, + ".popover.left": 3, + "#ebebeb": 1, + ".arrow": 12, + ".modal": 5, + "backdrop": 2, + "backdrop.fade": 1, + "backdrop.fade.in": 1 + }, "Dart": { "class": 1, "Point": 7, @@ -11908,30 +12992,6 @@ "q": 1, "print": 1 }, - "Delphi": { - "program": 1, - "gmail": 1, - ";": 6, - "uses": 1, - "Forms": 1, - "Unit2": 1, - "in": 1, - "{": 2, - "Form2": 2, - "}": 2, - "R": 1, - "*.res": 1, - "begin": 1, - "Application.Initialize": 1, - "Application.MainFormOnTaskbar": 1, - "True": 1, - "Application.CreateForm": 1, - "(": 1, - "TForm2": 1, - ")": 1, - "Application.Run": 1, - "end.": 1 - }, "Diff": { "diff": 1, "-": 5, @@ -12480,11 +13540,11 @@ "egrep": 1 }, "Erlang": { - "SHEBANG#!escript": 2, - "%": 13, - "-": 88, - "*": 3, - "erlang": 1, + "SHEBANG#!escript": 3, + "%": 134, + "-": 262, + "*": 9, + "erlang": 5, "smp": 1, "enable": 1, "sname": 1, @@ -12492,43 +13552,43 @@ "mnesia": 1, "debug": 1, "verbose": 1, - "main": 3, - "(": 172, - "[": 46, + "main": 4, + "(": 236, + "[": 66, "String": 2, - "]": 41, - ")": 166, + "]": 61, + ")": 230, "try": 2, "N": 6, "list_to_integer": 1, "F": 16, "fac": 4, - "io": 3, - "format": 3, + "io": 5, + "format": 7, "catch": 2, - "_": 45, + "_": 52, "usage": 3, - "end": 2, - ";": 43, - ".": 28, - "halt": 1, + "end": 3, + ";": 56, + ".": 37, + "halt": 2, "export": 2, "main/1": 1, "For": 1, "each": 1, "header": 1, - "file": 3, + "file": 6, "it": 2, "scans": 1, "thru": 1, "all": 1, "records": 1, - "and": 4, + "and": 8, "create": 1, "helper": 1, "functions": 2, "Helper": 1, - "are": 1, + "are": 3, "setters": 1, "getters": 1, "fields": 4, @@ -12546,20 +13606,20 @@ "<->": 5, "hrl": 1, "relative": 1, - "to": 1, + "to": 2, "current": 1, "dir": 1, - "OutDir": 2, + "OutDir": 4, "ModuleName": 3, "HeaderComment": 2, "ModuleDeclaration": 2, - "+": 208, + "+": 214, "<": 1, "Src": 10, "format_src": 8, - "lists": 6, + "lists": 11, "sort": 1, - "flatten": 5, + "flatten": 6, "read": 2, "generate_type_default_function": 2, "write_file": 1, @@ -12568,22 +13628,22 @@ "HeaderFile": 4, "epp": 1, "parse_file": 1, - "of": 2, - "{": 90, - "ok": 22, + "of": 9, + "{": 109, + "ok": 34, "Tree": 4, - "}": 90, + "}": 109, "parse": 2, - "error": 2, + "error": 4, "Error": 4, "catched_error": 1, - "end.": 2, - "|": 15, + "end.": 3, + "|": 25, "T": 24, "when": 29, "length": 6, "Type": 3, - "A": 4, + "A": 5, "B": 4, "NSrc": 4, "_Type": 1, @@ -12597,7 +13657,7 @@ "if": 1, "generate_setter_getter_function": 5, "generate_type_function": 3, - "true": 1, + "true": 3, "generate_fields_function": 2, "generate_fields_atom_function": 2, "parse_field_name": 5, @@ -12616,7 +13676,7 @@ "parse_field": 6, "AccFields": 6, "AccParentFields": 6, - "case": 1, + "case": 3, "Field": 2, "PField": 2, "parse_field_atom": 4, @@ -12626,7 +13686,7 @@ "to_setter_getter_function": 5, "setter": 2, "getter": 2, - "This": 1, + "This": 2, "is": 1, "auto": 1, "generated": 1, @@ -12636,7 +13696,7 @@ "t": 1, "edit": 1, "record_utils": 1, - "compile": 1, + "compile": 2, "export_all": 1, "include": 1, "abstract_message": 21, @@ -12667,12 +13727,254 @@ "ParentProperty": 6, "is_atom": 2, "set": 13, - "Value": 33, + "Value": 35, "NewObj": 20, "Obj#abstract_message": 7, "Obj#async_message": 3, "NewParentObject": 2, - "undefined.": 1 + "undefined.": 1, + "Mode": 1, + "coding": 1, + "utf": 1, + "tab": 1, + "width": 1, + "c": 2, + "basic": 1, + "offset": 1, + "indent": 1, + "tabs": 1, + "mode": 2, + "BSD": 1, + "LICENSE": 1, + "Copyright": 1, + "Michael": 2, + "Truog": 2, + "": 1, + "at": 1, + "gmail": 1, + "dot": 1, + "com": 1, + "All": 2, + "rights": 1, + "reserved.": 1, + "Redistribution": 1, + "use": 2, + "in": 3, + "source": 2, + "binary": 2, + "forms": 1, + "with": 2, + "or": 3, + "without": 2, + "modification": 1, + "permitted": 1, + "provided": 2, + "that": 1, + "the": 9, + "following": 4, + "conditions": 3, + "met": 1, + "Redistributions": 2, + "code": 2, + "must": 3, + "retain": 1, + "above": 2, + "copyright": 2, + "notice": 2, + "this": 4, + "list": 2, + "disclaimer.": 1, + "form": 1, + "reproduce": 1, + "disclaimer": 1, + "documentation": 1, + "and/or": 1, + "other": 1, + "materials": 2, + "distribution.": 1, + "advertising": 1, + "mentioning": 1, + "features": 1, + "software": 3, + "display": 1, + "acknowledgment": 1, + "product": 1, + "includes": 1, + "developed": 1, + "by": 1, + "The": 1, + "name": 1, + "author": 2, + "may": 1, + "not": 1, + "be": 1, + "used": 1, + "endorse": 1, + "promote": 1, + "products": 1, + "derived": 1, + "from": 1, + "specific": 1, + "prior": 1, + "written": 1, + "permission": 1, + "THIS": 2, + "SOFTWARE": 2, + "IS": 1, + "PROVIDED": 1, + "BY": 1, + "THE": 5, + "COPYRIGHT": 2, + "HOLDERS": 1, + "AND": 4, + "CONTRIBUTORS": 2, + "ANY": 4, + "EXPRESS": 1, + "OR": 8, + "IMPLIED": 2, + "WARRANTIES": 2, + "INCLUDING": 3, + "BUT": 2, + "NOT": 2, + "LIMITED": 2, + "TO": 2, + "OF": 8, + "MERCHANTABILITY": 1, + "FITNESS": 1, + "FOR": 2, + "PARTICULAR": 1, + "PURPOSE": 1, + "ARE": 1, + "DISCLAIMED.": 1, + "IN": 3, + "NO": 1, + "EVENT": 1, + "SHALL": 1, + "OWNER": 1, + "BE": 1, + "LIABLE": 1, + "DIRECT": 1, + "INDIRECT": 1, + "INCIDENTAL": 1, + "SPECIAL": 1, + "EXEMPLARY": 1, + "CONSEQUENTIAL": 1, + "DAMAGES": 1, + "PROCUREMENT": 1, + "SUBSTITUTE": 1, + "GOODS": 1, + "SERVICES": 1, + "LOSS": 1, + "USE": 2, + "DATA": 1, + "PROFITS": 1, + "BUSINESS": 1, + "INTERRUPTION": 1, + "HOWEVER": 1, + "CAUSED": 1, + "ON": 1, + "THEORY": 1, + "LIABILITY": 2, + "WHETHER": 1, + "CONTRACT": 1, + "STRICT": 1, + "TORT": 1, + "NEGLIGENCE": 1, + "OTHERWISE": 1, + "ARISING": 1, + "WAY": 1, + "OUT": 1, + "EVEN": 1, + "IF": 1, + "ADVISED": 1, + "POSSIBILITY": 1, + "SUCH": 1, + "DAMAGE.": 1, + "sys": 2, + "RelToolConfig": 5, + "target_dir": 2, + "TargetDir": 14, + "overlay": 2, + "OverlayConfig": 4, + "consult": 1, + "Spec": 2, + "reltool": 2, + "get_target_spec": 1, + "make_dir": 1, + "eexist": 1, + "exit_code": 3, + "eval_target_spec": 1, + "root_dir": 1, + "process_overlay": 2, + "shell": 3, + "Command": 3, + "Arguments": 3, + "CommandSuffix": 2, + "reverse": 4, + "os": 1, + "cmd": 1, + "io_lib": 2, + "boot_rel_vsn": 2, + "Config": 2, + "_RelToolConfig": 1, + "rel": 2, + "_Name": 1, + "Ver": 1, + "proplists": 1, + "lookup": 1, + "Ver.": 1, + "minimal": 2, + "parsing": 1, + "for": 1, + "handling": 1, + "mustache": 11, + "syntax": 1, + "Body": 2, + "Context": 11, + "Result": 10, + "_Context": 1, + "KeyStr": 6, + "mustache_key": 4, + "C": 4, + "Rest": 10, + "Key": 2, + "list_to_existing_atom": 1, + "dict": 2, + "find": 1, + "support": 1, + "based": 1, + "on": 1, + "rebar": 1, + "overlays": 1, + "BootRelVsn": 2, + "OverlayVars": 2, + "from_list": 1, + "erts_vsn": 1, + "system_info": 1, + "version": 1, + "rel_vsn": 1, + "hostname": 1, + "net_adm": 1, + "localhost": 1, + "BaseDir": 7, + "get_cwd": 1, + "execute_overlay": 6, + "_Vars": 1, + "_BaseDir": 1, + "_TargetDir": 1, + "mkdir": 1, + "Out": 4, + "Vars": 7, + "filename": 3, + "join": 3, + "copy": 1, + "In": 2, + "InFile": 3, + "OutFile": 2, + "filelib": 1, + "is_file": 1, + "ExitCode": 2, + "flush": 1 }, "fish": { "#": 18, @@ -13138,6 +14440,491 @@ "xd": 1, ".subsections_via_symbols": 1 }, + "GLSL": { + "////": 4, + "High": 1, + "quality": 2, + "(": 386, + "Some": 1, + "browsers": 1, + "may": 1, + "freeze": 1, + "or": 1, + "crash": 1, + ")": 386, + "//#define": 10, + "HIGHQUALITY": 2, + "Medium": 1, + "Should": 1, + "be": 1, + "fine": 1, + "on": 3, + "all": 1, + "systems": 1, + "works": 1, + "Intel": 1, + "HD2000": 1, + "Win7": 1, + "but": 1, + "quite": 1, + "slow": 1, + "MEDIUMQUALITY": 2, + "Defaults": 1, + "REFLECTIONS": 3, + "#define": 13, + "SHADOWS": 5, + "GRASS": 3, + "SMALL_WAVES": 4, + "RAGGED_LEAVES": 5, + "DETAILED_NOISE": 3, + "LIGHT_AA": 3, + "//": 36, + "sample": 2, + "SSAA": 2, + "HEAVY_AA": 2, + "x2": 5, + "RG": 1, + "TONEMAP": 5, + "Configurations": 1, + "#ifdef": 14, + "#endif": 14, + "const": 18, + "float": 103, + "eps": 5, + "e": 4, + "-": 108, + ";": 353, + "PI": 3, + "vec3": 165, + "sunDir": 5, + "skyCol": 4, + "sandCol": 2, + "treeCol": 2, + "grassCol": 2, + "leavesCol": 4, + "leavesPos": 4, + "sunCol": 5, + "#else": 5, + "exposure": 1, + "Only": 1, + "used": 1, + "when": 1, + "tonemapping": 1, + "mod289": 4, + "x": 11, + "{": 61, + "return": 47, + "floor": 8, + "*": 115, + "/": 24, + "}": 61, + "vec4": 72, + "permute": 4, + "x*34.0": 1, + "+": 108, + "*x": 3, + "taylorInvSqrt": 2, + "r": 14, + "snoise": 7, + "v": 8, + "vec2": 26, + "C": 1, + "/6.0": 1, + "/3.0": 1, + "D": 1, + "i": 38, + "dot": 30, + "C.yyy": 2, + "x0": 7, + "C.xxx": 2, + "g": 2, + "step": 2, + "x0.yzx": 1, + "x0.xyz": 1, + "l": 1, + "i1": 2, + "min": 11, + "g.xyz": 2, + "l.zxy": 2, + "i2": 2, + "max": 9, + "x1": 4, + "*C.x": 2, + "/3": 1, + "C.y": 1, + "x3": 4, + "D.yyy": 1, + "D.y": 1, + "p": 26, + "i.z": 1, + "i1.z": 1, + "i2.z": 1, + "i.y": 1, + "i1.y": 1, + "i2.y": 1, + "i.x": 1, + "i1.x": 1, + "i2.x": 1, + "n_": 2, + "/7.0": 1, + "ns": 4, + "D.wyz": 1, + "D.xzx": 1, + "j": 4, + "ns.z": 3, + "mod": 2, + "*7": 1, + "x_": 3, + "y_": 2, + "N": 1, + "*ns.x": 2, + "ns.yyyy": 2, + "y": 2, + "h": 21, + "abs": 2, + "b0": 3, + "x.xy": 1, + "y.xy": 1, + "b1": 3, + "x.zw": 1, + "y.zw": 1, + "//vec4": 3, + "s0": 2, + "lessThan": 2, + "*2.0": 4, + "s1": 2, + "sh": 1, + "a0": 1, + "b0.xzyw": 1, + "s0.xzyw*sh.xxyy": 1, + "a1": 1, + "b1.xzyw": 1, + "s1.xzyw*sh.zzww": 1, + "p0": 5, + "a0.xy": 1, + "h.x": 1, + "p1": 5, + "a0.zw": 1, + "h.y": 1, + "p2": 5, + "a1.xy": 1, + "h.z": 1, + "p3": 5, + "a1.zw": 1, + "h.w": 1, + "//Normalise": 1, + "gradients": 1, + "norm": 1, + "norm.x": 1, + "norm.y": 1, + "norm.z": 1, + "norm.w": 1, + "m": 8, + "m*m": 1, + "fbm": 2, + "final": 5, + "waterHeight": 4, + "d": 10, + "length": 7, + "p.xz": 2, + "sin": 8, + "iGlobalTime": 7, + "Island": 1, + "waves": 3, + "p*0.5": 1, + "Other": 1, + "bump": 2, + "pos": 42, + "rayDir": 43, + "s": 23, + "Fade": 1, + "out": 1, + "to": 1, + "reduce": 1, + "aliasing": 1, + "dist": 7, + "<": 23, + "sqrt": 6, + "Calculate": 1, + "normal": 7, + "from": 2, + "heightmap": 1, + "pos.x": 1, + "iGlobalTime*0.5": 1, + "pos.z": 2, + "*0.7": 1, + "*s": 4, + "normalize": 14, + "e.xyy": 1, + "e.yxy": 1, + "intersectSphere": 2, + "rpos": 5, + "rdir": 3, + "rad": 2, + "op": 5, + "b": 5, + "det": 11, + "b*b": 2, + "rad*rad": 2, + "if": 29, + "t": 44, + "rdir*t": 1, + "intersectCylinder": 1, + "rdir2": 2, + "rdir.yz": 1, + "op.yz": 3, + "rpos.yz": 2, + "rdir2*t": 2, + "pos.yz": 2, + "intersectPlane": 3, + "rayPos": 38, + "n": 18, + "sign": 1, + "rotate": 5, + "theta": 6, + "c": 6, + "cos": 4, + "p.x": 2, + "p.z": 2, + "p.y": 1, + "impulse": 2, + "k": 8, + "by": 1, + "iq": 2, + "k*x": 1, + "exp": 2, + "grass": 2, + "Optimization": 1, + "Avoid": 1, + "noise": 1, + "too": 1, + "far": 1, + "away": 1, + "pos.y": 8, + "tree": 2, + "pos.y*0.03": 2, + "mat2": 2, + "m*pos.xy": 1, + "width": 2, + "clamp": 4, + "scene": 7, + "vtree": 4, + "vgrass": 2, + ".x": 4, + "eps.xyy": 1, + "eps.yxy": 1, + "eps.yyx": 1, + "plantsShadow": 2, + "Soft": 1, + "shadow": 4, + "taken": 1, + "for": 7, + "int": 7, + "rayDir*t": 2, + "res": 6, + "res.x": 3, + "k*res.x/t": 1, + "s*s*": 1, + "intersectWater": 2, + "rayPos.y": 1, + "rayDir.y": 1, + "intersectSand": 3, + "intersectTreasure": 2, + "intersectLeaf": 2, + "openAmount": 4, + "dir": 2, + "offset": 5, + "rayDir*res.w": 1, + "pos*0.8": 2, + "||": 3, + "res.w": 6, + "res2": 2, + "dir.xy": 1, + "dir.z": 1, + "rayDir*res2.w": 1, + "res2.w": 3, + "&&": 10, + "leaves": 7, + "e20": 3, + "sway": 5, + "fract": 1, + "upDownSway": 2, + "angleOffset": 3, + "Left": 1, + "right": 1, + "alpha": 3, + "Up": 1, + "down": 1, + "k*10.0": 1, + "p.xzy": 1, + ".xzy": 2, + "d.xzy": 1, + "Shift": 1, + "Intersect": 11, + "individual": 1, + "leaf": 1, + "res.xyz": 1, + "sand": 2, + "resSand": 2, + "//if": 1, + "resSand.w": 4, + "plants": 6, + "resLeaves": 3, + "resLeaves.w": 10, + "e7": 3, + "light": 5, + "sunDir*0.01": 2, + "col": 32, + "n.y": 3, + "lightLeaves": 3, + "ao": 5, + "sky": 5, + "res.y": 2, + "uvFact": 2, + "uv": 12, + "n.x": 1, + "tex": 6, + "texture2D": 6, + "iChannel0": 3, + ".rgb": 2, + "e8": 1, + "traceReflection": 2, + "resPlants": 2, + "resPlants.w": 6, + "resPlants.xyz": 2, + "pos.xz": 2, + "leavesPos.xz": 2, + ".r": 3, + "resLeaves.xyz": 2, + "trace": 2, + "resSand.xyz": 1, + "treasure": 1, + "chest": 1, + "resTreasure": 1, + "resTreasure.w": 4, + "resTreasure.xyz": 1, + "water": 1, + "resWater": 1, + "resWater.w": 4, + "ct": 2, + "fresnel": 2, + "pow": 3, + "trans": 2, + "reflDir": 3, + "reflect": 1, + "refl": 3, + "resWater.t": 1, + "mix": 2, + "camera": 8, + "px": 4, + "rd": 1, + "iResolution.yy": 1, + "iResolution.x/iResolution.y*0.5": 1, + "rd.x": 1, + "rd.y": 1, + "void": 5, + "main": 3, + "gl_FragCoord.xy": 7, + "*0.25": 4, + "*0.5": 1, + "Optimized": 1, + "Haarm": 1, + "Peter": 1, + "Duiker": 1, + "curve": 1, + "col*exposure": 1, + "x*": 2, + ".5": 1, + "gl_FragColor": 2, + "NUM_LIGHTS": 4, + "AMBIENT": 2, + "MAX_DIST": 3, + "MAX_DIST_SQUARED": 3, + "uniform": 7, + "lightColor": 3, + "[": 29, + "]": 29, + "varying": 3, + "fragmentNormal": 2, + "cameraVector": 2, + "lightVector": 4, + "initialize": 1, + "diffuse/specular": 1, + "lighting": 1, + "diffuse": 4, + "specular": 4, + "the": 1, + "fragment": 1, + "and": 2, + "direction": 1, + "cameraDir": 2, + "loop": 1, + "through": 1, + "each": 1, + "calculate": 1, + "distance": 1, + "between": 1, + "distFactor": 3, + "lightDir": 3, + "diffuseDot": 2, + "halfAngle": 2, + "specularColor": 2, + "specularDot": 2, + "sample.rgb": 1, + "sample.a": 1, + "#version": 1, + "kCoeff": 2, + "kCube": 2, + "uShift": 3, + "vShift": 3, + "chroma_red": 2, + "chroma_green": 2, + "chroma_blue": 2, + "bool": 1, + "apply_disto": 4, + "sampler2D": 1, + "input1": 4, + "adsk_input1_w": 4, + "adsk_input1_h": 3, + "adsk_input1_aspect": 1, + "adsk_input1_frameratio": 5, + "adsk_result_w": 3, + "adsk_result_h": 2, + "distortion_f": 3, + "f": 17, + "r*r": 1, + "inverse_f": 2, + "lut": 9, + "max_r": 2, + "incr": 2, + "lut_r": 5, + ".z": 5, + ".y": 2, + "aberrate": 4, + "chroma": 2, + "chromaticize_and_invert": 2, + "rgb_f": 5, + "px.x": 2, + "px.y": 2, + "uv.x": 11, + "uv.y": 7, + "*2": 2, + "uv.x*uv.x": 1, + "uv.y*uv.y": 1, + "else": 1, + "rgb_uvs": 12, + "rgb_f.rr": 1, + "rgb_f.gg": 1, + "rgb_f.bb": 1, + "sampled": 1, + "sampled.r": 1, + "sampled.g": 1, + ".g": 1, + "sampled.b": 1, + ".b": 1, + "gl_FragColor.rgba": 1, + "sampled.rgb": 1 + }, "Gosu": { "print": 4, "(": 54, @@ -21423,6 +23210,338 @@ "/": 2, "margin": 1 }, + "LFE": { + ";": 213, + "Copyright": 4, + "(": 217, + "c": 4, + ")": 231, + "Duncan": 4, + "McGreggor": 4, + "": 2, + "Licensed": 3, + "under": 9, + "the": 36, + "Apache": 3, + "License": 12, + "Version": 3, + "you": 3, + "may": 6, + "not": 5, + "use": 6, + "this": 3, + "file": 6, + "except": 3, + "in": 10, + "compliance": 3, + "with": 8, + "License.": 6, + "You": 3, + "obtain": 3, + "a": 8, + "copy": 3, + "of": 10, + "at": 4, + "http": 4, + "//www.apache.org/licenses/LICENSE": 3, + "-": 98, + "Unless": 3, + "required": 3, + "by": 4, + "applicable": 3, + "law": 3, + "or": 6, + "agreed": 3, + "to": 10, + "writing": 3, + "software": 3, + "distributed": 6, + "is": 5, + "on": 4, + "an": 5, + "BASIS": 3, + "WITHOUT": 3, + "WARRANTIES": 3, + "OR": 3, + "CONDITIONS": 3, + "OF": 3, + "ANY": 3, + "KIND": 3, + "either": 3, + "express": 3, + "implied.": 3, + "See": 3, + "for": 5, + "specific": 3, + "language": 3, + "governing": 3, + "permissions": 3, + "and": 7, + "limitations": 3, + "File": 4, + "church.lfe": 1, + "Author": 3, + "Purpose": 3, + "Demonstrating": 2, + "church": 20, + "numerals": 1, + "from": 2, + "lambda": 18, + "calculus": 1, + "The": 4, + "code": 2, + "below": 3, + "was": 1, + "used": 1, + "create": 4, + "section": 1, + "user": 1, + "guide": 1, + "here": 1, + "//lfe.github.io/user": 1, + "guide/recursion/5.html": 1, + "Here": 1, + "some": 2, + "example": 2, + "usage": 1, + "slurp": 2, + "five/0": 2, + "int2": 1, + "get": 21, + "defmodule": 2, + "export": 2, + "all": 1, + "defun": 20, + "zero": 2, + "s": 19, + "x": 12, + "one": 1, + "funcall": 23, + "two": 1, + "three": 1, + "four": 1, + "five": 1, + "int": 2, + "successor": 3, + "n": 4, + "+": 2, + "int1": 1, + "numeral": 8, + "#": 3, + "successor/1": 1, + "count": 7, + "limit": 4, + "cond": 1, + "/": 1, + "integer": 2, + "*": 6, + "Mode": 1, + "LFE": 4, + "Code": 1, + "Paradigms": 1, + "Artificial": 1, + "Intelligence": 1, + "Programming": 1, + "Peter": 1, + "Norvig": 1, + "gps1.lisp": 1, + "First": 1, + "version": 1, + "GPS": 1, + "General": 1, + "Problem": 1, + "Solver": 1, + "Converted": 1, + "Robert": 3, + "Virding": 3, + "Define": 1, + "macros": 1, + "global": 2, + "variable": 2, + "access.": 1, + "This": 2, + "hack": 1, + "very": 1, + "naughty": 1, + "defsyntax": 2, + "defvar": 2, + "[": 3, + "name": 8, + "val": 2, + "]": 3, + "let": 6, + "v": 3, + "put": 1, + "getvar": 3, + "solved": 1, + "gps": 1, + "state": 4, + "goals": 2, + "Set": 1, + "variables": 1, + "but": 1, + "existing": 1, + "*ops*": 1, + "*state*": 5, + "current": 1, + "list": 13, + "conditions.": 1, + "if": 1, + "every": 1, + "fun": 1, + "achieve": 1, + "op": 8, + "action": 3, + "setvar": 2, + "set": 1, + "difference": 1, + "del": 5, + "union": 1, + "add": 3, + "drive": 1, + "son": 2, + "school": 2, + "preconds": 4, + "shop": 6, + "installs": 1, + "battery": 1, + "car": 1, + "works": 1, + "make": 2, + "communication": 2, + "telephone": 1, + "have": 3, + "phone": 1, + "book": 1, + "give": 1, + "money": 3, + "has": 1, + "mnesia_demo.lfe": 1, + "A": 1, + "simple": 4, + "Mnesia": 2, + "demo": 2, + "LFE.": 1, + "contains": 1, + "using": 1, + "access": 1, + "tables.": 1, + "It": 1, + "shows": 2, + "how": 2, + "emp": 1, + "XXXX": 1, + "macro": 1, + "ETS": 1, + "match": 5, + "pattern": 1, + "together": 1, + "mnesia": 8, + "match_object": 1, + "specifications": 1, + "select": 1, + "Query": 2, + "List": 2, + "Comprehensions.": 1, + "mnesia_demo": 1, + "new": 2, + "by_place": 1, + "by_place_ms": 1, + "by_place_qlc": 2, + "defrecord": 1, + "person": 8, + "place": 7, + "job": 3, + "Start": 1, + "table": 2, + "we": 1, + "will": 1, + "memory": 1, + "only": 1, + "schema.": 1, + "start": 1, + "create_table": 1, + "attributes": 1, + "Initialise": 1, + "table.": 1, + "people": 1, + "spec": 1, + "p": 2, + "j": 2, + "when": 1, + "tuple": 1, + "transaction": 2, + "f": 3, + "Use": 1, + "Comprehensions": 1, + "records": 1, + "q": 2, + "qlc": 2, + "lc": 1, + "<": 1, + "e": 1, + "object.lfe": 1, + "OOP": 1, + "closures": 1, + "object": 16, + "system": 1, + "demonstrated": 1, + "do": 2, + "following": 2, + "objects": 2, + "call": 2, + "methods": 5, + "those": 1, + "which": 1, + "can": 1, + "other": 1, + "update": 1, + "instance": 2, + "Note": 1, + "however": 1, + "that": 1, + "his": 1, + "does": 1, + "demonstrate": 1, + "inheritance.": 1, + "To": 1, + "cd": 1, + "examples": 1, + "../bin/lfe": 1, + "pa": 1, + "../ebin": 1, + "Load": 1, + "fish": 6, + "class": 3, + "#Fun": 1, + "": 1, + "Execute": 1, + "basic": 1, + "species": 7, + "mommy": 3, + "move": 4, + "Carp": 1, + "swam": 1, + "feet": 1, + "ok": 1, + "id": 9, + "Now": 1, + "strictly": 1, + "necessary.": 1, + "When": 1, + "isn": 1, + "children": 10, + "formatted": 1, + "verb": 2, + "self": 6, + "distance": 2, + "erlang": 1, + "length": 1, + "method": 7, + "define": 1, + "info": 1, + "reproduce": 1 + }, "Literate CoffeeScript": { "The": 2, "**Scope**": 2, @@ -24173,6 +26292,29 @@ "c1": 4, "buf_c1_": 1 }, + "Makefile": { + "all": 1, + "hello": 4, + "main.o": 3, + "factorial.o": 3, + "hello.o": 3, + "g": 4, + "+": 8, + "-": 6, + "o": 1, + "main.cpp": 2, + "c": 3, + "factorial.cpp": 2, + "hello.cpp": 2, + "clean": 1, + "rm": 1, + "rf": 1, + "*o": 1, + "SHEBANG#!make": 1, + "%": 1, + "ls": 1, + "l": 1 + }, "Markdown": { "Tender": 1 }, @@ -29009,23 +31151,23 @@ "OpenCL": { "double": 3, "run_fftw": 1, - "(": 11, + "(": 18, "int": 3, - "n": 2, - "const": 2, - "float": 2, - "*": 4, - "x": 2, - "y": 2, - ")": 11, - "{": 2, + "n": 4, + "const": 4, + "float": 3, + "*": 5, + "x": 5, + "y": 4, + ")": 18, + "{": 4, "fftwf_plan": 1, "p1": 3, "fftwf_plan_dft_1d": 1, "fftwf_complex": 2, "FFTW_FORWARD": 1, "FFTW_ESTIMATE": 1, - ";": 9, + ";": 12, "nops": 3, "t": 4, "cl": 2, @@ -29033,13 +31175,30 @@ "for": 1, "op": 3, "<": 1, - "+": 2, + "+": 4, "fftwf_execute": 1, - "}": 2, + "}": 4, "-": 1, "/": 1, "fftwf_destroy_plan": 1, - "return": 1 + "return": 1, + "typedef": 1, + "foo_t": 3, + "#ifndef": 1, + "ZERO": 3, + "#define": 2, + "#endif": 1, + "FOO": 1, + "__kernel": 1, + "void": 1, + "foo": 1, + "__global": 1, + "__local": 1, + "uint": 1, + "barrier": 1, + "CLK_LOCAL_MEM_FENCE": 1, + "if": 1, + "*x": 1 }, "OpenEdge ABL": { "USING": 3, @@ -29274,24 +31433,48 @@ "say": 1, ".end": 1 }, + "Pascal": { + "program": 1, + "gmail": 1, + ";": 6, + "uses": 1, + "Forms": 1, + "Unit2": 1, + "in": 1, + "{": 2, + "Form2": 2, + "}": 2, + "R": 1, + "*.res": 1, + "begin": 1, + "Application.Initialize": 1, + "Application.MainFormOnTaskbar": 1, + "True": 1, + "Application.CreateForm": 1, + "(": 1, + "TForm2": 1, + ")": 1, + "Application.Run": 1, + "end.": 1 + }, "Perl": { "package": 14, "App": 131, "Ack": 136, - ";": 1149, - "use": 70, - "warnings": 15, - "strict": 15, - "File": 50, + ";": 1185, + "use": 76, + "warnings": 16, + "strict": 16, + "File": 54, "Next": 27, "Plugin": 2, "Basic": 10, "head1": 31, "NAME": 5, - "-": 843, + "-": 860, "A": 2, "container": 1, - "for": 76, + "for": 78, "functions": 2, "the": 131, "ack": 38, @@ -29302,11 +31485,11 @@ "our": 34, "COPYRIGHT": 6, "BEGIN": 7, - "{": 1092, - "}": 1105, + "{": 1121, + "}": 1134, "fh": 28, - "*STDOUT": 4, - "%": 77, + "*STDOUT": 6, + "%": 78, "types": 26, "type_wanted": 20, "mappings": 29, @@ -29316,9 +31499,9 @@ "dir_sep_chars": 10, "is_cygwin": 6, "is_windows": 12, - "Spec": 9, - "(": 891, - ")": 889, + "Spec": 13, + "(": 919, + ")": 917, "Glob": 4, "Getopt": 6, "Long": 6, @@ -29331,11 +31514,11 @@ "_sgbak": 2, "_build": 2, "actionscript": 2, - "[": 154, - "qw": 32, + "[": 159, + "qw": 35, "as": 33, "mxml": 2, - "]": 150, + "]": 155, "ada": 4, "adb": 2, "ads": 2, @@ -29348,7 +31531,7 @@ "q": 5, "Binary": 2, "files": 41, - "defined": 53, + "defined": 54, "by": 11, "Perl": 6, "T": 2, @@ -29378,17 +31561,17 @@ "xsl": 2, "xslt": 2, "ent": 2, - "while": 30, - "my": 395, - "type": 67, + "while": 31, + "my": 401, + "type": 69, "exts": 6, "each": 14, - "if": 266, + "if": 272, "ref": 33, "ext": 14, - "@": 36, + "@": 38, "push": 30, - "_": 100, + "_": 101, "mk": 2, "mak": 2, "not": 53, @@ -29399,7 +31582,7 @@ "eq": 31, "/MSWin32/": 2, "quotemeta": 5, - "catfile": 3, + "catfile": 4, "SYNOPSIS": 5, "If": 14, "you": 33, @@ -29432,9 +31615,9 @@ "and": 76, "returns": 4, "arguments.": 1, - "sub": 224, + "sub": 225, "@files": 12, - "ENV": 36, + "ENV": 40, "ACKRC": 2, "@dirs": 4, "HOME": 4, @@ -29445,21 +31628,21 @@ "GLOB_TILDE": 2, "filename": 68, "&&": 83, - "e": 19, + "e": 20, "open": 7, "or": 47, - "die": 37, + "die": 38, "@lines": 21, "/./": 2, - "/": 68, + "/": 69, "s*#/": 2, "<$fh>": 4, "chomp": 3, "close": 19, "s/": 22, - "+": 119, + "+": 120, "//": 9, - "return": 156, + "return": 157, "get_command_line_options": 4, "Gets": 3, "command": 13, @@ -29471,10 +31654,10 @@ "opt": 291, "pager": 19, "ACK_PAGER_COLOR": 7, - "||": 47, + "||": 49, "ACK_PAGER": 5, "getopt_specs": 6, - "m": 16, + "m": 17, "after_context": 16, "before_context": 18, "shift": 165, @@ -29487,7 +31670,7 @@ "ACK_COLOR_FILENAME": 5, "ACK_COLOR_LINENO": 4, "column": 4, - "#": 97, + "#": 99, "ignore": 7, "this": 18, "option": 7, @@ -29506,10 +31689,10 @@ "lines": 19, "l": 17, "regex": 28, - "n": 16, + "n": 19, "o": 17, - "output": 31, - "undef": 16, + "output": 36, + "undef": 17, "passthru": 9, "print0": 7, "Q": 7, @@ -29521,7 +31704,7 @@ "remove_dir_sep": 7, "delete": 10, "print_version_statement": 2, - "exit": 14, + "exit": 16, "show_help": 3, "@_": 41, "show_help_types": 2, @@ -29537,9 +31720,9 @@ "must": 5, "be": 30, "later": 2, - "exists": 18, + "exists": 19, "else": 53, - "qq": 16, + "qq": 18, "Unknown": 2, "unshift": 4, "@ARGV": 12, @@ -29549,28 +31732,28 @@ "filetypes_supported": 5, "parser": 12, "Parser": 4, - "new": 53, + "new": 55, "configure": 4, "getoptions": 4, "to_screen": 10, "defaults": 16, - "eval": 7, + "eval": 8, "Win32": 9, "Console": 2, "ANSI": 3, "key": 20, "value": 12, - "<": 14, + "<": 15, "join": 5, "map": 10, "@ret": 10, "from": 19, "warn": 22, - "..": 5, + "..": 7, "uniq": 4, "@uniq": 2, "sort": 8, - "a": 80, + "a": 81, "<=>": 2, "b": 6, "keys": 15, @@ -29587,7 +31770,7 @@ "bar": 3, "<--type-add>": 1, "xml=": 1, - ".": 119, + ".": 121, "Remove": 1, "them": 5, "add": 8, @@ -29609,7 +31792,7 @@ "creating": 2, "with": 26, "...": 2, - "unless": 34, + "unless": 39, "@exts": 8, ".//": 2, "Cannot": 4, @@ -29652,7 +31835,7 @@ "could": 2, "be.": 1, "For": 5, - "example": 4, + "example": 5, "": 1, "The": 20, "filetype": 1, @@ -29674,12 +31857,12 @@ "is_searchable": 8, "lc_basename": 8, "lc": 5, - "r": 10, + "r": 14, "B": 75, "header": 17, "SHEBANG#!#!": 2, "ruby": 3, - "|": 24, + "|": 28, "lua": 2, "erl": 2, "hp": 2, @@ -29707,7 +31890,7 @@ "nOo_/": 2, "_thpppt": 3, "_get_thpppt": 3, - "print": 32, + "print": 35, "_bar": 3, "<<": 6, "&": 22, @@ -29726,7 +31909,7 @@ "no": 21, "Print": 6, "between": 3, - "results": 7, + "results": 8, "different": 2, "files.": 6, "group": 2, @@ -29783,7 +31966,7 @@ "ignored": 6, "directories": 9, "unrestricted": 2, - "name": 38, + "name": 44, "Add/Remove": 2, "dirs": 2, "R": 2, @@ -29819,7 +32002,7 @@ "next": 9, "print_match_or_context": 13, "elsif": 10, - "last": 15, + "last": 17, "max": 12, "nmatches": 61, "show_filename": 35, @@ -29990,7 +32173,7 @@ "SEE": 3, "ALSO": 3, "": 1, - "SHEBANG#!perl": 4, + "SHEBANG#!perl": 5, "MAIN": 1, "main": 3, "env_is_usable": 3, @@ -30364,7 +32547,7 @@ "codesets": 1, "more": 2, "create": 2, - "tree": 1, + "tree": 2, "ideal": 1, "sending": 1, "": 1, @@ -30519,7 +32702,7 @@ "sort_sub": 4, "readdir": 1, "has_stat": 3, - "catdir": 1, + "catdir": 3, "closedir": 1, "": 1, "these": 1, @@ -30547,8 +32730,8 @@ "bless": 7, "could_be_binary": 4, "opened": 1, - "id": 1, - "*STDIN": 1, + "id": 6, + "*STDIN": 2, "size": 5, "_000": 1, "buffer": 9, @@ -30557,15 +32740,59 @@ "seek": 4, "readline": 1, "nexted": 3, + "CGI": 5, + "Fast": 3, + "XML": 2, + "Hash": 11, + "XS": 2, + "FindBin": 1, + "Bin": 3, + "#use": 1, + "lib": 2, + "_stop": 4, + "request": 11, + "SIG": 3, + "nginx": 2, + "external": 2, + "fcgi": 2, + "Ext_Request": 1, + "FCGI": 1, + "Request": 11, + "*STDERR": 1, + "int": 2, + "ARGV": 2, + "conv": 2, + "use_attr": 1, + "indent": 1, + "xml_decl": 1, + "tmpl_path": 2, + "tmpl": 5, + "data": 3, + "nick": 1, + "parent": 5, + "third_party": 1, + "artist_name": 2, + "venue": 2, + "event": 2, + "date": 2, + "zA": 1, + "Z0": 1, + "Content": 2, + "application/xml": 1, + "charset": 2, + "utf": 2, + "hash2xml": 1, + "text/html": 1, + "nError": 1, + "M": 1, + "system": 1, "Foo": 11, "Bar": 1, "@array": 1, "Plack": 25, - "Request": 10, "_001": 1, "HTTP": 16, "Headers": 8, - "Hash": 9, "MultiValue": 9, "Body": 2, "Upload": 2, @@ -30663,7 +32890,6 @@ "_make_upload": 2, "__END__": 2, "Portable": 2, - "request": 6, "PSGI": 6, "app_or_middleware": 1, "req": 28, @@ -30790,7 +33016,6 @@ "mounted.": 1, "hosted": 1, "mod_perl": 1, - "CGI": 2, "scripts": 1, "multiplexed": 1, "tools": 1, @@ -30949,12 +33174,12 @@ }, "PHP": { "<": 11, - "php": 8, + "php": 12, "namespace": 28, "Symfony": 24, "Component": 24, "Console": 17, - ";": 1382, + ";": 1383, "use": 23, "Input": 6, "InputInterface": 4, @@ -30975,7 +33200,7 @@ "FormatterHelper": 2, "DialogHelper": 2, "class": 21, - "Application": 2, + "Application": 3, "{": 974, "private": 24, "commands": 39, @@ -30991,11 +33216,11 @@ "public": 202, "function": 205, "__construct": 8, - "(": 2415, - ")": 2416, + "(": 2416, + ")": 2417, "this": 928, "-": 1271, - "true": 132, + "true": 133, "array": 296, "getDefaultHelperSet": 2, "getDefaultInputDefinition": 2, @@ -31005,12 +33230,12 @@ "command": 41, "add": 7, "}": 972, - "run": 3, + "run": 4, "input": 20, "null": 164, "output": 60, "if": 450, - "new": 73, + "new": 74, "try": 3, "statusCode": 14, "doRun": 2, @@ -31169,12 +33394,12 @@ "getFile": 2, "getLine": 2, "type": 62, - "file": 2, + "file": 3, "while": 6, "getPrevious": 1, "getSynopsis": 1, "protected": 59, - "defined": 2, + "defined": 5, "ansicon": 4, "getenv": 2, "preg_replace": 4, @@ -31245,14 +33470,14 @@ "array_merge": 32, "setServerParameter": 1, "getServerParameter": 1, - "default": 8, + "default": 9, "getHistory": 1, "getCookieJar": 1, "getCrawler": 1, "getResponse": 1, "getRequest": 1, "click": 1, - "link": 9, + "link": 10, "submit": 2, "getMethod": 6, "getUri": 8, @@ -31303,20 +33528,20 @@ "getParameters": 1, "getFiles": 3, "getServer": 1, - "": 2, + "": 3, "CakePHP": 6, "tm": 6, "Rapid": 2, "Development": 2, "Framework": 2, - "http": 12, + "http": 14, "cakephp": 4, "org": 10, - "Copyright": 4, + "Copyright": 5, "2005": 4, "2012": 4, "Cake": 7, - "Software": 4, + "Software": 5, "Foundation": 4, "Inc": 4, "cakefoundation": 4, @@ -31331,7 +33556,7 @@ "retain": 2, "the": 11, "above": 2, - "copyright": 4, + "copyright": 5, "notice": 2, "Project": 2, "package": 2, @@ -31341,8 +33566,8 @@ "0": 4, "2": 2, "9": 1, - "license": 4, - "www": 2, + "license": 6, + "www": 4, "opensource": 2, "licenses": 2, "mit": 2, @@ -31399,7 +33624,7 @@ "performing": 2, "specific": 1, "resource": 1, - "or": 7, + "or": 9, "resources": 1, "For": 2, "example": 2, @@ -31443,7 +33668,7 @@ "manipulate": 1, "aspects": 1, "created": 8, - "by": 1, + "by": 2, "Dispatcher": 1, "based": 2, "routing.": 1, @@ -31648,7 +33873,7 @@ "_scaffoldError": 1, "php_help": 1, "arg": 1, - "t": 25, + "t": 26, "php_permission": 1, "TRUE": 1, "php_eval": 1, @@ -31750,7 +33975,7 @@ "lowercase": 1, "User": 1, "is": 1, - "have": 1, + "have": 2, "at": 1, "least": 1, "primary": 3, @@ -31967,8 +34192,33 @@ "isUnique": 1, "is_bool": 1, "sql": 1, - "SHEBANG#!php": 2, - "echo": 2 + "SHEBANG#!php": 3, + "echo": 2, + "Yii": 3, + "console": 3, + "bootstrap": 1, + "yiiframework": 2, + "com": 2, + "c": 1, + "2008": 1, + "LLC": 1, + "YII_DEBUG": 2, + "define": 2, + "fcgi": 1, + "doesn": 1, + "STDIN": 3, + "fopen": 1, + "stdin": 1, + "r": 1, + "require": 3, + "__DIR__": 3, + "vendor": 2, + "yiisoft": 1, + "yii2": 1, + "yii": 2, + "autoload": 1, + "config": 3, + "application": 2 }, "PogoScript": { "httpism": 1, @@ -32445,18 +34695,18 @@ "L": 2 }, "Python": { - "from": 33, + "from": 34, "__future__": 2, - "import": 40, + "import": 47, "unicode_literals": 1, "copy": 1, - "sys": 1, + "sys": 2, "functools": 1, "update_wrapper": 2, "future_builtins": 1, - "zip": 3, + "zip": 8, "django.db.models.manager": 1, - "#": 10, + "#": 13, "Imported": 1, "to": 4, "register": 1, @@ -32465,13 +34715,13 @@ "django.conf": 1, "settings": 1, "django.core.exceptions": 1, - "(": 487, + "(": 719, "ObjectDoesNotExist": 2, "MultipleObjectsReturned": 2, "FieldError": 4, "ValidationError": 8, "NON_FIELD_ERRORS": 3, - ")": 498, + ")": 730, "django.core": 1, "validators": 1, "django.db.models.fields": 1, @@ -32501,7 +34751,7 @@ "get_model": 3, "django.utils.translation": 1, "ugettext_lazy": 1, - "as": 8, + "as": 11, "_": 5, "django.utils.functional": 1, "curry": 6, @@ -32513,8 +34763,8 @@ "capfirst": 6, "class": 14, "ModelBase": 4, - "type": 4, - "def": 59, + "type": 6, + "def": 68, "__new__": 2, "cls": 32, "name": 39, @@ -32524,41 +34774,41 @@ "super": 2, ".__new__": 1, "parents": 8, - "[": 62, - "b": 9, - "for": 49, - "in": 68, - "if": 140, + "[": 152, + "b": 11, + "for": 59, + "in": 79, + "if": 145, "isinstance": 11, - "]": 62, + "]": 152, "not": 64, - "return": 50, + "return": 57, "module": 6, "attrs.pop": 2, "new_class": 9, - "{": 24, - "}": 24, + "{": 25, + "}": 25, "attr_meta": 5, - "None": 84, + "None": 86, "abstract": 3, "getattr": 30, "False": 28, "meta": 12, - "else": 29, + "else": 30, "base_meta": 2, - "is": 28, + "is": 29, "model_module": 1, "sys.modules": 1, "new_class.__module__": 1, "kwargs": 9, "model_module.__name__.split": 1, - "-": 4, + "-": 30, "new_class.add_to_class": 7, "**kwargs": 9, "subclass_exception": 3, "tuple": 3, "x.DoesNotExist": 1, - "x": 4, + "x": 22, "hasattr": 11, "and": 35, "x._meta.abstract": 2, @@ -32584,7 +34834,7 @@ "attrs.items": 1, "new_fields": 2, "new_class._meta.local_fields": 3, - "+": 7, + "+": 37, "new_class._meta.local_many_to_many": 2, "new_class._meta.virtual_fields": 1, "field_names": 5, @@ -32592,7 +34842,7 @@ "f.name": 5, "f": 19, "base": 13, - "parent": 4, + "parent": 5, "parent._meta.abstract": 1, "parent._meta.fields": 1, "raise": 22, @@ -32617,7 +34867,7 @@ "attr_name": 3, "base._meta.module_name": 1, "auto_created": 1, - "True": 15, + "True": 20, "parent_link": 1, "new_class._meta.parents": 1, "copy.deepcopy": 2, @@ -32661,7 +34911,7 @@ "opts.order_with_respect_to.rel.to": 1, "cls.__doc__": 3, "cls.__name__": 1, - ".join": 2, + ".join": 3, "f.attname": 5, "opts.fields": 1, "cls.get_absolute_url": 3, @@ -32684,7 +34934,7 @@ "args": 8, "self._state": 1, "args_len": 2, - "len": 8, + "len": 9, "self._meta.fields": 5, "IndexError": 2, "fields_iter": 4, @@ -32700,7 +34950,7 @@ "KeyError": 3, "field.get_default": 3, "field.null": 1, - "prop": 4, + "prop": 5, "kwargs.keys": 2, "property": 2, "AttributeError": 1, @@ -32709,7 +34959,7 @@ "signals.post_init.send": 1, "instance": 5, "__repr__": 2, - "u": 3, + "u": 9, "unicode": 8, "UnicodeEncodeError": 1, "UnicodeDecodeError": 1, @@ -32725,7 +34975,7 @@ "__hash__": 1, "hash": 1, "__reduce__": 1, - "data": 9, + "data": 22, "self.__dict__": 1, "defers": 2, "self._deferred": 1, @@ -32784,10 +35034,10 @@ "._update": 1, "meta.order_with_respect_to": 2, "order_value": 2, - "*": 8, + "*": 33, ".count": 1, "self._order": 1, - "fields": 10, + "fields": 12, "update_pk": 3, "bool": 2, "meta.has_auto_field": 1, @@ -32812,7 +35062,7 @@ "strings_only": 1, "_get_next_or_previous_by_FIELD": 1, "self.pk": 6, - "op": 5, + "op": 6, "order": 5, "param": 3, "q": 4, @@ -32858,7 +35108,7 @@ "unique_togethers.append": 1, "model_class": 11, "unique_together": 2, - "check": 3, + "check": 4, "break": 2, "unique_checks.append": 2, "fields_with_class": 2, @@ -32875,7 +35125,7 @@ "lookup_kwargs": 8, "self._meta.get_field": 1, "lookup_value": 3, - "str": 1, + "str": 2, "lookup_kwargs.keys": 1, "model_class._default_manager.filter": 2, "*lookup_kwargs": 2, @@ -32908,7 +35158,7 @@ "lambda": 1, "full_clean": 1, "self.clean_fields": 1, - "e": 7, + "e": 13, "e.update_error_dict": 3, "self.clean": 1, "errors.keys": 1, @@ -32927,7 +35177,7 @@ "ordered_obj._meta.order_with_respect_to.rel.field_name": 2, "order_name": 4, "ordered_obj._meta.order_with_respect_to.name": 2, - "i": 2, + "i": 7, "j": 2, "enumerate": 1, "ordered_obj.objects.filter": 2, @@ -32964,8 +35214,8 @@ "decorate": 2, "based": 1, "views": 1, - "the": 4, - "of": 2, + "the": 5, + "of": 3, "as_view": 1, ".": 1, "However": 1, @@ -32989,7 +35239,7 @@ "view.methods": 1, "cls.methods": 1, "MethodViewType": 2, - "d": 4, + "d": 5, "rv": 2, "type.__new__": 1, "rv.methods": 2, @@ -33023,14 +35273,14 @@ "index": 1, "number": 1, "cpp_type": 1, - "label": 1, + "label": 18, "has_default_value": 1, "default_value": 1, "message_type": 1, "enum_type": 1, "is_extension": 1, "extension_scope": 1, - "options": 2, + "options": 3, "extensions": 1, "nested_types": 1, "enum_types": 1, @@ -33042,8 +35292,206 @@ "Person": 1, "_message.Message": 1, "_reflection.GeneratedProtocolMessageType": 1, - "SHEBANG#!python": 2, - "print": 1, + "SHEBANG#!python": 4, + "print": 39, + "os": 1, + "main": 4, + "usage": 3, + "string": 1, + "command": 4, + "sys.argv": 2, + "<": 1, + "sys.exit": 1, + "printDelimiter": 4, + "get": 1, + "a": 2, + "list": 1, + "git": 1, + "directories": 1, + "specified": 1, + "gitDirectories": 2, + "getSubdirectories": 2, + "isGitDirectory": 2, + "gitDirectory": 2, + "os.chdir": 1, + "os.getcwd": 1, + "os.system": 1, + "directory": 9, + "filter": 3, + "os.path.abspath": 1, + "subdirectories": 3, + "os.walk": 1, + ".next": 1, + "os.path.isdir": 1, + "__name__": 2, + "argparse": 1, + "matplotlib.pyplot": 1, + "pl": 1, + "numpy": 1, + "np": 1, + "scipy.optimize": 1, + "prettytable": 1, + "PrettyTable": 6, + "__docformat__": 1, + "S": 4, + "phif": 7, + "U": 10, + "/": 23, + "_parse_args": 2, + "V": 12, + "np.genfromtxt": 8, + "delimiter": 8, + "t": 8, + "U_err": 7, + "offset": 13, + "np.mean": 1, + "np.linspace": 9, + "min": 10, + "max": 11, + "y": 10, + "np.ones": 11, + "x.size": 2, + "pl.plot": 9, + "**6": 6, + ".format": 11, + "pl.errorbar": 8, + "yerr": 8, + "linestyle": 8, + "marker": 4, + "pl.grid": 5, + "pl.legend": 5, + "loc": 5, + "pl.title": 5, + "pl.xlabel": 5, + "ur": 11, + "pl.ylabel": 5, + "pl.savefig": 5, + "pl.clf": 5, + "glanz": 13, + "matt": 13, + "schwarz": 13, + "weiss": 13, + "T0": 1, + "T0_err": 2, + "glanz_phi": 4, + "matt_phi": 4, + "schwarz_phi": 4, + "weiss_phi": 4, + "T_err": 7, + "sigma": 4, + "boltzmann": 12, + "T": 6, + "epsilon": 7, + "T**4": 1, + "glanz_popt": 3, + "glanz_pconv": 1, + "op.curve_fit": 6, + "matt_popt": 3, + "matt_pconv": 1, + "schwarz_popt": 3, + "schwarz_pconv": 1, + "weiss_popt": 3, + "weiss_pconv": 1, + "glanz_x": 3, + "glanz_y": 2, + "*glanz_popt": 1, + "color": 8, + "matt_x": 3, + "matt_y": 2, + "*matt_popt": 1, + "schwarz_x": 3, + "schwarz_y": 2, + "*schwarz_popt": 1, + "weiss_x": 3, + "weiss_y": 2, + "*weiss_popt": 1, + "np.sqrt": 17, + "glanz_pconv.diagonal": 2, + "matt_pconv.diagonal": 2, + "schwarz_pconv.diagonal": 2, + "weiss_pconv.diagonal": 2, + "xerr": 6, + "U_err/S": 4, + "header": 5, + "glanz_table": 2, + "row": 10, + ".size": 4, + "*T_err": 4, + "glanz_phi.size": 1, + "*U_err/S": 4, + "glanz_table.add_row": 1, + "matt_table": 2, + "matt_phi.size": 1, + "matt_table.add_row": 1, + "schwarz_table": 2, + "schwarz_phi.size": 1, + "schwarz_table.add_row": 1, + "weiss_table": 2, + "weiss_phi.size": 1, + "weiss_table.add_row": 1, + "T0**4": 1, + "phi": 5, + "c": 3, + "a*x": 1, + "dx": 6, + "d**": 2, + "dy": 4, + "dx_err": 3, + "np.abs": 1, + "dy_err": 2, + "popt": 5, + "pconv": 2, + "*popt": 2, + "pconv.diagonal": 3, + "table": 2, + "table.align": 1, + "dy.size": 1, + "*dy_err": 1, + "table.add_row": 1, + "U1": 3, + "I1": 3, + "U2": 2, + "I_err": 2, + "p": 1, + "R": 1, + "R_err": 2, + "/I1": 1, + "**2": 2, + "U1/I1**2": 1, + "phi_err": 3, + "alpha": 2, + "beta": 1, + "R0": 6, + "R0_err": 2, + "alpha*R0": 2, + "*np.sqrt": 6, + "*beta*R": 5, + "alpha**2*R0": 5, + "*beta*R0": 7, + "*beta*R0*T0": 2, + "epsilon_err": 2, + "f1": 1, + "f2": 1, + "f3": 1, + "alpha**2": 1, + "*beta": 1, + "*beta*T0": 1, + "*beta*R0**2": 1, + "f1**2": 1, + "f2**2": 1, + "f3**2": 1, + "parser": 1, + "argparse.ArgumentParser": 1, + "description": 1, + "#parser.add_argument": 3, + "metavar": 1, + "nargs": 1, + "help": 2, + "dest": 1, + "default": 1, + "action": 1, + "version": 6, + "parser.parse_args": 1, "absolute_import": 1, "division": 1, "with_statement": 1, @@ -33117,7 +35565,6 @@ "start_line": 1, "method": 5, "uri": 5, - "version": 5, "start_line.split": 1, "version.startswith": 1, "headers": 5, @@ -33203,15 +35650,60 @@ "socket.EAI_NONAME": 1 }, "R": { + "SHEBANG#!Rscript": 1, + "ParseDates": 2, + "<": 12, + "-": 12, + "function": 3, + "(": 28, + "lines": 4, + ")": 28, + "{": 3, + "dates": 3, + "matrix": 2, + "unlist": 2, + "strsplit": 2, + "ncol": 2, + "byrow": 2, + "TRUE": 3, + "days": 2, + "[": 3, + "]": 3, + "times": 2, + "hours": 2, + "all.days": 2, + "c": 2, + "all.hours": 2, + "data.frame": 1, + "Day": 2, + "factor": 2, + "levels": 2, + "Hour": 2, + "}": 3, + "Main": 2, + "system": 1, + "intern": 1, + "punchcard": 4, + "as.data.frame": 1, + "table": 1, + "ggplot2": 6, + "ggplot": 1, + "aes": 2, + "y": 1, + "x": 1, + "+": 2, + "geom_point": 1, + "size": 1, + "Freq": 1, + "scale_size": 1, + "range": 1, + "ggsave": 1, + "filename": 1, + "plot": 1, + "width": 1, + "height": 1, "hello": 2, - "<": 1, - "-": 1, - "function": 1, - "(": 3, - ")": 3, - "{": 1, - "print": 1, - "}": 1 + "print": 1 }, "Racket": { ";": 3, @@ -34890,22 +37382,27 @@ "port2.recv": 1 }, "Sass": { - "blue": 4, - "#3bbfce": 1, - "margin": 4, - "px": 1, + "blue": 7, + "#3bbfce": 2, + ";": 6, + "margin": 8, + "px": 3, + ".content_navigation": 1, + "{": 2, + "color": 4, + "}": 2, + ".border": 2, + "padding": 2, + "/": 4, + "border": 3, + "solid": 1, ".content": 1, "-": 3, "navigation": 1, - "border": 2, - "color": 3, "darken": 1, "(": 1, "%": 1, - ")": 1, - ".border": 1, - "padding": 1, - "/": 2 + ")": 1 }, "Scala": { "SHEBANG#!sh": 2, @@ -35311,24 +37808,24 @@ "Shell": { "SHEBANG#!bash": 8, "typeset": 5, - "-": 364, - "i": 1, + "-": 391, + "i": 2, "n": 22, "bottles": 6, "no": 16, "while": 3, - "[": 84, - "]": 84, + "[": 85, + "]": 85, "do": 8, - "echo": 69, + "echo": 71, "case": 9, "{": 63, "}": 61, "in": 25, ")": 154, "%": 5, - "s": 13, - ";": 135, + "s": 14, + ";": 138, "esac": 7, "done": 8, "exit": 10, @@ -35340,12 +37837,12 @@ "export": 25, "SCREENDIR": 2, "fi": 34, - "PATH": 12, - "/usr/local/bin": 4, - "/usr/local/sbin": 4, + "PATH": 14, + "/usr/local/bin": 6, + "/usr/local/sbin": 6, "/usr/xpg4/bin": 4, - "/usr/sbin": 4, - "/usr/bin": 6, + "/usr/sbin": 6, + "/usr/bin": 8, "/usr/sfw/bin": 4, "/usr/ccs/bin": 4, "/usr/openwin/bin": 4, @@ -35367,8 +37864,8 @@ "actually": 2, "DISPLAY": 2, "r": 17, - "&&": 56, - ".": 4, + "&&": 65, + ".": 5, "function": 6, "ls": 6, "command": 5, @@ -35378,7 +37875,7 @@ "long": 2, "format...": 2, "ll": 2, - "|": 16, + "|": 17, "less": 2, "XF": 2, "pipe": 2, @@ -35392,7 +37889,7 @@ "extglob": 2, "progcomp": 2, "complete": 82, - "f": 65, + "f": 68, "X": 54, "bunzip2": 2, "bzcat": 2, @@ -35468,7 +37965,7 @@ "opera": 2, "w3m": 2, "galeon": 2, - "curl": 6, + "curl": 8, "dillo": 2, "elinks": 2, "links": 2, @@ -35493,7 +37990,7 @@ "disown": 2, "other": 2, "job": 3, - "v": 9, + "v": 11, "readonly": 4, "unset": 10, "and": 5, @@ -35504,7 +38001,7 @@ "helptopic": 2, "help": 5, "helptopics": 2, - "a": 11, + "a": 12, "unalias": 4, "aliases": 2, "binding": 2, @@ -35524,7 +38021,7 @@ "on": 4, "d": 9, "pushd": 2, - "cd": 6, + "cd": 11, "rmdir": 2, "Make": 2, "directory": 5, @@ -35543,7 +38040,7 @@ "as": 2, "bash...": 2, "quit": 2, - "q": 6, + "q": 8, "even": 3, "shorter": 2, "D": 2, @@ -35570,7 +38067,7 @@ "path": 13, "/opt/local/bin": 2, "/opt/local/sbin": 2, - "/bin": 2, + "/bin": 4, "prompt": 2, "history": 18, "endif": 2, @@ -35631,9 +38128,64 @@ "fpath": 6, "HOME/.zsh/func": 2, "U": 2, + "docker": 1, + "version": 12, + "from": 1, + "ubuntu": 1, + "maintainer": 1, + "Solomon": 1, + "Hykes": 1, + "": 1, + "run": 13, + "apt": 6, + "get": 6, + "install": 8, + "y": 5, + "git": 16, + "https": 2, + "//go.googlecode.com/files/go1.1.1.linux": 1, + "amd64.tar.gz": 1, + "tar": 1, + "C": 1, + "/usr/local": 1, + "xz": 1, + "env": 4, + "/usr/local/go/bin": 2, + "/sbin": 2, + "GOPATH": 1, + "/go": 1, + "CGO_ENABLED": 1, + "/tmp": 1, + "t.go": 1, + "go": 2, + "test": 1, + "PKG": 12, + "github.com/kr/pty": 1, + "REV": 6, + "c699": 1, + "clone": 5, + "http": 3, + "//": 3, + "/go/src/": 6, + "checkout": 3, + "github.com/gorilla/context/": 1, + "d61e5": 1, + "github.com/gorilla/mux/": 1, + "b36453141c": 1, + "iptables": 1, + "/etc/apt/sources.list": 1, + "update": 2, + "lxc": 1, + "aufs": 1, + "tools": 1, + "add": 1, + "/go/src/github.com/dotcloud/docker": 1, + "/go/src/github.com/dotcloud/docker/docker": 1, + "ldflags": 1, + "/go/bin": 1, + "cmd": 1, "pkgname": 1, "stud": 4, - "git": 9, "pkgver": 1, "pkgrel": 1, "pkgdesc": 1, @@ -35649,7 +38201,6 @@ "provides": 1, "conflicts": 1, "_gitroot": 1, - "https": 1, "//github.com/bumptech/stud.git": 1, "_gitname": 1, "build": 2, @@ -35657,14 +38208,12 @@ "pull": 3, "origin": 1, "else": 10, - "clone": 2, "rm": 2, "rf": 1, "package": 1, "PREFIX": 1, "/usr": 1, "DESTDIR": 1, - "install": 2, "Dm755": 1, "init.stud": 1, "mkdir": 2, @@ -35733,7 +38282,6 @@ "rbenv": 2, "versions": 1, "bare": 1, - "version": 11, "&": 5, "prefix": 1, "/dev/null": 6, @@ -35915,7 +38463,6 @@ "build.properties": 1, "an": 1, "property": 1, - "update": 1, "disk.": 1, "That": 1, "scalacOptions": 3, @@ -35995,6 +38542,131 @@ "foodforthought.jpg": 1, "name##*fo": 1 }, + "Slash": { + "<%>": 1, + "class": 11, + "Env": 1, + "def": 18, + "init": 4, + "memory": 3, + "ptr": 9, + "0": 3, + "ptr=": 1, + "current_value": 5, + "current_value=": 1, + "value": 1, + "AST": 4, + "Next": 1, + "eval": 10, + "env": 16, + "Prev": 1, + "Inc": 1, + "Dec": 1, + "Output": 1, + "print": 1, + "char": 5, + "Input": 1, + "Sequence": 2, + "nodes": 6, + "for": 2, + "node": 2, + "in": 2, + "Loop": 1, + "seq": 4, + "while": 1, + "Parser": 1, + "str": 2, + "chars": 2, + "split": 1, + "parse": 1, + "stack": 3, + "_parse_char": 2, + "if": 1, + "length": 1, + "1": 1, + "throw": 1, + "SyntaxError": 1, + "new": 2, + "unexpected": 2, + "end": 1, + "of": 1, + "input": 1, + "last": 1, + "switch": 1, + "<": 1, + "+": 1, + "-": 1, + ".": 1, + "[": 1, + "]": 1, + ")": 7, + ";": 6, + "}": 3, + "@stack.pop": 1, + "_add": 1, + "(": 6, + "Loop.new": 1, + "Sequence.new": 1, + "src": 2, + "File.read": 1, + "ARGV.first": 1, + "ast": 1, + "Parser.new": 1, + ".parse": 1, + "ast.eval": 1, + "Env.new": 1 + }, + "Squirrel": { + "//example": 1, + "from": 1, + "http": 1, + "//www.squirrel": 1, + "-": 1, + "lang.org/#documentation": 1, + "local": 3, + "table": 1, + "{": 10, + "a": 2, + "subtable": 1, + "array": 3, + "[": 3, + "]": 3, + "}": 10, + "+": 2, + "b": 1, + ";": 15, + "foreach": 1, + "(": 10, + "i": 1, + "val": 2, + "in": 1, + ")": 10, + "print": 2, + "typeof": 1, + "/////////////////////////////////////////////": 1, + "class": 2, + "Entity": 3, + "constructor": 2, + "etype": 2, + "entityname": 4, + "name": 2, + "type": 2, + "x": 2, + "y": 2, + "z": 2, + "null": 2, + "function": 2, + "MoveTo": 1, + "newx": 2, + "newy": 2, + "newz": 2, + "Player": 2, + "extends": 1, + "base.constructor": 1, + "DoDomething": 1, + "newplayer": 1, + "newplayer.MoveTo": 1 + }, "Standard ML": { "signature": 2, "LAZY_BASE": 3, @@ -36517,17 +39189,17 @@ "Animal": 4, "{": 9, "constructor": 3, - "(": 17, + "(": 18, "public": 1, "name": 5, - ")": 17, + ")": 18, "}": 9, "move": 3, "meters": 2, "alert": 3, "this.name": 1, "+": 3, - ";": 7, + ";": 8, "Snake": 2, "extends": 2, "super": 2, @@ -37213,6 +39885,89 @@ "Boolean": 1, "True": 1 }, + "Volt": { + "module": 1, + "main": 2, + ";": 53, + "import": 7, + "core.stdc.stdio": 1, + "core.stdc.stdlib": 1, + "watt.process": 1, + "watt.path": 1, + "results": 1, + "list": 1, + "cmd": 1, + "int": 8, + "(": 37, + ")": 37, + "{": 12, + "auto": 6, + "cmdGroup": 2, + "new": 3, + "CmdGroup": 1, + "bool": 4, + "printOk": 2, + "true": 4, + "printImprovments": 2, + "printFailing": 2, + "printRegressions": 2, + "string": 1, + "compiler": 3, + "getEnv": 1, + "if": 7, + "is": 2, + "null": 3, + "printf": 6, + ".ptr": 14, + "return": 2, + "-": 3, + "}": 12, + "///": 1, + "@todo": 1, + "Scan": 1, + "for": 4, + "files": 1, + "tests": 2, + "testList": 1, + "total": 5, + "passed": 5, + "failed": 5, + "improved": 3, + "regressed": 6, + "rets": 5, + "Result": 2, + "[": 6, + "]": 6, + "tests.length": 3, + "size_t": 3, + "i": 14, + "<": 3, + "+": 14, + ".runTest": 1, + "cmdGroup.waitAll": 1, + "ret": 1, + "ret.ok": 1, + "cast": 5, + "ret.hasPassed": 4, + "&&": 2, + "ret.test.ptr": 4, + "ret.msg.ptr": 4, + "else": 3, + "fflush": 2, + "stdout": 1, + "xml": 8, + "fopen": 1, + "fprintf": 2, + "rets.length": 1, + ".xmlLog": 1, + "fclose": 1, + "rate": 2, + "float": 2, + "/": 1, + "*": 1, + "f": 1, + "double": 1 + }, "wisp": { ";": 199, "#": 2, @@ -37640,6 +40395,22 @@ "input": 1, "text": 1 }, + "XC": { + "int": 2, + "main": 1, + "(": 1, + ")": 1, + "{": 2, + "x": 3, + ";": 4, + "chan": 1, + "c": 3, + "par": 1, + "<:>": 1, + "0": 1, + "}": 2, + "return": 1 + }, "XML": { "": 3, "version=": 4, @@ -38756,22 +41527,26 @@ "Arduino": 20, "AutoHotkey": 3, "Awk": 544, - "C": 58732, + "Bluespec": 1298, + "C": 58858, "C++": 21480, "Ceylon": 50, + "COBOL": 90, "CoffeeScript": 2951, + "Common Lisp": 103, "Coq": 18259, + "CSS": 43867, "Dart": 68, - "Delphi": 30, "Diff": 16, "Ecl": 281, "edn": 227, "Elm": 628, "Emacs Lisp": 1756, - "Erlang": 1861, + "Erlang": 2928, "fish": 636, "Forth": 1516, "GAS": 133, + "GLSL": 3766, "Gosu": 413, "Groovy": 69, "Groovy Server Pages": 91, @@ -38786,12 +41561,14 @@ "Kotlin": 155, "Lasso": 9849, "Less": 39, + "LFE": 1711, "Literate CoffeeScript": 275, "LiveScript": 123, "Logos": 93, "Logtalk": 36, "Lua": 724, "M": 23373, + "Makefile": 50, "Markdown": 1, "Matlab": 11787, "Max": 136, @@ -38806,41 +41583,46 @@ "OCaml": 382, "Omgrofl": 57, "Opa": 28, - "OpenCL": 88, + "OpenCL": 144, "OpenEdge ABL": 762, "Parrot Assembly": 6, "Parrot Internal Representation": 5, - "Perl": 17113, - "PHP": 20647, + "Pascal": 30, + "Perl": 17497, + "PHP": 20724, "PogoScript": 250, "PowerShell": 12, "Processing": 74, "Prolog": 4040, - "Python": 4088, - "R": 14, + "Python": 5715, + "R": 175, "Racket": 360, "Ragel in Ruby Host": 593, "Rebol": 11, "Ruby": 3854, "Rust": 3566, - "Sass": 28, + "Sass": 56, "Scala": 420, "Scheme": 3478, "Scilab": 69, "SCSS": 39, - "Shell": 3542, + "Shell": 3744, + "Slash": 187, + "Squirrel": 130, "Standard ML": 243, "SuperCollider": 268, "Tea": 3, "TeX": 1155, "Turing": 44, "TXL": 213, - "TypeScript": 106, + "TypeScript": 109, "Verilog": 3778, "VHDL": 42, "VimL": 20, "Visual Basic": 345, + "Volt": 388, "wisp": 1363, + "XC": 24, "XML": 5622, "XProc": 22, "XQuery": 801, @@ -38856,22 +41638,26 @@ "Arduino": 1, "AutoHotkey": 1, "Awk": 1, - "C": 24, + "Bluespec": 2, + "C": 26, "C++": 20, "Ceylon": 1, + "COBOL": 4, "CoffeeScript": 9, + "Common Lisp": 1, "Coq": 12, + "CSS": 2, "Dart": 1, - "Delphi": 1, "Diff": 1, "Ecl": 1, "edn": 1, "Elm": 3, "Emacs Lisp": 2, - "Erlang": 4, + "Erlang": 5, "fish": 3, "Forth": 7, "GAS": 1, + "GLSL": 3, "Gosu": 5, "Groovy": 2, "Groovy Server Pages": 4, @@ -38886,12 +41672,14 @@ "Kotlin": 1, "Lasso": 4, "Less": 1, + "LFE": 4, "Literate CoffeeScript": 1, "LiveScript": 1, "Logos": 1, "Logtalk": 1, "Lua": 3, "M": 28, + "Makefile": 2, "Markdown": 1, "Matlab": 37, "Max": 1, @@ -38906,29 +41694,32 @@ "OCaml": 2, "Omgrofl": 1, "Opa": 2, - "OpenCL": 1, + "OpenCL": 2, "OpenEdge ABL": 5, "Parrot Assembly": 1, "Parrot Internal Representation": 1, - "Perl": 13, - "PHP": 8, + "Pascal": 1, + "Perl": 14, + "PHP": 9, "PogoScript": 1, "PowerShell": 2, "Processing": 1, "Prolog": 6, - "Python": 5, - "R": 1, + "Python": 7, + "R": 2, "Racket": 3, "Ragel in Ruby Host": 3, "Rebol": 1, "Ruby": 16, "Rust": 1, - "Sass": 1, + "Sass": 2, "Scala": 3, "Scheme": 1, "Scilab": 3, "SCSS": 1, - "Shell": 36, + "Shell": 37, + "Slash": 1, + "Squirrel": 1, "Standard ML": 2, "SuperCollider": 2, "Tea": 1, @@ -38940,7 +41731,9 @@ "VHDL": 1, "VimL": 2, "Visual Basic": 1, + "Volt": 1, "wisp": 1, + "XC": 1, "XML": 3, "XProc": 1, "XQuery": 1, @@ -38948,5 +41741,5 @@ "Xtend": 2, "YAML": 1 }, - "md5": "d233899b021f2ee7af2d7ff73c37a2b3" + "md5": "e1daa29f986e203ade56a02091d24c99" } \ No newline at end of file diff --git a/lib/linguist/vendor.yml b/lib/linguist/vendor.yml index f5dcabda..dca12216 100644 --- a/lib/linguist/vendor.yml +++ b/lib/linguist/vendor.yml @@ -24,8 +24,15 @@ # Node dependencies - node_modules/ +# Erlang bundles +- ^rebar$ + +# Bootstrap minified css and js +- (^|/)bootstrap([^.]*)(\.min)\.(js|css)$ + # Vendored dependencies -- vendor/ +- thirdparty/ +- vendors?/ # Debian packaging - ^debian/ @@ -34,7 +41,11 @@ # jQuery - (^|/)jquery([^.]*)(\.min)?\.js$ -- (^|/)jquery\-\d\.\d(\.\d)?(\.min)?\.js$ +- (^|/)jquery\-\d\.\d+(\.\d+)?(\.min)?\.js$ + +# jQuery UI +- (^|/)jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?(\.min)?\.(js|css)$ +- (^|/)jquery\.(ui|effects)\.([^.]*)(\.min)?\.(js|css)$ # Prototype - (^|/)prototype(.*)\.js$ @@ -55,10 +66,6 @@ - (^|/)yahoo-([^.]*)\.js$ - (^|/)yui([^.]*)\.js$ -# LESS css -- (^|/)less([^.]*)(\.min)?\.js$ -- (^|/)less\-\d+\.\d+\.\d+(\.min)?\.js$ - # WYS editors - (^|/)ckeditor\.js$ - (^|/)tiny_mce([^.]*)\.js$ @@ -95,7 +102,8 @@ - -vsdoc\.js$ # jQuery validation plugin (MS bundles this with asp.net mvc) -- (^|/)jquery([^.]*)\.validate(\.min)?\.js$ +- (^|/)jquery([^.]*)\.validate(\.unobtrusive)?(\.min)?\.js$ +- (^|/)jquery([^.]*)\.unobtrusive\-ajax(\.min)?\.js$ # Microsoft Ajax - (^|/)[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$ @@ -104,14 +112,41 @@ - ^[Pp]ackages/ # ExtJS -- (^|/)extjs/ +- (^|/)extjs/.*?\.js$ +- (^|/)extjs/.*?\.xml$ +- (^|/)extjs/.*?\.txt$ +- (^|/)extjs/.*?\.html$ +- (^|/)extjs/.*?\.properties$ +- (^|/)extjs/.sencha/ +- (^|/)extjs/docs/ +- (^|/)extjs/builds/ +- (^|/)extjs/cmd/ +- (^|/)extjs/examples/ +- (^|/)extjs/locale/ +- (^|/)extjs/packages/ +- (^|/)extjs/plugins/ +- (^|/)extjs/resources/ +- (^|/)extjs/src/ +- (^|/)extjs/welcome/ # Samples folders - ^[Ss]amples/ +# LICENSE, README, git config files +- ^COPYING$ +- ^LICENSE$ +- gitattributes$ +- gitignore$ +- gitmodules$ +- ^README$ +- ^readme$ + # Test fixtures - ^[Tt]est/fixtures/ # PhoneGap/Cordova - (^|/)cordova([^.]*)(\.min)?\.js$ - (^|/)cordova\-\d\.\d(\.\d)?(\.min)?\.js$ + +# .DS_Store's +- .[Dd][Ss]_[Ss]tore$ diff --git a/samples/Bluespec/TL.bsv b/samples/Bluespec/TL.bsv new file mode 100644 index 00000000..2d6af5c1 --- /dev/null +++ b/samples/Bluespec/TL.bsv @@ -0,0 +1,167 @@ +package TL; + +interface TL; + method Action ped_button_push(); + + (* always_enabled *) + method Action set_car_state_N(Bool x); + (* always_enabled *) + method Action set_car_state_S(Bool x); + (* always_enabled *) + method Action set_car_state_E(Bool x); + (* always_enabled *) + method Action set_car_state_W(Bool x); + + method Bool lampRedNS(); + method Bool lampAmberNS(); + method Bool lampGreenNS(); + + method Bool lampRedE(); + method Bool lampAmberE(); + method Bool lampGreenE(); + + method Bool lampRedW(); + method Bool lampAmberW(); + method Bool lampGreenW(); + + method Bool lampRedPed(); + method Bool lampAmberPed(); + method Bool lampGreenPed(); +endinterface: TL + +typedef enum { + AllRed, + GreenNS, AmberNS, + GreenE, AmberE, + GreenW, AmberW, + GreenPed, AmberPed} TLstates deriving (Eq, Bits); + +typedef UInt#(5) Time32; +typedef UInt#(20) CtrSize; + +(* synthesize *) +module sysTL(TL); + Time32 allRedDelay = 2; + Time32 amberDelay = 4; + Time32 nsGreenDelay = 20; + Time32 ewGreenDelay = 10; + Time32 pedGreenDelay = 10; + Time32 pedAmberDelay = 6; + + CtrSize clocks_per_sec = 100; + + Reg#(TLstates) state <- mkReg(AllRed); + Reg#(TLstates) next_green <- mkReg(GreenNS); + Reg#(Time32) secs <- mkReg(0); + Reg#(Bool) ped_button_pushed <- mkReg(False); + Reg#(Bool) car_present_N <- mkReg(True); + Reg#(Bool) car_present_S <- mkReg(True); + Reg#(Bool) car_present_E <- mkReg(True); + Reg#(Bool) car_present_W <- mkReg(True); + Bool car_present_NS = car_present_N || car_present_S; + Reg#(CtrSize) cycle_ctr <- mkReg(0); + + rule dec_cycle_ctr (cycle_ctr != 0); + cycle_ctr <= cycle_ctr - 1; + endrule + + Rules low_priority_rule = (rules + rule inc_sec (cycle_ctr == 0); + secs <= secs + 1; + cycle_ctr <= clocks_per_sec; + endrule endrules); + + function Action next_state(TLstates ns); + action + state <= ns; + secs <= 0; + endaction + endfunction: next_state + + function TLstates green_seq(TLstates x); + case (x) + GreenNS: return (GreenE); + GreenE: return (GreenW); + GreenW: return (GreenNS); + endcase + endfunction + + function Bool car_present(TLstates x); + case (x) + GreenNS: return (car_present_NS); + GreenE: return (car_present_E); + GreenW: return (car_present_W); + endcase + endfunction + + function Rules make_from_green_rule(TLstates green_state, Time32 delay, Bool car_is_present, TLstates ns); + return (rules + rule from_green (state == green_state && (secs >= delay || !car_is_present)); + next_state(ns); + endrule endrules); + endfunction: make_from_green_rule + + function Rules make_from_amber_rule(TLstates amber_state, TLstates ng); + return (rules + rule from_amber (state == amber_state && secs >= amberDelay); + next_state(AllRed); + next_green <= ng; + endrule endrules); + endfunction: make_from_amber_rule + + Rules hprs[7]; + + hprs[1] = make_from_green_rule(GreenNS, nsGreenDelay, car_present_NS, AmberNS); + hprs[2] = make_from_amber_rule(AmberNS, GreenE); + hprs[3] = make_from_green_rule(GreenE, ewGreenDelay, car_present_E, AmberE); + hprs[4] = make_from_amber_rule(AmberE, GreenW); + hprs[5] = make_from_green_rule(GreenW, ewGreenDelay, car_present_W, AmberW); + hprs[6] = make_from_amber_rule(AmberW, GreenNS); + + hprs[0] = (rules + rule fromAllRed (state == AllRed && secs >= allRedDelay); + if (ped_button_pushed) action + ped_button_pushed <= False; + next_state(GreenPed); + endaction else if (car_present(next_green)) + next_state(next_green); + else if (car_present(green_seq(next_green))) + next_state(green_seq(next_green)); + else if (car_present(green_seq(green_seq(next_green)))) + next_state(green_seq(green_seq(next_green))); + else + noAction; + endrule: fromAllRed endrules); + + Rules high_priority_rules = hprs[0]; + for (Integer i = 1; i<7; i=i+1) + high_priority_rules = rJoin(hprs[i], high_priority_rules); + + addRules(preempts(high_priority_rules, low_priority_rule)); + + method Action ped_button_push(); + ped_button_pushed <= True; + endmethod: ped_button_push + + method Action set_car_state_N(b) ; car_present_N <= b; endmethod + method Action set_car_state_S(b) ; car_present_S <= b; endmethod + method Action set_car_state_E(b) ; car_present_E <= b; endmethod + method Action set_car_state_W(b) ; car_present_W <= b; endmethod + + method lampRedNS() = (!(state == GreenNS || state == AmberNS)); + method lampAmberNS() = (state == AmberNS); + method lampGreenNS() = (state == GreenNS); + method lampRedE() = (!(state == GreenE || state == AmberE)); + method lampAmberE() = (state == AmberE); + method lampGreenE() = (state == GreenE); + method lampRedW() = (!(state == GreenW || state == AmberW)); + method lampAmberW() = (state == AmberW); + method lampGreenW() = (state == GreenW); + + method lampRedPed() = (!(state == GreenPed || state == AmberPed)); + method lampAmberPed() = (state == AmberPed); + method lampGreenPed() = (state == GreenPed); + +endmodule: sysTL + +endpackage: TL diff --git a/samples/Bluespec/TbTL.bsv b/samples/Bluespec/TbTL.bsv new file mode 100644 index 00000000..d5dbabf0 --- /dev/null +++ b/samples/Bluespec/TbTL.bsv @@ -0,0 +1,109 @@ +package TbTL; + +import TL::*; + +interface Lamp; + method Bool changed; + method Action show_offs; + method Action show_ons; + method Action reset; +endinterface + +module mkLamp#(String name, Bool lamp)(Lamp); + Reg#(Bool) prev <- mkReg(False); + + method changed = (prev != lamp); + + method Action show_offs; + if (prev && !lamp) + $write (name + " off, "); + endmethod + + method Action show_ons; + if (!prev && lamp) + $write (name + " on, "); + endmethod + + method Action reset; + prev <= lamp; + endmethod +endmodule + + +(* synthesize *) +module mkTest(); + let dut <- sysTL; + + Reg#(Bit#(16)) ctr <- mkReg(0); + + Reg#(Bool) carN <- mkReg(False); + Reg#(Bool) carS <- mkReg(False); + Reg#(Bool) carE <- mkReg(False); + Reg#(Bool) carW <- mkReg(False); + + Lamp lamps[12]; + + lamps[0] <- mkLamp("0: NS red ", dut.lampRedNS); + lamps[1] <- mkLamp("1: NS amber", dut.lampAmberNS); + lamps[2] <- mkLamp("2: NS green", dut.lampGreenNS); + lamps[3] <- mkLamp("3: E red ", dut.lampRedE); + lamps[4] <- mkLamp("4: E amber", dut.lampAmberE); + lamps[5] <- mkLamp("5: E green", dut.lampGreenE); + lamps[6] <- mkLamp("6: W red ", dut.lampRedW); + lamps[7] <- mkLamp("7: W amber", dut.lampAmberW); + lamps[8] <- mkLamp("8: W green", dut.lampGreenW); + + lamps[9] <- mkLamp("9: Ped red ", dut.lampRedPed); + lamps[10] <- mkLamp("10: Ped amber", dut.lampAmberPed); + lamps[11] <- mkLamp("11: Ped green", dut.lampGreenPed); + + rule start (ctr == 0); + $dumpvars; + endrule + + rule detect_cars; + dut.set_car_state_N(carN); + dut.set_car_state_S(carS); + dut.set_car_state_E(carE); + dut.set_car_state_W(carW); + endrule + + rule go; + ctr <= ctr + 1; + if (ctr == 5000) carN <= True; + if (ctr == 6500) carN <= False; + if (ctr == 12_000) dut.ped_button_push; + endrule + + rule stop (ctr > 32768); + $display("TESTS FINISHED"); + $finish(0); + endrule + + function do_offs(l) = l.show_offs; + function do_ons(l) = l.show_ons; + function do_reset(l) = l.reset; + + function do_it(f); + action + for (Integer i=0; i<12; i=i+1) + f(lamps[i]); + endaction + endfunction + + function any_changes(); + Bool b = False; + for (Integer i=0; i<12; i=i+1) + b = b || lamps[i].changed; + return b; + endfunction + + rule show (any_changes()); + do_it(do_offs); + do_it(do_ons); + do_it(do_reset); + $display("(at time %d)", $time); + endrule +endmodule + +endpackage diff --git a/samples/C/jni_layer.h b/samples/C/jni_layer.h new file mode 100644 index 00000000..ededf805 --- /dev/null +++ b/samples/C/jni_layer.h @@ -0,0 +1,61 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ +#include +/* Header for class jni_JniLayer */ + +#ifndef _Included_jni_JniLayer +#define _Included_jni_JniLayer +#ifdef __cplusplus +extern "C" { +#endif +/* + * Class: jni_JniLayer + * Method: jni_layer_initialize + * Signature: ([II)J + */ +JNIEXPORT jlong JNICALL Java_jni_JniLayer_jni_1layer_1initialize + (JNIEnv *, jobject, jintArray, jint, jint); + +/* + * Class: jni_JniLayer + * Method: jni_layer_mainloop + * Signature: (J)V + */ +JNIEXPORT void JNICALL Java_jni_JniLayer_jni_1layer_1mainloop + (JNIEnv *, jobject, jlong); + +/* + * Class: jni_JniLayer + * Method: jni_layer_set_button + * Signature: (JII)V + */ +JNIEXPORT void JNICALL Java_jni_JniLayer_jni_1layer_1set_1button + (JNIEnv *, jobject, jlong, jint, jint); + +/* + * Class: jni_JniLayer + * Method: jni_layer_set_analog + * Signature: (JIIF)V + */ +JNIEXPORT void JNICALL Java_jni_JniLayer_jni_1layer_1set_1analog + (JNIEnv *, jobject, jlong, jint, jint, jfloat); + +/* + * Class: jni_JniLayer + * Method: jni_layer_report_analog_chg + * Signature: (JI)V + */ +JNIEXPORT void JNICALL Java_jni_JniLayer_jni_1layer_1report_1analog_1chg + (JNIEnv *, jobject, jlong, jint); + +/* + * Class: jni_JniLayer + * Method: jni_layer_kill + * Signature: (J)V + */ +JNIEXPORT void JNICALL Java_jni_JniLayer_jni_1layer_1kill + (JNIEnv *, jobject, jlong); + +#ifdef __cplusplus +} +#endif +#endif diff --git a/samples/C/syscalldefs.h b/samples/C/syscalldefs.h new file mode 100644 index 00000000..a29c867e --- /dev/null +++ b/samples/C/syscalldefs.h @@ -0,0 +1,5 @@ +static const syscalldef syscalldefs[] = { + [SYSCALL_OR_NUM(0, SYS_restart_syscall)] = MAKE_UINT16(0, 1), + [SYSCALL_OR_NUM(1, SYS_exit)] = MAKE_UINT16(1, 17), + [SYSCALL_OR_NUM(2, SYS_fork)] = MAKE_UINT16(0, 22), +}; diff --git a/samples/COBOL/hello_world.cbl b/samples/COBOL/hello_world.cbl new file mode 100644 index 00000000..07387bde --- /dev/null +++ b/samples/COBOL/hello_world.cbl @@ -0,0 +1,5 @@ + program-id. hello. + procedure division. + display "Hello, World!". + stop run. + diff --git a/samples/COBOL/hello_world.ccp b/samples/COBOL/hello_world.ccp new file mode 100644 index 00000000..a1efc10b --- /dev/null +++ b/samples/COBOL/hello_world.ccp @@ -0,0 +1,6 @@ + IDENTIFICATION DIVISION. + PROGRAM-ID. hello. + PROCEDURE DIVISION. + DISPLAY "Hello World, yet again.". + STOP RUN. + diff --git a/samples/COBOL/hello_world.cob b/samples/COBOL/hello_world.cob new file mode 100644 index 00000000..da734fa6 --- /dev/null +++ b/samples/COBOL/hello_world.cob @@ -0,0 +1,6 @@ + IDENTIFICATION DIVISION. + PROGRAM-ID. hello. + PROCEDURE DIVISION. + DISPLAY "Hello World!". + STOP RUN. + diff --git a/samples/COBOL/simple.cpy b/samples/COBOL/simple.cpy new file mode 100644 index 00000000..d82c2305 --- /dev/null +++ b/samples/COBOL/simple.cpy @@ -0,0 +1,7 @@ +01 COBOL-TEST-RECORD. + 05 COBOL-TEST-USAGES. + 10 COBOL-4-COMP PIC S9(4) COMP. + 10 COBOL-8-COMP PIC S9(8) COMP. + 10 COBOL-9-COMP PIC S9(9) COMP. + 10 COBOL-4-COMP2 PIC S9(4) COMP-2. + 10 COBOL-7-COMP2 PIC 9(7) COMP-2. diff --git a/samples/CSS/bootstrap.css b/samples/CSS/bootstrap.css new file mode 100644 index 00000000..6b2ba309 --- /dev/null +++ b/samples/CSS/bootstrap.css @@ -0,0 +1,6307 @@ +/*! + * Bootstrap v2.3.1 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */ +.clearfix { + *zoom: 1; +} +.clearfix:before, +.clearfix:after { + display: table; + content: ""; + line-height: 0; +} +.clearfix:after { + clear: both; +} +.hide-text { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} +.input-block-level { + display: block; + width: 100%; + min-height: 30px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +nav, +section { + display: block; +} +audio, +canvas, +video { + display: inline-block; + *display: inline; + *zoom: 1; +} +audio:not([controls]) { + display: none; +} +html { + font-size: 100%; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} +a:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +a:hover, +a:active { + outline: 0; +} +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} +sup { + top: -0.5em; +} +sub { + bottom: -0.25em; +} +img { + /* Responsive images (ensure images don't scale beyond their parents) */ + + max-width: 100%; + /* Part 1: Set a maxium relative to the parent */ + + width: auto\9; + /* IE7-8 need help adjusting responsive images */ + + height: auto; + /* Part 2: Scale the height according to the width, otherwise you get stretching */ + + vertical-align: middle; + border: 0; + -ms-interpolation-mode: bicubic; +} +#map_canvas img, +.google-maps img { + max-width: none; +} +button, +input, +select, +textarea { + margin: 0; + font-size: 100%; + vertical-align: middle; +} +button, +input { + *overflow: visible; + line-height: normal; +} +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; +} +label, +select, +button, +input[type="button"], +input[type="reset"], +input[type="submit"], +input[type="radio"], +input[type="checkbox"] { + cursor: pointer; +} +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} +input[type="search"]::-webkit-search-decoration, +input[type="search"]::-webkit-search-cancel-button { + -webkit-appearance: none; +} +textarea { + overflow: auto; + vertical-align: top; +} +@media print { + * { + text-shadow: none !important; + color: #000 !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + .ir a:after, + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 0.5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } +} +body { + margin: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 20px; + color: #333333; + background-color: #ffffff; +} +a { + color: #0088cc; + text-decoration: none; +} +a:hover, +a:focus { + color: #005580; + text-decoration: underline; +} +.img-rounded { + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} +.img-polaroid { + padding: 4px; + background-color: #fff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); +} +.img-circle { + -webkit-border-radius: 500px; + -moz-border-radius: 500px; + border-radius: 500px; +} +.row { + margin-left: -20px; + *zoom: 1; +} +.row:before, +.row:after { + display: table; + content: ""; + line-height: 0; +} +.row:after { + clear: both; +} +[class*="span"] { + float: left; + min-height: 1px; + margin-left: 20px; +} +.container, +.navbar-static-top .container, +.navbar-fixed-top .container, +.navbar-fixed-bottom .container { + width: 940px; +} +.span12 { + width: 940px; +} +.span11 { + width: 860px; +} +.span10 { + width: 780px; +} +.span9 { + width: 700px; +} +.span8 { + width: 620px; +} +.span7 { + width: 540px; +} +.span6 { + width: 460px; +} +.span5 { + width: 380px; +} +.span4 { + width: 300px; +} +.span3 { + width: 220px; +} +.span2 { + width: 140px; +} +.span1 { + width: 60px; +} +.offset12 { + margin-left: 980px; +} +.offset11 { + margin-left: 900px; +} +.offset10 { + margin-left: 820px; +} +.offset9 { + margin-left: 740px; +} +.offset8 { + margin-left: 660px; +} +.offset7 { + margin-left: 580px; +} +.offset6 { + margin-left: 500px; +} +.offset5 { + margin-left: 420px; +} +.offset4 { + margin-left: 340px; +} +.offset3 { + margin-left: 260px; +} +.offset2 { + margin-left: 180px; +} +.offset1 { + margin-left: 100px; +} +.row-fluid { + width: 100%; + *zoom: 1; +} +.row-fluid:before, +.row-fluid:after { + display: table; + content: ""; + line-height: 0; +} +.row-fluid:after { + clear: both; +} +.row-fluid [class*="span"] { + display: block; + width: 100%; + min-height: 30px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + float: left; + margin-left: 2.127659574468085%; + *margin-left: 2.074468085106383%; +} +.row-fluid [class*="span"]:first-child { + margin-left: 0; +} +.row-fluid .controls-row [class*="span"] + [class*="span"] { + margin-left: 2.127659574468085%; +} +.row-fluid .span12 { + width: 100%; + *width: 99.94680851063829%; +} +.row-fluid .span11 { + width: 91.48936170212765%; + *width: 91.43617021276594%; +} +.row-fluid .span10 { + width: 82.97872340425532%; + *width: 82.92553191489361%; +} +.row-fluid .span9 { + width: 74.46808510638297%; + *width: 74.41489361702126%; +} +.row-fluid .span8 { + width: 65.95744680851064%; + *width: 65.90425531914893%; +} +.row-fluid .span7 { + width: 57.44680851063829%; + *width: 57.39361702127659%; +} +.row-fluid .span6 { + width: 48.93617021276595%; + *width: 48.88297872340425%; +} +.row-fluid .span5 { + width: 40.42553191489362%; + *width: 40.37234042553192%; +} +.row-fluid .span4 { + width: 31.914893617021278%; + *width: 31.861702127659576%; +} +.row-fluid .span3 { + width: 23.404255319148934%; + *width: 23.351063829787233%; +} +.row-fluid .span2 { + width: 14.893617021276595%; + *width: 14.840425531914894%; +} +.row-fluid .span1 { + width: 6.382978723404255%; + *width: 6.329787234042553%; +} +.row-fluid .offset12 { + margin-left: 104.25531914893617%; + *margin-left: 104.14893617021275%; +} +.row-fluid .offset12:first-child { + margin-left: 102.12765957446808%; + *margin-left: 102.02127659574467%; +} +.row-fluid .offset11 { + margin-left: 95.74468085106382%; + *margin-left: 95.6382978723404%; +} +.row-fluid .offset11:first-child { + margin-left: 93.61702127659574%; + *margin-left: 93.51063829787232%; +} +.row-fluid .offset10 { + margin-left: 87.23404255319149%; + *margin-left: 87.12765957446807%; +} +.row-fluid .offset10:first-child { + margin-left: 85.1063829787234%; + *margin-left: 84.99999999999999%; +} +.row-fluid .offset9 { + margin-left: 78.72340425531914%; + *margin-left: 78.61702127659572%; +} +.row-fluid .offset9:first-child { + margin-left: 76.59574468085106%; + *margin-left: 76.48936170212764%; +} +.row-fluid .offset8 { + margin-left: 70.2127659574468%; + *margin-left: 70.10638297872339%; +} +.row-fluid .offset8:first-child { + margin-left: 68.08510638297872%; + *margin-left: 67.9787234042553%; +} +.row-fluid .offset7 { + margin-left: 61.70212765957446%; + *margin-left: 61.59574468085106%; +} +.row-fluid .offset7:first-child { + margin-left: 59.574468085106375%; + *margin-left: 59.46808510638297%; +} +.row-fluid .offset6 { + margin-left: 53.191489361702125%; + *margin-left: 53.085106382978715%; +} +.row-fluid .offset6:first-child { + margin-left: 51.063829787234035%; + *margin-left: 50.95744680851063%; +} +.row-fluid .offset5 { + margin-left: 44.68085106382979%; + *margin-left: 44.57446808510638%; +} +.row-fluid .offset5:first-child { + margin-left: 42.5531914893617%; + *margin-left: 42.4468085106383%; +} +.row-fluid .offset4 { + margin-left: 36.170212765957444%; + *margin-left: 36.06382978723405%; +} +.row-fluid .offset4:first-child { + margin-left: 34.04255319148936%; + *margin-left: 33.93617021276596%; +} +.row-fluid .offset3 { + margin-left: 27.659574468085104%; + *margin-left: 27.5531914893617%; +} +.row-fluid .offset3:first-child { + margin-left: 25.53191489361702%; + *margin-left: 25.425531914893618%; +} +.row-fluid .offset2 { + margin-left: 19.148936170212764%; + *margin-left: 19.04255319148936%; +} +.row-fluid .offset2:first-child { + margin-left: 17.02127659574468%; + *margin-left: 16.914893617021278%; +} +.row-fluid .offset1 { + margin-left: 10.638297872340425%; + *margin-left: 10.53191489361702%; +} +.row-fluid .offset1:first-child { + margin-left: 8.51063829787234%; + *margin-left: 8.404255319148938%; +} +[class*="span"].hide, +.row-fluid [class*="span"].hide { + display: none; +} +[class*="span"].pull-right, +.row-fluid [class*="span"].pull-right { + float: right; +} +.container { + margin-right: auto; + margin-left: auto; + *zoom: 1; +} +.container:before, +.container:after { + display: table; + content: ""; + line-height: 0; +} +.container:after { + clear: both; +} +.container-fluid { + padding-right: 20px; + padding-left: 20px; + *zoom: 1; +} +.container-fluid:before, +.container-fluid:after { + display: table; + content: ""; + line-height: 0; +} +.container-fluid:after { + clear: both; +} +p { + margin: 0 0 10px; +} +.lead { + margin-bottom: 20px; + font-size: 21px; + font-weight: 200; + line-height: 30px; +} +small { + font-size: 85%; +} +strong { + font-weight: bold; +} +em { + font-style: italic; +} +cite { + font-style: normal; +} +.muted { + color: #999999; +} +a.muted:hover, +a.muted:focus { + color: #808080; +} +.text-warning { + color: #c09853; +} +a.text-warning:hover, +a.text-warning:focus { + color: #a47e3c; +} +.text-error { + color: #b94a48; +} +a.text-error:hover, +a.text-error:focus { + color: #953b39; +} +.text-info { + color: #3a87ad; +} +a.text-info:hover, +a.text-info:focus { + color: #2d6987; +} +.text-success { + color: #468847; +} +a.text-success:hover, +a.text-success:focus { + color: #356635; +} +.text-left { + text-align: left; +} +.text-right { + text-align: right; +} +.text-center { + text-align: center; +} +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 10px 0; + font-family: inherit; + font-weight: bold; + line-height: 20px; + color: inherit; + text-rendering: optimizelegibility; +} +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small { + font-weight: normal; + line-height: 1; + color: #999999; +} +h1, +h2, +h3 { + line-height: 40px; +} +h1 { + font-size: 38.5px; +} +h2 { + font-size: 31.5px; +} +h3 { + font-size: 24.5px; +} +h4 { + font-size: 17.5px; +} +h5 { + font-size: 14px; +} +h6 { + font-size: 11.9px; +} +h1 small { + font-size: 24.5px; +} +h2 small { + font-size: 17.5px; +} +h3 small { + font-size: 14px; +} +h4 small { + font-size: 14px; +} +.page-header { + padding-bottom: 9px; + margin: 20px 0 30px; + border-bottom: 1px solid #eeeeee; +} +ul, +ol { + padding: 0; + margin: 0 0 10px 25px; +} +ul ul, +ul ol, +ol ol, +ol ul { + margin-bottom: 0; +} +li { + line-height: 20px; +} +ul.unstyled, +ol.unstyled { + margin-left: 0; + list-style: none; +} +ul.inline, +ol.inline { + margin-left: 0; + list-style: none; +} +ul.inline > li, +ol.inline > li { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; + padding-left: 5px; + padding-right: 5px; +} +dl { + margin-bottom: 20px; +} +dt, +dd { + line-height: 20px; +} +dt { + font-weight: bold; +} +dd { + margin-left: 10px; +} +.dl-horizontal { + *zoom: 1; +} +.dl-horizontal:before, +.dl-horizontal:after { + display: table; + content: ""; + line-height: 0; +} +.dl-horizontal:after { + clear: both; +} +.dl-horizontal dt { + float: left; + width: 160px; + clear: left; + text-align: right; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.dl-horizontal dd { + margin-left: 180px; +} +hr { + margin: 20px 0; + border: 0; + border-top: 1px solid #eeeeee; + border-bottom: 1px solid #ffffff; +} +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} +abbr.initialism { + font-size: 90%; + text-transform: uppercase; +} +blockquote { + padding: 0 0 0 15px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} +blockquote p { + margin-bottom: 0; + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} +blockquote small { + display: block; + line-height: 20px; + color: #999999; +} +blockquote small:before { + content: '\2014 \00A0'; +} +blockquote.pull-right { + float: right; + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} +blockquote.pull-right p, +blockquote.pull-right small { + text-align: right; +} +blockquote.pull-right small:before { + content: ''; +} +blockquote.pull-right small:after { + content: '\00A0 \2014'; +} +q:before, +q:after, +blockquote:before, +blockquote:after { + content: ""; +} +address { + display: block; + margin-bottom: 20px; + font-style: normal; + line-height: 20px; +} +code, +pre { + padding: 0 3px 2px; + font-family: Monaco, Menlo, Consolas, "Courier New", monospace; + font-size: 12px; + color: #333333; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +code { + padding: 2px 4px; + color: #d14; + background-color: #f7f7f9; + border: 1px solid #e1e1e8; + white-space: nowrap; +} +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 20px; + word-break: break-all; + word-wrap: break-word; + white-space: pre; + white-space: pre-wrap; + background-color: #f5f5f5; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.15); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +pre.prettyprint { + margin-bottom: 20px; +} +pre code { + padding: 0; + color: inherit; + white-space: pre; + white-space: pre-wrap; + background-color: transparent; + border: 0; +} +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} +.label, +.badge { + display: inline-block; + padding: 2px 4px; + font-size: 11.844px; + font-weight: bold; + line-height: 14px; + color: #ffffff; + vertical-align: baseline; + white-space: nowrap; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #999999; +} +.label { + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.badge { + padding-left: 9px; + padding-right: 9px; + -webkit-border-radius: 9px; + -moz-border-radius: 9px; + border-radius: 9px; +} +.label:empty, +.badge:empty { + display: none; +} +a.label:hover, +a.label:focus, +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} +.label-important, +.badge-important { + background-color: #b94a48; +} +.label-important[href], +.badge-important[href] { + background-color: #953b39; +} +.label-warning, +.badge-warning { + background-color: #f89406; +} +.label-warning[href], +.badge-warning[href] { + background-color: #c67605; +} +.label-success, +.badge-success { + background-color: #468847; +} +.label-success[href], +.badge-success[href] { + background-color: #356635; +} +.label-info, +.badge-info { + background-color: #3a87ad; +} +.label-info[href], +.badge-info[href] { + background-color: #2d6987; +} +.label-inverse, +.badge-inverse { + background-color: #333333; +} +.label-inverse[href], +.badge-inverse[href] { + background-color: #1a1a1a; +} +.btn .label, +.btn .badge { + position: relative; + top: -1px; +} +.btn-mini .label, +.btn-mini .badge { + top: 0; +} +table { + max-width: 100%; + background-color: transparent; + border-collapse: collapse; + border-spacing: 0; +} +.table { + width: 100%; + margin-bottom: 20px; +} +.table th, +.table td { + padding: 8px; + line-height: 20px; + text-align: left; + vertical-align: top; + border-top: 1px solid #dddddd; +} +.table th { + font-weight: bold; +} +.table thead th { + vertical-align: bottom; +} +.table caption + thead tr:first-child th, +.table caption + thead tr:first-child td, +.table colgroup + thead tr:first-child th, +.table colgroup + thead tr:first-child td, +.table thead:first-child tr:first-child th, +.table thead:first-child tr:first-child td { + border-top: 0; +} +.table tbody + tbody { + border-top: 2px solid #dddddd; +} +.table .table { + background-color: #ffffff; +} +.table-condensed th, +.table-condensed td { + padding: 4px 5px; +} +.table-bordered { + border: 1px solid #dddddd; + border-collapse: separate; + *border-collapse: collapse; + border-left: 0; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.table-bordered th, +.table-bordered td { + border-left: 1px solid #dddddd; +} +.table-bordered caption + thead tr:first-child th, +.table-bordered caption + tbody tr:first-child th, +.table-bordered caption + tbody tr:first-child td, +.table-bordered colgroup + thead tr:first-child th, +.table-bordered colgroup + tbody tr:first-child th, +.table-bordered colgroup + tbody tr:first-child td, +.table-bordered thead:first-child tr:first-child th, +.table-bordered tbody:first-child tr:first-child th, +.table-bordered tbody:first-child tr:first-child td { + border-top: 0; +} +.table-bordered thead:first-child tr:first-child > th:first-child, +.table-bordered tbody:first-child tr:first-child > td:first-child, +.table-bordered tbody:first-child tr:first-child > th:first-child { + -webkit-border-top-left-radius: 4px; + -moz-border-radius-topleft: 4px; + border-top-left-radius: 4px; +} +.table-bordered thead:first-child tr:first-child > th:last-child, +.table-bordered tbody:first-child tr:first-child > td:last-child, +.table-bordered tbody:first-child tr:first-child > th:last-child { + -webkit-border-top-right-radius: 4px; + -moz-border-radius-topright: 4px; + border-top-right-radius: 4px; +} +.table-bordered thead:last-child tr:last-child > th:first-child, +.table-bordered tbody:last-child tr:last-child > td:first-child, +.table-bordered tbody:last-child tr:last-child > th:first-child, +.table-bordered tfoot:last-child tr:last-child > td:first-child, +.table-bordered tfoot:last-child tr:last-child > th:first-child { + -webkit-border-bottom-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + border-bottom-left-radius: 4px; +} +.table-bordered thead:last-child tr:last-child > th:last-child, +.table-bordered tbody:last-child tr:last-child > td:last-child, +.table-bordered tbody:last-child tr:last-child > th:last-child, +.table-bordered tfoot:last-child tr:last-child > td:last-child, +.table-bordered tfoot:last-child tr:last-child > th:last-child { + -webkit-border-bottom-right-radius: 4px; + -moz-border-radius-bottomright: 4px; + border-bottom-right-radius: 4px; +} +.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { + -webkit-border-bottom-left-radius: 0; + -moz-border-radius-bottomleft: 0; + border-bottom-left-radius: 0; +} +.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { + -webkit-border-bottom-right-radius: 0; + -moz-border-radius-bottomright: 0; + border-bottom-right-radius: 0; +} +.table-bordered caption + thead tr:first-child th:first-child, +.table-bordered caption + tbody tr:first-child td:first-child, +.table-bordered colgroup + thead tr:first-child th:first-child, +.table-bordered colgroup + tbody tr:first-child td:first-child { + -webkit-border-top-left-radius: 4px; + -moz-border-radius-topleft: 4px; + border-top-left-radius: 4px; +} +.table-bordered caption + thead tr:first-child th:last-child, +.table-bordered caption + tbody tr:first-child td:last-child, +.table-bordered colgroup + thead tr:first-child th:last-child, +.table-bordered colgroup + tbody tr:first-child td:last-child { + -webkit-border-top-right-radius: 4px; + -moz-border-radius-topright: 4px; + border-top-right-radius: 4px; +} +.table-striped tbody > tr:nth-child(odd) > td, +.table-striped tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} +.table-hover tbody tr:hover > td, +.table-hover tbody tr:hover > th { + background-color: #f5f5f5; +} +table td[class*="span"], +table th[class*="span"], +.row-fluid table td[class*="span"], +.row-fluid table th[class*="span"] { + display: table-cell; + float: none; + margin-left: 0; +} +.table td.span1, +.table th.span1 { + float: none; + width: 44px; + margin-left: 0; +} +.table td.span2, +.table th.span2 { + float: none; + width: 124px; + margin-left: 0; +} +.table td.span3, +.table th.span3 { + float: none; + width: 204px; + margin-left: 0; +} +.table td.span4, +.table th.span4 { + float: none; + width: 284px; + margin-left: 0; +} +.table td.span5, +.table th.span5 { + float: none; + width: 364px; + margin-left: 0; +} +.table td.span6, +.table th.span6 { + float: none; + width: 444px; + margin-left: 0; +} +.table td.span7, +.table th.span7 { + float: none; + width: 524px; + margin-left: 0; +} +.table td.span8, +.table th.span8 { + float: none; + width: 604px; + margin-left: 0; +} +.table td.span9, +.table th.span9 { + float: none; + width: 684px; + margin-left: 0; +} +.table td.span10, +.table th.span10 { + float: none; + width: 764px; + margin-left: 0; +} +.table td.span11, +.table th.span11 { + float: none; + width: 844px; + margin-left: 0; +} +.table td.span12, +.table th.span12 { + float: none; + width: 924px; + margin-left: 0; +} +.table tbody tr.success > td { + background-color: #dff0d8; +} +.table tbody tr.error > td { + background-color: #f2dede; +} +.table tbody tr.warning > td { + background-color: #fcf8e3; +} +.table tbody tr.info > td { + background-color: #d9edf7; +} +.table-hover tbody tr.success:hover > td { + background-color: #d0e9c6; +} +.table-hover tbody tr.error:hover > td { + background-color: #ebcccc; +} +.table-hover tbody tr.warning:hover > td { + background-color: #faf2cc; +} +.table-hover tbody tr.info:hover > td { + background-color: #c4e3f3; +} +form { + margin: 0 0 20px; +} +fieldset { + padding: 0; + margin: 0; + border: 0; +} +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: 40px; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} +legend small { + font-size: 15px; + color: #999999; +} +label, +input, +button, +select, +textarea { + font-size: 14px; + font-weight: normal; + line-height: 20px; +} +input, +button, +select, +textarea { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; +} +label { + display: block; + margin-bottom: 5px; +} +select, +textarea, +input[type="text"], +input[type="password"], +input[type="datetime"], +input[type="datetime-local"], +input[type="date"], +input[type="month"], +input[type="time"], +input[type="week"], +input[type="number"], +input[type="email"], +input[type="url"], +input[type="search"], +input[type="tel"], +input[type="color"], +.uneditable-input { + display: inline-block; + height: 20px; + padding: 4px 6px; + margin-bottom: 10px; + font-size: 14px; + line-height: 20px; + color: #555555; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + vertical-align: middle; +} +input, +textarea, +.uneditable-input { + width: 206px; +} +textarea { + height: auto; +} +textarea, +input[type="text"], +input[type="password"], +input[type="datetime"], +input[type="datetime-local"], +input[type="date"], +input[type="month"], +input[type="time"], +input[type="week"], +input[type="number"], +input[type="email"], +input[type="url"], +input[type="search"], +input[type="tel"], +input[type="color"], +.uneditable-input { + background-color: #ffffff; + border: 1px solid #cccccc; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border linear .2s, box-shadow linear .2s; + -moz-transition: border linear .2s, box-shadow linear .2s; + -o-transition: border linear .2s, box-shadow linear .2s; + transition: border linear .2s, box-shadow linear .2s; +} +textarea:focus, +input[type="text"]:focus, +input[type="password"]:focus, +input[type="datetime"]:focus, +input[type="datetime-local"]:focus, +input[type="date"]:focus, +input[type="month"]:focus, +input[type="time"]:focus, +input[type="week"]:focus, +input[type="number"]:focus, +input[type="email"]:focus, +input[type="url"]:focus, +input[type="search"]:focus, +input[type="tel"]:focus, +input[type="color"]:focus, +.uneditable-input:focus { + border-color: rgba(82, 168, 236, 0.8); + outline: 0; + outline: thin dotted \9; + /* IE6-9 */ + + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); + -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); +} +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + *margin-top: 0; + /* IE7 */ + + margin-top: 1px \9; + /* IE8-9 */ + + line-height: normal; +} +input[type="file"], +input[type="image"], +input[type="submit"], +input[type="reset"], +input[type="button"], +input[type="radio"], +input[type="checkbox"] { + width: auto; +} +select, +input[type="file"] { + height: 30px; + /* In IE7, the height of the select element cannot be changed by height, only font-size */ + + *margin-top: 4px; + /* For IE7, add top margin to align select with labels */ + + line-height: 30px; +} +select { + width: 220px; + border: 1px solid #cccccc; + background-color: #ffffff; +} +select[multiple], +select[size] { + height: auto; +} +select:focus, +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.uneditable-input, +.uneditable-textarea { + color: #999999; + background-color: #fcfcfc; + border-color: #cccccc; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + cursor: not-allowed; +} +.uneditable-input { + overflow: hidden; + white-space: nowrap; +} +.uneditable-textarea { + width: auto; + height: auto; +} +input:-moz-placeholder, +textarea:-moz-placeholder { + color: #999999; +} +input:-ms-input-placeholder, +textarea:-ms-input-placeholder { + color: #999999; +} +input::-webkit-input-placeholder, +textarea::-webkit-input-placeholder { + color: #999999; +} +.radio, +.checkbox { + min-height: 20px; + padding-left: 20px; +} +.radio input[type="radio"], +.checkbox input[type="checkbox"] { + float: left; + margin-left: -20px; +} +.controls > .radio:first-child, +.controls > .checkbox:first-child { + padding-top: 5px; +} +.radio.inline, +.checkbox.inline { + display: inline-block; + padding-top: 5px; + margin-bottom: 0; + vertical-align: middle; +} +.radio.inline + .radio.inline, +.checkbox.inline + .checkbox.inline { + margin-left: 10px; +} +.input-mini { + width: 60px; +} +.input-small { + width: 90px; +} +.input-medium { + width: 150px; +} +.input-large { + width: 210px; +} +.input-xlarge { + width: 270px; +} +.input-xxlarge { + width: 530px; +} +input[class*="span"], +select[class*="span"], +textarea[class*="span"], +.uneditable-input[class*="span"], +.row-fluid input[class*="span"], +.row-fluid select[class*="span"], +.row-fluid textarea[class*="span"], +.row-fluid .uneditable-input[class*="span"] { + float: none; + margin-left: 0; +} +.input-append input[class*="span"], +.input-append .uneditable-input[class*="span"], +.input-prepend input[class*="span"], +.input-prepend .uneditable-input[class*="span"], +.row-fluid input[class*="span"], +.row-fluid select[class*="span"], +.row-fluid textarea[class*="span"], +.row-fluid .uneditable-input[class*="span"], +.row-fluid .input-prepend [class*="span"], +.row-fluid .input-append [class*="span"] { + display: inline-block; +} +input, +textarea, +.uneditable-input { + margin-left: 0; +} +.controls-row [class*="span"] + [class*="span"] { + margin-left: 20px; +} +input.span12, +textarea.span12, +.uneditable-input.span12 { + width: 926px; +} +input.span11, +textarea.span11, +.uneditable-input.span11 { + width: 846px; +} +input.span10, +textarea.span10, +.uneditable-input.span10 { + width: 766px; +} +input.span9, +textarea.span9, +.uneditable-input.span9 { + width: 686px; +} +input.span8, +textarea.span8, +.uneditable-input.span8 { + width: 606px; +} +input.span7, +textarea.span7, +.uneditable-input.span7 { + width: 526px; +} +input.span6, +textarea.span6, +.uneditable-input.span6 { + width: 446px; +} +input.span5, +textarea.span5, +.uneditable-input.span5 { + width: 366px; +} +input.span4, +textarea.span4, +.uneditable-input.span4 { + width: 286px; +} +input.span3, +textarea.span3, +.uneditable-input.span3 { + width: 206px; +} +input.span2, +textarea.span2, +.uneditable-input.span2 { + width: 126px; +} +input.span1, +textarea.span1, +.uneditable-input.span1 { + width: 46px; +} +.controls-row { + *zoom: 1; +} +.controls-row:before, +.controls-row:after { + display: table; + content: ""; + line-height: 0; +} +.controls-row:after { + clear: both; +} +.controls-row [class*="span"], +.row-fluid .controls-row [class*="span"] { + float: left; +} +.controls-row .checkbox[class*="span"], +.controls-row .radio[class*="span"] { + padding-top: 5px; +} +input[disabled], +select[disabled], +textarea[disabled], +input[readonly], +select[readonly], +textarea[readonly] { + cursor: not-allowed; + background-color: #eeeeee; +} +input[type="radio"][disabled], +input[type="checkbox"][disabled], +input[type="radio"][readonly], +input[type="checkbox"][readonly] { + background-color: transparent; +} +.control-group.warning .control-label, +.control-group.warning .help-block, +.control-group.warning .help-inline { + color: #c09853; +} +.control-group.warning .checkbox, +.control-group.warning .radio, +.control-group.warning input, +.control-group.warning select, +.control-group.warning textarea { + color: #c09853; +} +.control-group.warning input, +.control-group.warning select, +.control-group.warning textarea { + border-color: #c09853; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} +.control-group.warning input:focus, +.control-group.warning select:focus, +.control-group.warning textarea:focus { + border-color: #a47e3c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; +} +.control-group.warning .input-prepend .add-on, +.control-group.warning .input-append .add-on { + color: #c09853; + background-color: #fcf8e3; + border-color: #c09853; +} +.control-group.error .control-label, +.control-group.error .help-block, +.control-group.error .help-inline { + color: #b94a48; +} +.control-group.error .checkbox, +.control-group.error .radio, +.control-group.error input, +.control-group.error select, +.control-group.error textarea { + color: #b94a48; +} +.control-group.error input, +.control-group.error select, +.control-group.error textarea { + border-color: #b94a48; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} +.control-group.error input:focus, +.control-group.error select:focus, +.control-group.error textarea:focus { + border-color: #953b39; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; +} +.control-group.error .input-prepend .add-on, +.control-group.error .input-append .add-on { + color: #b94a48; + background-color: #f2dede; + border-color: #b94a48; +} +.control-group.success .control-label, +.control-group.success .help-block, +.control-group.success .help-inline { + color: #468847; +} +.control-group.success .checkbox, +.control-group.success .radio, +.control-group.success input, +.control-group.success select, +.control-group.success textarea { + color: #468847; +} +.control-group.success input, +.control-group.success select, +.control-group.success textarea { + border-color: #468847; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} +.control-group.success input:focus, +.control-group.success select:focus, +.control-group.success textarea:focus { + border-color: #356635; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; +} +.control-group.success .input-prepend .add-on, +.control-group.success .input-append .add-on { + color: #468847; + background-color: #dff0d8; + border-color: #468847; +} +.control-group.info .control-label, +.control-group.info .help-block, +.control-group.info .help-inline { + color: #3a87ad; +} +.control-group.info .checkbox, +.control-group.info .radio, +.control-group.info input, +.control-group.info select, +.control-group.info textarea { + color: #3a87ad; +} +.control-group.info input, +.control-group.info select, +.control-group.info textarea { + border-color: #3a87ad; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} +.control-group.info input:focus, +.control-group.info select:focus, +.control-group.info textarea:focus { + border-color: #2d6987; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; +} +.control-group.info .input-prepend .add-on, +.control-group.info .input-append .add-on { + color: #3a87ad; + background-color: #d9edf7; + border-color: #3a87ad; +} +input:focus:invalid, +textarea:focus:invalid, +select:focus:invalid { + color: #b94a48; + border-color: #ee5f5b; +} +input:focus:invalid:focus, +textarea:focus:invalid:focus, +select:focus:invalid:focus { + border-color: #e9322d; + -webkit-box-shadow: 0 0 6px #f8b9b7; + -moz-box-shadow: 0 0 6px #f8b9b7; + box-shadow: 0 0 6px #f8b9b7; +} +.form-actions { + padding: 19px 20px 20px; + margin-top: 20px; + margin-bottom: 20px; + background-color: #f5f5f5; + border-top: 1px solid #e5e5e5; + *zoom: 1; +} +.form-actions:before, +.form-actions:after { + display: table; + content: ""; + line-height: 0; +} +.form-actions:after { + clear: both; +} +.help-block, +.help-inline { + color: #595959; +} +.help-block { + display: block; + margin-bottom: 10px; +} +.help-inline { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; + vertical-align: middle; + padding-left: 5px; +} +.input-append, +.input-prepend { + display: inline-block; + margin-bottom: 10px; + vertical-align: middle; + font-size: 0; + white-space: nowrap; +} +.input-append input, +.input-prepend input, +.input-append select, +.input-prepend select, +.input-append .uneditable-input, +.input-prepend .uneditable-input, +.input-append .dropdown-menu, +.input-prepend .dropdown-menu, +.input-append .popover, +.input-prepend .popover { + font-size: 14px; +} +.input-append input, +.input-prepend input, +.input-append select, +.input-prepend select, +.input-append .uneditable-input, +.input-prepend .uneditable-input { + position: relative; + margin-bottom: 0; + *margin-left: 0; + vertical-align: top; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} +.input-append input:focus, +.input-prepend input:focus, +.input-append select:focus, +.input-prepend select:focus, +.input-append .uneditable-input:focus, +.input-prepend .uneditable-input:focus { + z-index: 2; +} +.input-append .add-on, +.input-prepend .add-on { + display: inline-block; + width: auto; + height: 20px; + min-width: 16px; + padding: 4px 5px; + font-size: 14px; + font-weight: normal; + line-height: 20px; + text-align: center; + text-shadow: 0 1px 0 #ffffff; + background-color: #eeeeee; + border: 1px solid #ccc; +} +.input-append .add-on, +.input-prepend .add-on, +.input-append .btn, +.input-prepend .btn, +.input-append .btn-group > .dropdown-toggle, +.input-prepend .btn-group > .dropdown-toggle { + vertical-align: top; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.input-append .active, +.input-prepend .active { + background-color: #a9dba9; + border-color: #46a546; +} +.input-prepend .add-on, +.input-prepend .btn { + margin-right: -1px; +} +.input-prepend .add-on:first-child, +.input-prepend .btn:first-child { + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} +.input-append input, +.input-append select, +.input-append .uneditable-input { + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} +.input-append input + .btn-group .btn:last-child, +.input-append select + .btn-group .btn:last-child, +.input-append .uneditable-input + .btn-group .btn:last-child { + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} +.input-append .add-on, +.input-append .btn, +.input-append .btn-group { + margin-left: -1px; +} +.input-append .add-on:last-child, +.input-append .btn:last-child, +.input-append .btn-group:last-child > .dropdown-toggle { + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} +.input-prepend.input-append input, +.input-prepend.input-append select, +.input-prepend.input-append .uneditable-input { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.input-prepend.input-append input + .btn-group .btn, +.input-prepend.input-append select + .btn-group .btn, +.input-prepend.input-append .uneditable-input + .btn-group .btn { + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} +.input-prepend.input-append .add-on:first-child, +.input-prepend.input-append .btn:first-child { + margin-right: -1px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} +.input-prepend.input-append .add-on:last-child, +.input-prepend.input-append .btn:last-child { + margin-left: -1px; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} +.input-prepend.input-append .btn-group:first-child { + margin-left: 0; +} +input.search-query { + padding-right: 14px; + padding-right: 4px \9; + padding-left: 14px; + padding-left: 4px \9; + /* IE7-8 doesn't have border-radius, so don't indent the padding */ + + margin-bottom: 0; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} +/* Allow for input prepend/append in search forms */ +.form-search .input-append .search-query, +.form-search .input-prepend .search-query { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.form-search .input-append .search-query { + -webkit-border-radius: 14px 0 0 14px; + -moz-border-radius: 14px 0 0 14px; + border-radius: 14px 0 0 14px; +} +.form-search .input-append .btn { + -webkit-border-radius: 0 14px 14px 0; + -moz-border-radius: 0 14px 14px 0; + border-radius: 0 14px 14px 0; +} +.form-search .input-prepend .search-query { + -webkit-border-radius: 0 14px 14px 0; + -moz-border-radius: 0 14px 14px 0; + border-radius: 0 14px 14px 0; +} +.form-search .input-prepend .btn { + -webkit-border-radius: 14px 0 0 14px; + -moz-border-radius: 14px 0 0 14px; + border-radius: 14px 0 0 14px; +} +.form-search input, +.form-inline input, +.form-horizontal input, +.form-search textarea, +.form-inline textarea, +.form-horizontal textarea, +.form-search select, +.form-inline select, +.form-horizontal select, +.form-search .help-inline, +.form-inline .help-inline, +.form-horizontal .help-inline, +.form-search .uneditable-input, +.form-inline .uneditable-input, +.form-horizontal .uneditable-input, +.form-search .input-prepend, +.form-inline .input-prepend, +.form-horizontal .input-prepend, +.form-search .input-append, +.form-inline .input-append, +.form-horizontal .input-append { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; + margin-bottom: 0; + vertical-align: middle; +} +.form-search .hide, +.form-inline .hide, +.form-horizontal .hide { + display: none; +} +.form-search label, +.form-inline label, +.form-search .btn-group, +.form-inline .btn-group { + display: inline-block; +} +.form-search .input-append, +.form-inline .input-append, +.form-search .input-prepend, +.form-inline .input-prepend { + margin-bottom: 0; +} +.form-search .radio, +.form-search .checkbox, +.form-inline .radio, +.form-inline .checkbox { + padding-left: 0; + margin-bottom: 0; + vertical-align: middle; +} +.form-search .radio input[type="radio"], +.form-search .checkbox input[type="checkbox"], +.form-inline .radio input[type="radio"], +.form-inline .checkbox input[type="checkbox"] { + float: left; + margin-right: 3px; + margin-left: 0; +} +.control-group { + margin-bottom: 10px; +} +legend + .control-group { + margin-top: 20px; + -webkit-margin-top-collapse: separate; +} +.form-horizontal .control-group { + margin-bottom: 20px; + *zoom: 1; +} +.form-horizontal .control-group:before, +.form-horizontal .control-group:after { + display: table; + content: ""; + line-height: 0; +} +.form-horizontal .control-group:after { + clear: both; +} +.form-horizontal .control-label { + float: left; + width: 160px; + padding-top: 5px; + text-align: right; +} +.form-horizontal .controls { + *display: inline-block; + *padding-left: 20px; + margin-left: 180px; + *margin-left: 0; +} +.form-horizontal .controls:first-child { + *padding-left: 180px; +} +.form-horizontal .help-block { + margin-bottom: 0; +} +.form-horizontal input + .help-block, +.form-horizontal select + .help-block, +.form-horizontal textarea + .help-block, +.form-horizontal .uneditable-input + .help-block, +.form-horizontal .input-prepend + .help-block, +.form-horizontal .input-append + .help-block { + margin-top: 10px; +} +.form-horizontal .form-actions { + padding-left: 180px; +} +.btn { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; + padding: 4px 12px; + margin-bottom: 0; + font-size: 14px; + line-height: 20px; + text-align: center; + vertical-align: middle; + cursor: pointer; + color: #333333; + text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); + background-color: #f5f5f5; + background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); + background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); + background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); + border-color: #e6e6e6 #e6e6e6 #bfbfbf; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + *background-color: #e6e6e6; + /* Darken IE7 buttons by default so they stand out more given they won't have borders */ + + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + border: 1px solid #cccccc; + *border: 0; + border-bottom-color: #b3b3b3; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + *margin-left: .3em; + -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); + -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); + box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); +} +.btn:hover, +.btn:focus, +.btn:active, +.btn.active, +.btn.disabled, +.btn[disabled] { + color: #333333; + background-color: #e6e6e6; + *background-color: #d9d9d9; +} +.btn:active, +.btn.active { + background-color: #cccccc \9; +} +.btn:first-child { + *margin-left: 0; +} +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; + background-position: 0 -15px; + -webkit-transition: background-position 0.1s linear; + -moz-transition: background-position 0.1s linear; + -o-transition: background-position 0.1s linear; + transition: background-position 0.1s linear; +} +.btn:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.btn.active, +.btn:active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); + -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); + box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); +} +.btn.disabled, +.btn[disabled] { + cursor: default; + background-image: none; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +.btn-large { + padding: 11px 19px; + font-size: 17.5px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} +.btn-large [class^="icon-"], +.btn-large [class*=" icon-"] { + margin-top: 4px; +} +.btn-small { + padding: 2px 10px; + font-size: 11.9px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.btn-small [class^="icon-"], +.btn-small [class*=" icon-"] { + margin-top: 0; +} +.btn-mini [class^="icon-"], +.btn-mini [class*=" icon-"] { + margin-top: -1px; +} +.btn-mini { + padding: 0 6px; + font-size: 10.5px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.btn-block { + display: block; + width: 100%; + padding-left: 0; + padding-right: 0; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.btn-block + .btn-block { + margin-top: 5px; +} +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} +.btn-primary.active, +.btn-warning.active, +.btn-danger.active, +.btn-success.active, +.btn-info.active, +.btn-inverse.active { + color: rgba(255, 255, 255, 0.75); +} +.btn-primary { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #006dcc; + background-image: -moz-linear-gradient(top, #0088cc, #0044cc); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); + background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); + background-image: -o-linear-gradient(top, #0088cc, #0044cc); + background-image: linear-gradient(to bottom, #0088cc, #0044cc); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0); + border-color: #0044cc #0044cc #002a80; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + *background-color: #0044cc; + /* Darken IE7 buttons by default so they stand out more given they won't have borders */ + + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.btn-primary.disabled, +.btn-primary[disabled] { + color: #ffffff; + background-color: #0044cc; + *background-color: #003bb3; +} +.btn-primary:active, +.btn-primary.active { + background-color: #003399 \9; +} +.btn-warning { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #faa732; + background-image: -moz-linear-gradient(top, #fbb450, #f89406); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); + background-image: -webkit-linear-gradient(top, #fbb450, #f89406); + background-image: -o-linear-gradient(top, #fbb450, #f89406); + background-image: linear-gradient(to bottom, #fbb450, #f89406); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0); + border-color: #f89406 #f89406 #ad6704; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + *background-color: #f89406; + /* Darken IE7 buttons by default so they stand out more given they won't have borders */ + + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.btn-warning.disabled, +.btn-warning[disabled] { + color: #ffffff; + background-color: #f89406; + *background-color: #df8505; +} +.btn-warning:active, +.btn-warning.active { + background-color: #c67605 \9; +} +.btn-danger { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #da4f49; + background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); + background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); + background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); + background-image: linear-gradient(to bottom, #ee5f5b, #bd362f); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0); + border-color: #bd362f #bd362f #802420; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + *background-color: #bd362f; + /* Darken IE7 buttons by default so they stand out more given they won't have borders */ + + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.btn-danger.disabled, +.btn-danger[disabled] { + color: #ffffff; + background-color: #bd362f; + *background-color: #a9302a; +} +.btn-danger:active, +.btn-danger.active { + background-color: #942a25 \9; +} +.btn-success { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #5bb75b; + background-image: -moz-linear-gradient(top, #62c462, #51a351); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); + background-image: -webkit-linear-gradient(top, #62c462, #51a351); + background-image: -o-linear-gradient(top, #62c462, #51a351); + background-image: linear-gradient(to bottom, #62c462, #51a351); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0); + border-color: #51a351 #51a351 #387038; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + *background-color: #51a351; + /* Darken IE7 buttons by default so they stand out more given they won't have borders */ + + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.btn-success.disabled, +.btn-success[disabled] { + color: #ffffff; + background-color: #51a351; + *background-color: #499249; +} +.btn-success:active, +.btn-success.active { + background-color: #408140 \9; +} +.btn-info { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #49afcd; + background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4)); + background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4); + background-image: -o-linear-gradient(top, #5bc0de, #2f96b4); + background-image: linear-gradient(to bottom, #5bc0de, #2f96b4); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0); + border-color: #2f96b4 #2f96b4 #1f6377; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + *background-color: #2f96b4; + /* Darken IE7 buttons by default so they stand out more given they won't have borders */ + + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.btn-info.disabled, +.btn-info[disabled] { + color: #ffffff; + background-color: #2f96b4; + *background-color: #2a85a0; +} +.btn-info:active, +.btn-info.active { + background-color: #24748c \9; +} +.btn-inverse { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #363636; + background-image: -moz-linear-gradient(top, #444444, #222222); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222)); + background-image: -webkit-linear-gradient(top, #444444, #222222); + background-image: -o-linear-gradient(top, #444444, #222222); + background-image: linear-gradient(to bottom, #444444, #222222); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0); + border-color: #222222 #222222 #000000; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + *background-color: #222222; + /* Darken IE7 buttons by default so they stand out more given they won't have borders */ + + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.btn-inverse:hover, +.btn-inverse:focus, +.btn-inverse:active, +.btn-inverse.active, +.btn-inverse.disabled, +.btn-inverse[disabled] { + color: #ffffff; + background-color: #222222; + *background-color: #151515; +} +.btn-inverse:active, +.btn-inverse.active { + background-color: #080808 \9; +} +button.btn, +input[type="submit"].btn { + *padding-top: 3px; + *padding-bottom: 3px; +} +button.btn::-moz-focus-inner, +input[type="submit"].btn::-moz-focus-inner { + padding: 0; + border: 0; +} +button.btn.btn-large, +input[type="submit"].btn.btn-large { + *padding-top: 7px; + *padding-bottom: 7px; +} +button.btn.btn-small, +input[type="submit"].btn.btn-small { + *padding-top: 3px; + *padding-bottom: 3px; +} +button.btn.btn-mini, +input[type="submit"].btn.btn-mini { + *padding-top: 1px; + *padding-bottom: 1px; +} +.btn-link, +.btn-link:active, +.btn-link[disabled] { + background-color: transparent; + background-image: none; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +.btn-link { + border-color: transparent; + cursor: pointer; + color: #0088cc; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.btn-link:hover, +.btn-link:focus { + color: #005580; + text-decoration: underline; + background-color: transparent; +} +.btn-link[disabled]:hover, +.btn-link[disabled]:focus { + color: #333333; + text-decoration: none; +} +[class^="icon-"], +[class*=" icon-"] { + display: inline-block; + width: 14px; + height: 14px; + *margin-right: .3em; + line-height: 14px; + vertical-align: text-top; + background-image: url("../img/glyphicons-halflings.png"); + background-position: 14px 14px; + background-repeat: no-repeat; + margin-top: 1px; +} +/* White icons with optional class, or on hover/focus/active states of certain elements */ +.icon-white, +.nav-pills > .active > a > [class^="icon-"], +.nav-pills > .active > a > [class*=" icon-"], +.nav-list > .active > a > [class^="icon-"], +.nav-list > .active > a > [class*=" icon-"], +.navbar-inverse .nav > .active > a > [class^="icon-"], +.navbar-inverse .nav > .active > a > [class*=" icon-"], +.dropdown-menu > li > a:hover > [class^="icon-"], +.dropdown-menu > li > a:focus > [class^="icon-"], +.dropdown-menu > li > a:hover > [class*=" icon-"], +.dropdown-menu > li > a:focus > [class*=" icon-"], +.dropdown-menu > .active > a > [class^="icon-"], +.dropdown-menu > .active > a > [class*=" icon-"], +.dropdown-submenu:hover > a > [class^="icon-"], +.dropdown-submenu:focus > a > [class^="icon-"], +.dropdown-submenu:hover > a > [class*=" icon-"], +.dropdown-submenu:focus > a > [class*=" icon-"] { + background-image: url("../img/glyphicons-halflings-white.png"); +} +.icon-glass { + background-position: 0 0; +} +.icon-music { + background-position: -24px 0; +} +.icon-search { + background-position: -48px 0; +} +.icon-envelope { + background-position: -72px 0; +} +.icon-heart { + background-position: -96px 0; +} +.icon-star { + background-position: -120px 0; +} +.icon-star-empty { + background-position: -144px 0; +} +.icon-user { + background-position: -168px 0; +} +.icon-film { + background-position: -192px 0; +} +.icon-th-large { + background-position: -216px 0; +} +.icon-th { + background-position: -240px 0; +} +.icon-th-list { + background-position: -264px 0; +} +.icon-ok { + background-position: -288px 0; +} +.icon-remove { + background-position: -312px 0; +} +.icon-zoom-in { + background-position: -336px 0; +} +.icon-zoom-out { + background-position: -360px 0; +} +.icon-off { + background-position: -384px 0; +} +.icon-signal { + background-position: -408px 0; +} +.icon-cog { + background-position: -432px 0; +} +.icon-trash { + background-position: -456px 0; +} +.icon-home { + background-position: 0 -24px; +} +.icon-file { + background-position: -24px -24px; +} +.icon-time { + background-position: -48px -24px; +} +.icon-road { + background-position: -72px -24px; +} +.icon-download-alt { + background-position: -96px -24px; +} +.icon-download { + background-position: -120px -24px; +} +.icon-upload { + background-position: -144px -24px; +} +.icon-inbox { + background-position: -168px -24px; +} +.icon-play-circle { + background-position: -192px -24px; +} +.icon-repeat { + background-position: -216px -24px; +} +.icon-refresh { + background-position: -240px -24px; +} +.icon-list-alt { + background-position: -264px -24px; +} +.icon-lock { + background-position: -287px -24px; +} +.icon-flag { + background-position: -312px -24px; +} +.icon-headphones { + background-position: -336px -24px; +} +.icon-volume-off { + background-position: -360px -24px; +} +.icon-volume-down { + background-position: -384px -24px; +} +.icon-volume-up { + background-position: -408px -24px; +} +.icon-qrcode { + background-position: -432px -24px; +} +.icon-barcode { + background-position: -456px -24px; +} +.icon-tag { + background-position: 0 -48px; +} +.icon-tags { + background-position: -25px -48px; +} +.icon-book { + background-position: -48px -48px; +} +.icon-bookmark { + background-position: -72px -48px; +} +.icon-print { + background-position: -96px -48px; +} +.icon-camera { + background-position: -120px -48px; +} +.icon-font { + background-position: -144px -48px; +} +.icon-bold { + background-position: -167px -48px; +} +.icon-italic { + background-position: -192px -48px; +} +.icon-text-height { + background-position: -216px -48px; +} +.icon-text-width { + background-position: -240px -48px; +} +.icon-align-left { + background-position: -264px -48px; +} +.icon-align-center { + background-position: -288px -48px; +} +.icon-align-right { + background-position: -312px -48px; +} +.icon-align-justify { + background-position: -336px -48px; +} +.icon-list { + background-position: -360px -48px; +} +.icon-indent-left { + background-position: -384px -48px; +} +.icon-indent-right { + background-position: -408px -48px; +} +.icon-facetime-video { + background-position: -432px -48px; +} +.icon-picture { + background-position: -456px -48px; +} +.icon-pencil { + background-position: 0 -72px; +} +.icon-map-marker { + background-position: -24px -72px; +} +.icon-adjust { + background-position: -48px -72px; +} +.icon-tint { + background-position: -72px -72px; +} +.icon-edit { + background-position: -96px -72px; +} +.icon-share { + background-position: -120px -72px; +} +.icon-check { + background-position: -144px -72px; +} +.icon-move { + background-position: -168px -72px; +} +.icon-step-backward { + background-position: -192px -72px; +} +.icon-fast-backward { + background-position: -216px -72px; +} +.icon-backward { + background-position: -240px -72px; +} +.icon-play { + background-position: -264px -72px; +} +.icon-pause { + background-position: -288px -72px; +} +.icon-stop { + background-position: -312px -72px; +} +.icon-forward { + background-position: -336px -72px; +} +.icon-fast-forward { + background-position: -360px -72px; +} +.icon-step-forward { + background-position: -384px -72px; +} +.icon-eject { + background-position: -408px -72px; +} +.icon-chevron-left { + background-position: -432px -72px; +} +.icon-chevron-right { + background-position: -456px -72px; +} +.icon-plus-sign { + background-position: 0 -96px; +} +.icon-minus-sign { + background-position: -24px -96px; +} +.icon-remove-sign { + background-position: -48px -96px; +} +.icon-ok-sign { + background-position: -72px -96px; +} +.icon-question-sign { + background-position: -96px -96px; +} +.icon-info-sign { + background-position: -120px -96px; +} +.icon-screenshot { + background-position: -144px -96px; +} +.icon-remove-circle { + background-position: -168px -96px; +} +.icon-ok-circle { + background-position: -192px -96px; +} +.icon-ban-circle { + background-position: -216px -96px; +} +.icon-arrow-left { + background-position: -240px -96px; +} +.icon-arrow-right { + background-position: -264px -96px; +} +.icon-arrow-up { + background-position: -289px -96px; +} +.icon-arrow-down { + background-position: -312px -96px; +} +.icon-share-alt { + background-position: -336px -96px; +} +.icon-resize-full { + background-position: -360px -96px; +} +.icon-resize-small { + background-position: -384px -96px; +} +.icon-plus { + background-position: -408px -96px; +} +.icon-minus { + background-position: -433px -96px; +} +.icon-asterisk { + background-position: -456px -96px; +} +.icon-exclamation-sign { + background-position: 0 -120px; +} +.icon-gift { + background-position: -24px -120px; +} +.icon-leaf { + background-position: -48px -120px; +} +.icon-fire { + background-position: -72px -120px; +} +.icon-eye-open { + background-position: -96px -120px; +} +.icon-eye-close { + background-position: -120px -120px; +} +.icon-warning-sign { + background-position: -144px -120px; +} +.icon-plane { + background-position: -168px -120px; +} +.icon-calendar { + background-position: -192px -120px; +} +.icon-random { + background-position: -216px -120px; + width: 16px; +} +.icon-comment { + background-position: -240px -120px; +} +.icon-magnet { + background-position: -264px -120px; +} +.icon-chevron-up { + background-position: -288px -120px; +} +.icon-chevron-down { + background-position: -313px -119px; +} +.icon-retweet { + background-position: -336px -120px; +} +.icon-shopping-cart { + background-position: -360px -120px; +} +.icon-folder-close { + background-position: -384px -120px; + width: 16px; +} +.icon-folder-open { + background-position: -408px -120px; + width: 16px; +} +.icon-resize-vertical { + background-position: -432px -119px; +} +.icon-resize-horizontal { + background-position: -456px -118px; +} +.icon-hdd { + background-position: 0 -144px; +} +.icon-bullhorn { + background-position: -24px -144px; +} +.icon-bell { + background-position: -48px -144px; +} +.icon-certificate { + background-position: -72px -144px; +} +.icon-thumbs-up { + background-position: -96px -144px; +} +.icon-thumbs-down { + background-position: -120px -144px; +} +.icon-hand-right { + background-position: -144px -144px; +} +.icon-hand-left { + background-position: -168px -144px; +} +.icon-hand-up { + background-position: -192px -144px; +} +.icon-hand-down { + background-position: -216px -144px; +} +.icon-circle-arrow-right { + background-position: -240px -144px; +} +.icon-circle-arrow-left { + background-position: -264px -144px; +} +.icon-circle-arrow-up { + background-position: -288px -144px; +} +.icon-circle-arrow-down { + background-position: -312px -144px; +} +.icon-globe { + background-position: -336px -144px; +} +.icon-wrench { + background-position: -360px -144px; +} +.icon-tasks { + background-position: -384px -144px; +} +.icon-filter { + background-position: -408px -144px; +} +.icon-briefcase { + background-position: -432px -144px; +} +.icon-fullscreen { + background-position: -456px -144px; +} +.btn-group { + position: relative; + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; + font-size: 0; + vertical-align: middle; + white-space: nowrap; + *margin-left: .3em; +} +.btn-group:first-child { + *margin-left: 0; +} +.btn-group + .btn-group { + margin-left: 5px; +} +.btn-toolbar { + font-size: 0; + margin-top: 10px; + margin-bottom: 10px; +} +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group { + margin-left: 5px; +} +.btn-group > .btn { + position: relative; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.btn-group > .btn + .btn { + margin-left: -1px; +} +.btn-group > .btn, +.btn-group > .dropdown-menu, +.btn-group > .popover { + font-size: 14px; +} +.btn-group > .btn-mini { + font-size: 10.5px; +} +.btn-group > .btn-small { + font-size: 11.9px; +} +.btn-group > .btn-large { + font-size: 17.5px; +} +.btn-group > .btn:first-child { + margin-left: 0; + -webkit-border-top-left-radius: 4px; + -moz-border-radius-topleft: 4px; + border-top-left-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + border-bottom-left-radius: 4px; +} +.btn-group > .btn:last-child, +.btn-group > .dropdown-toggle { + -webkit-border-top-right-radius: 4px; + -moz-border-radius-topright: 4px; + border-top-right-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -moz-border-radius-bottomright: 4px; + border-bottom-right-radius: 4px; +} +.btn-group > .btn.large:first-child { + margin-left: 0; + -webkit-border-top-left-radius: 6px; + -moz-border-radius-topleft: 6px; + border-top-left-radius: 6px; + -webkit-border-bottom-left-radius: 6px; + -moz-border-radius-bottomleft: 6px; + border-bottom-left-radius: 6px; +} +.btn-group > .btn.large:last-child, +.btn-group > .large.dropdown-toggle { + -webkit-border-top-right-radius: 6px; + -moz-border-radius-topright: 6px; + border-top-right-radius: 6px; + -webkit-border-bottom-right-radius: 6px; + -moz-border-radius-bottomright: 6px; + border-bottom-right-radius: 6px; +} +.btn-group > .btn:hover, +.btn-group > .btn:focus, +.btn-group > .btn:active, +.btn-group > .btn.active { + z-index: 2; +} +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} +.btn-group > .btn + .dropdown-toggle { + padding-left: 8px; + padding-right: 8px; + -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); + -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); + box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); + *padding-top: 5px; + *padding-bottom: 5px; +} +.btn-group > .btn-mini + .dropdown-toggle { + padding-left: 5px; + padding-right: 5px; + *padding-top: 2px; + *padding-bottom: 2px; +} +.btn-group > .btn-small + .dropdown-toggle { + *padding-top: 5px; + *padding-bottom: 4px; +} +.btn-group > .btn-large + .dropdown-toggle { + padding-left: 12px; + padding-right: 12px; + *padding-top: 7px; + *padding-bottom: 7px; +} +.btn-group.open .dropdown-toggle { + background-image: none; + -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); + -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); + box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); +} +.btn-group.open .btn.dropdown-toggle { + background-color: #e6e6e6; +} +.btn-group.open .btn-primary.dropdown-toggle { + background-color: #0044cc; +} +.btn-group.open .btn-warning.dropdown-toggle { + background-color: #f89406; +} +.btn-group.open .btn-danger.dropdown-toggle { + background-color: #bd362f; +} +.btn-group.open .btn-success.dropdown-toggle { + background-color: #51a351; +} +.btn-group.open .btn-info.dropdown-toggle { + background-color: #2f96b4; +} +.btn-group.open .btn-inverse.dropdown-toggle { + background-color: #222222; +} +.btn .caret { + margin-top: 8px; + margin-left: 0; +} +.btn-large .caret { + margin-top: 6px; +} +.btn-large .caret { + border-left-width: 5px; + border-right-width: 5px; + border-top-width: 5px; +} +.btn-mini .caret, +.btn-small .caret { + margin-top: 8px; +} +.dropup .btn-large .caret { + border-bottom-width: 5px; +} +.btn-primary .caret, +.btn-warning .caret, +.btn-danger .caret, +.btn-info .caret, +.btn-success .caret, +.btn-inverse .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; +} +.btn-group-vertical { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; +} +.btn-group-vertical > .btn { + display: block; + float: none; + max-width: 100%; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.btn-group-vertical > .btn + .btn { + margin-left: 0; + margin-top: -1px; +} +.btn-group-vertical > .btn:first-child { + -webkit-border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; +} +.btn-group-vertical > .btn:last-child { + -webkit-border-radius: 0 0 4px 4px; + -moz-border-radius: 0 0 4px 4px; + border-radius: 0 0 4px 4px; +} +.btn-group-vertical > .btn-large:first-child { + -webkit-border-radius: 6px 6px 0 0; + -moz-border-radius: 6px 6px 0 0; + border-radius: 6px 6px 0 0; +} +.btn-group-vertical > .btn-large:last-child { + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; +} +.nav { + margin-left: 0; + margin-bottom: 20px; + list-style: none; +} +.nav > li > a { + display: block; +} +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} +.nav > li > a > img { + max-width: none; +} +.nav > .pull-right { + float: right; +} +.nav-header { + display: block; + padding: 3px 15px; + font-size: 11px; + font-weight: bold; + line-height: 20px; + color: #999999; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + text-transform: uppercase; +} +.nav li + .nav-header { + margin-top: 9px; +} +.nav-list { + padding-left: 15px; + padding-right: 15px; + margin-bottom: 0; +} +.nav-list > li > a, +.nav-list .nav-header { + margin-left: -15px; + margin-right: -15px; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); +} +.nav-list > li > a { + padding: 3px 15px; +} +.nav-list > .active > a, +.nav-list > .active > a:hover, +.nav-list > .active > a:focus { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); + background-color: #0088cc; +} +.nav-list [class^="icon-"], +.nav-list [class*=" icon-"] { + margin-right: 2px; +} +.nav-list .divider { + *width: 100%; + height: 1px; + margin: 9px 1px; + *margin: -5px 0 5px; + overflow: hidden; + background-color: #e5e5e5; + border-bottom: 1px solid #ffffff; +} +.nav-tabs, +.nav-pills { + *zoom: 1; +} +.nav-tabs:before, +.nav-pills:before, +.nav-tabs:after, +.nav-pills:after { + display: table; + content: ""; + line-height: 0; +} +.nav-tabs:after, +.nav-pills:after { + clear: both; +} +.nav-tabs > li, +.nav-pills > li { + float: left; +} +.nav-tabs > li > a, +.nav-pills > li > a { + padding-right: 12px; + padding-left: 12px; + margin-right: 2px; + line-height: 14px; +} +.nav-tabs { + border-bottom: 1px solid #ddd; +} +.nav-tabs > li { + margin-bottom: -1px; +} +.nav-tabs > li > a { + padding-top: 8px; + padding-bottom: 8px; + line-height: 20px; + border: 1px solid transparent; + -webkit-border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; +} +.nav-tabs > li > a:hover, +.nav-tabs > li > a:focus { + border-color: #eeeeee #eeeeee #dddddd; +} +.nav-tabs > .active > a, +.nav-tabs > .active > a:hover, +.nav-tabs > .active > a:focus { + color: #555555; + background-color: #ffffff; + border: 1px solid #ddd; + border-bottom-color: transparent; + cursor: default; +} +.nav-pills > li > a { + padding-top: 8px; + padding-bottom: 8px; + margin-top: 2px; + margin-bottom: 2px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} +.nav-pills > .active > a, +.nav-pills > .active > a:hover, +.nav-pills > .active > a:focus { + color: #ffffff; + background-color: #0088cc; +} +.nav-stacked > li { + float: none; +} +.nav-stacked > li > a { + margin-right: 0; +} +.nav-tabs.nav-stacked { + border-bottom: 0; +} +.nav-tabs.nav-stacked > li > a { + border: 1px solid #ddd; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.nav-tabs.nav-stacked > li:first-child > a { + -webkit-border-top-right-radius: 4px; + -moz-border-radius-topright: 4px; + border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + -moz-border-radius-topleft: 4px; + border-top-left-radius: 4px; +} +.nav-tabs.nav-stacked > li:last-child > a { + -webkit-border-bottom-right-radius: 4px; + -moz-border-radius-bottomright: 4px; + border-bottom-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + border-bottom-left-radius: 4px; +} +.nav-tabs.nav-stacked > li > a:hover, +.nav-tabs.nav-stacked > li > a:focus { + border-color: #ddd; + z-index: 2; +} +.nav-pills.nav-stacked > li > a { + margin-bottom: 3px; +} +.nav-pills.nav-stacked > li:last-child > a { + margin-bottom: 1px; +} +.nav-tabs .dropdown-menu { + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; +} +.nav-pills .dropdown-menu { + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} +.nav .dropdown-toggle .caret { + border-top-color: #0088cc; + border-bottom-color: #0088cc; + margin-top: 6px; +} +.nav .dropdown-toggle:hover .caret, +.nav .dropdown-toggle:focus .caret { + border-top-color: #005580; + border-bottom-color: #005580; +} +/* move down carets for tabs */ +.nav-tabs .dropdown-toggle .caret { + margin-top: 8px; +} +.nav .active .dropdown-toggle .caret { + border-top-color: #fff; + border-bottom-color: #fff; +} +.nav-tabs .active .dropdown-toggle .caret { + border-top-color: #555555; + border-bottom-color: #555555; +} +.nav > .dropdown.active > a:hover, +.nav > .dropdown.active > a:focus { + cursor: pointer; +} +.nav-tabs .open .dropdown-toggle, +.nav-pills .open .dropdown-toggle, +.nav > li.dropdown.open.active > a:hover, +.nav > li.dropdown.open.active > a:focus { + color: #ffffff; + background-color: #999999; + border-color: #999999; +} +.nav li.dropdown.open .caret, +.nav li.dropdown.open.active .caret, +.nav li.dropdown.open a:hover .caret, +.nav li.dropdown.open a:focus .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; + opacity: 1; + filter: alpha(opacity=100); +} +.tabs-stacked .open > a:hover, +.tabs-stacked .open > a:focus { + border-color: #999999; +} +.tabbable { + *zoom: 1; +} +.tabbable:before, +.tabbable:after { + display: table; + content: ""; + line-height: 0; +} +.tabbable:after { + clear: both; +} +.tab-content { + overflow: auto; +} +.tabs-below > .nav-tabs, +.tabs-right > .nav-tabs, +.tabs-left > .nav-tabs { + border-bottom: 0; +} +.tab-content > .tab-pane, +.pill-content > .pill-pane { + display: none; +} +.tab-content > .active, +.pill-content > .active { + display: block; +} +.tabs-below > .nav-tabs { + border-top: 1px solid #ddd; +} +.tabs-below > .nav-tabs > li { + margin-top: -1px; + margin-bottom: 0; +} +.tabs-below > .nav-tabs > li > a { + -webkit-border-radius: 0 0 4px 4px; + -moz-border-radius: 0 0 4px 4px; + border-radius: 0 0 4px 4px; +} +.tabs-below > .nav-tabs > li > a:hover, +.tabs-below > .nav-tabs > li > a:focus { + border-bottom-color: transparent; + border-top-color: #ddd; +} +.tabs-below > .nav-tabs > .active > a, +.tabs-below > .nav-tabs > .active > a:hover, +.tabs-below > .nav-tabs > .active > a:focus { + border-color: transparent #ddd #ddd #ddd; +} +.tabs-left > .nav-tabs > li, +.tabs-right > .nav-tabs > li { + float: none; +} +.tabs-left > .nav-tabs > li > a, +.tabs-right > .nav-tabs > li > a { + min-width: 74px; + margin-right: 0; + margin-bottom: 3px; +} +.tabs-left > .nav-tabs { + float: left; + margin-right: 19px; + border-right: 1px solid #ddd; +} +.tabs-left > .nav-tabs > li > a { + margin-right: -1px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} +.tabs-left > .nav-tabs > li > a:hover, +.tabs-left > .nav-tabs > li > a:focus { + border-color: #eeeeee #dddddd #eeeeee #eeeeee; +} +.tabs-left > .nav-tabs .active > a, +.tabs-left > .nav-tabs .active > a:hover, +.tabs-left > .nav-tabs .active > a:focus { + border-color: #ddd transparent #ddd #ddd; + *border-right-color: #ffffff; +} +.tabs-right > .nav-tabs { + float: right; + margin-left: 19px; + border-left: 1px solid #ddd; +} +.tabs-right > .nav-tabs > li > a { + margin-left: -1px; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} +.tabs-right > .nav-tabs > li > a:hover, +.tabs-right > .nav-tabs > li > a:focus { + border-color: #eeeeee #eeeeee #eeeeee #dddddd; +} +.tabs-right > .nav-tabs .active > a, +.tabs-right > .nav-tabs .active > a:hover, +.tabs-right > .nav-tabs .active > a:focus { + border-color: #ddd #ddd #ddd transparent; + *border-left-color: #ffffff; +} +.nav > .disabled > a { + color: #999999; +} +.nav > .disabled > a:hover, +.nav > .disabled > a:focus { + text-decoration: none; + background-color: transparent; + cursor: default; +} +.navbar { + overflow: visible; + margin-bottom: 20px; + *position: relative; + *z-index: 2; +} +.navbar-inner { + min-height: 40px; + padding-left: 20px; + padding-right: 20px; + background-color: #fafafa; + background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2)); + background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2); + background-image: -o-linear-gradient(top, #ffffff, #f2f2f2); + background-image: linear-gradient(to bottom, #ffffff, #f2f2f2); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0); + border: 1px solid #d4d4d4; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); + -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); + *zoom: 1; +} +.navbar-inner:before, +.navbar-inner:after { + display: table; + content: ""; + line-height: 0; +} +.navbar-inner:after { + clear: both; +} +.navbar .container { + width: auto; +} +.nav-collapse.collapse { + height: auto; + overflow: visible; +} +.navbar .brand { + float: left; + display: block; + padding: 10px 20px 10px; + margin-left: -20px; + font-size: 20px; + font-weight: 200; + color: #777777; + text-shadow: 0 1px 0 #ffffff; +} +.navbar .brand:hover, +.navbar .brand:focus { + text-decoration: none; +} +.navbar-text { + margin-bottom: 0; + line-height: 40px; + color: #777777; +} +.navbar-link { + color: #777777; +} +.navbar-link:hover, +.navbar-link:focus { + color: #333333; +} +.navbar .divider-vertical { + height: 40px; + margin: 0 9px; + border-left: 1px solid #f2f2f2; + border-right: 1px solid #ffffff; +} +.navbar .btn, +.navbar .btn-group { + margin-top: 5px; +} +.navbar .btn-group .btn, +.navbar .input-prepend .btn, +.navbar .input-append .btn, +.navbar .input-prepend .btn-group, +.navbar .input-append .btn-group { + margin-top: 0; +} +.navbar-form { + margin-bottom: 0; + *zoom: 1; +} +.navbar-form:before, +.navbar-form:after { + display: table; + content: ""; + line-height: 0; +} +.navbar-form:after { + clear: both; +} +.navbar-form input, +.navbar-form select, +.navbar-form .radio, +.navbar-form .checkbox { + margin-top: 5px; +} +.navbar-form input, +.navbar-form select, +.navbar-form .btn { + display: inline-block; + margin-bottom: 0; +} +.navbar-form input[type="image"], +.navbar-form input[type="checkbox"], +.navbar-form input[type="radio"] { + margin-top: 3px; +} +.navbar-form .input-append, +.navbar-form .input-prepend { + margin-top: 5px; + white-space: nowrap; +} +.navbar-form .input-append input, +.navbar-form .input-prepend input { + margin-top: 0; +} +.navbar-search { + position: relative; + float: left; + margin-top: 5px; + margin-bottom: 0; +} +.navbar-search .search-query { + margin-bottom: 0; + padding: 4px 14px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 13px; + font-weight: normal; + line-height: 1; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} +.navbar-static-top { + position: static; + margin-bottom: 0; +} +.navbar-static-top .navbar-inner { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; + margin-bottom: 0; +} +.navbar-fixed-top .navbar-inner, +.navbar-static-top .navbar-inner { + border-width: 0 0 1px; +} +.navbar-fixed-bottom .navbar-inner { + border-width: 1px 0 0; +} +.navbar-fixed-top .navbar-inner, +.navbar-fixed-bottom .navbar-inner { + padding-left: 0; + padding-right: 0; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.navbar-static-top .container, +.navbar-fixed-top .container, +.navbar-fixed-bottom .container { + width: 940px; +} +.navbar-fixed-top { + top: 0; +} +.navbar-fixed-top .navbar-inner, +.navbar-static-top .navbar-inner { + -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); + -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); + box-shadow: 0 1px 10px rgba(0,0,0,.1); +} +.navbar-fixed-bottom { + bottom: 0; +} +.navbar-fixed-bottom .navbar-inner { + -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); + -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); + box-shadow: 0 -1px 10px rgba(0,0,0,.1); +} +.navbar .nav { + position: relative; + left: 0; + display: block; + float: left; + margin: 0 10px 0 0; +} +.navbar .nav.pull-right { + float: right; + margin-right: 0; +} +.navbar .nav > li { + float: left; +} +.navbar .nav > li > a { + float: none; + padding: 10px 15px 10px; + color: #777777; + text-decoration: none; + text-shadow: 0 1px 0 #ffffff; +} +.navbar .nav .dropdown-toggle .caret { + margin-top: 8px; +} +.navbar .nav > li > a:focus, +.navbar .nav > li > a:hover { + background-color: transparent; + color: #333333; + text-decoration: none; +} +.navbar .nav > .active > a, +.navbar .nav > .active > a:hover, +.navbar .nav > .active > a:focus { + color: #555555; + text-decoration: none; + background-color: #e5e5e5; + -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); + -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); +} +.navbar .btn-navbar { + display: none; + float: right; + padding: 7px 10px; + margin-left: 5px; + margin-right: 5px; + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #ededed; + background-image: -moz-linear-gradient(top, #f2f2f2, #e5e5e5); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5)); + background-image: -webkit-linear-gradient(top, #f2f2f2, #e5e5e5); + background-image: -o-linear-gradient(top, #f2f2f2, #e5e5e5); + background-image: linear-gradient(to bottom, #f2f2f2, #e5e5e5); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0); + border-color: #e5e5e5 #e5e5e5 #bfbfbf; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + *background-color: #e5e5e5; + /* Darken IE7 buttons by default so they stand out more given they won't have borders */ + + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); + -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); + box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); +} +.navbar .btn-navbar:hover, +.navbar .btn-navbar:focus, +.navbar .btn-navbar:active, +.navbar .btn-navbar.active, +.navbar .btn-navbar.disabled, +.navbar .btn-navbar[disabled] { + color: #ffffff; + background-color: #e5e5e5; + *background-color: #d9d9d9; +} +.navbar .btn-navbar:active, +.navbar .btn-navbar.active { + background-color: #cccccc \9; +} +.navbar .btn-navbar .icon-bar { + display: block; + width: 18px; + height: 2px; + background-color: #f5f5f5; + -webkit-border-radius: 1px; + -moz-border-radius: 1px; + border-radius: 1px; + -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); +} +.btn-navbar .icon-bar + .icon-bar { + margin-top: 3px; +} +.navbar .nav > li > .dropdown-menu:before { + content: ''; + display: inline-block; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + border-bottom: 7px solid #ccc; + border-bottom-color: rgba(0, 0, 0, 0.2); + position: absolute; + top: -7px; + left: 9px; +} +.navbar .nav > li > .dropdown-menu:after { + content: ''; + display: inline-block; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + border-bottom: 6px solid #ffffff; + position: absolute; + top: -6px; + left: 10px; +} +.navbar-fixed-bottom .nav > li > .dropdown-menu:before { + border-top: 7px solid #ccc; + border-top-color: rgba(0, 0, 0, 0.2); + border-bottom: 0; + bottom: -7px; + top: auto; +} +.navbar-fixed-bottom .nav > li > .dropdown-menu:after { + border-top: 6px solid #ffffff; + border-bottom: 0; + bottom: -6px; + top: auto; +} +.navbar .nav li.dropdown > a:hover .caret, +.navbar .nav li.dropdown > a:focus .caret { + border-top-color: #333333; + border-bottom-color: #333333; +} +.navbar .nav li.dropdown.open > .dropdown-toggle, +.navbar .nav li.dropdown.active > .dropdown-toggle, +.navbar .nav li.dropdown.open.active > .dropdown-toggle { + background-color: #e5e5e5; + color: #555555; +} +.navbar .nav li.dropdown > .dropdown-toggle .caret { + border-top-color: #777777; + border-bottom-color: #777777; +} +.navbar .nav li.dropdown.open > .dropdown-toggle .caret, +.navbar .nav li.dropdown.active > .dropdown-toggle .caret, +.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { + border-top-color: #555555; + border-bottom-color: #555555; +} +.navbar .pull-right > li > .dropdown-menu, +.navbar .nav > li > .dropdown-menu.pull-right { + left: auto; + right: 0; +} +.navbar .pull-right > li > .dropdown-menu:before, +.navbar .nav > li > .dropdown-menu.pull-right:before { + left: auto; + right: 12px; +} +.navbar .pull-right > li > .dropdown-menu:after, +.navbar .nav > li > .dropdown-menu.pull-right:after { + left: auto; + right: 13px; +} +.navbar .pull-right > li > .dropdown-menu .dropdown-menu, +.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { + left: auto; + right: 100%; + margin-left: 0; + margin-right: -1px; + -webkit-border-radius: 6px 0 6px 6px; + -moz-border-radius: 6px 0 6px 6px; + border-radius: 6px 0 6px 6px; +} +.navbar-inverse .navbar-inner { + background-color: #1b1b1b; + background-image: -moz-linear-gradient(top, #222222, #111111); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111)); + background-image: -webkit-linear-gradient(top, #222222, #111111); + background-image: -o-linear-gradient(top, #222222, #111111); + background-image: linear-gradient(to bottom, #222222, #111111); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0); + border-color: #252525; +} +.navbar-inverse .brand, +.navbar-inverse .nav > li > a { + color: #999999; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.navbar-inverse .brand:hover, +.navbar-inverse .nav > li > a:hover, +.navbar-inverse .brand:focus, +.navbar-inverse .nav > li > a:focus { + color: #ffffff; +} +.navbar-inverse .brand { + color: #999999; +} +.navbar-inverse .navbar-text { + color: #999999; +} +.navbar-inverse .nav > li > a:focus, +.navbar-inverse .nav > li > a:hover { + background-color: transparent; + color: #ffffff; +} +.navbar-inverse .nav .active > a, +.navbar-inverse .nav .active > a:hover, +.navbar-inverse .nav .active > a:focus { + color: #ffffff; + background-color: #111111; +} +.navbar-inverse .navbar-link { + color: #999999; +} +.navbar-inverse .navbar-link:hover, +.navbar-inverse .navbar-link:focus { + color: #ffffff; +} +.navbar-inverse .divider-vertical { + border-left-color: #111111; + border-right-color: #222222; +} +.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, +.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, +.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { + background-color: #111111; + color: #ffffff; +} +.navbar-inverse .nav li.dropdown > a:hover .caret, +.navbar-inverse .nav li.dropdown > a:focus .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; +} +.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { + border-top-color: #999999; + border-bottom-color: #999999; +} +.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, +.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, +.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; +} +.navbar-inverse .navbar-search .search-query { + color: #ffffff; + background-color: #515151; + border-color: #111111; + -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); + -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); + box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); + -webkit-transition: none; + -moz-transition: none; + -o-transition: none; + transition: none; +} +.navbar-inverse .navbar-search .search-query:-moz-placeholder { + color: #cccccc; +} +.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { + color: #cccccc; +} +.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { + color: #cccccc; +} +.navbar-inverse .navbar-search .search-query:focus, +.navbar-inverse .navbar-search .search-query.focused { + padding: 5px 15px; + color: #333333; + text-shadow: 0 1px 0 #ffffff; + background-color: #ffffff; + border: 0; + -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); + -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); + box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); + outline: 0; +} +.navbar-inverse .btn-navbar { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #0e0e0e; + background-image: -moz-linear-gradient(top, #151515, #040404); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#151515), to(#040404)); + background-image: -webkit-linear-gradient(top, #151515, #040404); + background-image: -o-linear-gradient(top, #151515, #040404); + background-image: linear-gradient(to bottom, #151515, #040404); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515', endColorstr='#ff040404', GradientType=0); + border-color: #040404 #040404 #000000; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + *background-color: #040404; + /* Darken IE7 buttons by default so they stand out more given they won't have borders */ + + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.navbar-inverse .btn-navbar:hover, +.navbar-inverse .btn-navbar:focus, +.navbar-inverse .btn-navbar:active, +.navbar-inverse .btn-navbar.active, +.navbar-inverse .btn-navbar.disabled, +.navbar-inverse .btn-navbar[disabled] { + color: #ffffff; + background-color: #040404; + *background-color: #000000; +} +.navbar-inverse .btn-navbar:active, +.navbar-inverse .btn-navbar.active { + background-color: #000000 \9; +} +.breadcrumb { + padding: 8px 15px; + margin: 0 0 20px; + list-style: none; + background-color: #f5f5f5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.breadcrumb > li { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; + text-shadow: 0 1px 0 #ffffff; +} +.breadcrumb > li > .divider { + padding: 0 5px; + color: #ccc; +} +.breadcrumb > .active { + color: #999999; +} +.pagination { + margin: 20px 0; +} +.pagination ul { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; + margin-left: 0; + margin-bottom: 0; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); +} +.pagination ul > li { + display: inline; +} +.pagination ul > li > a, +.pagination ul > li > span { + float: left; + padding: 4px 12px; + line-height: 20px; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; + border-left-width: 0; +} +.pagination ul > li > a:hover, +.pagination ul > li > a:focus, +.pagination ul > .active > a, +.pagination ul > .active > span { + background-color: #f5f5f5; +} +.pagination ul > .active > a, +.pagination ul > .active > span { + color: #999999; + cursor: default; +} +.pagination ul > .disabled > span, +.pagination ul > .disabled > a, +.pagination ul > .disabled > a:hover, +.pagination ul > .disabled > a:focus { + color: #999999; + background-color: transparent; + cursor: default; +} +.pagination ul > li:first-child > a, +.pagination ul > li:first-child > span { + border-left-width: 1px; + -webkit-border-top-left-radius: 4px; + -moz-border-radius-topleft: 4px; + border-top-left-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + border-bottom-left-radius: 4px; +} +.pagination ul > li:last-child > a, +.pagination ul > li:last-child > span { + -webkit-border-top-right-radius: 4px; + -moz-border-radius-topright: 4px; + border-top-right-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -moz-border-radius-bottomright: 4px; + border-bottom-right-radius: 4px; +} +.pagination-centered { + text-align: center; +} +.pagination-right { + text-align: right; +} +.pagination-large ul > li > a, +.pagination-large ul > li > span { + padding: 11px 19px; + font-size: 17.5px; +} +.pagination-large ul > li:first-child > a, +.pagination-large ul > li:first-child > span { + -webkit-border-top-left-radius: 6px; + -moz-border-radius-topleft: 6px; + border-top-left-radius: 6px; + -webkit-border-bottom-left-radius: 6px; + -moz-border-radius-bottomleft: 6px; + border-bottom-left-radius: 6px; +} +.pagination-large ul > li:last-child > a, +.pagination-large ul > li:last-child > span { + -webkit-border-top-right-radius: 6px; + -moz-border-radius-topright: 6px; + border-top-right-radius: 6px; + -webkit-border-bottom-right-radius: 6px; + -moz-border-radius-bottomright: 6px; + border-bottom-right-radius: 6px; +} +.pagination-mini ul > li:first-child > a, +.pagination-small ul > li:first-child > a, +.pagination-mini ul > li:first-child > span, +.pagination-small ul > li:first-child > span { + -webkit-border-top-left-radius: 3px; + -moz-border-radius-topleft: 3px; + border-top-left-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -moz-border-radius-bottomleft: 3px; + border-bottom-left-radius: 3px; +} +.pagination-mini ul > li:last-child > a, +.pagination-small ul > li:last-child > a, +.pagination-mini ul > li:last-child > span, +.pagination-small ul > li:last-child > span { + -webkit-border-top-right-radius: 3px; + -moz-border-radius-topright: 3px; + border-top-right-radius: 3px; + -webkit-border-bottom-right-radius: 3px; + -moz-border-radius-bottomright: 3px; + border-bottom-right-radius: 3px; +} +.pagination-small ul > li > a, +.pagination-small ul > li > span { + padding: 2px 10px; + font-size: 11.9px; +} +.pagination-mini ul > li > a, +.pagination-mini ul > li > span { + padding: 0 6px; + font-size: 10.5px; +} +.pager { + margin: 20px 0; + list-style: none; + text-align: center; + *zoom: 1; +} +.pager:before, +.pager:after { + display: table; + content: ""; + line-height: 0; +} +.pager:after { + clear: both; +} +.pager li { + display: inline; +} +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #fff; + border: 1px solid #ddd; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #f5f5f5; +} +.pager .next > a, +.pager .next > span { + float: right; +} +.pager .previous > a, +.pager .previous > span { + float: left; +} +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + background-color: #fff; + cursor: default; +} +.thumbnails { + margin-left: -20px; + list-style: none; + *zoom: 1; +} +.thumbnails:before, +.thumbnails:after { + display: table; + content: ""; + line-height: 0; +} +.thumbnails:after { + clear: both; +} +.row-fluid .thumbnails { + margin-left: 0; +} +.thumbnails > li { + float: left; + margin-bottom: 20px; + margin-left: 20px; +} +.thumbnail { + display: block; + padding: 4px; + line-height: 20px; + border: 1px solid #ddd; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} +a.thumbnail:hover, +a.thumbnail:focus { + border-color: #0088cc; + -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); + -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); + box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); +} +.thumbnail > img { + display: block; + max-width: 100%; + margin-left: auto; + margin-right: auto; +} +.thumbnail .caption { + padding: 9px; + color: #555555; +} +.alert { + padding: 8px 35px 8px 14px; + margin-bottom: 20px; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + background-color: #fcf8e3; + border: 1px solid #fbeed5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.alert, +.alert h4 { + color: #c09853; +} +.alert h4 { + margin: 0; +} +.alert .close { + position: relative; + top: -2px; + right: -21px; + line-height: 20px; +} +.alert-success { + background-color: #dff0d8; + border-color: #d6e9c6; + color: #468847; +} +.alert-success h4 { + color: #468847; +} +.alert-danger, +.alert-error { + background-color: #f2dede; + border-color: #eed3d7; + color: #b94a48; +} +.alert-danger h4, +.alert-error h4 { + color: #b94a48; +} +.alert-info { + background-color: #d9edf7; + border-color: #bce8f1; + color: #3a87ad; +} +.alert-info h4 { + color: #3a87ad; +} +.alert-block { + padding-top: 14px; + padding-bottom: 14px; +} +.alert-block > p, +.alert-block > ul { + margin-bottom: 0; +} +.alert-block p + p { + margin-top: 5px; +} +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@-moz-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@-ms-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@-o-keyframes progress-bar-stripes { + from { + background-position: 0 0; + } + to { + background-position: 40px 0; + } +} +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +.progress { + overflow: hidden; + height: 20px; + margin-bottom: 20px; + background-color: #f7f7f7; + background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); + background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.progress .bar { + width: 0%; + height: 100%; + color: #ffffff; + float: left; + font-size: 12px; + text-align: center; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #0e90d2; + background-image: -moz-linear-gradient(top, #149bdf, #0480be); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); + background-image: -webkit-linear-gradient(top, #149bdf, #0480be); + background-image: -o-linear-gradient(top, #149bdf, #0480be); + background-image: linear-gradient(to bottom, #149bdf, #0480be); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: width 0.6s ease; + -moz-transition: width 0.6s ease; + -o-transition: width 0.6s ease; + transition: width 0.6s ease; +} +.progress .bar + .bar { + -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); + -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); + box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); +} +.progress-striped .bar { + background-color: #149bdf; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + -webkit-background-size: 40px 40px; + -moz-background-size: 40px 40px; + -o-background-size: 40px 40px; + background-size: 40px 40px; +} +.progress.active .bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + -moz-animation: progress-bar-stripes 2s linear infinite; + -ms-animation: progress-bar-stripes 2s linear infinite; + -o-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} +.progress-danger .bar, +.progress .bar-danger { + background-color: #dd514c; + background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); + background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); + background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); + background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); +} +.progress-danger.progress-striped .bar, +.progress-striped .bar-danger { + background-color: #ee5f5b; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} +.progress-success .bar, +.progress .bar-success { + background-color: #5eb95e; + background-image: -moz-linear-gradient(top, #62c462, #57a957); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); + background-image: -webkit-linear-gradient(top, #62c462, #57a957); + background-image: -o-linear-gradient(top, #62c462, #57a957); + background-image: linear-gradient(to bottom, #62c462, #57a957); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); +} +.progress-success.progress-striped .bar, +.progress-striped .bar-success { + background-color: #62c462; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} +.progress-info .bar, +.progress .bar-info { + background-color: #4bb1cf; + background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); + background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); + background-image: -o-linear-gradient(top, #5bc0de, #339bb9); + background-image: linear-gradient(to bottom, #5bc0de, #339bb9); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); +} +.progress-info.progress-striped .bar, +.progress-striped .bar-info { + background-color: #5bc0de; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} +.progress-warning .bar, +.progress .bar-warning { + background-color: #faa732; + background-image: -moz-linear-gradient(top, #fbb450, #f89406); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); + background-image: -webkit-linear-gradient(top, #fbb450, #f89406); + background-image: -o-linear-gradient(top, #fbb450, #f89406); + background-image: linear-gradient(to bottom, #fbb450, #f89406); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0); +} +.progress-warning.progress-striped .bar, +.progress-striped .bar-warning { + background-color: #fbb450; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} +.hero-unit { + padding: 60px; + margin-bottom: 30px; + font-size: 18px; + font-weight: 200; + line-height: 30px; + color: inherit; + background-color: #eeeeee; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} +.hero-unit h1 { + margin-bottom: 0; + font-size: 60px; + line-height: 1; + color: inherit; + letter-spacing: -1px; +} +.hero-unit li { + line-height: 30px; +} +.media, +.media-body { + overflow: hidden; + *overflow: visible; + zoom: 1; +} +.media, +.media .media { + margin-top: 15px; +} +.media:first-child { + margin-top: 0; +} +.media-object { + display: block; +} +.media-heading { + margin: 0 0 5px; +} +.media > .pull-left { + margin-right: 10px; +} +.media > .pull-right { + margin-left: 10px; +} +.media-list { + margin-left: 0; + list-style: none; +} +.tooltip { + position: absolute; + z-index: 1030; + display: block; + visibility: visible; + font-size: 11px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); +} +.tooltip.in { + opacity: 0.8; + filter: alpha(opacity=80); +} +.tooltip.top { + margin-top: -3px; + padding: 5px 0; +} +.tooltip.right { + margin-left: 3px; + padding: 0 5px; +} +.tooltip.bottom { + margin-top: 3px; + padding: 5px 0; +} +.tooltip.left { + margin-left: -3px; + padding: 0 5px; +} +.tooltip-inner { + max-width: 200px; + padding: 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-width: 5px 5px 0; + border-top-color: #000000; +} +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-width: 5px 5px 5px 0; + border-right-color: #000000; +} +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-width: 5px 0 5px 5px; + border-left-color: #000000; +} +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000000; +} +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + background-color: #ffffff; + -webkit-background-clip: padding-box; + -moz-background-clip: padding; + background-clip: padding-box; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + white-space: normal; +} +.popover.top { + margin-top: -10px; +} +.popover.right { + margin-left: 10px; +} +.popover.bottom { + margin-top: 10px; +} +.popover.left { + margin-left: -10px; +} +.popover-title { + margin: 0; + padding: 8px 14px; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + -webkit-border-radius: 5px 5px 0 0; + -moz-border-radius: 5px 5px 0 0; + border-radius: 5px 5px 0 0; +} +.popover-title:empty { + display: none; +} +.popover-content { + padding: 9px 14px; +} +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.popover .arrow { + border-width: 11px; +} +.popover .arrow:after { + border-width: 10px; + content: ""; +} +.popover.top .arrow { + left: 50%; + margin-left: -11px; + border-bottom-width: 0; + border-top-color: #999; + border-top-color: rgba(0, 0, 0, 0.25); + bottom: -11px; +} +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-bottom-width: 0; + border-top-color: #ffffff; +} +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-left-width: 0; + border-right-color: #999; + border-right-color: rgba(0, 0, 0, 0.25); +} +.popover.right .arrow:after { + left: 1px; + bottom: -10px; + border-left-width: 0; + border-right-color: #ffffff; +} +.popover.bottom .arrow { + left: 50%; + margin-left: -11px; + border-top-width: 0; + border-bottom-color: #999; + border-bottom-color: rgba(0, 0, 0, 0.25); + top: -11px; +} +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-top-width: 0; + border-bottom-color: #ffffff; +} +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-right-width: 0; + border-left-color: #999; + border-left-color: rgba(0, 0, 0, 0.25); +} +.popover.left .arrow:after { + right: 1px; + border-right-width: 0; + border-left-color: #ffffff; + bottom: -10px; +} +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000000; +} +.modal-backdrop.fade { + opacity: 0; +} +.modal-backdrop, +.modal-backdrop.fade.in { + opacity: 0.8; + filter: alpha(opacity=80); +} +.modal { + position: fixed; + top: 10%; + left: 50%; + z-index: 1050; + width: 560px; + margin-left: -280px; + background-color: #ffffff; + border: 1px solid #999; + border: 1px solid rgba(0, 0, 0, 0.3); + *border: 1px solid #999; + /* IE6-7 */ + + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + outline: none; +} +.modal.fade { + -webkit-transition: opacity .3s linear, top .3s ease-out; + -moz-transition: opacity .3s linear, top .3s ease-out; + -o-transition: opacity .3s linear, top .3s ease-out; + transition: opacity .3s linear, top .3s ease-out; + top: -25%; +} +.modal.fade.in { + top: 10%; +} +.modal-header { + padding: 9px 15px; + border-bottom: 1px solid #eee; +} +.modal-header .close { + margin-top: 2px; +} +.modal-header h3 { + margin: 0; + line-height: 30px; +} +.modal-body { + position: relative; + overflow-y: auto; + max-height: 400px; + padding: 15px; +} +.modal-form { + margin-bottom: 0; +} +.modal-footer { + padding: 14px 15px 15px; + margin-bottom: 0; + text-align: right; + background-color: #f5f5f5; + border-top: 1px solid #ddd; + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; + -webkit-box-shadow: inset 0 1px 0 #ffffff; + -moz-box-shadow: inset 0 1px 0 #ffffff; + box-shadow: inset 0 1px 0 #ffffff; + *zoom: 1; +} +.modal-footer:before, +.modal-footer:after { + display: table; + content: ""; + line-height: 0; +} +.modal-footer:after { + clear: both; +} +.modal-footer .btn + .btn { + margin-left: 5px; + margin-bottom: 0; +} +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} +.dropup, +.dropdown { + position: relative; +} +.dropdown-toggle { + *margin-bottom: -3px; +} +.dropdown-toggle:active, +.open .dropdown-toggle { + outline: 0; +} +.caret { + display: inline-block; + width: 0; + height: 0; + vertical-align: top; + border-top: 4px solid #000000; + border-right: 4px solid transparent; + border-left: 4px solid transparent; + content: ""; +} +.dropdown .caret { + margin-top: 8px; + margin-left: 2px; +} +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + list-style: none; + background-color: #ffffff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + *border-right-width: 2px; + *border-bottom-width: 2px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -webkit-background-clip: padding-box; + -moz-background-clip: padding; + background-clip: padding-box; +} +.dropdown-menu.pull-right { + right: 0; + left: auto; +} +.dropdown-menu .divider { + *width: 100%; + height: 1px; + margin: 9px 1px; + *margin: -5px 0 5px; + overflow: hidden; + background-color: #e5e5e5; + border-bottom: 1px solid #ffffff; +} +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 20px; + color: #333333; + white-space: nowrap; +} +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus, +.dropdown-submenu:hover > a, +.dropdown-submenu:focus > a { + text-decoration: none; + color: #ffffff; + background-color: #0081c2; + background-image: -moz-linear-gradient(top, #0088cc, #0077b3); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); + background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); + background-image: -o-linear-gradient(top, #0088cc, #0077b3); + background-image: linear-gradient(to bottom, #0088cc, #0077b3); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); +} +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + outline: 0; + background-color: #0081c2; + background-image: -moz-linear-gradient(top, #0088cc, #0077b3); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); + background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); + background-image: -o-linear-gradient(top, #0088cc, #0077b3); + background-image: linear-gradient(to bottom, #0088cc, #0077b3); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); +} +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + cursor: default; +} +.open { + *z-index: 1000; +} +.open > .dropdown-menu { + display: block; +} +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid #000000; + content: ""; +} +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} +.dropdown-submenu { + position: relative; +} +.dropdown-submenu > .dropdown-menu { + top: 0; + left: 100%; + margin-top: -6px; + margin-left: -1px; + -webkit-border-radius: 0 6px 6px 6px; + -moz-border-radius: 0 6px 6px 6px; + border-radius: 0 6px 6px 6px; +} +.dropdown-submenu:hover > .dropdown-menu { + display: block; +} +.dropup .dropdown-submenu > .dropdown-menu { + top: auto; + bottom: 0; + margin-top: 0; + margin-bottom: -2px; + -webkit-border-radius: 5px 5px 5px 0; + -moz-border-radius: 5px 5px 5px 0; + border-radius: 5px 5px 5px 0; +} +.dropdown-submenu > a:after { + display: block; + content: " "; + float: right; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; + border-width: 5px 0 5px 5px; + border-left-color: #cccccc; + margin-top: 5px; + margin-right: -10px; +} +.dropdown-submenu:hover > a:after { + border-left-color: #ffffff; +} +.dropdown-submenu.pull-left { + float: none; +} +.dropdown-submenu.pull-left > .dropdown-menu { + left: -100%; + margin-left: 10px; + -webkit-border-radius: 6px 0 6px 6px; + -moz-border-radius: 6px 0 6px 6px; + border-radius: 6px 0 6px 6px; +} +.dropdown .dropdown-menu .nav-header { + padding-left: 20px; + padding-right: 20px; +} +.typeahead { + z-index: 1051; + margin-top: 2px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.accordion { + margin-bottom: 20px; +} +.accordion-group { + margin-bottom: 2px; + border: 1px solid #e5e5e5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.accordion-heading { + border-bottom: 0; +} +.accordion-heading .accordion-toggle { + display: block; + padding: 8px 15px; +} +.accordion-toggle { + cursor: pointer; +} +.accordion-inner { + padding: 9px 15px; + border-top: 1px solid #e5e5e5; +} +.carousel { + position: relative; + margin-bottom: 20px; + line-height: 1; +} +.carousel-inner { + overflow: hidden; + width: 100%; + position: relative; +} +.carousel-inner > .item { + display: none; + position: relative; + -webkit-transition: 0.6s ease-in-out left; + -moz-transition: 0.6s ease-in-out left; + -o-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + line-height: 1; +} +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} +.carousel-inner > .active { + left: 0; +} +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} +.carousel-inner > .next { + left: 100%; +} +.carousel-inner > .prev { + left: -100%; +} +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} +.carousel-inner > .active.left { + left: -100%; +} +.carousel-inner > .active.right { + left: 100%; +} +.carousel-control { + position: absolute; + top: 40%; + left: 15px; + width: 40px; + height: 40px; + margin-top: -20px; + font-size: 60px; + font-weight: 100; + line-height: 30px; + color: #ffffff; + text-align: center; + background: #222222; + border: 3px solid #ffffff; + -webkit-border-radius: 23px; + -moz-border-radius: 23px; + border-radius: 23px; + opacity: 0.5; + filter: alpha(opacity=50); +} +.carousel-control.right { + left: auto; + right: 15px; +} +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + opacity: 0.9; + filter: alpha(opacity=90); +} +.carousel-indicators { + position: absolute; + top: 15px; + right: 15px; + z-index: 5; + margin: 0; + list-style: none; +} +.carousel-indicators li { + display: block; + float: left; + width: 10px; + height: 10px; + margin-left: 5px; + text-indent: -999px; + background-color: #ccc; + background-color: rgba(255, 255, 255, 0.25); + border-radius: 5px; +} +.carousel-indicators .active { + background-color: #fff; +} +.carousel-caption { + position: absolute; + left: 0; + right: 0; + bottom: 0; + padding: 15px; + background: #333333; + background: rgba(0, 0, 0, 0.75); +} +.carousel-caption h4, +.carousel-caption p { + color: #ffffff; + line-height: 20px; +} +.carousel-caption h4 { + margin: 0 0 5px; +} +.carousel-caption p { + margin-bottom: 0; +} +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} +.well-large { + padding: 24px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} +.well-small { + padding: 9px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.close { + float: right; + font-size: 20px; + font-weight: bold; + line-height: 20px; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.4; + filter: alpha(opacity=40); +} +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} +.pull-right { + float: right; +} +.pull-left { + float: left; +} +.hide { + display: none; +} +.show { + display: block; +} +.invisible { + visibility: hidden; +} +.affix { + position: fixed; +} +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + -moz-transition: opacity 0.15s linear; + -o-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} +.fade.in { + opacity: 1; +} +.collapse { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + -moz-transition: height 0.35s ease; + -o-transition: height 0.35s ease; + transition: height 0.35s ease; +} +.collapse.in { + height: auto; +} +@-ms-viewport { + width: device-width; +} +.hidden { + display: none; + visibility: hidden; +} +.visible-phone { + display: none !important; +} +.visible-tablet { + display: none !important; +} +.hidden-desktop { + display: none !important; +} +.visible-desktop { + display: inherit !important; +} +@media (min-width: 768px) and (max-width: 979px) { + .hidden-desktop { + display: inherit !important; + } + .visible-desktop { + display: none !important ; + } + .visible-tablet { + display: inherit !important; + } + .hidden-tablet { + display: none !important; + } +} +@media (max-width: 767px) { + .hidden-desktop { + display: inherit !important; + } + .visible-desktop { + display: none !important; + } + .visible-phone { + display: inherit !important; + } + .hidden-phone { + display: none !important; + } +} +.visible-print { + display: none !important; +} +@media print { + .visible-print { + display: inherit !important; + } + .hidden-print { + display: none !important; + } +} +@media (max-width: 767px) { + body { + padding-left: 20px; + padding-right: 20px; + } + .navbar-fixed-top, + .navbar-fixed-bottom, + .navbar-static-top { + margin-left: -20px; + margin-right: -20px; + } + .container-fluid { + padding: 0; + } + .dl-horizontal dt { + float: none; + clear: none; + width: auto; + text-align: left; + } + .dl-horizontal dd { + margin-left: 0; + } + .container { + width: auto; + } + .row-fluid { + width: 100%; + } + .row, + .thumbnails { + margin-left: 0; + } + .thumbnails > li { + float: none; + margin-left: 0; + } + [class*="span"], + .uneditable-input[class*="span"], + .row-fluid [class*="span"] { + float: none; + display: block; + width: 100%; + margin-left: 0; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + } + .span12, + .row-fluid .span12 { + width: 100%; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + } + .row-fluid [class*="offset"]:first-child { + margin-left: 0; + } + .input-large, + .input-xlarge, + .input-xxlarge, + input[class*="span"], + select[class*="span"], + textarea[class*="span"], + .uneditable-input { + display: block; + width: 100%; + min-height: 30px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + } + .input-prepend input, + .input-append input, + .input-prepend input[class*="span"], + .input-append input[class*="span"] { + display: inline-block; + width: auto; + } + .controls-row [class*="span"] + [class*="span"] { + margin-left: 0; + } + .modal { + position: fixed; + top: 20px; + left: 20px; + right: 20px; + width: auto; + margin: 0; + } + .modal.fade { + top: -100px; + } + .modal.fade.in { + top: 20px; + } +} +@media (max-width: 480px) { + .nav-collapse { + -webkit-transform: translate3d(0, 0, 0); + } + .page-header h1 small { + display: block; + line-height: 20px; + } + input[type="checkbox"], + input[type="radio"] { + border: 1px solid #ccc; + } + .form-horizontal .control-label { + float: none; + width: auto; + padding-top: 0; + text-align: left; + } + .form-horizontal .controls { + margin-left: 0; + } + .form-horizontal .control-list { + padding-top: 0; + } + .form-horizontal .form-actions { + padding-left: 10px; + padding-right: 10px; + } + .media .pull-left, + .media .pull-right { + float: none; + display: block; + margin-bottom: 10px; + } + .media-object { + margin-right: 0; + margin-left: 0; + } + .modal { + top: 10px; + left: 10px; + right: 10px; + } + .modal-header .close { + padding: 10px; + margin: -10px; + } + .carousel-caption { + position: static; + } +} +@media (min-width: 768px) and (max-width: 979px) { + .row { + margin-left: -20px; + *zoom: 1; + } + .row:before, + .row:after { + display: table; + content: ""; + line-height: 0; + } + .row:after { + clear: both; + } + [class*="span"] { + float: left; + min-height: 1px; + margin-left: 20px; + } + .container, + .navbar-static-top .container, + .navbar-fixed-top .container, + .navbar-fixed-bottom .container { + width: 724px; + } + .span12 { + width: 724px; + } + .span11 { + width: 662px; + } + .span10 { + width: 600px; + } + .span9 { + width: 538px; + } + .span8 { + width: 476px; + } + .span7 { + width: 414px; + } + .span6 { + width: 352px; + } + .span5 { + width: 290px; + } + .span4 { + width: 228px; + } + .span3 { + width: 166px; + } + .span2 { + width: 104px; + } + .span1 { + width: 42px; + } + .offset12 { + margin-left: 764px; + } + .offset11 { + margin-left: 702px; + } + .offset10 { + margin-left: 640px; + } + .offset9 { + margin-left: 578px; + } + .offset8 { + margin-left: 516px; + } + .offset7 { + margin-left: 454px; + } + .offset6 { + margin-left: 392px; + } + .offset5 { + margin-left: 330px; + } + .offset4 { + margin-left: 268px; + } + .offset3 { + margin-left: 206px; + } + .offset2 { + margin-left: 144px; + } + .offset1 { + margin-left: 82px; + } + .row-fluid { + width: 100%; + *zoom: 1; + } + .row-fluid:before, + .row-fluid:after { + display: table; + content: ""; + line-height: 0; + } + .row-fluid:after { + clear: both; + } + .row-fluid [class*="span"] { + display: block; + width: 100%; + min-height: 30px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + float: left; + margin-left: 2.7624309392265194%; + *margin-left: 2.709239449864817%; + } + .row-fluid [class*="span"]:first-child { + margin-left: 0; + } + .row-fluid .controls-row [class*="span"] + [class*="span"] { + margin-left: 2.7624309392265194%; + } + .row-fluid .span12 { + width: 100%; + *width: 99.94680851063829%; + } + .row-fluid .span11 { + width: 91.43646408839778%; + *width: 91.38327259903608%; + } + .row-fluid .span10 { + width: 82.87292817679558%; + *width: 82.81973668743387%; + } + .row-fluid .span9 { + width: 74.30939226519337%; + *width: 74.25620077583166%; + } + .row-fluid .span8 { + width: 65.74585635359117%; + *width: 65.69266486422946%; + } + .row-fluid .span7 { + width: 57.18232044198895%; + *width: 57.12912895262725%; + } + .row-fluid .span6 { + width: 48.61878453038674%; + *width: 48.56559304102504%; + } + .row-fluid .span5 { + width: 40.05524861878453%; + *width: 40.00205712942283%; + } + .row-fluid .span4 { + width: 31.491712707182323%; + *width: 31.43852121782062%; + } + .row-fluid .span3 { + width: 22.92817679558011%; + *width: 22.87498530621841%; + } + .row-fluid .span2 { + width: 14.3646408839779%; + *width: 14.311449394616199%; + } + .row-fluid .span1 { + width: 5.801104972375691%; + *width: 5.747913483013988%; + } + .row-fluid .offset12 { + margin-left: 105.52486187845304%; + *margin-left: 105.41847889972962%; + } + .row-fluid .offset12:first-child { + margin-left: 102.76243093922652%; + *margin-left: 102.6560479605031%; + } + .row-fluid .offset11 { + margin-left: 96.96132596685082%; + *margin-left: 96.8549429881274%; + } + .row-fluid .offset11:first-child { + margin-left: 94.1988950276243%; + *margin-left: 94.09251204890089%; + } + .row-fluid .offset10 { + margin-left: 88.39779005524862%; + *margin-left: 88.2914070765252%; + } + .row-fluid .offset10:first-child { + margin-left: 85.6353591160221%; + *margin-left: 85.52897613729868%; + } + .row-fluid .offset9 { + margin-left: 79.8342541436464%; + *margin-left: 79.72787116492299%; + } + .row-fluid .offset9:first-child { + margin-left: 77.07182320441989%; + *margin-left: 76.96544022569647%; + } + .row-fluid .offset8 { + margin-left: 71.2707182320442%; + *margin-left: 71.16433525332079%; + } + .row-fluid .offset8:first-child { + margin-left: 68.50828729281768%; + *margin-left: 68.40190431409427%; + } + .row-fluid .offset7 { + margin-left: 62.70718232044199%; + *margin-left: 62.600799341718584%; + } + .row-fluid .offset7:first-child { + margin-left: 59.94475138121547%; + *margin-left: 59.838368402492065%; + } + .row-fluid .offset6 { + margin-left: 54.14364640883978%; + *margin-left: 54.037263430116376%; + } + .row-fluid .offset6:first-child { + margin-left: 51.38121546961326%; + *margin-left: 51.27483249088986%; + } + .row-fluid .offset5 { + margin-left: 45.58011049723757%; + *margin-left: 45.47372751851417%; + } + .row-fluid .offset5:first-child { + margin-left: 42.81767955801105%; + *margin-left: 42.71129657928765%; + } + .row-fluid .offset4 { + margin-left: 37.01657458563536%; + *margin-left: 36.91019160691196%; + } + .row-fluid .offset4:first-child { + margin-left: 34.25414364640884%; + *margin-left: 34.14776066768544%; + } + .row-fluid .offset3 { + margin-left: 28.45303867403315%; + *margin-left: 28.346655695309746%; + } + .row-fluid .offset3:first-child { + margin-left: 25.69060773480663%; + *margin-left: 25.584224756083227%; + } + .row-fluid .offset2 { + margin-left: 19.88950276243094%; + *margin-left: 19.783119783707537%; + } + .row-fluid .offset2:first-child { + margin-left: 17.12707182320442%; + *margin-left: 17.02068884448102%; + } + .row-fluid .offset1 { + margin-left: 11.32596685082873%; + *margin-left: 11.219583872105325%; + } + .row-fluid .offset1:first-child { + margin-left: 8.56353591160221%; + *margin-left: 8.457152932878806%; + } + input, + textarea, + .uneditable-input { + margin-left: 0; + } + .controls-row [class*="span"] + [class*="span"] { + margin-left: 20px; + } + input.span12, + textarea.span12, + .uneditable-input.span12 { + width: 710px; + } + input.span11, + textarea.span11, + .uneditable-input.span11 { + width: 648px; + } + input.span10, + textarea.span10, + .uneditable-input.span10 { + width: 586px; + } + input.span9, + textarea.span9, + .uneditable-input.span9 { + width: 524px; + } + input.span8, + textarea.span8, + .uneditable-input.span8 { + width: 462px; + } + input.span7, + textarea.span7, + .uneditable-input.span7 { + width: 400px; + } + input.span6, + textarea.span6, + .uneditable-input.span6 { + width: 338px; + } + input.span5, + textarea.span5, + .uneditable-input.span5 { + width: 276px; + } + input.span4, + textarea.span4, + .uneditable-input.span4 { + width: 214px; + } + input.span3, + textarea.span3, + .uneditable-input.span3 { + width: 152px; + } + input.span2, + textarea.span2, + .uneditable-input.span2 { + width: 90px; + } + input.span1, + textarea.span1, + .uneditable-input.span1 { + width: 28px; + } +} +@media (min-width: 1200px) { + .row { + margin-left: -30px; + *zoom: 1; + } + .row:before, + .row:after { + display: table; + content: ""; + line-height: 0; + } + .row:after { + clear: both; + } + [class*="span"] { + float: left; + min-height: 1px; + margin-left: 30px; + } + .container, + .navbar-static-top .container, + .navbar-fixed-top .container, + .navbar-fixed-bottom .container { + width: 1170px; + } + .span12 { + width: 1170px; + } + .span11 { + width: 1070px; + } + .span10 { + width: 970px; + } + .span9 { + width: 870px; + } + .span8 { + width: 770px; + } + .span7 { + width: 670px; + } + .span6 { + width: 570px; + } + .span5 { + width: 470px; + } + .span4 { + width: 370px; + } + .span3 { + width: 270px; + } + .span2 { + width: 170px; + } + .span1 { + width: 70px; + } + .offset12 { + margin-left: 1230px; + } + .offset11 { + margin-left: 1130px; + } + .offset10 { + margin-left: 1030px; + } + .offset9 { + margin-left: 930px; + } + .offset8 { + margin-left: 830px; + } + .offset7 { + margin-left: 730px; + } + .offset6 { + margin-left: 630px; + } + .offset5 { + margin-left: 530px; + } + .offset4 { + margin-left: 430px; + } + .offset3 { + margin-left: 330px; + } + .offset2 { + margin-left: 230px; + } + .offset1 { + margin-left: 130px; + } + .row-fluid { + width: 100%; + *zoom: 1; + } + .row-fluid:before, + .row-fluid:after { + display: table; + content: ""; + line-height: 0; + } + .row-fluid:after { + clear: both; + } + .row-fluid [class*="span"] { + display: block; + width: 100%; + min-height: 30px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + float: left; + margin-left: 2.564102564102564%; + *margin-left: 2.5109110747408616%; + } + .row-fluid [class*="span"]:first-child { + margin-left: 0; + } + .row-fluid .controls-row [class*="span"] + [class*="span"] { + margin-left: 2.564102564102564%; + } + .row-fluid .span12 { + width: 100%; + *width: 99.94680851063829%; + } + .row-fluid .span11 { + width: 91.45299145299145%; + *width: 91.39979996362975%; + } + .row-fluid .span10 { + width: 82.90598290598291%; + *width: 82.8527914166212%; + } + .row-fluid .span9 { + width: 74.35897435897436%; + *width: 74.30578286961266%; + } + .row-fluid .span8 { + width: 65.81196581196582%; + *width: 65.75877432260411%; + } + .row-fluid .span7 { + width: 57.26495726495726%; + *width: 57.21176577559556%; + } + .row-fluid .span6 { + width: 48.717948717948715%; + *width: 48.664757228587014%; + } + .row-fluid .span5 { + width: 40.17094017094017%; + *width: 40.11774868157847%; + } + .row-fluid .span4 { + width: 31.623931623931625%; + *width: 31.570740134569924%; + } + .row-fluid .span3 { + width: 23.076923076923077%; + *width: 23.023731587561375%; + } + .row-fluid .span2 { + width: 14.52991452991453%; + *width: 14.476723040552828%; + } + .row-fluid .span1 { + width: 5.982905982905983%; + *width: 5.929714493544281%; + } + .row-fluid .offset12 { + margin-left: 105.12820512820512%; + *margin-left: 105.02182214948171%; + } + .row-fluid .offset12:first-child { + margin-left: 102.56410256410257%; + *margin-left: 102.45771958537915%; + } + .row-fluid .offset11 { + margin-left: 96.58119658119658%; + *margin-left: 96.47481360247316%; + } + .row-fluid .offset11:first-child { + margin-left: 94.01709401709402%; + *margin-left: 93.91071103837061%; + } + .row-fluid .offset10 { + margin-left: 88.03418803418803%; + *margin-left: 87.92780505546462%; + } + .row-fluid .offset10:first-child { + margin-left: 85.47008547008548%; + *margin-left: 85.36370249136206%; + } + .row-fluid .offset9 { + margin-left: 79.48717948717949%; + *margin-left: 79.38079650845607%; + } + .row-fluid .offset9:first-child { + margin-left: 76.92307692307693%; + *margin-left: 76.81669394435352%; + } + .row-fluid .offset8 { + margin-left: 70.94017094017094%; + *margin-left: 70.83378796144753%; + } + .row-fluid .offset8:first-child { + margin-left: 68.37606837606839%; + *margin-left: 68.26968539734497%; + } + .row-fluid .offset7 { + margin-left: 62.393162393162385%; + *margin-left: 62.28677941443899%; + } + .row-fluid .offset7:first-child { + margin-left: 59.82905982905982%; + *margin-left: 59.72267685033642%; + } + .row-fluid .offset6 { + margin-left: 53.84615384615384%; + *margin-left: 53.739770867430444%; + } + .row-fluid .offset6:first-child { + margin-left: 51.28205128205128%; + *margin-left: 51.175668303327875%; + } + .row-fluid .offset5 { + margin-left: 45.299145299145295%; + *margin-left: 45.1927623204219%; + } + .row-fluid .offset5:first-child { + margin-left: 42.73504273504273%; + *margin-left: 42.62865975631933%; + } + .row-fluid .offset4 { + margin-left: 36.75213675213675%; + *margin-left: 36.645753773413354%; + } + .row-fluid .offset4:first-child { + margin-left: 34.18803418803419%; + *margin-left: 34.081651209310785%; + } + .row-fluid .offset3 { + margin-left: 28.205128205128204%; + *margin-left: 28.0987452264048%; + } + .row-fluid .offset3:first-child { + margin-left: 25.641025641025642%; + *margin-left: 25.53464266230224%; + } + .row-fluid .offset2 { + margin-left: 19.65811965811966%; + *margin-left: 19.551736679396257%; + } + .row-fluid .offset2:first-child { + margin-left: 17.094017094017094%; + *margin-left: 16.98763411529369%; + } + .row-fluid .offset1 { + margin-left: 11.11111111111111%; + *margin-left: 11.004728132387708%; + } + .row-fluid .offset1:first-child { + margin-left: 8.547008547008547%; + *margin-left: 8.440625568285142%; + } + input, + textarea, + .uneditable-input { + margin-left: 0; + } + .controls-row [class*="span"] + [class*="span"] { + margin-left: 30px; + } + input.span12, + textarea.span12, + .uneditable-input.span12 { + width: 1156px; + } + input.span11, + textarea.span11, + .uneditable-input.span11 { + width: 1056px; + } + input.span10, + textarea.span10, + .uneditable-input.span10 { + width: 956px; + } + input.span9, + textarea.span9, + .uneditable-input.span9 { + width: 856px; + } + input.span8, + textarea.span8, + .uneditable-input.span8 { + width: 756px; + } + input.span7, + textarea.span7, + .uneditable-input.span7 { + width: 656px; + } + input.span6, + textarea.span6, + .uneditable-input.span6 { + width: 556px; + } + input.span5, + textarea.span5, + .uneditable-input.span5 { + width: 456px; + } + input.span4, + textarea.span4, + .uneditable-input.span4 { + width: 356px; + } + input.span3, + textarea.span3, + .uneditable-input.span3 { + width: 256px; + } + input.span2, + textarea.span2, + .uneditable-input.span2 { + width: 156px; + } + input.span1, + textarea.span1, + .uneditable-input.span1 { + width: 56px; + } + .thumbnails { + margin-left: -30px; + } + .thumbnails > li { + margin-left: 30px; + } + .row-fluid .thumbnails { + margin-left: 0; + } +} +@media (max-width: 979px) { + body { + padding-top: 0; + } + .navbar-fixed-top, + .navbar-fixed-bottom { + position: static; + } + .navbar-fixed-top { + margin-bottom: 20px; + } + .navbar-fixed-bottom { + margin-top: 20px; + } + .navbar-fixed-top .navbar-inner, + .navbar-fixed-bottom .navbar-inner { + padding: 5px; + } + .navbar .container { + width: auto; + padding: 0; + } + .navbar .brand { + padding-left: 10px; + padding-right: 10px; + margin: 0 0 0 -5px; + } + .nav-collapse { + clear: both; + } + .nav-collapse .nav { + float: none; + margin: 0 0 10px; + } + .nav-collapse .nav > li { + float: none; + } + .nav-collapse .nav > li > a { + margin-bottom: 2px; + } + .nav-collapse .nav > .divider-vertical { + display: none; + } + .nav-collapse .nav .nav-header { + color: #777777; + text-shadow: none; + } + .nav-collapse .nav > li > a, + .nav-collapse .dropdown-menu a { + padding: 9px 15px; + font-weight: bold; + color: #777777; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + } + .nav-collapse .btn { + padding: 4px 10px 4px; + font-weight: normal; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + } + .nav-collapse .dropdown-menu li + li a { + margin-bottom: 2px; + } + .nav-collapse .nav > li > a:hover, + .nav-collapse .nav > li > a:focus, + .nav-collapse .dropdown-menu a:hover, + .nav-collapse .dropdown-menu a:focus { + background-color: #f2f2f2; + } + .navbar-inverse .nav-collapse .nav > li > a, + .navbar-inverse .nav-collapse .dropdown-menu a { + color: #999999; + } + .navbar-inverse .nav-collapse .nav > li > a:hover, + .navbar-inverse .nav-collapse .nav > li > a:focus, + .navbar-inverse .nav-collapse .dropdown-menu a:hover, + .navbar-inverse .nav-collapse .dropdown-menu a:focus { + background-color: #111111; + } + .nav-collapse.in .btn-group { + margin-top: 5px; + padding: 0; + } + .nav-collapse .dropdown-menu { + position: static; + top: auto; + left: auto; + float: none; + display: none; + max-width: none; + margin: 0 15px; + padding: 0; + background-color: transparent; + border: none; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + } + .nav-collapse .open > .dropdown-menu { + display: block; + } + .nav-collapse .dropdown-menu:before, + .nav-collapse .dropdown-menu:after { + display: none; + } + .nav-collapse .dropdown-menu .divider { + display: none; + } + .nav-collapse .nav > li > .dropdown-menu:before, + .nav-collapse .nav > li > .dropdown-menu:after { + display: none; + } + .nav-collapse .navbar-form, + .nav-collapse .navbar-search { + float: none; + padding: 10px 15px; + margin: 10px 0; + border-top: 1px solid #f2f2f2; + border-bottom: 1px solid #f2f2f2; + -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1); + -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1); + box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1); + } + .navbar-inverse .nav-collapse .navbar-form, + .navbar-inverse .nav-collapse .navbar-search { + border-top-color: #111111; + border-bottom-color: #111111; + } + .navbar .nav-collapse .nav.pull-right { + float: none; + margin-left: 0; + } + .nav-collapse, + .nav-collapse.collapse { + overflow: hidden; + height: 0; + } + .navbar .btn-navbar { + display: block; + } + .navbar-static .navbar-inner { + padding-left: 10px; + padding-right: 10px; + } +} +@media (min-width: 980px) { + .nav-collapse.collapse { + height: auto !important; + overflow: visible !important; + } +} diff --git a/samples/CSS/bootstrap.min.css b/samples/CSS/bootstrap.min.css new file mode 100644 index 00000000..0f48a964 --- /dev/null +++ b/samples/CSS/bootstrap.min.css @@ -0,0 +1,873 @@ +/*! + * Bootstrap v2.3.1 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */ +.clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0;} +.clearfix:after{clear:both;} +.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0;} +.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;} +article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;} +audio,canvas,video{display:inline-block;*display:inline;*zoom:1;} +audio:not([controls]){display:none;} +html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;} +a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;} +a:hover,a:active{outline:0;} +sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;} +sup{top:-0.5em;} +sub{bottom:-0.25em;} +img{max-width:100%;width:auto\9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;} +#map_canvas img,.google-maps img{max-width:none;} +button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;} +button,input{*overflow:visible;line-height:normal;} +button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;} +button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;} +label,select,button,input[type="button"],input[type="reset"],input[type="submit"],input[type="radio"],input[type="checkbox"]{cursor:pointer;} +input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield;} +input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;} +textarea{overflow:auto;vertical-align:top;} +@media print{*{text-shadow:none !important;color:#000 !important;background:transparent !important;box-shadow:none !important;} a,a:visited{text-decoration:underline;} a[href]:after{content:" (" attr(href) ")";} abbr[title]:after{content:" (" attr(title) ")";} .ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:"";} pre,blockquote{border:1px solid #999;page-break-inside:avoid;} thead{display:table-header-group;} tr,img{page-break-inside:avoid;} img{max-width:100% !important;} @page {margin:0.5cm;}p,h2,h3{orphans:3;widows:3;} h2,h3{page-break-after:avoid;}}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333333;background-color:#ffffff;} +a{color:#0088cc;text-decoration:none;} +a:hover,a:focus{color:#005580;text-decoration:underline;} +.img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;} +.img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.2);-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);-moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);} +.img-circle{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px;} +.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";line-height:0;} +.row:after{clear:both;} +[class*="span"]{float:left;min-height:1px;margin-left:20px;} +.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px;} +.span12{width:940px;} +.span11{width:860px;} +.span10{width:780px;} +.span9{width:700px;} +.span8{width:620px;} +.span7{width:540px;} +.span6{width:460px;} +.span5{width:380px;} +.span4{width:300px;} +.span3{width:220px;} +.span2{width:140px;} +.span1{width:60px;} +.offset12{margin-left:980px;} +.offset11{margin-left:900px;} +.offset10{margin-left:820px;} +.offset9{margin-left:740px;} +.offset8{margin-left:660px;} +.offset7{margin-left:580px;} +.offset6{margin-left:500px;} +.offset5{margin-left:420px;} +.offset4{margin-left:340px;} +.offset3{margin-left:260px;} +.offset2{margin-left:180px;} +.offset1{margin-left:100px;} +.row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";line-height:0;} +.row-fluid:after{clear:both;} +.row-fluid [class*="span"]{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.127659574468085%;*margin-left:2.074468085106383%;} +.row-fluid [class*="span"]:first-child{margin-left:0;} +.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.127659574468085%;} +.row-fluid .span12{width:100%;*width:99.94680851063829%;} +.row-fluid .span11{width:91.48936170212765%;*width:91.43617021276594%;} +.row-fluid .span10{width:82.97872340425532%;*width:82.92553191489361%;} +.row-fluid .span9{width:74.46808510638297%;*width:74.41489361702126%;} +.row-fluid .span8{width:65.95744680851064%;*width:65.90425531914893%;} +.row-fluid .span7{width:57.44680851063829%;*width:57.39361702127659%;} +.row-fluid .span6{width:48.93617021276595%;*width:48.88297872340425%;} +.row-fluid .span5{width:40.42553191489362%;*width:40.37234042553192%;} +.row-fluid .span4{width:31.914893617021278%;*width:31.861702127659576%;} +.row-fluid .span3{width:23.404255319148934%;*width:23.351063829787233%;} +.row-fluid .span2{width:14.893617021276595%;*width:14.840425531914894%;} +.row-fluid .span1{width:6.382978723404255%;*width:6.329787234042553%;} +.row-fluid .offset12{margin-left:104.25531914893617%;*margin-left:104.14893617021275%;} +.row-fluid .offset12:first-child{margin-left:102.12765957446808%;*margin-left:102.02127659574467%;} +.row-fluid .offset11{margin-left:95.74468085106382%;*margin-left:95.6382978723404%;} +.row-fluid .offset11:first-child{margin-left:93.61702127659574%;*margin-left:93.51063829787232%;} +.row-fluid .offset10{margin-left:87.23404255319149%;*margin-left:87.12765957446807%;} +.row-fluid .offset10:first-child{margin-left:85.1063829787234%;*margin-left:84.99999999999999%;} +.row-fluid .offset9{margin-left:78.72340425531914%;*margin-left:78.61702127659572%;} +.row-fluid .offset9:first-child{margin-left:76.59574468085106%;*margin-left:76.48936170212764%;} +.row-fluid .offset8{margin-left:70.2127659574468%;*margin-left:70.10638297872339%;} +.row-fluid .offset8:first-child{margin-left:68.08510638297872%;*margin-left:67.9787234042553%;} +.row-fluid .offset7{margin-left:61.70212765957446%;*margin-left:61.59574468085106%;} +.row-fluid .offset7:first-child{margin-left:59.574468085106375%;*margin-left:59.46808510638297%;} +.row-fluid .offset6{margin-left:53.191489361702125%;*margin-left:53.085106382978715%;} +.row-fluid .offset6:first-child{margin-left:51.063829787234035%;*margin-left:50.95744680851063%;} +.row-fluid .offset5{margin-left:44.68085106382979%;*margin-left:44.57446808510638%;} +.row-fluid .offset5:first-child{margin-left:42.5531914893617%;*margin-left:42.4468085106383%;} +.row-fluid .offset4{margin-left:36.170212765957444%;*margin-left:36.06382978723405%;} +.row-fluid .offset4:first-child{margin-left:34.04255319148936%;*margin-left:33.93617021276596%;} +.row-fluid .offset3{margin-left:27.659574468085104%;*margin-left:27.5531914893617%;} +.row-fluid .offset3:first-child{margin-left:25.53191489361702%;*margin-left:25.425531914893618%;} +.row-fluid .offset2{margin-left:19.148936170212764%;*margin-left:19.04255319148936%;} +.row-fluid .offset2:first-child{margin-left:17.02127659574468%;*margin-left:16.914893617021278%;} +.row-fluid .offset1{margin-left:10.638297872340425%;*margin-left:10.53191489361702%;} +.row-fluid .offset1:first-child{margin-left:8.51063829787234%;*margin-left:8.404255319148938%;} +[class*="span"].hide,.row-fluid [class*="span"].hide{display:none;} +[class*="span"].pull-right,.row-fluid [class*="span"].pull-right{float:right;} +.container{margin-right:auto;margin-left:auto;*zoom:1;}.container:before,.container:after{display:table;content:"";line-height:0;} +.container:after{clear:both;} +.container-fluid{padding-right:20px;padding-left:20px;*zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";line-height:0;} +.container-fluid:after{clear:both;} +p{margin:0 0 10px;} +.lead{margin-bottom:20px;font-size:21px;font-weight:200;line-height:30px;} +small{font-size:85%;} +strong{font-weight:bold;} +em{font-style:italic;} +cite{font-style:normal;} +.muted{color:#999999;} +a.muted:hover,a.muted:focus{color:#808080;} +.text-warning{color:#c09853;} +a.text-warning:hover,a.text-warning:focus{color:#a47e3c;} +.text-error{color:#b94a48;} +a.text-error:hover,a.text-error:focus{color:#953b39;} +.text-info{color:#3a87ad;} +a.text-info:hover,a.text-info:focus{color:#2d6987;} +.text-success{color:#468847;} +a.text-success:hover,a.text-success:focus{color:#356635;} +.text-left{text-align:left;} +.text-right{text-align:right;} +.text-center{text-align:center;} +h1,h2,h3,h4,h5,h6{margin:10px 0;font-family:inherit;font-weight:bold;line-height:20px;color:inherit;text-rendering:optimizelegibility;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;line-height:1;color:#999999;} +h1,h2,h3{line-height:40px;} +h1{font-size:38.5px;} +h2{font-size:31.5px;} +h3{font-size:24.5px;} +h4{font-size:17.5px;} +h5{font-size:14px;} +h6{font-size:11.9px;} +h1 small{font-size:24.5px;} +h2 small{font-size:17.5px;} +h3 small{font-size:14px;} +h4 small{font-size:14px;} +.page-header{padding-bottom:9px;margin:20px 0 30px;border-bottom:1px solid #eeeeee;} +ul,ol{padding:0;margin:0 0 10px 25px;} +ul ul,ul ol,ol ol,ol ul{margin-bottom:0;} +li{line-height:20px;} +ul.unstyled,ol.unstyled{margin-left:0;list-style:none;} +ul.inline,ol.inline{margin-left:0;list-style:none;}ul.inline>li,ol.inline>li{display:inline-block;*display:inline;*zoom:1;padding-left:5px;padding-right:5px;} +dl{margin-bottom:20px;} +dt,dd{line-height:20px;} +dt{font-weight:bold;} +dd{margin-left:10px;} +.dl-horizontal{*zoom:1;}.dl-horizontal:before,.dl-horizontal:after{display:table;content:"";line-height:0;} +.dl-horizontal:after{clear:both;} +.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} +.dl-horizontal dd{margin-left:180px;} +hr{margin:20px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff;} +abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999999;} +abbr.initialism{font-size:90%;text-transform:uppercase;} +blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #eeeeee;}blockquote p{margin-bottom:0;font-size:17.5px;font-weight:300;line-height:1.25;} +blockquote small{display:block;line-height:20px;color:#999999;}blockquote small:before{content:'\2014 \00A0';} +blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0;}blockquote.pull-right p,blockquote.pull-right small{text-align:right;} +blockquote.pull-right small:before{content:'';} +blockquote.pull-right small:after{content:'\00A0 \2014';} +q:before,q:after,blockquote:before,blockquote:after{content:"";} +address{display:block;margin-bottom:20px;font-style:normal;line-height:20px;} +code,pre{padding:0 3px 2px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;color:#333333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} +code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8;white-space:nowrap;} +pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}pre.prettyprint{margin-bottom:20px;} +pre code{padding:0;color:inherit;white-space:pre;white-space:pre-wrap;background-color:transparent;border:0;} +.pre-scrollable{max-height:340px;overflow-y:scroll;} +.label,.badge{display:inline-block;padding:2px 4px;font-size:11.844px;font-weight:bold;line-height:14px;color:#ffffff;vertical-align:baseline;white-space:nowrap;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#999999;} +.label{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} +.badge{padding-left:9px;padding-right:9px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px;} +.label:empty,.badge:empty{display:none;} +a.label:hover,a.label:focus,a.badge:hover,a.badge:focus{color:#ffffff;text-decoration:none;cursor:pointer;} +.label-important,.badge-important{background-color:#b94a48;} +.label-important[href],.badge-important[href]{background-color:#953b39;} +.label-warning,.badge-warning{background-color:#f89406;} +.label-warning[href],.badge-warning[href]{background-color:#c67605;} +.label-success,.badge-success{background-color:#468847;} +.label-success[href],.badge-success[href]{background-color:#356635;} +.label-info,.badge-info{background-color:#3a87ad;} +.label-info[href],.badge-info[href]{background-color:#2d6987;} +.label-inverse,.badge-inverse{background-color:#333333;} +.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a;} +.btn .label,.btn .badge{position:relative;top:-1px;} +.btn-mini .label,.btn-mini .badge{top:0;} +table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0;} +.table{width:100%;margin-bottom:20px;}.table th,.table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd;} +.table th{font-weight:bold;} +.table thead th{vertical-align:bottom;} +.table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0;} +.table tbody+tbody{border-top:2px solid #dddddd;} +.table .table{background-color:#ffffff;} +.table-condensed th,.table-condensed td{padding:4px 5px;} +.table-bordered{border:1px solid #dddddd;border-collapse:separate;*border-collapse:collapse;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.table-bordered th,.table-bordered td{border-left:1px solid #dddddd;} +.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0;} +.table-bordered thead:first-child tr:first-child>th:first-child,.table-bordered tbody:first-child tr:first-child>td:first-child,.table-bordered tbody:first-child tr:first-child>th:first-child{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;} +.table-bordered thead:first-child tr:first-child>th:last-child,.table-bordered tbody:first-child tr:first-child>td:last-child,.table-bordered tbody:first-child tr:first-child>th:last-child{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;} +.table-bordered thead:last-child tr:last-child>th:first-child,.table-bordered tbody:last-child tr:last-child>td:first-child,.table-bordered tbody:last-child tr:last-child>th:first-child,.table-bordered tfoot:last-child tr:last-child>td:first-child,.table-bordered tfoot:last-child tr:last-child>th:first-child{-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;} +.table-bordered thead:last-child tr:last-child>th:last-child,.table-bordered tbody:last-child tr:last-child>td:last-child,.table-bordered tbody:last-child tr:last-child>th:last-child,.table-bordered tfoot:last-child tr:last-child>td:last-child,.table-bordered tfoot:last-child tr:last-child>th:last-child{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;} +.table-bordered tfoot+tbody:last-child tr:last-child td:first-child{-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;} +.table-bordered tfoot+tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:0;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;} +.table-bordered caption+thead tr:first-child th:first-child,.table-bordered caption+tbody tr:first-child td:first-child,.table-bordered colgroup+thead tr:first-child th:first-child,.table-bordered colgroup+tbody tr:first-child td:first-child{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;} +.table-bordered caption+thead tr:first-child th:last-child,.table-bordered caption+tbody tr:first-child td:last-child,.table-bordered colgroup+thead tr:first-child th:last-child,.table-bordered colgroup+tbody tr:first-child td:last-child{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;} +.table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th{background-color:#f9f9f9;} +.table-hover tbody tr:hover>td,.table-hover tbody tr:hover>th{background-color:#f5f5f5;} +table td[class*="span"],table th[class*="span"],.row-fluid table td[class*="span"],.row-fluid table th[class*="span"]{display:table-cell;float:none;margin-left:0;} +.table td.span1,.table th.span1{float:none;width:44px;margin-left:0;} +.table td.span2,.table th.span2{float:none;width:124px;margin-left:0;} +.table td.span3,.table th.span3{float:none;width:204px;margin-left:0;} +.table td.span4,.table th.span4{float:none;width:284px;margin-left:0;} +.table td.span5,.table th.span5{float:none;width:364px;margin-left:0;} +.table td.span6,.table th.span6{float:none;width:444px;margin-left:0;} +.table td.span7,.table th.span7{float:none;width:524px;margin-left:0;} +.table td.span8,.table th.span8{float:none;width:604px;margin-left:0;} +.table td.span9,.table th.span9{float:none;width:684px;margin-left:0;} +.table td.span10,.table th.span10{float:none;width:764px;margin-left:0;} +.table td.span11,.table th.span11{float:none;width:844px;margin-left:0;} +.table td.span12,.table th.span12{float:none;width:924px;margin-left:0;} +.table tbody tr.success>td{background-color:#dff0d8;} +.table tbody tr.error>td{background-color:#f2dede;} +.table tbody tr.warning>td{background-color:#fcf8e3;} +.table tbody tr.info>td{background-color:#d9edf7;} +.table-hover tbody tr.success:hover>td{background-color:#d0e9c6;} +.table-hover tbody tr.error:hover>td{background-color:#ebcccc;} +.table-hover tbody tr.warning:hover>td{background-color:#faf2cc;} +.table-hover tbody tr.info:hover>td{background-color:#c4e3f3;} +form{margin:0 0 20px;} +fieldset{padding:0;margin:0;border:0;} +legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333333;border:0;border-bottom:1px solid #e5e5e5;}legend small{font-size:15px;color:#999999;} +label,input,button,select,textarea{font-size:14px;font-weight:normal;line-height:20px;} +input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;} +label{display:block;margin-bottom:5px;} +select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:20px;padding:4px 6px;margin-bottom:10px;font-size:14px;line-height:20px;color:#555555;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;vertical-align:middle;} +input,textarea,.uneditable-input{width:206px;} +textarea{height:auto;} +textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#ffffff;border:1px solid #cccccc;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border linear .2s, box-shadow linear .2s;-moz-transition:border linear .2s, box-shadow linear .2s;-o-transition:border linear .2s, box-shadow linear .2s;transition:border linear .2s, box-shadow linear .2s;}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82, 168, 236, 0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);} +input[type="radio"],input[type="checkbox"]{margin:4px 0 0;*margin-top:0;margin-top:1px \9;line-height:normal;} +input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto;} +select,input[type="file"]{height:30px;*margin-top:4px;line-height:30px;} +select{width:220px;border:1px solid #cccccc;background-color:#ffffff;} +select[multiple],select[size]{height:auto;} +select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;} +.uneditable-input,.uneditable-textarea{color:#999999;background-color:#fcfcfc;border-color:#cccccc;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);cursor:not-allowed;} +.uneditable-input{overflow:hidden;white-space:nowrap;} +.uneditable-textarea{width:auto;height:auto;} +input:-moz-placeholder,textarea:-moz-placeholder{color:#999999;} +input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#999999;} +input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999999;} +.radio,.checkbox{min-height:20px;padding-left:20px;} +.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-20px;} +.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px;} +.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle;} +.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px;} +.input-mini{width:60px;} +.input-small{width:90px;} +.input-medium{width:150px;} +.input-large{width:210px;} +.input-xlarge{width:270px;} +.input-xxlarge{width:530px;} +input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0;} +.input-append input[class*="span"],.input-append .uneditable-input[class*="span"],.input-prepend input[class*="span"],.input-prepend .uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"],.row-fluid .input-prepend [class*="span"],.row-fluid .input-append [class*="span"]{display:inline-block;} +input,textarea,.uneditable-input{margin-left:0;} +.controls-row [class*="span"]+[class*="span"]{margin-left:20px;} +input.span12,textarea.span12,.uneditable-input.span12{width:926px;} +input.span11,textarea.span11,.uneditable-input.span11{width:846px;} +input.span10,textarea.span10,.uneditable-input.span10{width:766px;} +input.span9,textarea.span9,.uneditable-input.span9{width:686px;} +input.span8,textarea.span8,.uneditable-input.span8{width:606px;} +input.span7,textarea.span7,.uneditable-input.span7{width:526px;} +input.span6,textarea.span6,.uneditable-input.span6{width:446px;} +input.span5,textarea.span5,.uneditable-input.span5{width:366px;} +input.span4,textarea.span4,.uneditable-input.span4{width:286px;} +input.span3,textarea.span3,.uneditable-input.span3{width:206px;} +input.span2,textarea.span2,.uneditable-input.span2{width:126px;} +input.span1,textarea.span1,.uneditable-input.span1{width:46px;} +.controls-row{*zoom:1;}.controls-row:before,.controls-row:after{display:table;content:"";line-height:0;} +.controls-row:after{clear:both;} +.controls-row [class*="span"],.row-fluid .controls-row [class*="span"]{float:left;} +.controls-row .checkbox[class*="span"],.controls-row .radio[class*="span"]{padding-top:5px;} +input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eeeeee;} +input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent;} +.control-group.warning .control-label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853;} +.control-group.warning .checkbox,.control-group.warning .radio,.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;} +.control-group.warning input,.control-group.warning select,.control-group.warning textarea{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #dbc59e;-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #dbc59e;} +.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853;} +.control-group.error .control-label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48;} +.control-group.error .checkbox,.control-group.error .radio,.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48;} +.control-group.error input,.control-group.error select,.control-group.error textarea{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #d59392;-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #d59392;} +.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48;} +.control-group.success .control-label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847;} +.control-group.success .checkbox,.control-group.success .radio,.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;} +.control-group.success input,.control-group.success select,.control-group.success textarea{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #7aba7b;-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #7aba7b;} +.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847;} +.control-group.info .control-label,.control-group.info .help-block,.control-group.info .help-inline{color:#3a87ad;} +.control-group.info .checkbox,.control-group.info .radio,.control-group.info input,.control-group.info select,.control-group.info textarea{color:#3a87ad;} +.control-group.info input,.control-group.info select,.control-group.info textarea{border-color:#3a87ad;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);}.control-group.info input:focus,.control-group.info select:focus,.control-group.info textarea:focus{border-color:#2d6987;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #7ab5d3;-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #7ab5d3;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 6px #7ab5d3;} +.control-group.info .input-prepend .add-on,.control-group.info .input-append .add-on{color:#3a87ad;background-color:#d9edf7;border-color:#3a87ad;} +input:focus:invalid,textarea:focus:invalid,select:focus:invalid{color:#b94a48;border-color:#ee5f5b;}input:focus:invalid:focus,textarea:focus:invalid:focus,select:focus:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7;} +.form-actions{padding:19px 20px 20px;margin-top:20px;margin-bottom:20px;background-color:#f5f5f5;border-top:1px solid #e5e5e5;*zoom:1;}.form-actions:before,.form-actions:after{display:table;content:"";line-height:0;} +.form-actions:after{clear:both;} +.help-block,.help-inline{color:#595959;} +.help-block{display:block;margin-bottom:10px;} +.help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px;} +.input-append,.input-prepend{display:inline-block;margin-bottom:10px;vertical-align:middle;font-size:0;white-space:nowrap;}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input,.input-append .dropdown-menu,.input-prepend .dropdown-menu,.input-append .popover,.input-prepend .popover{font-size:14px;} +.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:top;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;}.input-append input:focus,.input-prepend input:focus,.input-append select:focus,.input-prepend select:focus,.input-append .uneditable-input:focus,.input-prepend .uneditable-input:focus{z-index:2;} +.input-append .add-on,.input-prepend .add-on{display:inline-block;width:auto;height:20px;min-width:16px;padding:4px 5px;font-size:14px;font-weight:normal;line-height:20px;text-align:center;text-shadow:0 1px 0 #ffffff;background-color:#eeeeee;border:1px solid #ccc;} +.input-append .add-on,.input-prepend .add-on,.input-append .btn,.input-prepend .btn,.input-append .btn-group>.dropdown-toggle,.input-prepend .btn-group>.dropdown-toggle{vertical-align:top;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.input-append .active,.input-prepend .active{background-color:#a9dba9;border-color:#46a546;} +.input-prepend .add-on,.input-prepend .btn{margin-right:-1px;} +.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px;} +.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px;}.input-append input+.btn-group .btn:last-child,.input-append select+.btn-group .btn:last-child,.input-append .uneditable-input+.btn-group .btn:last-child{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;} +.input-append .add-on,.input-append .btn,.input-append .btn-group{margin-left:-1px;} +.input-append .add-on:last-child,.input-append .btn:last-child,.input-append .btn-group:last-child>.dropdown-toggle{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;} +.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}.input-prepend.input-append input+.btn-group .btn,.input-prepend.input-append select+.btn-group .btn,.input-prepend.input-append .uneditable-input+.btn-group .btn{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;} +.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px;} +.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;} +.input-prepend.input-append .btn-group:first-child{margin-left:0;} +input.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;} +.form-search .input-append .search-query,.form-search .input-prepend .search-query{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.form-search .input-append .search-query{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px;} +.form-search .input-append .btn{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0;} +.form-search .input-prepend .search-query{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0;} +.form-search .input-prepend .btn{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px;} +.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;*zoom:1;margin-bottom:0;vertical-align:middle;} +.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none;} +.form-search label,.form-inline label,.form-search .btn-group,.form-inline .btn-group{display:inline-block;} +.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0;} +.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle;} +.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0;} +.control-group{margin-bottom:10px;} +legend+.control-group{margin-top:20px;-webkit-margin-top-collapse:separate;} +.form-horizontal .control-group{margin-bottom:20px;*zoom:1;}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:"";line-height:0;} +.form-horizontal .control-group:after{clear:both;} +.form-horizontal .control-label{float:left;width:160px;padding-top:5px;text-align:right;} +.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:180px;*margin-left:0;}.form-horizontal .controls:first-child{*padding-left:180px;} +.form-horizontal .help-block{margin-bottom:0;} +.form-horizontal input+.help-block,.form-horizontal select+.help-block,.form-horizontal textarea+.help-block,.form-horizontal .uneditable-input+.help-block,.form-horizontal .input-prepend+.help-block,.form-horizontal .input-append+.help-block{margin-top:10px;} +.form-horizontal .form-actions{padding-left:180px;} +.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333333;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top, #ffffff, #e6e6e6);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(top, #ffffff, #e6e6e6);background-image:-o-linear-gradient(top, #ffffff, #e6e6e6);background-image:linear-gradient(to bottom, #ffffff, #e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);border:1px solid #cccccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);}.btn:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333333;background-color:#e6e6e6;*background-color:#d9d9d9;} +.btn:active,.btn.active{background-color:#cccccc \9;} +.btn:first-child{*margin-left:0;} +.btn:hover,.btn:focus{color:#333333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear;} +.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;} +.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);} +.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} +.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;} +.btn-large [class^="icon-"],.btn-large [class*=" icon-"]{margin-top:4px;} +.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} +.btn-small [class^="icon-"],.btn-small [class*=" icon-"]{margin-top:0;} +.btn-mini [class^="icon-"],.btn-mini [class*=" icon-"]{margin-top:-1px;} +.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} +.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;} +.btn-block+.btn-block{margin-top:5px;} +input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%;} +.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255, 255, 255, 0.75);} +.btn-primary{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#006dcc;background-image:-moz-linear-gradient(top, #0088cc, #0044cc);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));background-image:-webkit-linear-gradient(top, #0088cc, #0044cc);background-image:-o-linear-gradient(top, #0088cc, #0044cc);background-image:linear-gradient(to bottom, #0088cc, #0044cc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#0044cc #0044cc #002a80;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#0044cc;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#ffffff;background-color:#0044cc;*background-color:#003bb3;} +.btn-primary:active,.btn-primary.active{background-color:#003399 \9;} +.btn-warning{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(to bottom, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#ffffff;background-color:#f89406;*background-color:#df8505;} +.btn-warning:active,.btn-warning.active{background-color:#c67605 \9;} +.btn-danger{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#da4f49;background-image:-moz-linear-gradient(top, #ee5f5b, #bd362f);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));background-image:-webkit-linear-gradient(top, #ee5f5b, #bd362f);background-image:-o-linear-gradient(top, #ee5f5b, #bd362f);background-image:linear-gradient(to bottom, #ee5f5b, #bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#ffffff;background-color:#bd362f;*background-color:#a9302a;} +.btn-danger:active,.btn-danger.active{background-color:#942a25 \9;} +.btn-success{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top, #62c462, #51a351);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));background-image:-webkit-linear-gradient(top, #62c462, #51a351);background-image:-o-linear-gradient(top, #62c462, #51a351);background-image:linear-gradient(to bottom, #62c462, #51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#ffffff;background-color:#51a351;*background-color:#499249;} +.btn-success:active,.btn-success.active{background-color:#408140 \9;} +.btn-info{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#49afcd;background-image:-moz-linear-gradient(top, #5bc0de, #2f96b4);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));background-image:-webkit-linear-gradient(top, #5bc0de, #2f96b4);background-image:-o-linear-gradient(top, #5bc0de, #2f96b4);background-image:linear-gradient(to bottom, #5bc0de, #2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#ffffff;background-color:#2f96b4;*background-color:#2a85a0;} +.btn-info:active,.btn-info.active{background-color:#24748c \9;} +.btn-inverse{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#363636;background-image:-moz-linear-gradient(top, #444444, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222));background-image:-webkit-linear-gradient(top, #444444, #222222);background-image:-o-linear-gradient(top, #444444, #222222);background-image:linear-gradient(to bottom, #444444, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-inverse:hover,.btn-inverse:focus,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#ffffff;background-color:#222222;*background-color:#151515;} +.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9;} +button.btn,input[type="submit"].btn{*padding-top:3px;*padding-bottom:3px;}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0;} +button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px;} +button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px;} +button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px;} +.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} +.btn-link{border-color:transparent;cursor:pointer;color:#0088cc;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.btn-link:hover,.btn-link:focus{color:#005580;text-decoration:underline;background-color:transparent;} +.btn-link[disabled]:hover,.btn-link[disabled]:focus{color:#333333;text-decoration:none;} +[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat;margin-top:1px;} +.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:focus>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>li>a:focus>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:focus>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"],.dropdown-submenu:focus>a>[class*=" icon-"]{background-image:url("../img/glyphicons-halflings-white.png");} +.icon-glass{background-position:0 0;} +.icon-music{background-position:-24px 0;} +.icon-search{background-position:-48px 0;} +.icon-envelope{background-position:-72px 0;} +.icon-heart{background-position:-96px 0;} +.icon-star{background-position:-120px 0;} +.icon-star-empty{background-position:-144px 0;} +.icon-user{background-position:-168px 0;} +.icon-film{background-position:-192px 0;} +.icon-th-large{background-position:-216px 0;} +.icon-th{background-position:-240px 0;} +.icon-th-list{background-position:-264px 0;} +.icon-ok{background-position:-288px 0;} +.icon-remove{background-position:-312px 0;} +.icon-zoom-in{background-position:-336px 0;} +.icon-zoom-out{background-position:-360px 0;} +.icon-off{background-position:-384px 0;} +.icon-signal{background-position:-408px 0;} +.icon-cog{background-position:-432px 0;} +.icon-trash{background-position:-456px 0;} +.icon-home{background-position:0 -24px;} +.icon-file{background-position:-24px -24px;} +.icon-time{background-position:-48px -24px;} +.icon-road{background-position:-72px -24px;} +.icon-download-alt{background-position:-96px -24px;} +.icon-download{background-position:-120px -24px;} +.icon-upload{background-position:-144px -24px;} +.icon-inbox{background-position:-168px -24px;} +.icon-play-circle{background-position:-192px -24px;} +.icon-repeat{background-position:-216px -24px;} +.icon-refresh{background-position:-240px -24px;} +.icon-list-alt{background-position:-264px -24px;} +.icon-lock{background-position:-287px -24px;} +.icon-flag{background-position:-312px -24px;} +.icon-headphones{background-position:-336px -24px;} +.icon-volume-off{background-position:-360px -24px;} +.icon-volume-down{background-position:-384px -24px;} +.icon-volume-up{background-position:-408px -24px;} +.icon-qrcode{background-position:-432px -24px;} +.icon-barcode{background-position:-456px -24px;} +.icon-tag{background-position:0 -48px;} +.icon-tags{background-position:-25px -48px;} +.icon-book{background-position:-48px -48px;} +.icon-bookmark{background-position:-72px -48px;} +.icon-print{background-position:-96px -48px;} +.icon-camera{background-position:-120px -48px;} +.icon-font{background-position:-144px -48px;} +.icon-bold{background-position:-167px -48px;} +.icon-italic{background-position:-192px -48px;} +.icon-text-height{background-position:-216px -48px;} +.icon-text-width{background-position:-240px -48px;} +.icon-align-left{background-position:-264px -48px;} +.icon-align-center{background-position:-288px -48px;} +.icon-align-right{background-position:-312px -48px;} +.icon-align-justify{background-position:-336px -48px;} +.icon-list{background-position:-360px -48px;} +.icon-indent-left{background-position:-384px -48px;} +.icon-indent-right{background-position:-408px -48px;} +.icon-facetime-video{background-position:-432px -48px;} +.icon-picture{background-position:-456px -48px;} +.icon-pencil{background-position:0 -72px;} +.icon-map-marker{background-position:-24px -72px;} +.icon-adjust{background-position:-48px -72px;} +.icon-tint{background-position:-72px -72px;} +.icon-edit{background-position:-96px -72px;} +.icon-share{background-position:-120px -72px;} +.icon-check{background-position:-144px -72px;} +.icon-move{background-position:-168px -72px;} +.icon-step-backward{background-position:-192px -72px;} +.icon-fast-backward{background-position:-216px -72px;} +.icon-backward{background-position:-240px -72px;} +.icon-play{background-position:-264px -72px;} +.icon-pause{background-position:-288px -72px;} +.icon-stop{background-position:-312px -72px;} +.icon-forward{background-position:-336px -72px;} +.icon-fast-forward{background-position:-360px -72px;} +.icon-step-forward{background-position:-384px -72px;} +.icon-eject{background-position:-408px -72px;} +.icon-chevron-left{background-position:-432px -72px;} +.icon-chevron-right{background-position:-456px -72px;} +.icon-plus-sign{background-position:0 -96px;} +.icon-minus-sign{background-position:-24px -96px;} +.icon-remove-sign{background-position:-48px -96px;} +.icon-ok-sign{background-position:-72px -96px;} +.icon-question-sign{background-position:-96px -96px;} +.icon-info-sign{background-position:-120px -96px;} +.icon-screenshot{background-position:-144px -96px;} +.icon-remove-circle{background-position:-168px -96px;} +.icon-ok-circle{background-position:-192px -96px;} +.icon-ban-circle{background-position:-216px -96px;} +.icon-arrow-left{background-position:-240px -96px;} +.icon-arrow-right{background-position:-264px -96px;} +.icon-arrow-up{background-position:-289px -96px;} +.icon-arrow-down{background-position:-312px -96px;} +.icon-share-alt{background-position:-336px -96px;} +.icon-resize-full{background-position:-360px -96px;} +.icon-resize-small{background-position:-384px -96px;} +.icon-plus{background-position:-408px -96px;} +.icon-minus{background-position:-433px -96px;} +.icon-asterisk{background-position:-456px -96px;} +.icon-exclamation-sign{background-position:0 -120px;} +.icon-gift{background-position:-24px -120px;} +.icon-leaf{background-position:-48px -120px;} +.icon-fire{background-position:-72px -120px;} +.icon-eye-open{background-position:-96px -120px;} +.icon-eye-close{background-position:-120px -120px;} +.icon-warning-sign{background-position:-144px -120px;} +.icon-plane{background-position:-168px -120px;} +.icon-calendar{background-position:-192px -120px;} +.icon-random{background-position:-216px -120px;width:16px;} +.icon-comment{background-position:-240px -120px;} +.icon-magnet{background-position:-264px -120px;} +.icon-chevron-up{background-position:-288px -120px;} +.icon-chevron-down{background-position:-313px -119px;} +.icon-retweet{background-position:-336px -120px;} +.icon-shopping-cart{background-position:-360px -120px;} +.icon-folder-close{background-position:-384px -120px;width:16px;} +.icon-folder-open{background-position:-408px -120px;width:16px;} +.icon-resize-vertical{background-position:-432px -119px;} +.icon-resize-horizontal{background-position:-456px -118px;} +.icon-hdd{background-position:0 -144px;} +.icon-bullhorn{background-position:-24px -144px;} +.icon-bell{background-position:-48px -144px;} +.icon-certificate{background-position:-72px -144px;} +.icon-thumbs-up{background-position:-96px -144px;} +.icon-thumbs-down{background-position:-120px -144px;} +.icon-hand-right{background-position:-144px -144px;} +.icon-hand-left{background-position:-168px -144px;} +.icon-hand-up{background-position:-192px -144px;} +.icon-hand-down{background-position:-216px -144px;} +.icon-circle-arrow-right{background-position:-240px -144px;} +.icon-circle-arrow-left{background-position:-264px -144px;} +.icon-circle-arrow-up{background-position:-288px -144px;} +.icon-circle-arrow-down{background-position:-312px -144px;} +.icon-globe{background-position:-336px -144px;} +.icon-wrench{background-position:-360px -144px;} +.icon-tasks{background-position:-384px -144px;} +.icon-filter{background-position:-408px -144px;} +.icon-briefcase{background-position:-432px -144px;} +.icon-fullscreen{background-position:-456px -144px;} +.btn-group{position:relative;display:inline-block;*display:inline;*zoom:1;font-size:0;vertical-align:middle;white-space:nowrap;*margin-left:.3em;}.btn-group:first-child{*margin-left:0;} +.btn-group+.btn-group{margin-left:5px;} +.btn-toolbar{font-size:0;margin-top:10px;margin-bottom:10px;}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group{margin-left:5px;} +.btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.btn-group>.btn+.btn{margin-left:-1px;} +.btn-group>.btn,.btn-group>.dropdown-menu,.btn-group>.popover{font-size:14px;} +.btn-group>.btn-mini{font-size:10.5px;} +.btn-group>.btn-small{font-size:11.9px;} +.btn-group>.btn-large{font-size:17.5px;} +.btn-group>.btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;} +.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;} +.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;} +.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;} +.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2;} +.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0;} +.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);*padding-top:5px;*padding-bottom:5px;} +.btn-group>.btn-mini+.dropdown-toggle{padding-left:5px;padding-right:5px;*padding-top:2px;*padding-bottom:2px;} +.btn-group>.btn-small+.dropdown-toggle{*padding-top:5px;*padding-bottom:4px;} +.btn-group>.btn-large+.dropdown-toggle{padding-left:12px;padding-right:12px;*padding-top:7px;*padding-bottom:7px;} +.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);} +.btn-group.open .btn.dropdown-toggle{background-color:#e6e6e6;} +.btn-group.open .btn-primary.dropdown-toggle{background-color:#0044cc;} +.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406;} +.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f;} +.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351;} +.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4;} +.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222222;} +.btn .caret{margin-top:8px;margin-left:0;} +.btn-large .caret{margin-top:6px;} +.btn-large .caret{border-left-width:5px;border-right-width:5px;border-top-width:5px;} +.btn-mini .caret,.btn-small .caret{margin-top:8px;} +.dropup .btn-large .caret{border-bottom-width:5px;} +.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;} +.btn-group-vertical{display:inline-block;*display:inline;*zoom:1;} +.btn-group-vertical>.btn{display:block;float:none;max-width:100%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.btn-group-vertical>.btn+.btn{margin-left:0;margin-top:-1px;} +.btn-group-vertical>.btn:first-child{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;} +.btn-group-vertical>.btn:last-child{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;} +.btn-group-vertical>.btn-large:first-child{-webkit-border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0;} +.btn-group-vertical>.btn-large:last-child{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;} +.nav{margin-left:0;margin-bottom:20px;list-style:none;} +.nav>li>a{display:block;} +.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eeeeee;} +.nav>li>a>img{max-width:none;} +.nav>.pull-right{float:right;} +.nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:20px;color:#999999;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);text-transform:uppercase;} +.nav li+.nav-header{margin-top:9px;} +.nav-list{padding-left:15px;padding-right:15px;margin-bottom:0;} +.nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);} +.nav-list>li>a{padding:3px 15px;} +.nav-list>.active>a,.nav-list>.active>a:hover,.nav-list>.active>a:focus{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.2);background-color:#0088cc;} +.nav-list [class^="icon-"],.nav-list [class*=" icon-"]{margin-right:2px;} +.nav-list .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff;} +.nav-tabs,.nav-pills{*zoom:1;}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:"";line-height:0;} +.nav-tabs:after,.nav-pills:after{clear:both;} +.nav-tabs>li,.nav-pills>li{float:left;} +.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px;} +.nav-tabs{border-bottom:1px solid #ddd;} +.nav-tabs>li{margin-bottom:-1px;} +.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:20px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}.nav-tabs>li>a:hover,.nav-tabs>li>a:focus{border-color:#eeeeee #eeeeee #dddddd;} +.nav-tabs>.active>a,.nav-tabs>.active>a:hover,.nav-tabs>.active>a:focus{color:#555555;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default;} +.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;} +.nav-pills>.active>a,.nav-pills>.active>a:hover,.nav-pills>.active>a:focus{color:#ffffff;background-color:#0088cc;} +.nav-stacked>li{float:none;} +.nav-stacked>li>a{margin-right:0;} +.nav-tabs.nav-stacked{border-bottom:0;} +.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;} +.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;} +.nav-tabs.nav-stacked>li>a:hover,.nav-tabs.nav-stacked>li>a:focus{border-color:#ddd;z-index:2;} +.nav-pills.nav-stacked>li>a{margin-bottom:3px;} +.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px;} +.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;} +.nav-pills .dropdown-menu{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;} +.nav .dropdown-toggle .caret{border-top-color:#0088cc;border-bottom-color:#0088cc;margin-top:6px;} +.nav .dropdown-toggle:hover .caret,.nav .dropdown-toggle:focus .caret{border-top-color:#005580;border-bottom-color:#005580;} +.nav-tabs .dropdown-toggle .caret{margin-top:8px;} +.nav .active .dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff;} +.nav-tabs .active .dropdown-toggle .caret{border-top-color:#555555;border-bottom-color:#555555;} +.nav>.dropdown.active>a:hover,.nav>.dropdown.active>a:focus{cursor:pointer;} +.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover,.nav>li.dropdown.open.active>a:focus{color:#ffffff;background-color:#999999;border-color:#999999;} +.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret,.nav li.dropdown.open a:focus .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:1;filter:alpha(opacity=100);} +.tabs-stacked .open>a:hover,.tabs-stacked .open>a:focus{border-color:#999999;} +.tabbable{*zoom:1;}.tabbable:before,.tabbable:after{display:table;content:"";line-height:0;} +.tabbable:after{clear:both;} +.tab-content{overflow:auto;} +.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0;} +.tab-content>.tab-pane,.pill-content>.pill-pane{display:none;} +.tab-content>.active,.pill-content>.active{display:block;} +.tabs-below>.nav-tabs{border-top:1px solid #ddd;} +.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0;} +.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;}.tabs-below>.nav-tabs>li>a:hover,.tabs-below>.nav-tabs>li>a:focus{border-bottom-color:transparent;border-top-color:#ddd;} +.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover,.tabs-below>.nav-tabs>.active>a:focus{border-color:transparent #ddd #ddd #ddd;} +.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none;} +.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px;} +.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd;} +.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px;} +.tabs-left>.nav-tabs>li>a:hover,.tabs-left>.nav-tabs>li>a:focus{border-color:#eeeeee #dddddd #eeeeee #eeeeee;} +.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover,.tabs-left>.nav-tabs .active>a:focus{border-color:#ddd transparent #ddd #ddd;*border-right-color:#ffffff;} +.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd;} +.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;} +.tabs-right>.nav-tabs>li>a:hover,.tabs-right>.nav-tabs>li>a:focus{border-color:#eeeeee #eeeeee #eeeeee #dddddd;} +.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover,.tabs-right>.nav-tabs .active>a:focus{border-color:#ddd #ddd #ddd transparent;*border-left-color:#ffffff;} +.nav>.disabled>a{color:#999999;} +.nav>.disabled>a:hover,.nav>.disabled>a:focus{text-decoration:none;background-color:transparent;cursor:default;} +.navbar{overflow:visible;margin-bottom:20px;*position:relative;*z-index:2;} +.navbar-inner{min-height:40px;padding-left:20px;padding-right:20px;background-color:#fafafa;background-image:-moz-linear-gradient(top, #ffffff, #f2f2f2);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));background-image:-webkit-linear-gradient(top, #ffffff, #f2f2f2);background-image:-o-linear-gradient(top, #ffffff, #f2f2f2);background-image:linear-gradient(to bottom, #ffffff, #f2f2f2);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);border:1px solid #d4d4d4;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.065);-moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.065);box-shadow:0 1px 4px rgba(0, 0, 0, 0.065);*zoom:1;}.navbar-inner:before,.navbar-inner:after{display:table;content:"";line-height:0;} +.navbar-inner:after{clear:both;} +.navbar .container{width:auto;} +.nav-collapse.collapse{height:auto;overflow:visible;} +.navbar .brand{float:left;display:block;padding:10px 20px 10px;margin-left:-20px;font-size:20px;font-weight:200;color:#777777;text-shadow:0 1px 0 #ffffff;}.navbar .brand:hover,.navbar .brand:focus{text-decoration:none;} +.navbar-text{margin-bottom:0;line-height:40px;color:#777777;} +.navbar-link{color:#777777;}.navbar-link:hover,.navbar-link:focus{color:#333333;} +.navbar .divider-vertical{height:40px;margin:0 9px;border-left:1px solid #f2f2f2;border-right:1px solid #ffffff;} +.navbar .btn,.navbar .btn-group{margin-top:5px;} +.navbar .btn-group .btn,.navbar .input-prepend .btn,.navbar .input-append .btn,.navbar .input-prepend .btn-group,.navbar .input-append .btn-group{margin-top:0;} +.navbar-form{margin-bottom:0;*zoom:1;}.navbar-form:before,.navbar-form:after{display:table;content:"";line-height:0;} +.navbar-form:after{clear:both;} +.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px;} +.navbar-form input,.navbar-form select,.navbar-form .btn{display:inline-block;margin-bottom:0;} +.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px;} +.navbar-form .input-append,.navbar-form .input-prepend{margin-top:5px;white-space:nowrap;}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0;} +.navbar-search{position:relative;float:left;margin-top:5px;margin-bottom:0;}.navbar-search .search-query{margin-bottom:0;padding:4px 14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;} +.navbar-static-top{position:static;margin-bottom:0;}.navbar-static-top .navbar-inner{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0;} +.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{border-width:0 0 1px;} +.navbar-fixed-bottom .navbar-inner{border-width:1px 0 0;} +.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-left:0;padding-right:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px;} +.navbar-fixed-top{top:0;} +.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{-webkit-box-shadow:0 1px 10px rgba(0,0,0,.1);-moz-box-shadow:0 1px 10px rgba(0,0,0,.1);box-shadow:0 1px 10px rgba(0,0,0,.1);} +.navbar-fixed-bottom{bottom:0;}.navbar-fixed-bottom .navbar-inner{-webkit-box-shadow:0 -1px 10px rgba(0,0,0,.1);-moz-box-shadow:0 -1px 10px rgba(0,0,0,.1);box-shadow:0 -1px 10px rgba(0,0,0,.1);} +.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0;} +.navbar .nav.pull-right{float:right;margin-right:0;} +.navbar .nav>li{float:left;} +.navbar .nav>li>a{float:none;padding:10px 15px 10px;color:#777777;text-decoration:none;text-shadow:0 1px 0 #ffffff;} +.navbar .nav .dropdown-toggle .caret{margin-top:8px;} +.navbar .nav>li>a:focus,.navbar .nav>li>a:hover{background-color:transparent;color:#333333;text-decoration:none;} +.navbar .nav>.active>a,.navbar .nav>.active>a:hover,.navbar .nav>.active>a:focus{color:#555555;text-decoration:none;background-color:#e5e5e5;-webkit-box-shadow:inset 0 3px 8px rgba(0, 0, 0, 0.125);-moz-box-shadow:inset 0 3px 8px rgba(0, 0, 0, 0.125);box-shadow:inset 0 3px 8px rgba(0, 0, 0, 0.125);} +.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#ededed;background-image:-moz-linear-gradient(top, #f2f2f2, #e5e5e5);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5));background-image:-webkit-linear-gradient(top, #f2f2f2, #e5e5e5);background-image:-o-linear-gradient(top, #f2f2f2, #e5e5e5);background-image:linear-gradient(to bottom, #f2f2f2, #e5e5e5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0);border-color:#e5e5e5 #e5e5e5 #bfbfbf;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#e5e5e5;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075);}.navbar .btn-navbar:hover,.navbar .btn-navbar:focus,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{color:#ffffff;background-color:#e5e5e5;*background-color:#d9d9d9;} +.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#cccccc \9;} +.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);-moz-box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);} +.btn-navbar .icon-bar+.icon-bar{margin-top:3px;} +.navbar .nav>li>.dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0, 0, 0, 0.2);position:absolute;top:-7px;left:9px;} +.navbar .nav>li>.dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #ffffff;position:absolute;top:-6px;left:10px;} +.navbar-fixed-bottom .nav>li>.dropdown-menu:before{border-top:7px solid #ccc;border-top-color:rgba(0, 0, 0, 0.2);border-bottom:0;bottom:-7px;top:auto;} +.navbar-fixed-bottom .nav>li>.dropdown-menu:after{border-top:6px solid #ffffff;border-bottom:0;bottom:-6px;top:auto;} +.navbar .nav li.dropdown>a:hover .caret,.navbar .nav li.dropdown>a:focus .caret{border-top-color:#333333;border-bottom-color:#333333;} +.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{background-color:#e5e5e5;color:#555555;} +.navbar .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#777777;border-bottom-color:#777777;} +.navbar .nav li.dropdown.open>.dropdown-toggle .caret,.navbar .nav li.dropdown.active>.dropdown-toggle .caret,.navbar .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#555555;border-bottom-color:#555555;} +.navbar .pull-right>li>.dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right{left:auto;right:0;}.navbar .pull-right>li>.dropdown-menu:before,.navbar .nav>li>.dropdown-menu.pull-right:before{left:auto;right:12px;} +.navbar .pull-right>li>.dropdown-menu:after,.navbar .nav>li>.dropdown-menu.pull-right:after{left:auto;right:13px;} +.navbar .pull-right>li>.dropdown-menu .dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right .dropdown-menu{left:auto;right:100%;margin-left:0;margin-right:-1px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;} +.navbar-inverse .navbar-inner{background-color:#1b1b1b;background-image:-moz-linear-gradient(top, #222222, #111111);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111));background-image:-webkit-linear-gradient(top, #222222, #111111);background-image:-o-linear-gradient(top, #222222, #111111);background-image:linear-gradient(to bottom, #222222, #111111);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0);border-color:#252525;} +.navbar-inverse .brand,.navbar-inverse .nav>li>a{color:#999999;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);}.navbar-inverse .brand:hover,.navbar-inverse .nav>li>a:hover,.navbar-inverse .brand:focus,.navbar-inverse .nav>li>a:focus{color:#ffffff;} +.navbar-inverse .brand{color:#999999;} +.navbar-inverse .navbar-text{color:#999999;} +.navbar-inverse .nav>li>a:focus,.navbar-inverse .nav>li>a:hover{background-color:transparent;color:#ffffff;} +.navbar-inverse .nav .active>a,.navbar-inverse .nav .active>a:hover,.navbar-inverse .nav .active>a:focus{color:#ffffff;background-color:#111111;} +.navbar-inverse .navbar-link{color:#999999;}.navbar-inverse .navbar-link:hover,.navbar-inverse .navbar-link:focus{color:#ffffff;} +.navbar-inverse .divider-vertical{border-left-color:#111111;border-right-color:#222222;} +.navbar-inverse .nav li.dropdown.open>.dropdown-toggle,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle{background-color:#111111;color:#ffffff;} +.navbar-inverse .nav li.dropdown>a:hover .caret,.navbar-inverse .nav li.dropdown>a:focus .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;} +.navbar-inverse .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#999999;border-bottom-color:#999999;} +.navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;} +.navbar-inverse .navbar-search .search-query{color:#ffffff;background-color:#515151;border-color:#111111;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15);box-shadow:inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15);-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none;}.navbar-inverse .navbar-search .search-query:-moz-placeholder{color:#cccccc;} +.navbar-inverse .navbar-search .search-query:-ms-input-placeholder{color:#cccccc;} +.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder{color:#cccccc;} +.navbar-inverse .navbar-search .search-query:focus,.navbar-inverse .navbar-search .search-query.focused{padding:5px 15px;color:#333333;text-shadow:0 1px 0 #ffffff;background-color:#ffffff;border:0;-webkit-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);-moz-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);box-shadow:0 0 3px rgba(0, 0, 0, 0.15);outline:0;} +.navbar-inverse .btn-navbar{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#0e0e0e;background-image:-moz-linear-gradient(top, #151515, #040404);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#151515), to(#040404));background-image:-webkit-linear-gradient(top, #151515, #040404);background-image:-o-linear-gradient(top, #151515, #040404);background-image:linear-gradient(to bottom, #151515, #040404);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515', endColorstr='#ff040404', GradientType=0);border-color:#040404 #040404 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#040404;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.navbar-inverse .btn-navbar:hover,.navbar-inverse .btn-navbar:focus,.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active,.navbar-inverse .btn-navbar.disabled,.navbar-inverse .btn-navbar[disabled]{color:#ffffff;background-color:#040404;*background-color:#000000;} +.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active{background-color:#000000 \9;} +.breadcrumb{padding:8px 15px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.breadcrumb>li{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 0 #ffffff;}.breadcrumb>li>.divider{padding:0 5px;color:#ccc;} +.breadcrumb>.active{color:#999999;} +.pagination{margin:20px 0;} +.pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);} +.pagination ul>li{display:inline;} +.pagination ul>li>a,.pagination ul>li>span{float:left;padding:4px 12px;line-height:20px;text-decoration:none;background-color:#ffffff;border:1px solid #dddddd;border-left-width:0;} +.pagination ul>li>a:hover,.pagination ul>li>a:focus,.pagination ul>.active>a,.pagination ul>.active>span{background-color:#f5f5f5;} +.pagination ul>.active>a,.pagination ul>.active>span{color:#999999;cursor:default;} +.pagination ul>.disabled>span,.pagination ul>.disabled>a,.pagination ul>.disabled>a:hover,.pagination ul>.disabled>a:focus{color:#999999;background-color:transparent;cursor:default;} +.pagination ul>li:first-child>a,.pagination ul>li:first-child>span{border-left-width:1px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;} +.pagination ul>li:last-child>a,.pagination ul>li:last-child>span{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;} +.pagination-centered{text-align:center;} +.pagination-right{text-align:right;} +.pagination-large ul>li>a,.pagination-large ul>li>span{padding:11px 19px;font-size:17.5px;} +.pagination-large ul>li:first-child>a,.pagination-large ul>li:first-child>span{-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;} +.pagination-large ul>li:last-child>a,.pagination-large ul>li:last-child>span{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;} +.pagination-mini ul>li:first-child>a,.pagination-small ul>li:first-child>a,.pagination-mini ul>li:first-child>span,.pagination-small ul>li:first-child>span{-webkit-border-top-left-radius:3px;-moz-border-radius-topleft:3px;border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;-moz-border-radius-bottomleft:3px;border-bottom-left-radius:3px;} +.pagination-mini ul>li:last-child>a,.pagination-small ul>li:last-child>a,.pagination-mini ul>li:last-child>span,.pagination-small ul>li:last-child>span{-webkit-border-top-right-radius:3px;-moz-border-radius-topright:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;-moz-border-radius-bottomright:3px;border-bottom-right-radius:3px;} +.pagination-small ul>li>a,.pagination-small ul>li>span{padding:2px 10px;font-size:11.9px;} +.pagination-mini ul>li>a,.pagination-mini ul>li>span{padding:0 6px;font-size:10.5px;} +.pager{margin:20px 0;list-style:none;text-align:center;*zoom:1;}.pager:before,.pager:after{display:table;content:"";line-height:0;} +.pager:after{clear:both;} +.pager li{display:inline;} +.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;} +.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#f5f5f5;} +.pager .next>a,.pager .next>span{float:right;} +.pager .previous>a,.pager .previous>span{float:left;} +.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999999;background-color:#fff;cursor:default;} +.thumbnails{margin-left:-20px;list-style:none;*zoom:1;}.thumbnails:before,.thumbnails:after{display:table;content:"";line-height:0;} +.thumbnails:after{clear:both;} +.row-fluid .thumbnails{margin-left:0;} +.thumbnails>li{float:left;margin-bottom:20px;margin-left:20px;} +.thumbnail{display:block;padding:4px;line-height:20px;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.055);-moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.055);box-shadow:0 1px 3px rgba(0, 0, 0, 0.055);-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-o-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;} +a.thumbnail:hover,a.thumbnail:focus{border-color:#0088cc;-webkit-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);-moz-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);} +.thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto;} +.thumbnail .caption{padding:9px;color:#555555;} +.alert{padding:8px 35px 8px 14px;margin-bottom:20px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} +.alert,.alert h4{color:#c09853;} +.alert h4{margin:0;} +.alert .close{position:relative;top:-2px;right:-21px;line-height:20px;} +.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847;} +.alert-success h4{color:#468847;} +.alert-danger,.alert-error{background-color:#f2dede;border-color:#eed3d7;color:#b94a48;} +.alert-danger h4,.alert-error h4{color:#b94a48;} +.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad;} +.alert-info h4{color:#3a87ad;} +.alert-block{padding-top:14px;padding-bottom:14px;} +.alert-block>p,.alert-block>ul{margin-bottom:0;} +.alert-block p+p{margin-top:5px;} +@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0;} to{background-position:0 0;}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0;} to{background-position:0 0;}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0;} to{background-position:0 0;}}@-o-keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}@keyframes progress-bar-stripes{from{background-position:40px 0;} to{background-position:0 0;}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f7f7f7;background-image:-moz-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));background-image:-webkit-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-o-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:linear-gradient(to bottom, #f5f5f5, #f9f9f9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} +.progress .bar{width:0%;height:100%;color:#ffffff;float:left;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top, #149bdf, #0480be);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));background-image:-webkit-linear-gradient(top, #149bdf, #0480be);background-image:-o-linear-gradient(top, #149bdf, #0480be);background-image:linear-gradient(to bottom, #149bdf, #0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width 0.6s ease;-moz-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease;} +.progress .bar+.bar{-webkit-box-shadow:inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15);-moz-box-shadow:inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15);} +.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px;} +.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite;} +.progress-danger .bar,.progress .bar-danger{background-color:#dd514c;background-image:-moz-linear-gradient(top, #ee5f5b, #c43c35);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));background-image:-webkit-linear-gradient(top, #ee5f5b, #c43c35);background-image:-o-linear-gradient(top, #ee5f5b, #c43c35);background-image:linear-gradient(to bottom, #ee5f5b, #c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0);} +.progress-danger.progress-striped .bar,.progress-striped .bar-danger{background-color:#ee5f5b;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);} +.progress-success .bar,.progress .bar-success{background-color:#5eb95e;background-image:-moz-linear-gradient(top, #62c462, #57a957);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));background-image:-webkit-linear-gradient(top, #62c462, #57a957);background-image:-o-linear-gradient(top, #62c462, #57a957);background-image:linear-gradient(to bottom, #62c462, #57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0);} +.progress-success.progress-striped .bar,.progress-striped .bar-success{background-color:#62c462;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);} +.progress-info .bar,.progress .bar-info{background-color:#4bb1cf;background-image:-moz-linear-gradient(top, #5bc0de, #339bb9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));background-image:-webkit-linear-gradient(top, #5bc0de, #339bb9);background-image:-o-linear-gradient(top, #5bc0de, #339bb9);background-image:linear-gradient(to bottom, #5bc0de, #339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0);} +.progress-info.progress-striped .bar,.progress-striped .bar-info{background-color:#5bc0de;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);} +.progress-warning .bar,.progress .bar-warning{background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(to bottom, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);} +.progress-warning.progress-striped .bar,.progress-striped .bar-warning{background-color:#fbb450;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);} +.hero-unit{padding:60px;margin-bottom:30px;font-size:18px;font-weight:200;line-height:30px;color:inherit;background-color:#eeeeee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;color:inherit;letter-spacing:-1px;} +.hero-unit li{line-height:30px;} +.media,.media-body{overflow:hidden;*overflow:visible;zoom:1;} +.media,.media .media{margin-top:15px;} +.media:first-child{margin-top:0;} +.media-object{display:block;} +.media-heading{margin:0 0 5px;} +.media>.pull-left{margin-right:10px;} +.media>.pull-right{margin-left:10px;} +.media-list{margin-left:0;list-style:none;} +.tooltip{position:absolute;z-index:1030;display:block;visibility:visible;font-size:11px;line-height:1.4;opacity:0;filter:alpha(opacity=0);}.tooltip.in{opacity:0.8;filter:alpha(opacity=80);} +.tooltip.top{margin-top:-3px;padding:5px 0;} +.tooltip.right{margin-left:3px;padding:0 5px;} +.tooltip.bottom{margin-top:3px;padding:5px 0;} +.tooltip.left{margin-left:-3px;padding:0 5px;} +.tooltip-inner{max-width:200px;padding:8px;color:#ffffff;text-align:center;text-decoration:none;background-color:#000000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} +.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;} +.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000000;} +.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000000;} +.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000000;} +.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000000;} +.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;background-color:#ffffff;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-moz-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);white-space:normal;}.popover.top{margin-top:-10px;} +.popover.right{margin-left:10px;} +.popover.bottom{margin-top:10px;} +.popover.left{margin-left:-10px;} +.popover-title{margin:0;padding:8px 14px;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0;}.popover-title:empty{display:none;} +.popover-content{padding:9px 14px;} +.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;} +.popover .arrow{border-width:11px;} +.popover .arrow:after{border-width:10px;content:"";} +.popover.top .arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0, 0, 0, 0.25);bottom:-11px;}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#ffffff;} +.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0, 0, 0, 0.25);}.popover.right .arrow:after{left:1px;bottom:-10px;border-left-width:0;border-right-color:#ffffff;} +.popover.bottom .arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0, 0, 0, 0.25);top:-11px;}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#ffffff;} +.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0, 0, 0, 0.25);}.popover.left .arrow:after{right:1px;border-right-width:0;border-left-color:#ffffff;bottom:-10px;} +.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000;}.modal-backdrop.fade{opacity:0;} +.modal-backdrop,.modal-backdrop.fade.in{opacity:0.8;filter:alpha(opacity=80);} +.modal{position:fixed;top:10%;left:50%;z-index:1050;width:560px;margin-left:-280px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0, 0, 0, 0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;outline:none;}.modal.fade{-webkit-transition:opacity .3s linear, top .3s ease-out;-moz-transition:opacity .3s linear, top .3s ease-out;-o-transition:opacity .3s linear, top .3s ease-out;transition:opacity .3s linear, top .3s ease-out;top:-25%;} +.modal.fade.in{top:10%;} +.modal-header{padding:9px 15px;border-bottom:1px solid #eee;}.modal-header .close{margin-top:2px;} +.modal-header h3{margin:0;line-height:30px;} +.modal-body{position:relative;overflow-y:auto;max-height:400px;padding:15px;} +.modal-form{margin-bottom:0;} +.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;*zoom:1;}.modal-footer:before,.modal-footer:after{display:table;content:"";line-height:0;} +.modal-footer:after{clear:both;} +.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0;} +.modal-footer .btn-group .btn+.btn{margin-left:-1px;} +.modal-footer .btn-block+.btn-block{margin-left:0;} +.dropup,.dropdown{position:relative;} +.dropdown-toggle{*margin-bottom:-3px;} +.dropdown-toggle:active,.open .dropdown-toggle{outline:0;} +.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000000;border-right:4px solid transparent;border-left:4px solid transparent;content:"";} +.dropdown .caret{margin-top:8px;margin-left:2px;} +.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;background-color:#ffffff;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-moz-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;}.dropdown-menu.pull-right{right:0;left:auto;} +.dropdown-menu .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff;} +.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:20px;color:#333333;white-space:nowrap;} +.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-submenu:hover>a,.dropdown-submenu:focus>a{text-decoration:none;color:#ffffff;background-color:#0081c2;background-image:-moz-linear-gradient(top, #0088cc, #0077b3);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));background-image:-webkit-linear-gradient(top, #0088cc, #0077b3);background-image:-o-linear-gradient(top, #0088cc, #0077b3);background-image:linear-gradient(to bottom, #0088cc, #0077b3);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);} +.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#ffffff;text-decoration:none;outline:0;background-color:#0081c2;background-image:-moz-linear-gradient(top, #0088cc, #0077b3);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));background-image:-webkit-linear-gradient(top, #0088cc, #0077b3);background-image:-o-linear-gradient(top, #0088cc, #0077b3);background-image:linear-gradient(to bottom, #0088cc, #0077b3);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);} +.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999999;} +.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:default;} +.open{*z-index:1000;}.open>.dropdown-menu{display:block;} +.pull-right>.dropdown-menu{right:0;left:auto;} +.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000000;content:"";} +.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px;} +.dropdown-submenu{position:relative;} +.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;} +.dropdown-submenu:hover>.dropdown-menu{display:block;} +.dropup .dropdown-submenu>.dropdown-menu{top:auto;bottom:0;margin-top:0;margin-bottom:-2px;-webkit-border-radius:5px 5px 5px 0;-moz-border-radius:5px 5px 5px 0;border-radius:5px 5px 5px 0;} +.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;} +.dropdown-submenu:hover>a:after{border-left-color:#ffffff;} +.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;} +.dropdown .dropdown-menu .nav-header{padding-left:20px;padding-right:20px;} +.typeahead{z-index:1051;margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} +.accordion{margin-bottom:20px;} +.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} +.accordion-heading{border-bottom:0;} +.accordion-heading .accordion-toggle{display:block;padding:8px 15px;} +.accordion-toggle{cursor:pointer;} +.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5;} +.carousel{position:relative;margin-bottom:20px;line-height:1;} +.carousel-inner{overflow:hidden;width:100%;position:relative;} +.carousel-inner>.item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left;}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;line-height:1;} +.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block;} +.carousel-inner>.active{left:0;} +.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%;} +.carousel-inner>.next{left:100%;} +.carousel-inner>.prev{left:-100%;} +.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0;} +.carousel-inner>.active.left{left:-100%;} +.carousel-inner>.active.right{left:100%;} +.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#ffffff;text-align:center;background:#222222;border:3px solid #ffffff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:0.5;filter:alpha(opacity=50);}.carousel-control.right{left:auto;right:15px;} +.carousel-control:hover,.carousel-control:focus{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90);} +.carousel-indicators{position:absolute;top:15px;right:15px;z-index:5;margin:0;list-style:none;}.carousel-indicators li{display:block;float:left;width:10px;height:10px;margin-left:5px;text-indent:-999px;background-color:#ccc;background-color:rgba(255, 255, 255, 0.25);border-radius:5px;} +.carousel-indicators .active{background-color:#fff;} +.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:15px;background:#333333;background:rgba(0, 0, 0, 0.75);} +.carousel-caption h4,.carousel-caption p{color:#ffffff;line-height:20px;} +.carousel-caption h4{margin:0 0 5px;} +.carousel-caption p{margin-bottom:0;} +.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);}.well blockquote{border-color:#ddd;border-color:rgba(0, 0, 0, 0.15);} +.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;} +.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} +.close{float:right;font-size:20px;font-weight:bold;line-height:20px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20);}.close:hover,.close:focus{color:#000000;text-decoration:none;cursor:pointer;opacity:0.4;filter:alpha(opacity=40);} +button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;} +.pull-right{float:right;} +.pull-left{float:left;} +.hide{display:none;} +.show{display:block;} +.invisible{visibility:hidden;} +.affix{position:fixed;} +.fade{opacity:0;-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear;}.fade.in{opacity:1;} +.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height 0.35s ease;-moz-transition:height 0.35s ease;-o-transition:height 0.35s ease;transition:height 0.35s ease;}.collapse.in{height:auto;} +@-ms-viewport{width:device-width;}.hidden{display:none;visibility:hidden;} +.visible-phone{display:none !important;} +.visible-tablet{display:none !important;} +.hidden-desktop{display:none !important;} +.visible-desktop{display:inherit !important;} +@media (min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit !important;} .visible-desktop{display:none !important ;} .visible-tablet{display:inherit !important;} .hidden-tablet{display:none !important;}}@media (max-width:767px){.hidden-desktop{display:inherit !important;} .visible-desktop{display:none !important;} .visible-phone{display:inherit !important;} .hidden-phone{display:none !important;}}.visible-print{display:none !important;} +@media print{.visible-print{display:inherit !important;} .hidden-print{display:none !important;}}@media (max-width:767px){body{padding-left:20px;padding-right:20px;} .navbar-fixed-top,.navbar-fixed-bottom,.navbar-static-top{margin-left:-20px;margin-right:-20px;} .container-fluid{padding:0;} .dl-horizontal dt{float:none;clear:none;width:auto;text-align:left;} .dl-horizontal dd{margin-left:0;} .container{width:auto;} .row-fluid{width:100%;} .row,.thumbnails{margin-left:0;} .thumbnails>li{float:none;margin-left:0;} [class*="span"],.uneditable-input[class*="span"],.row-fluid [class*="span"]{float:none;display:block;width:100%;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;} .span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;} .row-fluid [class*="offset"]:first-child{margin-left:0;} .input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;} .input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto;} .controls-row [class*="span"]+[class*="span"]{margin-left:0;} .modal{position:fixed;top:20px;left:20px;right:20px;width:auto;margin:0;}.modal.fade{top:-100px;} .modal.fade.in{top:20px;}}@media (max-width:480px){.nav-collapse{-webkit-transform:translate3d(0, 0, 0);} .page-header h1 small{display:block;line-height:20px;} input[type="checkbox"],input[type="radio"]{border:1px solid #ccc;} .form-horizontal .control-label{float:none;width:auto;padding-top:0;text-align:left;} .form-horizontal .controls{margin-left:0;} .form-horizontal .control-list{padding-top:0;} .form-horizontal .form-actions{padding-left:10px;padding-right:10px;} .media .pull-left,.media .pull-right{float:none;display:block;margin-bottom:10px;} .media-object{margin-right:0;margin-left:0;} .modal{top:10px;left:10px;right:10px;} .modal-header .close{padding:10px;margin:-10px;} .carousel-caption{position:static;}}@media (min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";line-height:0;} .row:after{clear:both;} [class*="span"]{float:left;min-height:1px;margin-left:20px;} .container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px;} .span12{width:724px;} .span11{width:662px;} .span10{width:600px;} .span9{width:538px;} .span8{width:476px;} .span7{width:414px;} .span6{width:352px;} .span5{width:290px;} .span4{width:228px;} .span3{width:166px;} .span2{width:104px;} .span1{width:42px;} .offset12{margin-left:764px;} .offset11{margin-left:702px;} .offset10{margin-left:640px;} .offset9{margin-left:578px;} .offset8{margin-left:516px;} .offset7{margin-left:454px;} .offset6{margin-left:392px;} .offset5{margin-left:330px;} .offset4{margin-left:268px;} .offset3{margin-left:206px;} .offset2{margin-left:144px;} .offset1{margin-left:82px;} .row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";line-height:0;} .row-fluid:after{clear:both;} .row-fluid [class*="span"]{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%;} .row-fluid [class*="span"]:first-child{margin-left:0;} .row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.7624309392265194%;} .row-fluid .span12{width:100%;*width:99.94680851063829%;} .row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%;} .row-fluid .span10{width:82.87292817679558%;*width:82.81973668743387%;} .row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%;} .row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%;} .row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%;} .row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%;} .row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%;} .row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%;} .row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%;} .row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%;} .row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%;} .row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%;} .row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%;} .row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%;} .row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margin-left:94.09251204890089%;} .row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%;} .row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%;} .row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%;} .row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%;} .row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%;} .row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%;} .row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%;} .row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%;} .row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%;} .row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%;} .row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.47372751851417%;} .row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%;} .row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%;} .row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%;} .row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%;} .row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%;} .row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%;} .row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%;} .row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%;} .row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%;} input,textarea,.uneditable-input{margin-left:0;} .controls-row [class*="span"]+[class*="span"]{margin-left:20px;} input.span12,textarea.span12,.uneditable-input.span12{width:710px;} input.span11,textarea.span11,.uneditable-input.span11{width:648px;} input.span10,textarea.span10,.uneditable-input.span10{width:586px;} input.span9,textarea.span9,.uneditable-input.span9{width:524px;} input.span8,textarea.span8,.uneditable-input.span8{width:462px;} input.span7,textarea.span7,.uneditable-input.span7{width:400px;} input.span6,textarea.span6,.uneditable-input.span6{width:338px;} input.span5,textarea.span5,.uneditable-input.span5{width:276px;} input.span4,textarea.span4,.uneditable-input.span4{width:214px;} input.span3,textarea.span3,.uneditable-input.span3{width:152px;} input.span2,textarea.span2,.uneditable-input.span2{width:90px;} input.span1,textarea.span1,.uneditable-input.span1{width:28px;}}@media (min-width:1200px){.row{margin-left:-30px;*zoom:1;}.row:before,.row:after{display:table;content:"";line-height:0;} .row:after{clear:both;} [class*="span"]{float:left;min-height:1px;margin-left:30px;} .container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px;} .span12{width:1170px;} .span11{width:1070px;} .span10{width:970px;} .span9{width:870px;} .span8{width:770px;} .span7{width:670px;} .span6{width:570px;} .span5{width:470px;} .span4{width:370px;} .span3{width:270px;} .span2{width:170px;} .span1{width:70px;} .offset12{margin-left:1230px;} .offset11{margin-left:1130px;} .offset10{margin-left:1030px;} .offset9{margin-left:930px;} .offset8{margin-left:830px;} .offset7{margin-left:730px;} .offset6{margin-left:630px;} .offset5{margin-left:530px;} .offset4{margin-left:430px;} .offset3{margin-left:330px;} .offset2{margin-left:230px;} .offset1{margin-left:130px;} .row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";line-height:0;} .row-fluid:after{clear:both;} .row-fluid [class*="span"]{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;} .row-fluid [class*="span"]:first-child{margin-left:0;} .row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.564102564102564%;} .row-fluid .span12{width:100%;*width:99.94680851063829%;} .row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%;} .row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%;} .row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%;} .row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%;} .row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%;} .row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%;} .row-fluid .span5{width:40.17094017094017%;*width:40.11774868157847%;} .row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%;} .row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%;} .row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%;} .row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%;} .row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%;} .row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%;} .row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%;} .row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%;} .row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%;} .row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%;} .row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%;} .row-fluid .offset9:first-child{margin-left:76.92307692307693%;*margin-left:76.81669394435352%;} .row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%;} .row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%;} .row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%;} .row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%;} .row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%;} .row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%;} .row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%;} .row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%;} .row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%;} .row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%;} .row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:28.0987452264048%;} .row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%;} .row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%;} .row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%;} .row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%;} .row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%;} input,textarea,.uneditable-input{margin-left:0;} .controls-row [class*="span"]+[class*="span"]{margin-left:30px;} input.span12,textarea.span12,.uneditable-input.span12{width:1156px;} input.span11,textarea.span11,.uneditable-input.span11{width:1056px;} input.span10,textarea.span10,.uneditable-input.span10{width:956px;} input.span9,textarea.span9,.uneditable-input.span9{width:856px;} input.span8,textarea.span8,.uneditable-input.span8{width:756px;} input.span7,textarea.span7,.uneditable-input.span7{width:656px;} input.span6,textarea.span6,.uneditable-input.span6{width:556px;} input.span5,textarea.span5,.uneditable-input.span5{width:456px;} input.span4,textarea.span4,.uneditable-input.span4{width:356px;} input.span3,textarea.span3,.uneditable-input.span3{width:256px;} input.span2,textarea.span2,.uneditable-input.span2{width:156px;} input.span1,textarea.span1,.uneditable-input.span1{width:56px;} .thumbnails{margin-left:-30px;} .thumbnails>li{margin-left:30px;} .row-fluid .thumbnails{margin-left:0;}}@media (max-width:979px){body{padding-top:0;} .navbar-fixed-top,.navbar-fixed-bottom{position:static;} .navbar-fixed-top{margin-bottom:20px;} .navbar-fixed-bottom{margin-top:20px;} .navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px;} .navbar .container{width:auto;padding:0;} .navbar .brand{padding-left:10px;padding-right:10px;margin:0 0 0 -5px;} .nav-collapse{clear:both;} .nav-collapse .nav{float:none;margin:0 0 10px;} .nav-collapse .nav>li{float:none;} .nav-collapse .nav>li>a{margin-bottom:2px;} .nav-collapse .nav>.divider-vertical{display:none;} .nav-collapse .nav .nav-header{color:#777777;text-shadow:none;} .nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#777777;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} .nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} .nav-collapse .dropdown-menu li+li a{margin-bottom:2px;} .nav-collapse .nav>li>a:hover,.nav-collapse .nav>li>a:focus,.nav-collapse .dropdown-menu a:hover,.nav-collapse .dropdown-menu a:focus{background-color:#f2f2f2;} .navbar-inverse .nav-collapse .nav>li>a,.navbar-inverse .nav-collapse .dropdown-menu a{color:#999999;} .navbar-inverse .nav-collapse .nav>li>a:hover,.navbar-inverse .nav-collapse .nav>li>a:focus,.navbar-inverse .nav-collapse .dropdown-menu a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:focus{background-color:#111111;} .nav-collapse.in .btn-group{margin-top:5px;padding:0;} .nav-collapse .dropdown-menu{position:static;top:auto;left:auto;float:none;display:none;max-width:none;margin:0 15px;padding:0;background-color:transparent;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} .nav-collapse .open>.dropdown-menu{display:block;} .nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none;} .nav-collapse .dropdown-menu .divider{display:none;} .nav-collapse .nav>li>.dropdown-menu:before,.nav-collapse .nav>li>.dropdown-menu:after{display:none;} .nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);} .navbar-inverse .nav-collapse .navbar-form,.navbar-inverse .nav-collapse .navbar-search{border-top-color:#111111;border-bottom-color:#111111;} .navbar .nav-collapse .nav.pull-right{float:none;margin-left:0;} .nav-collapse,.nav-collapse.collapse{overflow:hidden;height:0;} .navbar .btn-navbar{display:block;} .navbar-static .navbar-inner{padding-left:10px;padding-right:10px;}}@media (min-width:980px){.nav-collapse.collapse{height:auto !important;overflow:visible !important;}} diff --git a/samples/Common Lisp/sample.lisp b/samples/Common Lisp/sample.lisp new file mode 100644 index 00000000..9bef6781 --- /dev/null +++ b/samples/Common Lisp/sample.lisp @@ -0,0 +1,21 @@ +;;;; -*- lisp -*- + +(in-package :foo) + +;;; Header comment. +(defvar *foo*) + +(eval-when (:execute :compile-toplevel :load-toplevel) + (defun add (x &optional y &key z) + (declare (ignore z)) + ;; Inline comment. + (+ x (or y 1)))) + +#| +Multi-line comment. +|# + +(defmacro foo (x &body b) + (if x + `(1+ ,x) ;After-line comment. + 42)) diff --git a/samples/DM/example.dm b/samples/DM/example.dm new file mode 100644 index 00000000..b8f1fad4 --- /dev/null +++ b/samples/DM/example.dm @@ -0,0 +1,87 @@ +// This is a single line comment. +/* + This is a multi-line comment +*/ + +// Pre-processor keywords + +#define PI 3.1415 + +#if PI == 4 + +#define G 5 + +#elif PI == 3 + +#define I 6 + +#else + +#define K 7 + +#endif + + +var/GlobalCounter = 0 +var/const/CONST_VARIABLE = 2 +var/list/MyList = list("anything", 1, new /datum/entity) +var/list/EmptyList[99] // creates a list of 99 null entries +var/list/NullList = null + +/* + Entity Class +*/ + +/datum/entity + var/name = "Entity" + var/number = 0 + +/datum/entity/proc/myFunction() + world.log << "Entity has called myFunction" + +/datum/entity/New() + number = GlobalCounter++ + +/* + Unit Class, Extends from Entity +*/ + +/datum/entity/unit + name = "Unit" + +/datum/entity/unit/New() + ..() // calls the parent's proc; equal to super() and base() in other languages + number = rand(1, 99) + +/datum/entity/unit/myFunction() + world.log << "Unit has overriden and called myFunction" + +// Global Function +/proc/ReverseList(var/list/input) + var/list/output = list() + for(var/i = input.len; i >= 1; i--) // IMPORTANT: List Arrays count from 1. + output += input[i] // "+= x" is ".Add(x)" + return output + +// Bitflags +/proc/DoStuff() + var/bitflag = 0 + bitflag |= 8 + return bitflag + +/proc/DoOtherStuff() + var/bitflag = 65535 // 16 bits is the maximum amount + bitflag &= ~8 + return bitflag + +// Logic +/proc/DoNothing() + var/pi = PI + if(pi == 4) + world.log << "PI is 4" + else if(pi == CONST_VARIABLE) + world.log << "PI is [CONST_VARIABLE]!" + else + world.log << "PI is approximety [pi]" + +#undef PI // Undefine PI \ No newline at end of file diff --git a/samples/Erlang/release.script! b/samples/Erlang/release.script! new file mode 100644 index 00000000..9b06a6dd --- /dev/null +++ b/samples/Erlang/release.script! @@ -0,0 +1,122 @@ +#!/usr/bin/env escript +%%! +%-*-Mode:erlang;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*- +% ex: set ft=erlang fenc=utf-8 sts=4 ts=4 sw=4 et: +%%% +%%%------------------------------------------------------------------------ +%%% BSD LICENSE +%%% +%%% Copyright (c) 2013, Michael Truog +%%% All rights reserved. +%%% +%%% Redistribution and use in source and binary forms, with or without +%%% modification, are permitted provided that the following conditions are met: +%%% +%%% * Redistributions of source code must retain the above copyright +%%% notice, this list of conditions and the following disclaimer. +%%% * Redistributions in binary form must reproduce the above copyright +%%% notice, this list of conditions and the following disclaimer in +%%% the documentation and/or other materials provided with the +%%% distribution. +%%% * All advertising materials mentioning features or use of this +%%% software must display the following acknowledgment: +%%% This product includes software developed by Michael Truog +%%% * The name of the author may not be used to endorse or promote +%%% products derived from this software without specific prior +%%% written permission +%%% +%%% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +%%% CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +%%% INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +%%% OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +%%% DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +%%% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +%%% SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +%%% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +%%% SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +%%% INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +%%% WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +%%% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +%%% OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +%%% DAMAGE. +%%%------------------------------------------------------------------------ + +-author('mjtruog [at] gmail (dot) com'). + +-mode(compile). + +main(_) -> + {ok, + [{sys, _} = RelToolConfig, + {target_dir, TargetDir}, + {overlay, OverlayConfig}]} = file:consult("reltool.config"), + {ok, Spec} = reltool:get_target_spec([RelToolConfig]), + case file:make_dir(TargetDir) of + ok -> + ok; + {error, eexist} -> + io:format("release already exists? (~p)~n", [TargetDir]), + exit_code(1) + end, + ok = reltool:eval_target_spec(Spec, code:root_dir(), TargetDir), + ok = process_overlay(RelToolConfig, TargetDir, OverlayConfig), + exit_code(0). + +shell(Command, Arguments) -> + CommandSuffix = " && echo 0 || echo 1", + case lists:reverse(os:cmd(lists:flatten( + io_lib:format(Command ++ CommandSuffix, Arguments)))) of + [_, $0 | _] -> + ok; + [_, $1 | _] -> + io:format("\"~s\" failed!~n", [io_lib:format(Command, Arguments)]), + error + end. + +boot_rel_vsn({sys, Config} = _RelToolConfig) -> + {rel, _Name, Ver, _} = proplists:lookup(rel, Config), + Ver. + +%% minimal parsing for handling mustache syntax +mustache(Body, Context) -> + mustache(Body, "", Context). +mustache([], Result, _Context) -> + lists:reverse(Result); +mustache([${, ${ | KeyStr], Result, Context) -> + mustache_key(KeyStr, "", Result, Context); +mustache([C | Rest], Result, Context) -> + mustache(Rest, [C | Result], Context). +mustache_key([$}, $} | Rest], KeyStr, Result, Context) -> + Key = erlang:list_to_existing_atom(lists:reverse(KeyStr)), + {ok, Value} = dict:find(Key, Context), + mustache(Rest, lists:reverse(Value) ++ Result, Context); +mustache_key([C | Rest], KeyStr, Result, Context) -> + mustache_key(Rest, [C | KeyStr], Result, Context). + +%% support minimal overlay based on rebar overlays +process_overlay(RelToolConfig, TargetDir, OverlayConfig) -> + BootRelVsn = boot_rel_vsn(RelToolConfig), + OverlayVars = + dict:from_list([{erts_vsn, "erts-" ++ erlang:system_info(version)}, + {rel_vsn, BootRelVsn}, + {target_dir, TargetDir}, + {hostname, net_adm:localhost()}]), + {ok, BaseDir} = file:get_cwd(), + execute_overlay(OverlayConfig, OverlayVars, BaseDir, TargetDir). + +execute_overlay([], _Vars, _BaseDir, _TargetDir) -> + ok; +execute_overlay([{mkdir, Out} | Rest], Vars, BaseDir, TargetDir) -> + OutDir = mustache(filename:join(TargetDir, Out), Vars), + ok = shell("mkdir -p ~s", [OutDir]), + execute_overlay(Rest, Vars, BaseDir, TargetDir); +execute_overlay([{copy, In, Out} | Rest], Vars, BaseDir, TargetDir) -> + InFile = mustache(filename:join(BaseDir, In), Vars), + OutFile = mustache(filename:join(TargetDir, Out), Vars), + true = filelib:is_file(InFile), + ok = shell("cp -R ~s ~s", [InFile, OutFile]), + execute_overlay(Rest, Vars, BaseDir, TargetDir). + +exit_code(ExitCode) -> + erlang:halt(ExitCode, [{flush, true}]). + diff --git a/samples/GLSL/SyLens.glsl b/samples/GLSL/SyLens.glsl new file mode 100644 index 00000000..7e9ec456 --- /dev/null +++ b/samples/GLSL/SyLens.glsl @@ -0,0 +1,161 @@ +#version 120 + +/* + Original Lens Distortion Algorithm from SSontech (Syntheyes) + http://www.ssontech.com/content/lensalg.htm + + r2 is radius squared. + + r2 = image_aspect*image_aspect*u*u + v*v + f = 1 + r2*(k + kcube*sqrt(r2)) + u' = f*u + v' = f*v + +*/ + +// Controls +uniform float kCoeff, kCube, uShift, vShift; +uniform float chroma_red, chroma_green, chroma_blue; +uniform bool apply_disto; + +// Uniform inputs +uniform sampler2D input1; +uniform float adsk_input1_w, adsk_input1_h, adsk_input1_aspect, adsk_input1_frameratio; +uniform float adsk_result_w, adsk_result_h; + +float distortion_f(float r) { + float f = 1 + (r*r)*(kCoeff + kCube * r); + return f; +} + + +float inverse_f(float r) +{ + + // Build a lookup table on the radius, as a fixed-size table. + // We will use a vec3 since we will store the multipled number in the Z coordinate. + // So to recap: x will be the radius, y will be the f(x) distortion, and Z will be x * y; + vec3[48] lut; + + // Since out LUT is shader-global check if it's been computed alrite + // Flame has no overflow bbox so we can safely max out at the image edge, plus some cushion + float max_r = sqrt((adsk_input1_frameratio * adsk_input1_frameratio) + 1) + 0.1; + float incr = max_r / 48; + float lut_r = 0; + float f; + for(int i=0; i < 48; i++) { + f = distortion_f(lut_r); + lut[i] = vec3(lut_r, f, lut_r * f); + lut_r += incr; + } + + float t; + // Now find the nehgbouring elements + // only iterate to 46 since we will need + // 47 as i+1 + for(int i=0; i < 47; i++) { + if(lut[i].z < r && lut[i+1].z > r) { + // BAM! our value is between these two segments + // get the T interpolant and mix + t = (r - lut[i].z) / (lut[i+1].z - lut[i]).z; + return mix(lut[i].y, lut[i+1].y, t ); + } + } +} + +float aberrate(float f, float chroma) +{ + return f + (f * chroma); +} + +vec3 chromaticize_and_invert(float f) +{ + vec3 rgb_f = vec3(aberrate(f, chroma_red), aberrate(f, chroma_green), aberrate(f, chroma_blue)); + // We need to DIVIDE by F when we redistort, and x / y == x * (1 / y) + if(apply_disto) { + rgb_f = 1 / rgb_f; + } + return rgb_f; +} + +void main(void) +{ + vec2 px, uv; + float f = 1; + float r = 1; + + px = gl_FragCoord.xy; + + // Make sure we are still centered + px.x -= (adsk_result_w - adsk_input1_w) / 2; + px.y -= (adsk_result_h - adsk_input1_h) / 2; + + // Push the destination coordinates into the [0..1] range + uv.x = px.x / adsk_input1_w; + uv.y = px.y / adsk_input1_h; + + + // And to Syntheyes UV which are [1..-1] on both X and Y + uv.x = (uv.x *2 ) - 1; + uv.y = (uv.y *2 ) - 1; + + // Add UV shifts + uv.x += uShift; + uv.y += vShift; + + // Make the X value the aspect value, so that the X coordinates go to [-aspect..aspect] + uv.x = uv.x * adsk_input1_frameratio; + + // Compute the radius + r = sqrt(uv.x*uv.x + uv.y*uv.y); + + // If we are redistorting, account for the oversize plate in the input, assume that + // the input aspect is the same + if(apply_disto) { + r = r / (float(adsk_input1_w) / float(adsk_result_w)); + } + + // Apply or remove disto, per channel honoring chromatic aberration + if(apply_disto) { + f = inverse_f(r); + } else { + f = distortion_f(r); + } + + vec2[3] rgb_uvs = vec2[](uv, uv, uv); + + // Compute distortions per component + vec3 rgb_f = chromaticize_and_invert(f); + + // Apply the disto coefficients, per component + rgb_uvs[0] = rgb_uvs[0] * rgb_f.rr; + rgb_uvs[1] = rgb_uvs[1] * rgb_f.gg; + rgb_uvs[2] = rgb_uvs[2] * rgb_f.bb; + + // Convert all the UVs back to the texture space, per color component + for(int i=0; i < 3; i++) { + uv = rgb_uvs[i]; + + // Back from [-aspect..aspect] to [-1..1] + uv.x = uv.x / adsk_input1_frameratio; + + // Remove UV shifts + uv.x -= uShift; + uv.y -= vShift; + + // Back to OGL UV + uv.x = (uv.x + 1) / 2; + uv.y = (uv.y + 1) / 2; + + rgb_uvs[i] = uv; + } + + // Sample the input plate, per component + vec4 sampled; + sampled.r = texture2D(input1, rgb_uvs[0]).r; + sampled.g = texture2D(input1, rgb_uvs[1]).g; + sampled.b = texture2D(input1, rgb_uvs[2]).b; + + // and assign to the output + gl_FragColor.rgba = vec4(sampled.rgb, 1.0 ); +} \ No newline at end of file diff --git a/samples/GLSL/islandScene.glsl b/samples/GLSL/islandScene.glsl new file mode 100644 index 00000000..f417b220 --- /dev/null +++ b/samples/GLSL/islandScene.glsl @@ -0,0 +1,630 @@ +//// High quality (Some browsers may freeze or crash) +//#define HIGHQUALITY + +//// Medium quality (Should be fine on all systems, works on Intel HD2000 on Win7 but quite slow) +//#define MEDIUMQUALITY + +//// Defaults +//#define REFLECTIONS +#define SHADOWS +//#define GRASS +//#define SMALL_WAVES +#define RAGGED_LEAVES +//#define DETAILED_NOISE +//#define LIGHT_AA // 2 sample SSAA +//#define HEAVY_AA // 2x2 RG SSAA +//#define TONEMAP + +//// Configurations +#ifdef MEDIUMQUALITY + #define SHADOWS + #define SMALL_WAVES + #define RAGGED_LEAVES + #define TONEMAP +#endif + +#ifdef HIGHQUALITY + #define REFLECTIONS + #define SHADOWS + //#define GRASS + #define SMALL_WAVES + #define RAGGED_LEAVES + #define DETAILED_NOISE + #define LIGHT_AA + #define TONEMAP +#endif + +// Constants +const float eps = 1e-5; +const float PI = 3.14159265359; + +const vec3 sunDir = vec3(0.79057,-0.47434, 0.0); +const vec3 skyCol = vec3(0.3, 0.5, 0.8); +const vec3 sandCol = vec3(0.9, 0.8, 0.5); +const vec3 treeCol = vec3(0.8, 0.65, 0.3); +const vec3 grassCol = vec3(0.4, 0.5, 0.18); +const vec3 leavesCol = vec3(0.3, 0.6, 0.2); +const vec3 leavesPos = vec3(-5.1,13.4, 0.0); + +#ifdef TONEMAP +const vec3 sunCol = vec3(1.8, 1.7, 1.6); +#else +const vec3 sunCol = vec3(0.9, 0.85, 0.8); +#endif + +const float exposure = 1.1; // Only used when tonemapping + +// Description : Array and textureless GLSL 2D/3D/4D simplex +// noise functions. +// Author : Ian McEwan, Ashima Arts. +// License : Copyright (C) 2011 Ashima Arts. All rights reserved. +// Distributed under the MIT License. See LICENSE file. +// https://github.com/ashima/webgl-noise +vec3 mod289(vec3 x) { + return x - floor(x * (1.0 / 289.0)) * 289.0; +} + +vec4 mod289(vec4 x) { + return x - floor(x * (1.0 / 289.0)) * 289.0; +} + +vec4 permute(vec4 x) { + return mod289(((x*34.0)+1.0)*x); +} + +vec4 taylorInvSqrt(vec4 r) { + return 1.79284291400159 - 0.85373472095314 * r; +} + +float snoise(vec3 v) { + const vec2 C = vec2(1.0/6.0, 1.0/3.0) ; + const vec4 D = vec4(0.0, 0.5, 1.0, 2.0); + +// First corner + vec3 i = floor(v + dot(v, C.yyy) ); + vec3 x0 = v - i + dot(i, C.xxx) ; + +// Other corners + vec3 g = step(x0.yzx, x0.xyz); + vec3 l = 1.0 - g; + vec3 i1 = min( g.xyz, l.zxy ); + vec3 i2 = max( g.xyz, l.zxy ); + + // x0 = x0 - 0.0 + 0.0 * C.xxx; + // x1 = x0 - i1 + 1.0 * C.xxx; + // x2 = x0 - i2 + 2.0 * C.xxx; + // x3 = x0 - 1.0 + 3.0 * C.xxx; + vec3 x1 = x0 - i1 + C.xxx; + vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y + vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y + +// Permutations + i = mod289(i); + vec4 p = permute( permute( permute( + i.z + vec4(0.0, i1.z, i2.z, 1.0 )) + + i.y + vec4(0.0, i1.y, i2.y, 1.0 )) + + i.x + vec4(0.0, i1.x, i2.x, 1.0 )); + +// Gradients: 7x7 points over a square, mapped onto an octahedron. +// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294) + float n_ = 0.142857142857; // 1.0/7.0 + vec3 ns = n_ * D.wyz - D.xzx; + + vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7) + + vec4 x_ = floor(j * ns.z); + vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N) + + vec4 x = x_ *ns.x + ns.yyyy; + vec4 y = y_ *ns.x + ns.yyyy; + vec4 h = 1.0 - abs(x) - abs(y); + + vec4 b0 = vec4( x.xy, y.xy ); + vec4 b1 = vec4( x.zw, y.zw ); + + //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0; + //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0; + vec4 s0 = floor(b0)*2.0 + 1.0; + vec4 s1 = floor(b1)*2.0 + 1.0; + vec4 sh = -step(h, vec4(0.0)); + + vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ; + vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ; + + vec3 p0 = vec3(a0.xy,h.x); + vec3 p1 = vec3(a0.zw,h.y); + vec3 p2 = vec3(a1.xy,h.z); + vec3 p3 = vec3(a1.zw,h.w); + +//Normalise gradients + vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3))); + p0 *= norm.x; + p1 *= norm.y; + p2 *= norm.z; + p3 *= norm.w; + +// Mix final noise value + vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0); + m = m * m; + return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1), + dot(p2,x2), dot(p3,x3) ) ); +} + + + +// Main +float fbm(vec3 p) +{ + float final = snoise(p); + p *= 1.94; final += snoise(p) * 0.5; + #ifdef DETAILED_NOISE + p *= 3.75; final += snoise(p) * 0.25; + return final / 1.75; + #else + return final / 1.5; + #endif +} + +float waterHeight(vec3 p) +{ + float d = length(p.xz); + float h = sin(d * 1.5 + iGlobalTime * 3.0) * 12.0 / d; // Island waves + #ifdef SMALL_WAVES + h += fbm(p*0.5); // Other waves + #endif + return h; +} + +vec3 bump(vec3 pos, vec3 rayDir) +{ + float s = 2.0; + + // Fade out waves to reduce aliasing + float dist = dot(pos, rayDir); + s *= dist < 2.0 ? 1.0 : 1.4142 / sqrt(dist); + + // Calculate normal from heightmap + vec2 e = vec2(1e-2, 0.0); + vec3 p = vec3(pos.x, iGlobalTime*0.5, pos.z)*0.7; + float m = waterHeight(p)*s; + return normalize(vec3( + waterHeight(p+e.xyy)*s-m, + 1.0, + waterHeight(p+e.yxy)*s-m + )); +} + +// Ray intersections +vec4 intersectSphere(vec3 rpos, vec3 rdir, vec3 pos, float rad) +{ + vec3 op = pos - rpos; + float b = dot(op, rdir); + float det = b*b - dot(op, op) + rad*rad; + + if (det > 0.0) + { + det = sqrt(det); + float t = b - det; + if (t > eps) + return vec4(-normalize(rpos+rdir*t-pos), t); + } + + return vec4(0.0); +} + +vec4 intersectCylinder(vec3 rpos, vec3 rdir, vec3 pos, float rad) +{ + vec3 op = pos - rpos; + vec2 rdir2 = normalize(rdir.yz); + float b = dot(op.yz, rdir2); + float det = b*b - dot(op.yz, op.yz) + rad*rad; + + if (det > 0.0) + { + det = sqrt(det); + float t = b - det; + if (t > eps) + return vec4(-normalize(rpos.yz+rdir2*t-pos.yz), 0.0, t); + t = b + det; + if (t > eps) + return vec4(-normalize(rpos.yz+rdir2*t-pos.yz), 0.0, t); + } + + return vec4(0.0); +} + +vec4 intersectPlane(vec3 rayPos, vec3 rayDir, vec3 n, float d) +{ + float t = -(dot(rayPos, n) + d) / dot(rayDir, n); + return vec4(n * sign(dot(rayDir, n)), t); +} + +// Helper functions +vec3 rotate(vec3 p, float theta) +{ + float c = cos(theta), s = sin(theta); + return vec3(p.x * c + p.z * s, p.y, + p.z * c - p.x * s); +} + +float impulse(float k, float x) // by iq +{ + float h = k*x; + return h * exp(1.0 - h); +} + +// Raymarched parts of scene +float grass(vec3 pos) +{ + float h = length(pos - vec3(0.0, -7.0, 0.0)) - 8.0; + + if (h > 2.0) return h; // Optimization (Avoid noise if too far away) + + return h + snoise(pos * 3.0) * 0.1 + pos.y * 0.9; +} + +float tree(vec3 pos) +{ + pos.y -= 0.5; + float s = sin(pos.y*0.03); + float c = cos(pos.y*0.03); + mat2 m = mat2(c, -s, s, c); + vec3 p = vec3(m*pos.xy, pos.z); + + float width = 1.0 - pos.y * 0.02 - clamp(sin(pos.y * 8.0) * 0.1, 0.05, 0.1); + + return max(length(p.xz) - width, pos.y - 12.5); +} + +vec2 scene(vec3 pos) +{ + float vtree = tree(pos); + #ifdef GRASS + float vgrass = grass(pos); + float v = min(vtree, vgrass); + #else + float v = vtree; + #endif + return vec2(v, v == vtree ? 2.0 : 1.0); +} + +vec3 normal(vec3 pos) +{ + vec2 eps = vec2(1e-3, 0.0); + float h = scene(pos).x; + return normalize(vec3( + scene(pos-eps.xyy).x-h, + scene(pos-eps.yxy).x-h, + scene(pos-eps.yyx).x-h + )); +} + +float plantsShadow(vec3 rayPos, vec3 rayDir) +{ + // Soft shadow taken from iq + float k = 6.0; + float t = 0.0; + float s = 1.0; + for (int i = 0; i < 30; i++) + { + vec3 pos = rayPos+rayDir*t; + vec2 res = scene(pos); + if (res.x < 0.001) return 0.0; + s = min(s, k*res.x/t); + t += max(res.x, 0.01); + } + + return s*s*(3.0 - 2.0*s); +} + +// Ray-traced parts of scene +vec4 intersectWater(vec3 rayPos, vec3 rayDir) +{ + float h = sin(20.5 + iGlobalTime * 2.0) * 0.03; + float t = -(rayPos.y + 2.5 + h) / rayDir.y; + return vec4(0.0, 1.0, 0.0, t); +} + +vec4 intersectSand(vec3 rayPos, vec3 rayDir) +{ + return intersectSphere(rayPos, rayDir, vec3(0.0,-24.1,0.0), 24.1); +} + +vec4 intersectTreasure(vec3 rayPos, vec3 rayDir) +{ + return vec4(0.0); +} + +vec4 intersectLeaf(vec3 rayPos, vec3 rayDir, float openAmount) +{ + vec3 dir = normalize(vec3(0.0, 1.0, openAmount)); + float offset = 0.0; + + vec4 res = intersectPlane(rayPos, rayDir, dir, 0.0); + vec3 pos = rayPos+rayDir*res.w; + #ifdef RAGGED_LEAVES + offset = snoise(pos*0.8) * 0.3; + #endif + if (pos.y > 0.0 || length(pos * vec3(0.9, 2.0, 1.0)) > 4.0 - offset) res.w = 0.0; + + vec4 res2 = intersectPlane(rayPos, rayDir, vec3(dir.xy, -dir.z), 0.0); + pos = rayPos+rayDir*res2.w; + #ifdef RAGGED_LEAVES + offset = snoise(pos*0.8) * 0.3; + #endif + if (pos.y > 0.0 || length(pos * vec3(0.9, 2.0, 1.0)) > 4.0 - offset) res2.w = 0.0; + + if (res2.w > 0.0 && res2.w < res.w || res.w <= 0.0) + res = res2; + + return res; +} + +vec4 leaves(vec3 rayPos, vec3 rayDir) +{ + float t = 1e20; + vec3 n = vec3(0.0); + + rayPos -= leavesPos; + + float sway = impulse(15.0, fract(iGlobalTime / PI * 0.125)); + float upDownSway = sway * -sin(iGlobalTime) * 0.06; + float openAmount = sway * max(-cos(iGlobalTime) * 0.4, 0.0); + + float angleOffset = -0.1; + for (float k = 0.0; k < 6.2; k += 0.75) + { + // Left-right + float alpha = k + (k - PI) * sway * 0.015; + vec3 p = rotate(rayPos, alpha); + vec3 d = rotate(rayDir, alpha); + + // Up-down + angleOffset *= -1.0; + float theta = -0.4 + + angleOffset + + cos(k) * 0.35 + + upDownSway + + sin(iGlobalTime+k*10.0) * 0.03 * (sway + 0.2); + + p = rotate(p.xzy, theta).xzy; + d = rotate(d.xzy, theta).xzy; + + // Shift + p -= vec3(5.4, 0.0, 0.0); + + // Intersect individual leaf + vec4 res = intersectLeaf(p, d, 1.0+openAmount); + if (res.w > 0.0 && res.w < t) + { + t = res.w; + n = res.xyz; + } + } + + return vec4(n, t); +} + +// Lighting +float shadow(vec3 rayPos, vec3 rayDir) +{ + float s = 1.0; + + // Intersect sand + //vec4 resSand = intersectSand(rayPos, rayDir); + //if (resSand.w > 0.0) return 0.0; + + // Intersect plants + s = min(s, plantsShadow(rayPos, rayDir)); + if (s < 0.0001) return 0.0; + + // Intersect leaves + vec4 resLeaves = leaves(rayPos, rayDir); + if (resLeaves.w > 0.0 && resLeaves.w < 1e7) return 0.0; + + return s; +} + +vec3 light(vec3 p, vec3 n) +{ + float s = 1.0; + + #ifdef SHADOWS + s = shadow(p-sunDir*0.01, -sunDir); + #endif + + vec3 col = sunCol * min(max(dot(n, sunDir), 0.0), s); + col += skyCol * (-n.y * 0.5 + 0.5) * 0.3; + return col; +} + +vec3 lightLeaves(vec3 p, vec3 n) +{ + float s = 1.0; + + #ifdef SHADOWS + s = shadow(p-sunDir*0.01, -sunDir); + #endif + + float ao = min(length(p - leavesPos) * 0.1, 1.0); + + float ns = dot(n, sunDir); + float d = sqrt(max(ns, 0.0)); + vec3 col = sunCol * min(d, s); + col += sunCol * max(-ns, 0.0) * vec3(0.3, 0.3, 0.1) * ao; + col += skyCol * (-n.y * 0.5 + 0.5) * 0.3 * ao; + return col; +} + +vec3 sky(vec3 n) +{ + return skyCol * (1.0 - n.y * 0.8); +} + +// Ray-marching +vec4 plants(vec3 rayPos, vec3 rayDir) +{ + float t = 0.0; + + for (int i = 0; i < 40; i++) + { + vec3 pos = rayPos+rayDir*t; + vec2 res = scene(pos); + float h = res.x; + + if (h < 0.001) + { + vec3 col = res.y == 2.0 ? treeCol : grassCol; + float uvFact = res.y == 2.0 ? 1.0 : 10.0; + + vec3 n = normal(pos); + vec2 uv = vec2(n.x, pos.y * 0.5) * 0.2 * uvFact; + vec3 tex = texture2D(iChannel0, uv).rgb * 0.6 + 0.4; + float ao = min(length(pos - leavesPos) * 0.1, 1.0); + return vec4(col * light(pos, n) * ao * tex, t); + } + + t += h; + } + + return vec4(sky(rayDir), 1e8); +} + +// Final combination +vec3 traceReflection(vec3 rayPos, vec3 rayDir) +{ + vec3 col = vec3(0.0); + float t = 1e20; + + // Intersect plants + vec4 resPlants = plants(rayPos, rayDir); + if (resPlants.w > 0.0 && resPlants.w < t) + { + t = resPlants.w; + col = resPlants.xyz; + } + + // Intersect leaves + vec4 resLeaves = leaves(rayPos, rayDir); + if (resLeaves.w > 0.0 && resLeaves.w < t) + { + vec3 pos = rayPos + rayDir * resLeaves.w; + vec2 uv = (pos.xz - leavesPos.xz) * 0.3; + float tex = texture2D(iChannel0, uv).r * 0.6 + 0.5; + + t = resLeaves.w; + col = leavesCol * lightLeaves(pos, resLeaves.xyz) * tex; + } + + if (t > 1e7) return sky(rayDir); + + return col; +} + +vec3 trace(vec3 rayPos, vec3 rayDir) +{ + vec3 col = vec3(0.0); + float t = 1e20; + + // Intersect sand + vec4 resSand = intersectSand(rayPos, rayDir); + if (resSand.w > 0.0) + { + vec3 pos = rayPos + rayDir * resSand.w; + t = resSand.w; + + col = sandCol * light(pos, resSand.xyz); + } + + // Intersect treasure chest + vec4 resTreasure = intersectTreasure(rayPos, rayDir); + if (resTreasure.w > 0.0 && resTreasure.w < t) + { + vec3 pos = rayPos + rayDir * resTreasure.w; + t = resTreasure.w; + col = leavesCol * light(pos, resTreasure.xyz); + } + + // Intersect leaves + vec4 resLeaves = leaves(rayPos, rayDir); + if (resLeaves.w > 0.0 && resLeaves.w < t) + { + vec3 pos = rayPos + rayDir * resLeaves.w; + vec2 uv = (pos.xz - leavesPos.xz) * 0.3; + float tex = texture2D(iChannel0, uv).r * 0.6 + 0.5; + + t = resLeaves.w; + col = leavesCol * lightLeaves(pos, resLeaves.xyz) * tex; + } + + // Intersect plants + vec4 resPlants = plants(rayPos, rayDir); + if (resPlants.w > 0.0 && resPlants.w < t) + { + t = resPlants.w; + col = resPlants.xyz; + } + + // Intersect water + vec4 resWater = intersectWater(rayPos, rayDir); + if (resWater.w > 0.0 && resWater.w < t) + { + vec3 pos = rayPos + rayDir * resWater.w; + float dist = t - resWater.w; + vec3 n = bump(pos, rayDir); + + float ct = -min(dot(n,rayDir), 0.0); + float fresnel = 0.9 - 0.9 * pow(1.0 - ct, 5.0); + + vec3 trans = col * exp(-dist * vec3(1.0, 0.7, 0.4) * 3.0); + vec3 reflDir = normalize(reflect(rayDir, n)); + vec3 refl = sky(reflDir); + + #ifdef REFLECTIONS + if (dot(pos, rayDir) < -2.0) + refl = traceReflection(pos, reflDir).rgb; + #endif + + t = resWater.t; + col = mix(refl, trans, fresnel); + } + + if (t > 1e7) return sky(rayDir); + + return col; +} + +// Ray-generation +vec3 camera(vec2 px) +{ + vec2 rd = (px / iResolution.yy - vec2(iResolution.x/iResolution.y*0.5-0.5, 0.0)) * 2.0 - 1.0; + float t = sin(iGlobalTime * 0.1) * 0.2; + vec3 rayDir = normalize(vec3(rd.x, rd.y, 1.0)); + vec3 rayPos = vec3(0.0, 3.0, -18.0); + return trace(rayPos, rayDir); +} + +void main(void) +{ + #ifdef HEAVY_AA + vec3 col = camera(gl_FragCoord.xy+vec2(0.0,0.5))*0.25; + col += camera(gl_FragCoord.xy+vec2(0.25,0.0))*0.25; + col += camera(gl_FragCoord.xy+vec2(0.5,0.75))*0.25; + col += camera(gl_FragCoord.xy+vec2(0.75,0.25))*0.25; + #else + vec3 col = camera(gl_FragCoord.xy); + #ifdef LIGHT_AA + col = col * 0.5 + camera(gl_FragCoord.xy+vec2(0.5,0.5))*0.5; + #endif + #endif + + #ifdef TONEMAP + // Optimized Haarm-Peter Duiker’s curve + vec3 x = max(vec3(0.0),col*exposure-0.004); + col = (x*(6.2*x+.5))/(x*(6.2*x+1.7)+0.06); + #else + col = pow(col, vec3(0.4545)); + #endif + + gl_FragColor = vec4(col, 1.0); +} \ No newline at end of file diff --git a/samples/GLSL/shader.fp b/samples/GLSL/shader.fp new file mode 100644 index 00000000..607964f7 --- /dev/null +++ b/samples/GLSL/shader.fp @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2010 Josh A. Beam + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; + * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +const int NUM_LIGHTS = 3; +const vec3 AMBIENT = vec3(0.1, 0.1, 0.1); +const float MAX_DIST = 2.5; +const float MAX_DIST_SQUARED = MAX_DIST * MAX_DIST; + +uniform vec3 lightColor[NUM_LIGHTS]; + +varying vec3 fragmentNormal; +varying vec3 cameraVector; +varying vec3 lightVector[NUM_LIGHTS]; + +void +main() +{ + // initialize diffuse/specular lighting + vec3 diffuse = vec3(0.0, 0.0, 0.0); + vec3 specular = vec3(0.0, 0.0, 0.0); + + // normalize the fragment normal and camera direction + vec3 normal = normalize(fragmentNormal); + vec3 cameraDir = normalize(cameraVector); + + // loop through each light + for(int i = 0; i < NUM_LIGHTS; ++i) { + // calculate distance between 0.0 and 1.0 + float dist = min(dot(lightVector[i], lightVector[i]), MAX_DIST_SQUARED) / MAX_DIST_SQUARED; + float distFactor = 1.0 - dist; + + // diffuse + vec3 lightDir = normalize(lightVector[i]); + float diffuseDot = dot(normal, lightDir); + diffuse += lightColor[i] * clamp(diffuseDot, 0.0, 1.0) * distFactor; + + // specular + vec3 halfAngle = normalize(cameraDir + lightDir); + vec3 specularColor = min(lightColor[i] + 0.5, 1.0); + float specularDot = dot(normal, halfAngle); + specular += specularColor * pow(clamp(specularDot, 0.0, 1.0), 16.0) * distFactor; + } + + vec4 sample = vec4(1.0, 1.0, 1.0, 1.0); + gl_FragColor = vec4(clamp(sample.rgb * (diffuse + AMBIENT) + specular, 0.0, 1.0), sample.a); +} diff --git a/samples/Jade/hello.jade b/samples/Jade/hello.jade new file mode 100644 index 00000000..32c72739 --- /dev/null +++ b/samples/Jade/hello.jade @@ -0,0 +1,3 @@ +p. + Hello, + World! diff --git a/samples/LFE/church.lfe b/samples/LFE/church.lfe new file mode 100644 index 00000000..b99d44ba --- /dev/null +++ b/samples/LFE/church.lfe @@ -0,0 +1,111 @@ +;; Copyright (c) 2013 Duncan McGreggor +;; +;; Licensed under the Apache License, Version 2.0 (the "License"); +;; you may not use this file except in compliance with the License. +;; You may obtain a copy of the License at +;; +;; http://www.apache.org/licenses/LICENSE-2.0 +;; +;; Unless required by applicable law or agreed to in writing, software +;; distributed under the License is distributed on an "AS IS" BASIS, +;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +;; See the License for the specific language governing permissions and +;; limitations under the License. + +;; File : church.lfe +;; Author : Duncan McGreggor +;; Purpose : Demonstrating church numerals from the lambda calculus + +;; The code below was used to create the section of the user guide here: +;; http://lfe.github.io/user-guide/recursion/5.html +;; +;; Here is some example usage: +;; +;; > (slurp '"church.lfe") +;; #(ok church) +;; > (zero) +;; #Fun +;; > (church->int1 (zero)) +;; 0 +;; > (church->int1 (three)) +;; 3 +;; > (church->int1 (five)) +;; 5 +;; > (church->int2 #'five/0) +;; 5 +;; > (church->int2 (lambda () (get-church 25))) +;; 25 + +(defmodule church + (export all)) + +(defun zero () + (lambda (s) + (lambda (x) x))) + +(defun one () + (lambda (s) + (lambda (x) + (funcall s x)))) + +(defun two () + (lambda (s) + (lambda (x) + (funcall s + (funcall s x))))) + +(defun three () + (lambda (s) + (lambda (x) + (funcall s + (funcall s + (funcall s x)))))) + +(defun four () + (lambda (s) + (lambda (x) + (funcall s + (funcall s + (funcall s + (funcall s x))))))) + +(defun five () + (get-church 5)) + +(defun int-successor (n) + (+ n 1)) + +(defun church->int1 (church-numeral) + " + Converts a called church numeral to an integer, e.g.: + > (church->int1 (five)) + " + (funcall + (funcall church-numeral #'int-successor/1) 0)) + +(defun church->int2 (church-numeral) + " + Converts a non-called church numeral to an integer, e.g.: + > (church->int2 #'five/0) + " + (funcall + (funcall + (funcall church-numeral) #'int-successor/1) 0)) + +(defun church-successor (church-numeral) + (lambda (s) + (lambda (x) + (funcall s + (funcall + (funcall church-numeral s) x))))) + +(defun get-church (church-numeral count limit) + (cond ((== count limit) church-numeral) + ((/= count limit) + (get-church + (church-successor church-numeral) + (+ 1 count) + limit)))) + +(defun get-church (integer) + (get-church (zero) 0 integer)) diff --git a/samples/LFE/gps1.lfe b/samples/LFE/gps1.lfe new file mode 100644 index 00000000..41115572 --- /dev/null +++ b/samples/LFE/gps1.lfe @@ -0,0 +1,104 @@ +;;; -*- Mode: LFE; -*- +;;; Code from Paradigms of Artificial Intelligence Programming +;;; Copyright (c) 1991 Peter Norvig + +;;;; File gps1.lisp: First version of GPS (General Problem Solver) + +;;;; Converted to LFE by Robert Virding + +;; Define macros for global variable access. This is a hack and very naughty! +(defsyntax defvar + ([name val] (let ((v val)) (put 'name v) v))) + +(defsyntax setvar + ([name val] (let ((v val)) (put 'name v) v))) + +(defsyntax getvar + ([name] (get 'name))) + +;; Module definition. + +(defmodule gps1 + (export (gps 2) (gps 3) (school-ops 0)) + (import (from lists (member 2) (all 2) (any 2)) + ;; Rename lists functions to be more CL like. + (rename lists ((all 2) every) ((any 2) some) ((filter 2) find-all)))) + +;; An operation. +(defrecord op + action preconds add-list del-list) + +;; General Problem Solver: achieve all goals using *ops*. +(defun gps (state goals ops) + ;; Set global variables + (defvar *state* state) ;The current state: a list of conditions. + (defvar *ops* ops) ;A list of available operators. + (if (every (fun achieve 1) goals) 'solved)) + +(defun gps (state goals) + ;; Set global variables, but use existing *ops* + (defvar *state* state) ;The current state: a list of conditions. + (if (every (fun achieve 1) goals) 'solved)) + +;; A goal is achieved if it already holds or if there is an +;; appropriate op for it that is applicable." +(defun achieve (goal) + (orelse (member goal (getvar *state*)) + (some (fun apply-op 1) + (find-all (lambda (op) (appropriate-p goal op)) + (getvar *ops*))))) + +;; An op is appropriate to a goal if it is in its add list. +(defun appropriate-p (goal op) + (member goal (op-add-list op))) + +;; Print a message and update *state* if op is applicable. +(defun apply-op (op) + (if (every (fun achieve 1) (op-preconds op)) + (progn + (: io fwrite '"executing ~p\n" (list (op-action op))) + (setvar *state* (set-difference (getvar *state*) (op-del-list op))) + (setvar *state* (union (getvar *state*) (op-add-list op))) + 'true))) + +;; Define the set functions to work on list, a listsets module really. +(defun set-difference + ([(cons e es) s2] + (if (member e s2) + (set-difference es s2) + (cons e (set-difference es s2)))) + ([() s2] ())) + +(defun union + ([(cons e es) s2] + (if (member e s2) (union es s2) (cons e (union es s2)))) + ([() s2] ())) + +;;; ============================== + +(defun school-ops () + (list + (make-op action 'drive-son-to-school + preconds '(son-at-home car-works) + add-list '(son-at-school) + del-list '(son-at-home)) + (make-op action 'shop-installs-battery + preconds '(car-needs-battery shop-knows-problem shop-has-money) + add-list '(car-works) + del-list ()) + (make-op action 'tell-shop-problem + preconds '(in-communication-with-shop) + add-list '(shop-knows-problem) + del-list ()) + (make-op action 'telephone-shop + preconds '(know-phone-number) + add-list '(in-communication-with-shop) + del-list ()) + (make-op action 'look-up-number + preconds '(have-phone-book) + add-list '(know-phone-number) + del-list ()) + (make-op action 'give-shop-money + preconds '(have-money) + add-list '(shop-has-money) + del-list '(have-money)))) diff --git a/samples/LFE/mnesia_demo.lfe b/samples/LFE/mnesia_demo.lfe new file mode 100644 index 00000000..f27014b6 --- /dev/null +++ b/samples/LFE/mnesia_demo.lfe @@ -0,0 +1,83 @@ +;; Copyright (c) 2008-2013 Robert Virding +;; +;; Licensed under the Apache License, Version 2.0 (the "License"); +;; you may not use this file except in compliance with the License. +;; You may obtain a copy of the License at +;; +;; http://www.apache.org/licenses/LICENSE-2.0 +;; +;; Unless required by applicable law or agreed to in writing, software +;; distributed under the License is distributed on an "AS IS" BASIS, +;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +;; See the License for the specific language governing permissions and +;; limitations under the License. + +;; File : mnesia_demo.lfe +;; Author : Robert Virding +;; Purpose : A simple Mnesia demo file for LFE. + +;; This file contains a simple demo of using LFE to access Mnesia +;; tables. It shows how to use the emp-XXXX macro (ETS match pattern) +;; together with mnesia:match_object, match specifications with +;; mnesia:select and Query List Comprehensions. + +(defmodule mnesia_demo + (export (new 0) (by_place 1) (by_place_ms 1) (by_place_qlc 1))) + +(defrecord person name place job) + +(defun new () + ;; Start mnesia and create a table, we will get an in memory only schema. + (: mnesia start) + (: mnesia create_table 'person '(#(attributes (name place job)))) + ;; Initialise the table. + (let ((people '( + ;; First some people in London. + #(fred london waiter) + #(bert london waiter) + #(john london painter) + #(paul london driver) + ;; Now some in Paris. + #(jean paris waiter) + #(gerard paris driver) + #(claude paris painter) + #(yves paris waiter) + ;; And some in Rome. + #(roberto rome waiter) + #(guiseppe rome driver) + #(paulo rome painter) + ;; And some in Berlin. + #(fritz berlin painter) + #(kurt berlin driver) + #(hans berlin waiter) + #(franz berlin waiter) + ))) + (: lists foreach (match-lambda + ([(tuple n p j)] + (: mnesia transaction + (lambda () + (let ((new (make-person name n place p job j))) + (: mnesia write new)))))) + people))) + +;; Match records by place using match_object and the emp-XXXX macro. +(defun by_place (place) + (: mnesia transaction + (lambda () (: mnesia match_object (emp-person place place))))) + +;; Use match specifications to match records +(defun by_place_ms (place) + (let ((f (lambda () (: mnesia select 'person + (match-spec ([(match-person name n place p job j)] + (when (=:= p place)) + (tuple n j))))))) + (: mnesia transaction f))) + +;; Use Query List Comprehensions to match records +(defun by_place_qlc (place) + (let ((f (lambda () + (let ((q (qlc (lc ((<- person (: mnesia table 'person)) + (=:= (person-place person) place)) + person)))) + (: qlc e q))))) + (: mnesia transaction f))) diff --git a/samples/LFE/object.lfe b/samples/LFE/object.lfe new file mode 100644 index 00000000..f652bc1f --- /dev/null +++ b/samples/LFE/object.lfe @@ -0,0 +1,169 @@ +;; Copyright (c) 2013 Duncan McGreggor +;; +;; Licensed under the Apache License, Version 2.0 (the "License"); +;; you may not use this file except in compliance with the License. +;; You may obtain a copy of the License at +;; +;; http://www.apache.org/licenses/LICENSE-2.0 +;; +;; Unless required by applicable law or agreed to in writing, software +;; distributed under the License is distributed on an "AS IS" BASIS, +;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +;; See the License for the specific language governing permissions and +;; limitations under the License. + +;; File : object.lfe +;; Author : Duncan McGreggor +;; Purpose : Demonstrating simple OOP with closures + +;; The simple object system demonstrated below shows how to do the following: +;; * create objects +;; * call methods on those objects +;; * have methods which can call other methods +;; * update the state of an instance variable +;; +;; Note, however, that his example does not demonstrate inheritance. +;; +;; To use the code below in LFE, do the following: +;; +;; $ cd examples +;; $ ../bin/lfe -pa ../ebin +;; +;; Load the file and create a fish-class instance: +;; +;; > (slurp '"object.lfe") +;; #(ok object) +;; > (set mommy-fish (fish-class '"Carp")) +;; #Fun +;; +;; Execute some of the basic methods: +;; +;; > (get-species mommy-fish) +;; "Carp" +;; > (move mommy-fish 17) +;; The Carp swam 17 feet! +;; ok +;; > (get-id mommy-fish) +;; "47eebe91a648f042fc3fb278df663de5" +;; +;; Now let's look at "modifying" state data (e.g., children counts): +;; +;; > (get-children mommy-fish) +;; () +;; > (get-children-count mommy-fish) +;; 0 +;; > (set (mommy-fish baby-fish-1) (reproduce mommy-fish)) +;; (#Fun #Fun) +;; > (get-id mommy-fish) +;; "47eebe91a648f042fc3fb278df663de5" +;; > (get-id baby-fish-1) +;; "fdcf35983bb496650e558a82e34c9935" +;; > (get-children-count mommy-fish) +;; 1 +;; > (set (mommy-fish baby-fish-2) (reproduce mommy-fish)) +;; (#Fun #Fun) +;; > (get-id mommy-fish) +;; "47eebe91a648f042fc3fb278df663de5" +;; > (get-id baby-fish-2) +;; "3e64e5c20fb742dd88dac1032749c2fd" +;; > (get-children-count mommy-fish) +;; 2 +;; > (get-info mommy-fish) +;; id: "47eebe91a648f042fc3fb278df663de5" +;; species: "Carp" +;; children: ["fdcf35983bb496650e558a82e34c9935", +;; "3e64e5c20fb742dd88dac1032749c2fd"] +;; ok + +(defmodule object + (export all)) + +(defun fish-class (species) + " + This is the constructor that will be used most often, only requiring that + one pass a 'species' string. + + When the children are not defined, simply use an empty list. + " + (fish-class species ())) + +(defun fish-class (species children) + " + This contructor is mostly useful as a way of abstracting out the id + generation from the larger constructor. Nothing else uses fish-class/2 + besides fish-class/1, so it's not strictly necessary. + + When the id isn't know, generate one." + (let* (((binary (id (size 128))) (: crypto rand_bytes 16)) + (formatted-id (car + (: io_lib format + '"~32.16.0b" (list id))))) + (fish-class species children formatted-id))) + +(defun fish-class (species children id) + " + This is the constructor used internally, once the children and fish id are + known. + " + (let ((move-verb '"swam")) + (lambda (method-name) + (case method-name + ('id + (lambda (self) id)) + ('species + (lambda (self) species)) + ('children + (lambda (self) children)) + ('info + (lambda (self) + (: io format + '"id: ~p~nspecies: ~p~nchildren: ~p~n" + (list (get-id self) + (get-species self) + (get-children self))))) + ('move + (lambda (self distance) + (: io format + '"The ~s ~s ~p feet!~n" + (list species move-verb distance)))) + ('reproduce + (lambda (self) + (let* ((child (fish-class species)) + (child-id (get-id child)) + (children-ids (: lists append + (list children (list child-id)))) + (parent-id (get-id self)) + (parent (fish-class species children-ids parent-id))) + (list parent child)))) + ('children-count + (lambda (self) + (: erlang length children))))))) + +(defun get-method (object method-name) + " + This is a generic function, used to call into the given object (class + instance). + " + (funcall object method-name)) + +; define object methods +(defun get-id (object) + (funcall (get-method object 'id) object)) + +(defun get-species (object) + (funcall (get-method object 'species) object)) + +(defun get-info (object) + (funcall (get-method object 'info) object)) + +(defun move (object distance) + (funcall (get-method object 'move) object distance)) + +(defun reproduce (object) + (funcall (get-method object 'reproduce) object)) + +(defun get-children (object) + (funcall (get-method object 'children) object)) + +(defun get-children-count (object) + (funcall (get-method object 'children-count) object)) \ No newline at end of file diff --git a/samples/Makefile/filenames/Makefile b/samples/Makefile/filenames/Makefile new file mode 100644 index 00000000..7dc3792b --- /dev/null +++ b/samples/Makefile/filenames/Makefile @@ -0,0 +1,16 @@ +all: hello + +hello: main.o factorial.o hello.o + g++ main.o factorial.o hello.o -o hello + +main.o: main.cpp + g++ -c main.cpp + +factorial.o: factorial.cpp + g++ -c factorial.cpp + +hello.o: hello.cpp + g++ -c hello.cpp + +clean: + rm -rf *o hello diff --git a/samples/Makefile/makefile.script! b/samples/Makefile/makefile.script! new file mode 100644 index 00000000..98ef23d7 --- /dev/null +++ b/samples/Makefile/makefile.script! @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + ls -l diff --git a/samples/OpenCL/sample.cl b/samples/OpenCL/sample.cl new file mode 100644 index 00000000..9360b8e3 --- /dev/null +++ b/samples/OpenCL/sample.cl @@ -0,0 +1,23 @@ +/* Old-style comment. */ + +// New-style comment. + +typedef float foo_t; + +#ifndef ZERO +#define ZERO (0.0) +#endif + +#define FOO(x) ((x) + \ + ZERO) + +__kernel +void foo(__global const foo_t * x, __local foo_t y, const uint n) +{ + barrier(CLK_LOCAL_MEM_FENCE); + + if (n > 42) { + *x += y; + } +} + diff --git a/samples/PHP/php2.script! b/samples/PHP/php2.script! new file mode 100644 index 00000000..07935231 --- /dev/null +++ b/samples/PHP/php2.script! @@ -0,0 +1,22 @@ +#!/usr/bin/env php +run(); diff --git a/samples/Delphi/program.dpr b/samples/Pascal/program.dpr similarity index 100% rename from samples/Delphi/program.dpr rename to samples/Pascal/program.dpr diff --git a/samples/Perl/index.fcgi b/samples/Perl/index.fcgi new file mode 100755 index 00000000..13834cd3 --- /dev/null +++ b/samples/Perl/index.fcgi @@ -0,0 +1,102 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use CGI::Fast; +use XML::Hash::XS; +use File::Spec; +use FindBin qw($Bin); + +#use lib File::Spec->catdir($Bin, qw(.. lib)); + +my $_stop = 0; +my $request; +$SIG{'PIPE'} = 'IGNORE'; + +$SIG{'INT'} = $SIG{'TERM'} = sub { + $_stop = 1; + + exit(0) unless defined($request); +}; + +unless ($ENV{'SERVER_SOFTWARE'}) { # for nginx external fcgi + $CGI::Fast::Ext_Request = FCGI::Request( + \*STDIN, \*STDOUT, \*STDERR, + \%ENV, int($ARGV[0] || 0), 1 + ); +} + +my $conv = XML::Hash::XS->new( + use_attr => 1, + indent => 2, + output => \*STDOUT, + xml_decl => 1 +); + +my $tmpl_path = File::Spec->catdir($Bin, qw|.. tmpl|); + + +my $data = { + name => { + nick => 'cono' + }, + tree => { + example => [ + { name => 'Encyclopaedia', parent => 0, id => 1 }, + { name => 'Science', parent => 1, id => 2 }, + { name => 'Culture', parent => 1, id => 3 }, + { name => 'Art', parent => 3, id => 4 }, + { name => 'Craft', parent => 3, id => 5 } + ], + }, + third_party => { + results => [ + { artist_name => 'Madonna', venue => 'Kitchen', event => 'cooking', date => '2013-04-21' }, + { artist_name => 'cono', venue => 'Provectus-IT', event => 'presentation', date => '2013-04-20' }, + ] + } +}; + +while (1) { + eval { + $request = CGI::Fast->new(); + unless ($request) { + $_stop = 1; + + return; + } + + my ($tmpl, $output) = ('nick'); + if ($ENV{'REQUEST_URI'} =~ m|/([a-zA-Z0-9_]+)|) { + $tmpl = $1; + $output = $data->{$tmpl} if exists $data->{$tmpl}; + } + + die "Bad request" unless $output; + + if (-e File::Spec->catfile($tmpl_path, "$tmpl.xslt")) { + print "X-Xslt-Stylesheet: /$tmpl.xslt\r\n"; + } + + print qq(Content-type:application/xml;charset=utf-8\r\n\r\n); + $conv->hash2xml($output); + + }; + + if ($@) { + print qq(Content-type:text/html;charset=utf-8\r\n\r\nError: $@); + } + + $request = undef; + last if $_stop; + + if (-M $0 < 0) { + unless ($ENV{'SERVER_SOFTWARE'}) { # for nginx external fcgi + system("$0 ". int($ARGV[0] || 0).' &'); + } + last; + } +} + +exit(0); diff --git a/samples/Protocol Buffer/addressbook.proto b/samples/Protocol Buffer/addressbook.proto new file mode 100644 index 00000000..2dee2965 --- /dev/null +++ b/samples/Protocol Buffer/addressbook.proto @@ -0,0 +1,27 @@ +package tutorial; + +option java_package = "com.example.tutorial"; +option java_outer_classname = "AddressBookProtos"; + +message Person { + required string name = 1; + required int32 id = 2; + optional string email = 3; + + enum PhoneType { + MOBILE = 0; + HOME = 1; + WORK = 2; + } + + message PhoneNumber { + required string number = 1; + optional PhoneType type = 2 [default = HOME]; + } + + repeated PhoneNumber phone = 4; +} + +message AddressBook { + repeated Person person = 1; +} diff --git a/samples/Python/python2.script! b/samples/Python/python2.script! new file mode 100644 index 00000000..65f034e7 --- /dev/null +++ b/samples/Python/python2.script! @@ -0,0 +1,47 @@ +#!/usr/bin/env python + +import os +import sys + +def main(): + + # usage string + usage = 'usage: gitall command' + + # command check + if len(sys.argv) < 2: + sys.exit(usage) + + command = 'git ' + ' '.join(sys.argv[1:]) + printDelimiter() + print 'Running command:', command + + # get a list of git directories in the specified parent + gitDirectories = getSubdirectories('.', isGitDirectory) + + for gitDirectory in gitDirectories: + os.chdir(gitDirectory) + printDelimiter() + print 'Current respository location:', os.getcwd() + os.system(command) + + printDelimiter() + +def getSubdirectories(directory, filter = None): + directory = os.path.abspath(directory) + subdirectories = os.walk(directory).next()[1] + if filter is None: + return [directory + '/' + i for i in subdirectories] + else: + return [directory + '/' + i for i in subdirectories if filter(directory + '/' + i)] + +def isGitDirectory(directory): + return os.path.isdir(directory + '/.git/') + +def printDelimiter(): + print '\033[91m' + print ('#' * 80) + print '\033[0m' + +if __name__ == '__main__': + main() diff --git a/samples/Python/python3.script! b/samples/Python/python3.script! new file mode 100644 index 00000000..87f8f62a --- /dev/null +++ b/samples/Python/python3.script! @@ -0,0 +1,324 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +# Copyright © 2013 Martin Ueding + +import argparse +import matplotlib.pyplot as pl +import numpy as np +import scipy.optimize as op +from prettytable import PrettyTable + +__docformat__ = "restructuredtext en" + +# Sensitivität der Thermosäule +S = 30e-6 + +def phif(U): + return U / S + +def main(): + options = _parse_args() + + V = 1000 + + data = np.genfromtxt("a-leer.csv", delimiter="\t") + t = data[:,0] + U = data[:,1] / V / 1000 + U_err = 0.7e-3 / V + + offset = np.mean(U[-3:]) + + x = np.linspace(min(t), max(t)) + y = np.ones(x.size) * offset + pl.plot(x, y * 10**6, label="Offset") + + print "Offset: {:.3g} V".format(offset) + + pl.errorbar(t, U * 10**6, yerr=U_err * 10**6, linestyle="none", marker="+", + label="Messdaten") + pl.grid(True) + pl.legend(loc="best") + pl.title(u"Bestimmung des Offsets") + pl.xlabel(ur"Zeit $t / \mathrm{s}$") + pl.ylabel(ur"Thermospannung $U / \mathrm{\mu V}$") + pl.savefig("Plot_a-leer.pdf") + pl.clf() + + V = 100 + + data = np.genfromtxt("a-Lampe.csv", delimiter="\t") + t = data[:,0] + U = data[:,1] / V / 1000 - offset + U_err = 0.7e-3 / V + + x = np.linspace(min(t), max(t)) + y = np.ones(x.size) * max(U) * 0.9 + pl.plot(x, y * 10**6, label=ur"$90\%$") + + pl.errorbar(t, U * 10**6, yerr=U_err * 10**6, linestyle="none", marker="+", + label="Messdaten") + pl.grid(True) + pl.legend(loc="best") + pl.title(u"Bestimmung der Ansprechzeit") + pl.xlabel(ur"Zeit $t / \mathrm{s}$") + pl.ylabel(ur"Thermospannung $U / \mathrm{\mu V}$") + pl.savefig("Plot_a-Lampe.pdf") + pl.clf() + + # Lesliewürfel + print """ +Lesliewürfel +============ +""" + + glanz = np.genfromtxt("b-glanz.csv", delimiter="\t") + matt = np.genfromtxt("b-matt.csv", delimiter="\t") + schwarz = np.genfromtxt("b-schwarz.csv", delimiter="\t") + weiss = np.genfromtxt("b-weiss.csv", delimiter="\t") + + T0 = 19.0 + 273.15 + T0_err = 1.0 + + glanz[:,0] += 273.15 + matt[:,0] += 273.15 + schwarz[:,0] += 273.15 + weiss[:,0] += 273.15 + + glanz[:,1] /= 1000 * V + matt[:,1] /= 1000 * V + schwarz[:,1] /= 1000 * V + weiss[:,1] /= 1000 * V + + glanz[:,1] -= offset + matt[:,1] -= offset + schwarz[:,1] -= offset + weiss[:,1] -= offset + + glanz_phi = phif(glanz[:,1]) + matt_phi = phif(matt[:,1]) + schwarz_phi = phif(schwarz[:,1]) + weiss_phi = phif(weiss[:,1]) + + T_err = 0.3 + + sigma = 5.670373e-8 + + def boltzmann(T, epsilon, offset): + return epsilon * sigma * T**4 + offset + + glanz_popt, glanz_pconv = op.curve_fit(boltzmann, glanz[:,0], glanz_phi) + matt_popt, matt_pconv = op.curve_fit(boltzmann, matt[:,0], matt_phi) + schwarz_popt, schwarz_pconv = op.curve_fit(boltzmann, schwarz[:,0], schwarz_phi) + weiss_popt, weiss_pconv = op.curve_fit(boltzmann, weiss[:,0], weiss_phi) + + glanz_x = np.linspace(min(glanz[:,0]), max(glanz[:,0])) + glanz_y = boltzmann(glanz_x, *glanz_popt) + pl.plot(glanz_x, glanz_y, label="Fit glanz", color="gold") + + matt_x = np.linspace(min(matt[:,0]), max(matt[:,0])) + matt_y = boltzmann(matt_x, *matt_popt) + pl.plot(matt_x, matt_y, label="Fit matt", color="yellow") + + schwarz_x = np.linspace(min(schwarz[:,0]), max(schwarz[:,0])) + schwarz_y = boltzmann(schwarz_x, *schwarz_popt) + pl.plot(schwarz_x, schwarz_y, label="Fit schwarz", color="black") + + weiss_x = np.linspace(min(weiss[:,0]), max(weiss[:,0])) + weiss_y = boltzmann(weiss_x, *weiss_popt) + pl.plot(weiss_x, weiss_y, label="Fit weiss", color="gray") + + print "glanz ε = {:.3g} ± {:.3g}".format(glanz_popt[0], np.sqrt(glanz_pconv.diagonal()[0])) + print "glanz offset = {:.3g} ± {:.3g}".format(glanz_popt[1], np.sqrt(glanz_pconv.diagonal()[1])) + print "matt ε = {:.3g} ± {:.3g}".format(matt_popt[0], np.sqrt(matt_pconv.diagonal()[0])) + print "matt offset = {:.3g} ± {:.3g}".format(matt_popt[1], np.sqrt(matt_pconv.diagonal()[1])) + print "schwarz ε = {:.3g} ± {:.3g}".format(schwarz_popt[0], np.sqrt(schwarz_pconv.diagonal()[0])) + print "schwarz offset = {:.3g} ± {:.3g}".format(schwarz_popt[1], np.sqrt(schwarz_pconv.diagonal()[1])) + print "weiss ε = {:.3g} ± {:.3g}".format(weiss_popt[0], np.sqrt(weiss_pconv.diagonal()[0])) + print "weiss offset = {:.3g} ± {:.3g}".format(weiss_popt[1], np.sqrt(weiss_pconv.diagonal()[1])) + + pl.errorbar(glanz[:,0], glanz_phi, xerr=T_err, yerr=U_err/S, + label="glanz", color="gold", linestyle="none") + pl.errorbar(matt[:,0], matt_phi, xerr=T_err, yerr=U_err/S, + label="matt", color="yellow", linestyle="none") + pl.errorbar(schwarz[:,0], schwarz_phi, xerr=T_err, yerr=U_err/S, + label="schwarz", color="black", linestyle="none") + pl.errorbar(weiss[:,0], weiss_phi, xerr=T_err, yerr=U_err/S, + label="weiss", color="gray", linestyle="none") + + header = ["T / K", "Phi/F in W/m^2", "Fehler T", "Fehler Phi/F"] + + print """ +Tabellen für den Lesliewürfel-Plot +---------------------------------- +""" + + print "Glanz" + glanz_table = PrettyTable(header) + for row in zip(glanz[:,0], glanz_phi, np.ones(glanz[:,0].size)*T_err, np.ones(glanz_phi.size)*U_err/S): + glanz_table.add_row(row) + print glanz_table + print + + print "Matt" + matt_table = PrettyTable(header) + for row in zip(matt[:,0], matt_phi, np.ones(matt[:,0].size)*T_err, np.ones(matt_phi.size)*U_err/S): + matt_table.add_row(row) + print matt_table + print + + print "Schwarz" + schwarz_table = PrettyTable(header) + for row in zip(schwarz[:,0], schwarz_phi, np.ones(schwarz[:,0].size)*T_err, np.ones(schwarz_phi.size)*U_err/S): + schwarz_table.add_row(row) + print schwarz_table + print + + print "Weiß" + weiss_table = PrettyTable(header) + for row in zip(weiss[:,0], weiss_phi, np.ones(weiss[:,0].size)*T_err, np.ones(weiss_phi.size)*U_err/S): + weiss_table.add_row(row) + print weiss_table + print + + epsilon = 0.1 + + x = np.linspace(min([min(x) for x in [glanz[:,0], matt[:,0], schwarz[:,0], + weiss[:,0]]]), + max([max(x) for x in [glanz[:,0], matt[:,0], schwarz[:,0], + weiss[:,0]]]), + 100) + offset = - epsilon * sigma * T0**4 + print "ideal offset = {:.3g}".format(offset) + y = boltzmann(x, epsilon, offset) + pl.plot(x, y, label=ur"$\epsilon = 0.1$") + + + pl.grid(True) + pl.title(u"Lesliewürfel") + pl.xlabel(ur"Temperatur $T / \mathrm{K}$") + pl.ylabel(ur"Strahlungsfluss $\frac{\Phi}{F} / \mathrm{\frac{W}{m^2}}$") + pl.legend(loc="best", prop={"size": 12}) + pl.savefig("Plot_b.pdf") + pl.clf() + + # Aufgabe c + print """ +Aufgabe c +========= + """ + + data = np.genfromtxt("c-erste.csv", delimiter="\t") + d = data[:,0] / 100 + U = data[:,1] / V + phi = phif(U) + + def c(x, a, b): + return a*x + b + + + dx = d**(-2) + dy = phi + + dx_err = np.abs(-2 * d**(-3)) * 0.001 + dy_err = 0.001 / S + + popt, pconv = op.curve_fit(c, dx, dy) + x = np.linspace(min(dx), max(dx)) + y = c(x, *popt) + pl.plot(x, y, label="Fit") + + print "Fitparameter" + print "a", popt[0], "±", np.sqrt(pconv.diagonal()[0]) + print "b", popt[1], "±", np.sqrt(pconv.diagonal()[1]) + + pl.errorbar(dx, dy, xerr=dx_err, yerr=dy_err, linestyle="none", + marker="+", label="Messdaten") + pl.grid(True) + pl.title(u"Halogenlampe bei verschiedenen Abständen") + pl.xlabel(ur"Abstand $d^{-2} / \mathrm{m^{-2}}$") + pl.ylabel(ur"Strahlungsfluss $\frac{\Phi}{F} / \mathrm{\frac{W}{m^2}}$") + pl.legend(loc="best") + pl.savefig("Plot_c-erste.pdf") + pl.clf() + + print + print "Tabelle für Aufgabe c" + fields = ["d^-2 in m^-2", "Phi/F in W/m^2", "Fehler d^-2", "Fehler Phi/F"] + table = PrettyTable(fields) + table.align = "l" + for row in zip(dx, dy, dx_err, np.ones(dy.size)*dy_err): + table.add_row(row) + print table + print + + data = np.genfromtxt("c-zweite.csv", delimiter="\t") + U1 = data[:,0] + I1 = data[:,1] + U2 = data[:,2] / V + + U_err = 0.001 + I_err = 0.01 + + p = U1 * I1 + R = U1 / I1 + R_err = np.sqrt( + (1/I1 * U_err)**2 + + (U1/I1**2 * I_err)**2 + ) + + phi = phif(U2) + phi_err = U_err / S + + alpha = 4.82e-3 + beta = 6.76e-7 + + R0 = 0.35 + R0_err = 0.05 + + T = (-alpha*R0 + np.sqrt(R0)*np.sqrt(4*beta*R + alpha**2*R0 - 4*beta*R0) + + 2*beta*R0*T0)/(2*beta*R0) + + popt, pconv = op.curve_fit(boltzmann, T, phi, sigma=phi_err) + x = np.linspace(min(T), max(T)) + y = boltzmann(x, *popt) + pl.plot(x, y, label="Fit") + + epsilon = popt[0] + epsilon_err = np.sqrt(pconv.diagonal()[0]) + + print "ε = {:.3g} ± {:.3g}".format(epsilon, epsilon_err) + + f1 = (1/(np.sqrt(R0)*np.sqrt(4*beta*R + alpha**2*R0 - 4*beta*R0))) * R_err + f2 = T0_err + f3 = ((-alpha + ((alpha**2 - 4*beta)*np.sqrt(R0))/( 2*np.sqrt(4*beta*R + alpha**2*R0 - 4*beta*R0)) + np.sqrt( 4*beta*R + alpha**2*R0 - 4*beta*R0)/(2*np.sqrt(R0)) + 2*beta*T0)/( 2*beta*R0) - (-alpha*R0 + np.sqrt(R0)*np.sqrt(4*beta*R + alpha**2*R0 - 4*beta*R0) + 2*beta*R0*T0)/( 2*beta*R0**2)) * R0_err + + T_err = np.sqrt(f1**2 + f2**2 + f3**2) + + pl.errorbar(T, phi, xerr=T_err, yerr=phi_err, label="Messdaten", + linestyle="none", marker="+") + pl.grid(True) + pl.legend(loc="best") + pl.title(u"Halogenlampe bei verschiedenen Leistungen") + pl.xlabel(u"Temperatur $T / \mathrm{K}$") + pl.ylabel(ur"Strahlungsfluss $\frac{\Phi}{F} / \mathrm{\frac{W}{m^2}}$") + pl.savefig("Plot_c-zweite.pdf") + pl.clf() + +def _parse_args(): + """ + Parses the command line arguments. + + :return: Namespace with arguments. + :rtype: Namespace + """ + parser = argparse.ArgumentParser(description="") + #parser.add_argument("args", metavar="N", type=str, nargs="*", help="Positional arguments.") + #parser.add_argument("", dest="", type="", default=, help=) + #parser.add_argument("--version", action="version", version="") + + return parser.parse_args() + + +if __name__ == "__main__": + main() diff --git a/samples/R/git-punchcard.script! b/samples/R/git-punchcard.script! new file mode 100755 index 00000000..51b3a540 --- /dev/null +++ b/samples/R/git-punchcard.script! @@ -0,0 +1,31 @@ +#! /usr/bin/env Rscript +# vim: filetype=r: + +ParseDates <- function(lines) { + dates <- matrix(unlist(strsplit(lines, " +")), ncol=6, byrow=TRUE) + days <- dates[,1] + times <- dates[,4] + hours <- matrix(unlist(strsplit(times, ":")), ncol=3, byrow=TRUE)[,1] + all.days <- c("Sun", "Sat", "Fri", "Thu", "Wed", "Tue", "Mon") + all.hours <- 0:23 + data.frame( Day = factor(days , levels=all.days) + , Hour = factor(hours, levels=all.hours) + ) +} + +Main <- function() { + lines <- system("git log --format=%ad", intern=TRUE) + punchcard <- as.data.frame(table(ParseDates(lines))) + punchcard <- + ( ggplot2::ggplot(punchcard, ggplot2::aes(y=Day, x=Hour)) + + ggplot2::geom_point(ggplot2::aes(size=Freq)) + + ggplot2::scale_size(range=c(0, 15)) + ) + ggplot2::ggsave( filename = "punchcard.png" + , plot = punchcard + , width = 10 + , height = 5 + ) +} + +Main() diff --git a/samples/Sass/demo.scss b/samples/Sass/demo.scss new file mode 100644 index 00000000..648d4a01 --- /dev/null +++ b/samples/Sass/demo.scss @@ -0,0 +1,12 @@ +$blue: #3bbfce; +$margin: 16px; + +.content_navigation { + color: $blue; +} + +.border { + padding: $margin / 2; + margin: $margin / 2; + border: 2px $blue solid; +} diff --git a/samples/Scaml/hello.scaml b/samples/Scaml/hello.scaml new file mode 100644 index 00000000..accbf543 --- /dev/null +++ b/samples/Scaml/hello.scaml @@ -0,0 +1,3 @@ +%p + Hello, + World! diff --git a/samples/Shell/filenames/Dockerfile b/samples/Shell/filenames/Dockerfile new file mode 100644 index 00000000..46f9b585 --- /dev/null +++ b/samples/Shell/filenames/Dockerfile @@ -0,0 +1,30 @@ +# This file describes the standard way to build Docker, using docker +docker-version 0.4.2 +from ubuntu:12.04 +maintainer Solomon Hykes +# Build dependencies +run apt-get install -y -q curl +run apt-get install -y -q git +# Install Go +run curl -s https://go.googlecode.com/files/go1.1.1.linux-amd64.tar.gz | tar -v -C /usr/local -xz +env PATH /usr/local/go/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin +env GOPATH /go +env CGO_ENABLED 0 +run cd /tmp && echo 'package main' > t.go && go test -a -i -v +# Download dependencies +run PKG=github.com/kr/pty REV=27435c699; git clone http://$PKG /go/src/$PKG && cd /go/src/$PKG && git checkout -f $REV +run PKG=github.com/gorilla/context/ REV=708054d61e5; git clone http://$PKG /go/src/$PKG && cd /go/src/$PKG && git checkout -f $REV +run PKG=github.com/gorilla/mux/ REV=9b36453141c; git clone http://$PKG /go/src/$PKG && cd /go/src/$PKG && git checkout -f $REV +# Run dependencies +run apt-get install -y iptables +# lxc requires updating ubuntu sources +run echo 'deb http://archive.ubuntu.com/ubuntu precise main universe' > /etc/apt/sources.list +run apt-get update +run apt-get install -y lxc +run apt-get install -y aufs-tools +# Upload docker source +add . /go/src/github.com/dotcloud/docker +# Build the binary +run cd /go/src/github.com/dotcloud/docker/docker && go install -ldflags "-X main.GITCOMMIT '??' -d -w" +env PATH /usr/local/go/bin:/go/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin +cmd ["docker"] diff --git a/samples/Slash/brainfuck.sl b/samples/Slash/brainfuck.sl new file mode 100644 index 00000000..834359ba --- /dev/null +++ b/samples/Slash/brainfuck.sl @@ -0,0 +1,127 @@ +<% + +class Env { + def init { + @memory = []; + @ptr = 0; + } + + def ptr { @ptr } + def ptr=(ptr) { @ptr = ptr } + + def current_value { @memory[@ptr] || 0 } + def current_value=(value) { @memory[@ptr] = value } +} + +class AST { + class Next { + def eval(env) { + env.ptr++; + } + } + + class Prev { + def eval(env) { + env.ptr--; + } + } + + class Inc { + def eval(env) { + env.current_value++; + } + } + + class Dec { + def eval(env) { + env.current_value--; + } + } + + class Output { + def eval(env) { + print(env.current_value.char); + } + } + + class Input { + def eval(env) { + ... + } + } + + class Sequence { + def init(nodes) { + @nodes = nodes; + } + + def eval(env) { + for node in @nodes { + node.eval(env); + } + } + } + + class Loop { + def init(seq) { + @seq = seq; + } + + def eval(env) { + while env.current_value != 0 { + @seq.eval(env); + } + } + } +} + +class Parser { + def init(str) { + @chars = str.split(""); + } + + def parse { + @stack = [[]]; + for char in @chars { + _parse_char(char); + } + if @stack.length != 1 { + throw SyntaxError.new("unexpected end of input"); + } + AST::Sequence.new(@stack.last); + } + + def _parse_char(char) { + switch char { + ">" { _add(AST::Next.new); } + "<" { _add(AST::Prev.new); } + "+" { _add(AST::Inc.new); } + "-" { _add(AST::Dec.new); } + "." { _add(AST::Output.new); } + "," { _add(AST::Input.new); } + "[" { _open_loop(); } + "]" { _close_loop(); } + } + } + + def _add(node) { + @stack.last.push(node); + } + + def _open_loop { + @stack.push([]); + } + + def _close_loop { + if @stack.length == 1 { + throw SyntaxError.new("unexpected ']'"); + } + + nodes = @stack.pop; + _add(AST::Loop.new(AST::Sequence.new(nodes))); + } +} + +src = File.read(ARGV.first); +ast = Parser.new(src).parse; +ast.eval(Env.new); diff --git a/samples/Squirrel/Squirrel.nut b/samples/Squirrel/Squirrel.nut new file mode 100644 index 00000000..105c468c --- /dev/null +++ b/samples/Squirrel/Squirrel.nut @@ -0,0 +1,56 @@ +//example from http://www.squirrel-lang.org/#documentation + +local table = { + a = "10" + subtable = { + array = [1,2,3] + }, + [10 + 123] = "expression index" +} + +local array=[ 1, 2, 3, { a = 10, b = "string" } ]; + +foreach (i,val in array) +{ + ::print("the type of val is"+typeof val); +} + +///////////////////////////////////////////// + +class Entity +{ + constructor(etype,entityname) + { + name = entityname; + type = etype; + } + + x = 0; + y = 0; + z = 0; + name = null; + type = null; +} + +function Entity::MoveTo(newx,newy,newz) +{ + x = newx; + y = newy; + z = newz; +} + +class Player extends Entity { + constructor(entityname) + { + base.constructor("Player",entityname) + } + function DoDomething() + { + ::print("something"); + } + +} + +local newplayer = Player("da playar"); + +newplayer.MoveTo(100,200,300); diff --git a/samples/TypeScript/hello.ts b/samples/TypeScript/hello.ts index 4b65a573..184dfcc9 100644 --- a/samples/TypeScript/hello.ts +++ b/samples/TypeScript/hello.ts @@ -1 +1 @@ -console.log "Hello, World!" +console.log("Hello, World!"); diff --git a/samples/Volt/tesla.volt b/samples/Volt/tesla.volt new file mode 100644 index 00000000..c68d6691 --- /dev/null +++ b/samples/Volt/tesla.volt @@ -0,0 +1,93 @@ +// Copyright © 2012-2013, Jakob Bornecrantz. All rights reserved. +// See copyright notice in src/volt/license.d (BOOST ver. 1.0). +module main; + +import core.stdc.stdio; +import core.stdc.stdlib; + +import watt.process; +import watt.path; + +import results; +import list; +import cmd; + +int main() +{ + auto cmdGroup = new CmdGroup(); + bool printOk = true; + bool printImprovments = true; + bool printFailing = true; + bool printRegressions = true; + string compiler = getEnv("VOLT"); + + if (compiler is null) { + printf("compiler envar not set\n".ptr); + return -1; + } + + /// @todo Scan for files + auto tests = testList; + + int total; + int passed; + int failed; + int improved; + int regressed; + + auto rets = new Result[] (tests.length); + for (size_t i; i < tests.length; i++) { + rets[i] = new Result(); + rets[i].runTest(cmdGroup, tests[i], compiler); + } + + cmdGroup.waitAll(); + + for (size_t i; i < tests.length; i++) { + auto ret = rets[i]; + total++; + if (ret.ok) { + passed++; + improved += cast(int)!ret.hasPassed; + + if (!ret.hasPassed && printImprovments) { + printf("%s: %s, improved!\n".ptr, ret.test.ptr, ret.msg.ptr); + } else if (printOk) { + printf("%s: %s\n".ptr, ret.test.ptr, ret.msg.ptr); + } + } else { + failed++; + regressed += cast(int)ret.hasPassed; + + + if (ret.hasPassed && printRegressions) { + printf("%s: %s, regressed!\n".ptr, ret.test.ptr, ret.msg.ptr); + } else if (printFailing) { + printf("%s: %s\n".ptr, ret.test.ptr, ret.msg.ptr); + } + } + fflush(stdout); + } + + auto xml = fopen("results.xml".ptr, "w+".ptr); + if (xml !is null) { + fprintf(xml, "\n".ptr, + regressed, failed - regressed, total); + for (size_t i; i < rets.length; i++) { + rets[i].xmlLog(xml); + } + fprintf(xml, "\n".ptr); + fflush(xml); + fclose(xml); + xml = null; + } + + auto rate = cast(float)passed / cast(float)total * 100.f; + printf("Summary: %i tests, %i pass%s, %i failure%s, %.2f%% pass rate, %i regressions, %i improvements.\n".ptr, + total, + passed, (passed == 1 ? "".ptr : "es".ptr), + failed, (failed == 1 ? "".ptr : "s".ptr), + cast(double)rate, regressed, improved); + + return regressed ? -1 : 0; +} diff --git a/samples/XC/main.xc b/samples/XC/main.xc new file mode 100644 index 00000000..6c6466c6 --- /dev/null +++ b/samples/XC/main.xc @@ -0,0 +1,10 @@ +int main() +{ + int x; + chan c; + par { + c <: 0; + c :> x; + } + return x; +} diff --git a/test/test_blob.rb b/test/test_blob.rb index 8cfaefb6..9f98f217 100644 --- a/test/test_blob.rb +++ b/test/test_blob.rb @@ -197,6 +197,13 @@ class TestBlob < Test::Unit::TestCase assert blob("C++/protocol-buffer.pb.cc").generated? assert blob("Java/ProtocolBuffer.java").generated? assert blob("Python/protocol_buffer_pb2.py").generated? + + # Generated JNI + assert blob("C/jni_layer.h").generated? + + # Minified CSS + assert !blob("CSS/bootstrap.css").generated? + assert blob("CSS/bootstrap.min.css").generated? end def test_vendored @@ -209,6 +216,9 @@ class TestBlob < Test::Unit::TestCase # Rails vendor/ assert blob("vendor/plugins/will_paginate/lib/will_paginate.rb").vendored? + # 'thirdparty' directory + assert blob("thirdparty/lib/main.c").vendored? + # C deps assert blob("deps/http_parser/http_parser.c").vendored? assert blob("deps/v8/src/v8.h").vendored? @@ -232,8 +242,27 @@ class TestBlob < Test::Unit::TestCase assert blob("public/javascripts/jquery-1.5.2.js").vendored? assert blob("public/javascripts/jquery-1.6.1.js").vendored? assert blob("public/javascripts/jquery-1.6.1.min.js").vendored? + assert blob("public/javascripts/jquery-1.10.1.js").vendored? + assert blob("public/javascripts/jquery-1.10.1.min.js").vendored? assert !blob("public/javascripts/jquery.github.menu.js").vendored? + # jQuery UI + assert blob("themes/ui-lightness/jquery-ui.css").vendored? + assert blob("themes/ui-lightness/jquery-ui-1.8.22.custom.css").vendored? + assert blob("themes/ui-lightness/jquery.ui.accordion.css").vendored? + assert blob("ui/i18n/jquery.ui.datepicker-ar.js").vendored? + assert blob("ui/i18n/jquery-ui-i18n.js").vendored? + assert blob("ui/jquery.effects.blind.js").vendored? + assert blob("ui/jquery-ui-1.8.22.custom.js").vendored? + assert blob("ui/jquery-ui-1.8.22.custom.min.js").vendored? + assert blob("ui/jquery-ui-1.8.22.js").vendored? + assert blob("ui/jquery-ui-1.8.js").vendored? + assert blob("ui/jquery-ui.min.js").vendored? + assert blob("ui/jquery.ui.accordion.js").vendored? + assert blob("ui/minified/jquery.effects.blind.min.js").vendored? + assert blob("ui/minified/jquery.ui.accordion.min.js").vendored? + + # MooTools assert blob("public/javascripts/mootools-core-1.3.2-full-compat.js").vendored? assert blob("public/javascripts/mootools-core-1.3.2-full-compat-yc.js").vendored? @@ -249,10 +278,6 @@ class TestBlob < Test::Unit::TestCase assert blob("public/javascripts/yahoo-min.js").vendored? assert blob("public/javascripts/yuiloader-dom-event.js").vendored? - # LESS - assert blob("public/javascripts/less-1.1.0.js").vendored? - assert blob("public/javascripts/less-1.1.0.min.js").vendored? - # WYS editors assert blob("public/javascripts/ckeditor.js").vendored? assert blob("public/javascripts/tiny_mce.js").vendored? @@ -278,6 +303,11 @@ class TestBlob < Test::Unit::TestCase # jQuery validation plugin (MS bundles this with asp.net mvc) assert blob("Scripts/jquery.validate.js").vendored? + assert blob("Scripts/jquery.validate.min.js").vendored? + assert blob("Scripts/jquery.validate.unobtrusive.js").vendored? + assert blob("Scripts/jquery.validate.unobtrusive.min.js").vendored? + assert blob("Scripts/jquery.unobtrusive-ajax.js").vendored? + assert blob("Scripts/jquery.unobtrusive-ajax.min.js").vendored? # NuGet Packages assert blob("packages/Modernizr.2.0.6/Content/Scripts/modernizr-2.0.6-development-only.js").vendored? @@ -293,20 +323,6 @@ class TestBlob < Test::Unit::TestCase assert blob("cordova-2.1.0.min.js").vendored? end - def test_indexable - assert blob("Ruby/foo.rb").indexable? - assert !blob("Text/defu.nkt").indexable? - assert !blob("Text/dump.sql").indexable? - assert !blob("Binary/github.po").indexable? - assert !blob("Binary/linguist.gem").indexable? - - # large binary blobs should fail on size check first, not call - # into charlock_holmes and alloc big buffers for testing encoding - b = blob("Binary/octocat.ai") - b.expects(:binary?).never - assert !b.indexable? - end - def test_language Samples.each do |sample| blob = blob(sample[:path]) @@ -327,13 +343,6 @@ class TestBlob < Test::Unit::TestCase HTML end - def test_colorize_without_wrapper - assert_equal <<-HTML, blob("Ruby/foo.rb").colorize_without_wrapper -module Foo -end - HTML - end - def test_colorize_does_skip_minified_files assert_nil blob("JavaScript/jquery-1.6.1.min.js").colorize end diff --git a/test/test_language.rb b/test/test_language.rb index 3ca231b5..38ed4a06 100644 --- a/test/test_language.rb +++ b/test/test_language.rb @@ -160,7 +160,7 @@ class TestLanguage < Test::Unit::TestCase assert_equal 'cpp', Language['C++'].search_term assert_equal 'cfm', Language['ColdFusion'].search_term assert_equal 'dpatch', Language['Darcs Patch'].search_term - assert_equal 'ocaml', Language['F#'].search_term + assert_equal 'fsharp', Language['F#'].search_term assert_equal 'pot', Language['Gettext Catalog'].search_term assert_equal 'irc', Language['IRC log'].search_term assert_equal 'lhs', Language['Literate Haskell'].search_term @@ -191,7 +191,10 @@ class TestLanguage < Test::Unit::TestCase def test_markup assert_equal :markup, Language['HTML'].type - assert_equal :markup, Language['YAML'].type + end + + def test_data + assert_equal :data, Language['YAML'].type end def test_other