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

Unified Diff: skin/options.css

Issue 6088024630755328: issue 1526 - Implement new options page design for Chrome/Opera/Safari (Closed)
Patch Set: Created Jan. 9, 2015, 5:11 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « options.js ('k') | skin/options-sprite.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skin/options.css
===================================================================
new file mode 100644
--- /dev/null
+++ b/skin/options.css
@@ -0,0 +1,632 @@
+body
+{
+ background-color: #F5F5F5;
+ font-family: 'Source Sans Pro', sans-serif;
+ font-size: 14px;
+ white-space: nowrap;
+}
+
+h1
+{
+ font-size: 24px;
+ font-weight: 100;
+ margin: 40px 0px 16px 0px;
+}
+
+h2
+{
+ font-size: 16px;
+ font-weight: 500;
+}
+
+p
+{
+ font-weight: 100;
+}
+
+hr
+{
+ background-color: #CDCDCD;
+ border: 0px;
+ height: 1px;
+ margin: 0px;
+}
+
+#left-sidebar
+{
+ float: left;
+ padding: 0px 0px 16px 10px;
+ width: 198px;
+}
+
+#left-sidebar .fixed
+{
+ height: 100%;
+ position: fixed;
+}
+
+.grid-box
+{
+ display: inline-block;
+ vertical-align: top;
+}
+
+.grid-box.right
+{
+ padding-left: 40px
+}
+
+#page-title
+{
+ margin-left: 10px;
+}
+
+#page-title p
+{
+ margin: 0px;
+ padding: 40px 0px 0px 0px;
+ font-size: 16px;
+}
+
+#page-title h1
+{
+ margin: 0px;
+ padding: 8px 0px 16px 0px;
+}
+
+.tabs li
+{
+ cursor: pointer;
+}
+
+.tabs.vertical
+{
+ list-style: none;
+ margin: 0px;
+ position: relative;
+ padding-left: 0px;
+ width: 198px;
+}
+
+.tabs.vertical li
+{
+ border-color: #CDCDCD;
+ border-style: solid;
+ border-width: 1px 0px 0px 0px;
+ font-size: 16px;
+ font-weight: 100;
+ padding: 16px 0px 16px 11px;
+}
+
+.tabs.vertical li.active + li
+{
+ border-width: 0px;
+}
+
+.tabs.vertical li:last-child
+{
+ border-bottom-width: 1px !important;
+}
+
+.tabs.vertical li.active
+{
+ background-color: #FFFFFF;
+ border-radius: 3px 0px 0px 3px;
+ border-width: 1px 0px 1px 1px;
+ font-weight: 900;
+ padding-left: 10px;
+ position: relative;
+ margin-right: -1px;
+}
+
+.tabs.vertical.bottom
+{
+ bottom: 0px;
+ position: absolute;
+}
+
+.tabs.vertical.bottom li:first-child
+{
+ border-top: 0px;
+}
+
+.tabs.vertical .icon
+{
+ float: right;
+ margin: 2px 20px 0px 0px;
+}
+
+#tab-general .icon
+{
+ background-position: -15px -17px;
+ height: 16px;
+ width: 16px;
+}
+
+#tab-advanced .icon
+{
+ background-position: -45px -18px;
+ height: 16px;
+ width: 16px;
+}
+
+#tab-help .icon
+{
+ background-position: 0px -17px;
+ height: 16px;
+ width: 16px;
+}
+
+#tab-share .icon
+{
+ background-position: -60px -17px;
+ height: 16px;
+ width: 16px;
+}
+
+#tab-donate .icon
+{
+ background-position: -30px -17px;
+ height: 16px;
+ width: 16px;
+}
+
+#tab-content
+{
+ background-color: #FFFFFF;
+ border: 1px solid #CDCDCD;
+ border-radius: 8px;
+ padding: 0px 60px 40px 60px;
+ width: 960px;
+}
+
+#tab-content > div,
+#blocking-list > div
+{
+ display: none;
+}
+
+div.button
+{
+ cursor: pointer;
+}
+
+.table
+{
+ list-style: none;
+ margin: 0px;
+ padding-left: 0px;
+ position: relative;
+ width: 400px;
+}
+
+.table li
+{
+ padding: 14px 0px 14px 16px;
+}
+
+.table.list li:nth-child(odd)
+{
+ background-color: #F5F5F5;
+}
+
+.table.cols li:nth-child(even)
+{
+ background-color: #F5F5F5;
+}
+
+#blocking-list-own .table
+{
+ height: 290px;
+ overflow: auto;
+ width: auto;
+}
+
+.table label
+{
+ vertical-align: top;
+}
+
+.table.cols span
+{
+ display: inline-block;
+ width: 30%;
+}
+
+.table.cols .col-name
+{
+ border-bottom: 1px solid #CDCDCD;
+}
+
+.table.cols .col-name span
+{
+ display: inline-block;
+ width: 30%;
+}
+
+.table.cols .col-name span:first-child
+{
+ padding-left: 38px;
+}
+
+#further-blocking .table
+{
+ height: 290px;
+ overflow: auto;
+}
+
+.table::-webkit-scrollbar
+{
+ padding-right: 10px;
+ width: 5px;
+}
+
+.table::-webkit-scrollbar-thumb
+{
+ background-color: #CDCDCD;
+ border-radius: 5px;
+ padding: 0px 40px;
+}
+
+.table::-webkit-scrollbar-thumb:hover
+{
+ background-color: #A1A1A1;
+}
+
+.table input[type=checkbox]
+{
+ display:none;
+}
+
+.table input[type=checkbox] + label
+{
+ background-position: -51px 0px;
+ height: 18px;
+ margin-right: 20px;
+ padding: 0px 0px 0px 0px;
+ width: 18px;
+}
+
+.table input[type=checkbox]:checked + label
+{
+ background-position: -68px 0px;
+ height: 18px;
+ padding: 0px 0px 0px 0px;
+ width: 18px;
+}
+
+.table button
+{
+ background-color: transparent;
+ background-position: -9px -32px;
+ border: 0px;
+ height: 10px;
+ margin-right: 20px;
+ padding: 0px 0px 0px 0px;
+ width: 10px;
+}
+
+.table .green-right
+{
+ color: #1E8728;
+ float: right;
+ font-size: 12px;
+ padding-right: 12px;
+}
+
+.tabs.horizontal
+{
+ margin-bottom: 0px;
+ padding-left: 0px;
+}
+
+.tabs.horizontal li
+{
+ border-bottom: 1px solid #A1A1A1;
+ display: inline-block;
+ color: #3A7BA6;
+ padding: 10px 0px 11px 0px;
+ text-align: center;
+ width: 50%;
+}
+
+.tabs.horizontal li.active
+{
+ border-bottom: 2px solid #1E8728;
+ color: black;
+ font-weight: bold;
+ padding-bottom: 10px;
+}
+
+.icon, .table label, .table button
+{
+ background-image: url(options-sprite.png);
+ display: inline-block;
+}
+
+.icon-add
+{
+ background-position: -0px -0px;
+ cursor: pointer;
+ height: 18px;
+ width: 18px;
+}
+
+.icon-close
+{
+ background-position: -9px -32px;
+ cursor: pointer;
+ height: 10px;
+ width: 10px;
+}
+
+.icon-update
+{
+ background-position: -34px -0px;
+ cursor: pointer;
+ height: 18px;
+ width: 18px;
+}
+
+.icon-edit
+{
+ background-position: -17px -0px;
+ cursor: pointer;
+ height: 18px;
+ width: 18px;
+}
+
+.icon-arrow
+{
+ background-position: 0px -42px;
+ cursor: pointer;
+ height: 11px;
+ vertical-align: middle;
+ width: 7px;
+}
+
+.controls
+{
+ margin: 8px 0px 0px 16px;
+ position: relative;
+}
+
+#whitelisting .controls
+{
+ margin-left: 12px;
+}
+
+#whitelisting .controls input[type=text],
+#whitelisting .controls input[type=text]:focus
+{
+ border: 0px;
+ border-bottom: 1px solid #A1A1A1;
+ padding-right: 25px;
+ margin-left: 14px;
+ outline: 0px;
+ vertical-align: text-bottom;
+ width: 360px;
+}
+
+.text-blue
+{
+ color: #3A7BA6;
+ display: inline-block;
+ margin-left: 15px;
+ vertical-align: top;
+}
+
+#content-help .text-blue
+{
+ margin: 0px 16px 0px 4px;
+ text-decoration: none;
+}
+
+.nav-blue
+{
+ color: #3A7BA6;
+ margin-left: 12px;
+}
+
+#blocking-list-own input[type=text],
+#blocking-list-own input[type=text]:focus
+{
+ border: 0px;
+ border-bottom: 1px solid;
+ border-top: 1px solid;
+ border-color: #1E8728;
+ box-sizing: border-box;
+ height: 25px;
+ outline: 0px;
+ padding-left: 10px;
+ width: 100%;
+}
+
+.icon-enter-blue
+{
+ background-position: -28px -85px;
+ cursor: pointer;
+ height: 10px;
+ margin: 0px 0px -2px 2px;
+ width: 10px;
+}
+
+#blocking-list-own .input-control
+{
+ position: absolute;
+ bottom: 5px;
+ right: 10px;
+}
+
+#blocking-list-own .input-separator
+{
+ display: inline-block;
+ border-right: 1px solid #CDCDCD;
+ height: 15px;
+ margin: 0px 4px -4px 0px;
+ width: 1px;
+}
+
+#blocking-list-own .input-btn-text
+{
+ font-size: 12px;
+}
+
+.icon-enter
+{
+ background-position: -18px -85px;
+ bottom: 10px;
+ cursor: pointer;
+ position: absolute;
+ height: 10px;
+ right: 10px;
+ width: 10px;
+}
+
+.addbtn, .cancelbtn
+{
+ background-color: transparent;
+ border: 0px;
+ color: #3A7BA6;
+ cursor: pointer;
+}
+
+.addbtn
+{
+ margin-left: 46px;
+}
+
+.cancelbtn
+{
+ float: right;
+}
+
+.dotted
+{
+ border-bottom: dotted 2px;
+ color: #3A7BA6;
+ font-size: 12px;
+ margin-left: 8px;
+ text-decoration: none;
+}
+
+#content-advanced h1
+{
+ display: inline-block;
+}
+
+#content-advanced .table .dotted
+{
+ color: black;
+ border-bottom-color: #3A7BA6;
+ font-weight: bold;
+ margin-left: 0px;
+ padding-left: 0px !important;
+ vertical-align: top;
+}
+
+#modal
+{
+ left:50%;
+ top:50%;
+ margin:0 auto;
+ margin-left:-200px;
+ margin-top:-200px;
+ position:fixed;
+ visibility: hidden;
+}
+
+#modal > div
+{
+ background-color: #FFFFFF;
+ border: 2px solid #4D9D4B;
+ border-radius: 3px;
+ width: 400px;
+}
+
+#modal .header
+{
+ background-color: #4D9D4B;
+ height: 45px;
+}
+
+#modal-close
+{
+ display: inline-block;
+}
+
+#modal .content
+{
+ margin: 16px 24px;
+}
+
+#modal .close-wrapper
+{
+ margin-right: 16px !important;
+ float: right;
+}
+
+#modal .header > div
+{
+ width: 100%;
+}
+
+#modal .header > div > div
+{
+ display: inline-block;
+ margin: 10px;
+}
+
+#modal .header .title
+{
+ color: #FFFFFF;
+}
+
+#modal .header .separator
+{
+ border-right: 1px solid #25612B;
+ height: 18px;
+ margin: 0px 4px -4px 0px;
+ width: 1px;
+}
+
+#modal .header .icon-close
+{
+ margin-left: 10px;
+}
+
+#modal .header .close
+{
+ color: #0F660F;
+ font-size: 15px;
+ margin-left: 6px;
+}
+
+#modal .content input[type=text]
+{
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ font-size: 16px;
+ margin-top: 10px;
+ padding: 5px;
+ width: 100%;
+}
+
+#modal .section:not(:first-child)
+{
+ margin-top: 24px;
+}
+
+#modal .btn-wrapper
+{
+ background-color: #F5F5F5;
+ margin-top: 8px;
+ padding: 10px 16px;
+ width: auto;
+}
+
+#modal .btn-wrapper .text-blue
+{
+ margin-left: 12px;
+}
« no previous file with comments | « options.js ('k') | skin/options-sprite.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld