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

Unified Diff: skin/options.css

Issue 29333262: Issue 2359 - Fixed styles of list items in options page (Closed)
Patch Set: Fixed layout and rearranged properties Created Jan. 25, 2016, 6:39 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skin/options.css
===================================================================
--- a/skin/options.css
+++ b/skin/options.css
@@ -146,7 +146,7 @@
.hbox > div
{
- flex: 1;
+ width: 400px;
}
.tabs li
@@ -334,14 +334,19 @@
.table li
{
display: flex;
- padding: 14px 0px;
+ padding: 12px 0px;
-webkit-padding-start: 16px;
-moz-padding-start: 16px;
+ border-radius: 3px;
}
.table.list li .display
{
flex: 1;
+ line-height: 16px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.table.list li:nth-child(odd),
@@ -379,27 +384,6 @@
-moz-padding-start: 38px;
}
-.table::-webkit-scrollbar,
-#custom-wrapper::-webkit-scrollbar
-{
- -webkit-padding-end: 10px;
- width: 5px;
-}
-
-.table::-webkit-scrollbar-thumb,
-#custom-wrapper::-webkit-scrollbar-thumb
-{
- background-color: #CDCDCD;
- border-radius: 5px;
- padding: 0px 40px;
-}
-
-.table::-webkit-scrollbar-thumb:hover,
-#custom-wrapper::-webkit-scrollbar-thumb:hover
-{
- background-color: #A1A1A1;
-}
-
.table input[type="checkbox"]
{
margin-top: 0px;
@@ -561,8 +545,8 @@
#blocking-languages,
#acceptable-ads
{
- -moz-padding-end: 40px;
- -webkit-padding-end: 40px;
+ -moz-margin-end: 40px;
+ -webkit-margin-end: 40px;
}
#custom-wrapper
@@ -940,14 +924,14 @@
#dialog-background
{
display: none;
- background-color: white;
- position: absolute;
- opacity: 0.7;
+ position: fixed;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
z-index: 2;
+ background-color: white;
+ opacity: 0.7;
}
body[data-dialog] #dialog-background
@@ -957,24 +941,24 @@
#dialog
{
- background-color: #FFFFFF;
- border: 2px solid #4D9D4B;
- border-radius: 3px;
- margin: auto;
- position:absolute;
- top:100px;
+ position: fixed;
+ top: 100px;
left: 0px;
right: 0px;
z-index: 2;
width: 400px;
+ margin: auto;
+ border-radius: 3px;
+ border: 2px solid #4D9D4B;
+ background-color: #FFFFFF;
}
#dialog header
{
+ display: flex;
+ min-height: 25px;
+ padding: 10px;
background-color: #4D9D4B;
- display: flex;
- height: 25px;
- padding: 10px;
}
#dialog-close
@@ -1028,9 +1012,8 @@
width: 100%;
}
-#dialog #other-language .table
+#dialog #dialog-content-language .table
{
- height: 200px;
overflow: auto;
}
@@ -1085,6 +1068,18 @@
display: none;
}
+#dialog-content-language .dialog-content-block
+{
+ display: flex;
+ flex-direction: column;
+ height: 120px;
+}
+
+#dialog-content-language #other-language
+{
+ height: 200px;
+}
+
#other-language .button-add
{
background-color: transparent;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld