Home | History | Annotate | Download | only in front_end
      1 /*
      2  * Copyright (C) 2013 Google Inc. All rights reserved.
      3  *
      4  * Redistribution and use in source and binary forms, with or without
      5  * modification, are permitted provided that the following conditions are
      6  * met:
      7  *
      8  *     * Redistributions of source code must retain the above copyright
      9  * notice, this list of conditions and the following disclaimer.
     10  *     * Redistributions in binary form must reproduce the above
     11  * copyright notice, this list of conditions and the following disclaimer
     12  * in the documentation and/or other materials provided with the
     13  * distribution.
     14  *     * Neither the name of Google Inc. nor the names of its
     15  * contributors may be used to endorse or promote products derived from
     16  * this software without specific prior written permission.
     17  *
     18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     19  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     20  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
     21  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
     22  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
     23  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
     24  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     25  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     26  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     27  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     28  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     29  */
     30 
     31 #sources-panel-sources-view {
     32     flex: auto;
     33     position: relative;
     34 }
     35 
     36 #sources-editor-container-tabbed-pane {
     37     flex: auto;
     38 }
     39 
     40 #sources-editor-container-tabbed-pane .tabbed-pane-header-tab {
     41     border-bottom: 1px solid #BBB;
     42 }
     43 
     44 #sources-panel-sources-view .tabbed-pane-header {
     45     background-color: rgb(236, 236, 236);
     46 }
     47 
     48 #sources-panel-sources-view .sources-status-bar {
     49     display: flex;
     50     position: relative;
     51     flex: 0 0 20px;
     52     background-color: rgb(236, 236, 236);
     53     border-top: 1px solid rgb(196,196,196);
     54 }
     55 
     56 #sources-panel-sources-view .sources-status-bar .status-bar-item {
     57     margin-top: -1px;
     58     height: 20px;
     59 }
     60 
     61 #sources-panel-sources-view .sources-status-bar .status-bar-item.status-bar-text {
     62     margin: auto 0;
     63     height: auto;
     64 }
     65 
     66 #sources-panel-sources-view .source-frame-cursor-position {
     67     -webkit-user-select: text;
     68 }
     69 
     70 #sources-panel-sources-view .sources-toggle-pretty-print-status-bar-item .glyph {
     71     -webkit-mask-position: -256px -24px;
     72 }
     73 
     74 #sources-panel-sources-view .sources-toggle-pretty-print-status-bar-item.toggled .glyph {
     75     background-color: rgb(66, 129, 235);
     76 }
     77 
     78 .source-frame-debugger-script {
     79     background-color: rgba(255, 255, 194, 0.5);
     80 }
     81 
     82 .source-frame-unsaved-committed-changes {
     83     background-color: rgba(255, 225, 205, 0.40);
     84 }
     85 
     86 .editor-container-unsaved-committed-changes-icon {
     87     background-image: url(Images/statusbarButtonGlyphs.png);
     88     background-size: 320px 144px;
     89     background-position: -202px -107px;
     90 }
     91 
     92 button.status-bar-item.scripts-debugger-show-hide-button {
     93     display: none;
     94 }
     95 
     96 button.status-bar-item.scripts-navigator-show-hide-button {
     97     display: none;
     98 }
     99 
    100 #sources-panel-sources-view .java-script-source-frame-infobar {
    101     border-bottom: 1px solid rgb(187, 187, 187);
    102     display: flex;
    103     flex-direction: column;
    104     flex: 0 1 auto;
    105     background-color: rgb(255, 255, 194);
    106 }
    107 
    108 #sources-panel-sources-view .java-script-source-frame-infobar-warning-icon {
    109     background-image: url(Images/statusbarButtonGlyphs.png);
    110     background-size: 320px 144px;
    111     background-position: -202px -107px;
    112     width: 11px;
    113     height: 10px;
    114     margin-right: 4px;
    115     display: inline-block;
    116     margin-top: 1px;
    117 }
    118 
    119 #sources-panel-sources-view .java-script-source-frame-infobar-main-row {
    120     display: flex;
    121     flex: 0 0 17px;
    122     overflow: hidden;
    123     margin: 5px 10px 0px;
    124 }
    125 
    126 #sources-panel-sources-view .java-script-source-frame-infobar-details-container {
    127     display: flex;
    128     flex-direction: column;
    129     padding: 5px 0;
    130 }
    131 
    132 #sources-panel-sources-view .java-script-source-frame-infobar-details-row {
    133     display: flex;
    134     flex: 0 0 15px;
    135     margin: auto 10px;
    136 }
    137 
    138 #sources-panel-sources-view .java-script-source-frame-infobar-row-message {
    139     flex: 0 1 auto;
    140     overflow: hidden;
    141     text-overflow: ellipsis;
    142     white-space: nowrap;
    143 }
    144 
    145 #sources-panel-sources-view .java-script-source-frame-infobar-toggle {
    146     flex: auto;
    147     text-decoration: underline;
    148     color: rgb(50, 50, 200);
    149 }
    150 
    151 #sources-panel-sources-view .java-script-source-frame-infobar-details-url {
    152     flex: 0 1000 auto;
    153     color: rgb(50, 50, 200);
    154 }
    155