Project

General

Profile

« Previous | Next » 

Revision 6247f163

Added by koszko about 2 years ago

enable toggling of global script blocking policy\n\nThis commit also introduces `light_storage' module which is later going to replace the storage code we use right now.\nAlso included is a hack to properly display scrollbars under Mozilla (needs testing on newer Mozilla browsers).

View differences:

html/display-panel.html
11 11
    <link type="text/css" rel="stylesheet" href="base.css" />
12 12
    <link type="text/css" rel="stylesheet" href="back_button.css" />
13 13
    <link type="text/css" rel="stylesheet" href="table.css" />
14
    <link type="text/css" rel="stylesheet" href="MOZILLA_scrollbar_fix.css" />
14 15
    <style>
15 16
      body {
16 17
	  width: max-content;
17
	  width: -moz-max-content;
18
	  width: -moz-fit-content;
18 19
      }
19 20

  
20 21
      .top>h2 {
......
114 115
      pre {
115 116
	  font-family: monospace;
116 117
	  background-color: white;
117
	  border-top: dashed #4CAF50 1px;
118
	  border-bottom: dashed #4CAF50 1px;
119 118
	  padding: 1px 5px;
120 119
      }
121 120

  
......
133 132
	  padding-right: 5px;
134 133
      }
135 134

  
135
      .padding_top {
136
	  padding-top: 5px;
137
      }
138

  
136 139
      .header {
137
	  border-bottom: dashed #4CAF50 1px;
138 140
	  padding-bottom: 0.3em;
139 141
	  margin-bottom: 0.5em;
140 142
	  text-align: center;
......
146 148
      }
147 149

  
148 150
      .footer {
149
	  border-top: dashed #4CAF50 1px;
150 151
	  padding-top: 0.3em;
151 152
	  margin-top: 0.5em;
152 153
	  text-align: center;
......
199 200
	  <label data-template="lbl">
200 201
	    <h3><div class="unroll_triangle"></div> script</h3>
201 202
	  </label>
202
	  <pre data-template="script_contents"></pre>
203
	  <pre class="has_bottom_thin_line has_upper_thin_line" data-template="script_contents"></pre>
203 204
	</div>
204 205
      </div>
205 206

  
......
242 243
	  Patterns higher are more specific and override the ones below.
243 244
	</aside>
244 245
      </div>
245
      <div class="table_wrapper">
246
      <div class="table_wrapper firefox_scrollbars_hacky_fix">
246 247
	<div>
247 248
	  <table>
248 249
	    <tbody id="possible_patterns">
......
250 251
	  </table>
251 252
	</div>
252 253
      </div>
254
      <div class="padding_inline padding_top has_upper_thin_line firefox_scrollbars_hacky_fix has_inline_content">
255
	<span class="nowrap">
256
	  <IMPORT html/default_blocking_policy.html />
257
	</span>
258
      </div>
253 259
    </div>
254 260

  
255 261
    <input id="show_queried_view_radio" type="radio" class="show_next" name="current_view"></input>
......
265 271
      <h3 id="privileged_notice" class="middle hide">Privileged page</h3>
266 272

  
267 273
      <div id="page_state" class="hide">
268
	<div class="header padding_inline">
274
	<div class="header padding_inline has_bottom_thin_line">
269 275
	  <label for="show_patterns_view_radio" class="button">
270 276
	    Edit settings for this page
271 277
	  </label>
......
317 323
	</div>
318 324
      </div>
319 325

  
320
      <div class="footer padding_inline">
326
      <div class="footer padding_inline has_upper_thin_line">
321 327
	<button id="settings_but" type="button">
322 328
	  Open Hachette settings
323 329
	</button>

Also available in: Unified diff