<commit_before>/*========================================================================

   This file is part of the GOsa project -  http://gosa-project.org

   Copyright:
      (C) 2010-2017 GONICUS GmbH, Germany, http://www.gonicus.de

   License:
      LGPL-2.1: http://www.gnu.org/licenses/lgpl-2.1.html

   See the LICENSE file in the project's top-level directory for details.

======================================================================== */

qx.Theme.define("gosa.plugins.separator.Appearance", {
  
  appearances: {
    "gosa-dashboard-widget-separator": {
      style: function(states) {
        var dc = null;

        if (states.edit) {
          dc = states.selected ? "gosa-dashboard-widget-resize" : "gosa-dashboard-widget-edit";
        }
        else if (states.bordertop) {
          dc = "gosa-dashboard-widget-separator-top";
        } else if (states.borderbottom) {
          dc = "gosa-dashboard-widget-separator-bottom";
        }
        return {
          decorator: dc
        }
      }
    },
    "gosa-dashboard-widget-separator/title": {
      style: function() {
        return {
          alignY: "middle"<commit_msg>Padding, alignment<commit_after>/*========================================================================

   This file is part of the GOsa project -  http://gosa-project.org

   Copyright:
      (C) 2010-2017 GONICUS GmbH, Germany, http://www.gonicus.de

   License:
      LGPL-2.1: http://www.gnu.org/licenses/lgpl-2.1.html

   See the LICENSE file in the project's top-level directory for details.

======================================================================== */

qx.Theme.define("gosa.plugins.separator.Appearance", {
  
  appearances: {
    "gosa-dashboard-widget-separator": {
      style: function(states) {
        var dc = null;

        if (states.edit) {
          dc = states.selected ? "gosa-dashboard-widget-resize" : "gosa-dashboard-widget-edit";
        }
        else if (states.bordertop) {
          dc = "gosa-dashboard-widget-separator-top";
        } else if (states.borderbottom) {
          dc = "gosa-dashboard-widget-separator-bottom";
        }
        return {
          decorator: dc
        }
      }
    },
    "gosa-dashboard-widget-separator/title": {
      style: function() {
        return {
          alignY: "bottom",
          padding: 4
{'fraction_non_alphanumeric': 0.2377711612079966, 'fraction_numerical': 0.010633772862611655, 'mean_word_length': 2.458823529411765, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '3022923', 'n_tokens_mistral': 707, 'n_tokens_neox': 667, 'n_words': 130}