# All files / src/ui defaultValues.js

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    11218x

    18x

    18x

     $3Dmol.labelStyles = {
      purple : {
        backgroundColor: 0x800080,
        backgroundOpacity: 0.8
      },

      milk : {
        font : 'Arial',
        fontSize: 12,
        fontColor: $3Dmol.htmlColors['black'],
        borderThickness: 1,
        borderColor: $3Dmol.htmlColors['azure'],
        backgroundColor: $3Dmol.htmlColors['aliceblue'],
        backgroundOpacity: 0.9
      },

      blue : {
        font : 'Arial',
        fontSize: 12,
        fontColor: $3Dmol.htmlColors['aliceblue'],
        borderThickness: 1,
        borderColor: $3Dmol.htmlColors['darkviolet'],
        backgroundColor: $3Dmol.htmlColors['darkblue'],
        backgroundOpacity: 0.9
      },

      chocolate : {
        font : 'Arial',
        fontSize: 12,
        fontColor: $3Dmol.htmlColors['aliceblue'],
        borderThickness: 1,
        borderColor: $3Dmol.htmlColors['brown'],
        backgroundColor: $3Dmol.htmlColors['chocolate'],
        backgroundOpacity: 0.9
      },

      lime : {
        font : 'Arial',
        fontSize: 12,
        fontColor: $3Dmol.htmlColors['black'],
        borderThickness: 1,
        borderColor: $3Dmol.htmlColors['lightgreen'],
        backgroundColor: $3Dmol.htmlColors['lime'],
        backgroundOpacity: 0.9
      },

      rose : {
        font : 'Arial',
        fontSize: 12,
        fontColor: $3Dmol.htmlColors['black'],
        borderThickness: 1,
        borderColor: $3Dmol.htmlColors['mintcream'],
        backgroundColor: $3Dmol.htmlColors['mistyrose'],
        backgroundOpacity: 0.9
      },

      yellow : {

        font : 'Arial',
        fontSize: 12,
        fontColor: $3Dmol.htmlColors['black'],
        borderThickness: 1,
        borderColor: $3Dmol.htmlColors['orange'],
        backgroundColor: $3Dmol.htmlColors['yellow'],
        backgroundOpacity: 0.9
      },

    };

    $3Dmol.longPressDuration = 1500;

    $3Dmol.defaultCSS = {
      ListInput : {
        select : {
          'width' : 'auto',
          'border' : 'none',
          'margin' : '0px',
          'font-family' : 'Arial',
          'padding' : '0px',
          'height' : '20px',
          'border-radius' : '4px',
          'box-sizing' : 'border-box'
        }
      },
      Input : {
        input : {
          'margin-bottom' : '0px',
          'padding' : '0px',
          'border-radius' : '4px',
          'font-family' : 'Arial',
          'width' : '96%'
        },

        boundingBox : {
          'margin-left' : '4px',
          'margin-right' : '',
        }
      },
      Checkbox : {},
      Slider : {},
      Color : {},
      TextDefault : {
        'font-family' : 'Arial',
        'margin-left' : '4px'
      },

      LinkBreak : {
        'height' : '3px',
        'border-bottom' : '1px solid #687193'
      }

    }