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

Unified Diff: skin/issue-reporter.css

Issue 29727613: Issue 6386 - Add Requests and Filters data to the Report data
Patch Set: Rebased Created April 6, 2018, 4:46 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 | « messageResponder.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skin/issue-reporter.css
===================================================================
--- a/skin/issue-reporter.css
+++ b/skin/issue-reporter.css
@@ -20,17 +20,17 @@
font-size: 16px;
}
body
{
display: flex;
flex-direction: column;
align-items: center;
- margin: 1.2rem 0.3rem;
+ margin: 0rem;
font-family: "Source Sans Pro", sans-serif;
font-size: 1.25rem;
color: #494949;
background-color: #F3F3F3;
}
html:not([dir="rtl"]) header
{
@@ -46,16 +46,17 @@
header
{
display: flex;
flex-direction: row;
flex-shrink: 0;
align-items: flex-end;
margin-bottom: 2rem;
+ margin-top: 1.2rem;
}
#logo
{
width: 4rem;
}
header > .title
@@ -215,44 +216,68 @@
margin-left: 0.5rem;
}
html[dir="rtl"] button
{
margin-right: 0.5rem;
}
-button.primary
+button.primary:not(.icon)
{
border: 0px;
color: #FFF;
background-color: #099CD0;
}
-button.primary:not([disabled]):hover
+button.primary:not([disabled]):not(.icon):hover
{
box-shadow: inset 0 0 0 3px #005D80;
}
-button.primary[disabled]
+button.primary[disabled]:not(.icon)
{
background-color: #5CBCE1;
}
button.secondary
{
border: 1px solid #099CD0;
color: #099CD0;
}
button.secondary:hover
{
box-shadow: inset 0 0 0 2px #099CD0;
}
+button.link
+{
+ border: 0px;
+ background-color: transparent;
+ padding: 0.2rem;
+ font-weight: 400;
+ font-family: inherit;
+ text-transform: none;
+ text-decoration: underline;
+ color: #077CA6;
+}
+
+button.link:hover
+{
+ color: #5CBCE1;
+}
+
+button.link:disabled,
+button.link:disabled:hover
+{
+ cursor: default;
+ color: #ccc;
+}
+
input[type="text"],
input[type="email"],
textarea
{
font-size: 1.25rem;
border: 2px solid #099CD0;
}
@@ -300,8 +325,95 @@
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: flex-end;
background-color: #FFFFFF;
border: 1px solid #CDCDCD;
padding: 2rem;
}
+
+/*
+ Used for translatable screen reader only content.
+ e.g.: Use instead of aria-label to avoid complex attribute value translation
+*/
+.sr-only
+{
+ position: absolute;
+ overflow: hidden;
+ clip: rect(0, 0, 0, 0);
+ width: 1px;
+ height: 1px;
+ margin: -1px;
+ padding: 0px;
+ border: 0px;
+}
+
+[aria-hidden="true"]
+{
+ display: none !important;
+}
+
+#notification
+{
+ display: flex;
+ padding: 1rem 1.9rem;
+ width: 100%;
+ box-sizing: border-box;
+ opacity: 0.8;
+ font-size: 1rem;
+ color: #4A4A4A;
+ background-color: #d8d8d8;
+}
+
+#notification-text
+{
+ flex: 1;
+ text-align: center;
+}
+
+.icon
+{
+ border: 0px;
+ padding: 0px;
+ background-color: transparent;
+}
+
+.icon:hover
+{
+ box-shadow: none;
+}
+
+.icon::before
+{
+ content: "";
+ display: block;
+ border: 0.2rem solid transparent;
+ background-repeat: no-repeat;
+}
+
+.close.icon::before
+{
+ height: 1rem;
+ width: 1rem;
+}
+
+.icon.close.tertiary::before
+{
+ background-image: url(icons/delete.svg?tertiary#tertiary);
+}
+
+.icon.close.tertiary:hover::before
+{
+ background-image: url(icons/delete.svg?tertiary-hover#tertiary-hover);
+}
+
+#continue,
+#send
+{
+ display: none;
+}
+
+body:not([data-page="commentPage"]) #continue,
+body[data-page="commentPage"] #send
+{
+ display: block;
+}
« no previous file with comments | « messageResponder.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld