<commit_before>package com.ztory.lib.sleek;

import android.content.Context;
import com.ztory.lib.sleek.assumption.Assumeable;
import com.ztory.lib.sleek.base.SleekFrameRate;
import com.ztory.lib.sleek.base.element.SleekCSSanim;
import com.ztory.lib.sleek.base.element.SleekElement;
import com.ztory.lib.sleek.base.element.css.CSSblock;
import com.ztory.lib.sleek.base.element.css.CSSblockBase;
import com.ztory.lib.sleek.base.scroller.xy.SleekScrollerXY;
import com.ztory.lib.sleek.layout.SL;
import com.ztory.lib.sleek.layout.SL.H;
import com.ztory.lib.sleek.layout.SL.W;
import com.ztory.lib.sleek.layout.SL.Y;
import com.ztory.lib.sleek.util.UtilPx;
import com.ztory.lib.sleek.util.UtilSleekLayout;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by root on 2017-08-08.
 */

public class SleekCanvasExampleOne extends SleekCanvas {

  private static final String
      CSS_TOOLBAR = "{" +
          "background-color: rgba(30, 68, 210, 0.5);" +
    //          "background-image: url(\"https://example.com/example.png\");" +
    //          "background-size: cover;" +
    //          "border-radius: 22px;" +
          //"border: 1px solid #202020;" +//TODO border does not work with transparent background !
          //"box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);" +
          "padding: 0px 10px 0px 30px;" +
          "color: #eee;" +
          "font-size: 20px;" +
          "line-height: 20px;" +
          "text-align: left;" +
          "vertical-align: middle;" +
          "text-shadow: 1px 1px 4px #38B0DE;" +
          "}",
      CSS_TOOLBAR_ACTIVE = "{" +
//          "padding: 10px 10px 0px 40px;" +
//          "color: #f00;" +
//          "font-size: 30px;" +
          "line-height: 50px;" +
          "text-shadow: 1px 1px 8px #ff0000;" +
          "}",
      CSS_CELL_BASIC = "{" +
          "background-color: #e8e8e8;" +
//          "background-image: url(\"https://example.com/example.png\");" +
          "background-size: cover;" +
          "border-radius: 6px;" +
          "border: 1px solid #121212;" +
          "box-shadow: 0px 0px 20px rgba(30, 68, 210, 0.7);" +
          "padding: 10px;" +
          "color: #121212;" +
          "font-size: 26px;" +
          "line-height: 20px;" +
          "text-align: left;" +
          "vertical-align: top;" +
//          "text-shadow: 1px 1px 2px black;" +
          "}",
      CSS_CELL_BASIC_PRESSED = "{" +
          "background-color: #FFC638;" +
//          "background-image: url(\"https://example.com/example.png\");" +
//          "background-size: cover;" +
          "border-radius: 2px;" +
//          "border: 1px solid #0000ff;" +<commit_msg>Added so that toolbar has red shadow<commit_after>package com.ztory.lib.sleek;

import android.content.Context;
import com.ztory.lib.sleek.assumption.Assumeable;
import com.ztory.lib.sleek.base.SleekFrameRate;
import com.ztory.lib.sleek.base.element.SleekCSSanim;
import com.ztory.lib.sleek.base.element.SleekElement;
import com.ztory.lib.sleek.base.element.css.CSSblock;
import com.ztory.lib.sleek.base.element.css.CSSblockBase;
import com.ztory.lib.sleek.base.scroller.xy.SleekScrollerXY;
import com.ztory.lib.sleek.layout.SL;
import com.ztory.lib.sleek.layout.SL.H;
import com.ztory.lib.sleek.layout.SL.W;
import com.ztory.lib.sleek.layout.SL.Y;
import com.ztory.lib.sleek.util.UtilPx;
import com.ztory.lib.sleek.util.UtilSleekLayout;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by root on 2017-08-08.
 */

public class SleekCanvasExampleOne extends SleekCanvas {

  private static final String
      CSS_TOOLBAR = "{" +
          "background-color: rgba(30, 68, 210, 0.5);" +
    //          "background-image: url(\"https://example.com/example.png\");" +
    //          "background-size: cover;" +
    //          "border-radius: 22px;" +
          //"border: 1px solid #202020;" +//TODO border does not work with transparent background !
          "box-shadow: 0px 0px 8px rgba(255, 0, 0, 1.0);" +
          "padding: 0px 10px 0px 30px;" +
          "color: #eee;" +
          "font-size: 20px;" +
          "line-height: 20px;" +
          "text-align: left;" +
          "vertical-align: middle;" +
          "text-shadow: 1px 1px 4px #38B0DE;" +
          "}",
      CSS_TOOLBAR_ACTIVE = "{" +
//          "padding: 10px 10px 0px 40px;" +
//          "color: #f00;" +
//          "font-size: 30px;" +
          //"border: 1px solid #202020;" +
          //"box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);" +
          "line-height: 50px;" +
          "text-shadow: 1px 1px 8px #ff0000;" +
          "}",
      CSS_CELL_BASIC = "{" +
          "background-color: #e8e8e8;" +
//          "background-image: url(\"https://example.com/example.png\");" +
          "background-size: cover;" +
          "border-radius: 6px;" +
          "border: 1px solid #121212;" +
          "box-shadow: 0px 0px 20px rgba(30, 68, 210, 0.7);" +
          "padding: 10px;" +
          "color: #121212;" +
          "font-size: 26px;" +
          "line-height: 20px;" +
          "text-align: left;" +
          "vertical-align: top;" +
//          "text-shadow: 1px 1px 2px black;" +
          "}",
      CSS_CELL_BASIC_PRESSED = "{" +
          "background-color: #FFC638;" +
//          "background-image: url(\"https://example.com/example.png\");" +
//          "background-size: cover;" +
          "border-radius: 2px;" +
//          "border: 1px solid #0000ff;" +
{'fraction_non_alphanumeric': 0.16832412523020257, 'fraction_numerical': 0.04659300184162063, 'mean_word_length': 2.2041297935103246, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6349395', 'n_tokens_mistral': 2184, 'n_tokens_neox': 1951, 'n_words': 354}