Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: block.html

Issue 29337873: Issue 3729 - Make "Block element" dialog adapt to variable window sizes (Closed)
Patch Set: Addressed comments Created March 3, 2016, 3:40 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <!-- 3 <!--
4 - This file is part of Adblock Plus <https://adblockplus.org/>, 4 - This file is part of Adblock Plus <https://adblockplus.org/>,
5 - Copyright (C) 2006-2016 Eyeo GmbH 5 - Copyright (C) 2006-2016 Eyeo GmbH
6 - 6 -
7 - Adblock Plus is free software: you can redistribute it and/or modify 7 - Adblock Plus is free software: you can redistribute it and/or modify
8 - it under the terms of the GNU General Public License version 3 as 8 - it under the terms of the GNU General Public License version 3 as
9 - published by the Free Software Foundation. 9 - published by the Free Software Foundation.
10 - 10 -
(...skipping 11 matching lines...) Expand all
22 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 22 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
23 <title>Block element</title> 23 <title>Block element</title>
24 <link type="text/css" href="jquery-ui/css/smoothness/jquery-ui-1.8.16.custom.css " rel="stylesheet" /> 24 <link type="text/css" href="jquery-ui/css/smoothness/jquery-ui-1.8.16.custom.css " rel="stylesheet" />
25 <script type="text/javascript" src="jquery-ui/js/jquery-1.7.1.min.js"></script> 25 <script type="text/javascript" src="jquery-ui/js/jquery-1.7.1.min.js"></script>
26 <script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.16.custom.min.js" ></script> 26 <script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.16.custom.min.js" ></script>
27 <script type="text/javascript" src="ext/common.js"></script> 27 <script type="text/javascript" src="ext/common.js"></script>
28 <script type="text/javascript" src="ext/content.js"></script> 28 <script type="text/javascript" src="ext/content.js"></script>
29 <script type="text/javascript" src="i18n.js" charset="utf-8"></script> 29 <script type="text/javascript" src="i18n.js" charset="utf-8"></script>
30 <script type="text/javascript" src="block.js" charset="utf-8"></script> 30 <script type="text/javascript" src="block.js" charset="utf-8"></script>
31 <style type="text/css"> 31 <style type="text/css">
32 *
33 {
34 box-sizing: border-box;
35 }
36 html
37 {
38 height: 100%;
39 }
32 body 40 body
33 { 41 {
42 height: 100%;
43 margin: 0px;
44 padding: 5px;
34 font-family: Arial, Helvetica, sans-serif; 45 font-family: Arial, Helvetica, sans-serif;
35 font-size: 13px; 46 font-size: 13px;
36 margin: 0px; 47 display: -webkit-flex;
37 padding: 5px; 48 display: flex;
38 display: inline-block; 49 -webkit-flex-direction: column;
50 flex-direction: column;
39 } 51 }
40 #title, 52 #title,
41 #filters 53 #filters
42 { 54 {
43 margin-bottom: 3px; 55 margin-bottom: 3px;
44 } 56 }
45 #title > * 57 #title > *
46 { 58 {
47 vertical-align: middle; 59 vertical-align: middle;
48 } 60 }
49 #title > img 61 #title > img
50 { 62 {
51 margin-right: 5px; 63 margin-right: 5px;
52 } 64 }
65 #title, #buttons
66 {
67 -webkit-flex-shrink: 0;
68 flex-shrink: 0;
69 }
53 #filters 70 #filters
54 { 71 {
55 width: 400px; 72 width: 100%;
56 height: 100px;
57 resize: none; 73 resize: none;
58 white-space: pre; 74 white-space: pre;
59 word-wrap: normal; 75 word-wrap: normal;
76 -webkit-flex-grow: 1;
77 flex-grow: 1;
60 } 78 }
61 #buttons 79 #buttons
62 { 80 {
63 text-align: right; 81 text-align: right;
64 } 82 }
65 button 83 button
66 { 84 {
67 padding: 3px !important; 85 padding: 3px !important;
68 } 86 }
69 </style> 87 </style>
70 </head> 88 </head>
71 <body> 89 <body>
72 90
73 <div id="title"> 91 <div id="title">
74 <img src="icons/detailed/abp-32.png" srcset="icons/detailed/abp-64.png 2x"> 92 <img src="icons/detailed/abp-32.png" srcset="icons/detailed/abp-64.png 2x">
75 <span class="i18n_add_filters_msg"></span> 93 <span class="i18n_add_filters_msg"></span>
76 </div> 94 </div>
77 95
78 <textarea id="filters"></textarea> 96 <textarea id="filters"></textarea>
79 97
80 <div id="buttons"> 98 <div id="buttons">
81 <button id="addButton" class="i18n_add"></button> 99 <button id="addButton" class="i18n_add"></button>
82 <button id="cancelButton" class="i18n_cancel"></button> 100 <button id="cancelButton" class="i18n_cancel"></button>
83 </div> 101 </div>
84 102
85 </body> 103 </body>
86 </html> 104 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld