Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);
- body, h1, h2, h3 {
- padding: 0;
- margin: 0;
- font-family: 'Roboto', serif;
- /*background: url("https://res.cloudinary.com/finnhvman/image/upload/v1541930411/pattern.png");*/
- background: url("fxcm-pattern.jpg");
- /*background: linear-gradient(90deg, rgba(0,59,79,1) 0%, rgba(9,68,121,1) 35%, rgba(0,212,255,1) 100%);*/
- }
- .notifications {
- position: absolute;
- top: 20px;
- right: 20px;
- z-index: 100;
- }
- .notifications .success,
- .notifications .error {
- color: white;
- padding: 20px 25px;
- font-weight: 400;
- box-shadow: 0 1px 1px 0 rgba(60,64,67,.08), 0 1px 3px 1px rgba(60,64,67,.16);
- border-radius: 3px;
- font-size: 16px;
- margin-bottom: 20px;
- }
- .notifications .success {
- background: #03ac03;
- }
- .notifications .error {
- background: #d12005;
- }
- .grid-container {
- /*font-weight: normal;*/
- box-shadow: 0 1px 1px 0 rgba(60,64,67,.08), 0 1px 3px 1px rgba(60,64,67,.16);
- margin: 50px auto;
- max-width: 500px;
- border-radius: 7px;
- overflow: hidden;
- }
- .grid-container h1 {
- font-weight: 200;
- color: white;
- /*background: #2196f3;*/
- padding: 23px 10px;
- text-align: center;
- background: linear-gradient(90deg, rgba(0,59,79,1) 0%, rgba(9,68,121,1) 35%, rgba(4,98,173,1) 100%);
- }
- .material-form {
- padding: 40px 40px;
- background-color: #ffffff;
- }
- .material-form h3 {
- font-size: 17px;
- margin-bottom: 10px;
- font-weight: 200;
- background: #fff;
- }
- .btn-container {
- display: flex;
- justify-content: space-between;
- margin-bottom: 40px;
- }
- .sentiment {
- margin-bottom: 40px
- }
- .sentiment h4 {
- font-weight: 200;
- color: #333;
- font-size: 20px;
- margin-bottom: 0;
- }
- .sentiment h4 .sentiment-number {
- font-weight: 500;
- background: #f8f8f8;
- border-radius: 3px;
- border: 1px solid #e8e8e8;
- box-shadow: 0px 1px 4px 2px rgba(88, 88, 88, 0.06);
- padding: 10px 15px;
- margin-left: 5px;
- }
- pre.raw-data {
- background: #f8f8f8;
- border: 1px solid #e8e8e8;
- border-radius: 3px;
- box-shadow: 0px 1px 4px 2px rgba(88, 88, 88, 0.06);
- padding: 15px;
- margin-bottom: 0;
- overflow-y: scroll;
- min-height: 80px;
- max-height: 600px;
- }
- /* Material Design */
- .pure-material-textfield-outlined {
- position: relative;
- display: inline-block;
- padding-top: 6px;
- font-size: 16px;
- line-height: 1.5;
- overflow: hidden;
- width: 100%;
- margin-bottom: 3px;
- }
- .pure-material-textfield-outlined:last-of-type {
- margin-bottom: 20px;
- }
- /* Input, Textarea */
- .pure-material-textfield-outlined > input,
- .pure-material-textfield-outlined > textarea {
- box-sizing: border-box;
- margin: 0;
- border: solid 2px; /* Safari */
- border-color: #dadce0;
- border-top-color: transparent;
- border-radius: 4px;
- padding: 15px 13px 15px;
- width: 100%;
- height: inherit;
- color: rgba(0, 0, 0, 0.87);
- background-color: transparent;
- box-shadow: none; /* Firefox */
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
- caret-color: rgb(33, 150, 243);
- transition: border 0.2s, box-shadow 0.2s;
- }
- /* Span */
- .pure-material-textfield-outlined > input + span,
- .pure-material-textfield-outlined > textarea + span {
- position: absolute;
- top: 0;
- left: 0;
- display: flex;
- border-color: #dadce0;
- width: 100%;
- max-height: 100%;
- color: rgba(0, 0, 0, 0.6);
- font-size: 75%;
- line-height: 15px;
- cursor: text;
- transition: color 0.2s, font-size 0.2s, line-height 0.2s;
- }
- /* Corners */
- .pure-material-textfield-outlined > input + span::before,
- .pure-material-textfield-outlined > input + span::after,
- .pure-material-textfield-outlined > textarea + span::before,
- .pure-material-textfield-outlined > textarea + span::after {
- content: "";
- display: block;
- box-sizing: border-box;
- margin-top: 6px;
- border-top: solid 2px;
- border-top-color: #dadce0;
- min-width: 10px;
- height: 8px;
- pointer-events: none;
- box-shadow: inset 0 1px transparent;
- transition: border-color 0.2s, box-shadow 0.2s;
- }
- .pure-material-textfield-outlined > input + span::before,
- .pure-material-textfield-outlined > textarea + span::before {
- margin-right: 4px;
- border-left: solid 1px transparent;
- border-radius: 4px 0;
- }
- .pure-material-textfield-outlined > input + span::after,
- .pure-material-textfield-outlined > textarea + span::after {
- flex-grow: 1;
- margin-left: 4px;
- border-right: solid 1px transparent;
- border-radius: 0 4px;
- }
- /* Hover */
- .pure-material-textfield-outlined:hover > input,
- .pure-material-textfield-outlined:hover > textarea {
- border-color: #dadce0;
- border-top-color: transparent;
- }
- .pure-material-textfield-outlined:hover > input + span::before,
- .pure-material-textfield-outlined:hover > textarea + span::before,
- .pure-material-textfield-outlined:hover > input + span::after,
- .pure-material-textfield-outlined:hover > textarea + span::after {
- border-top-color: #dadce0;
- }
- .pure-material-textfield-outlined:hover > input:not(:focus):placeholder-shown,
- .pure-material-textfield-outlined:hover > textarea:not(:focus):placeholder-shown {
- border-color: #dadce0;
- }
- /* Placeholder-shown */
- .pure-material-textfield-outlined > input:not(:focus):placeholder-shown,
- .pure-material-textfield-outlined > textarea:not(:focus):placeholder-shown {
- border-top-color: #dadce0;
- }
- .pure-material-textfield-outlined > input:not(:focus):placeholder-shown + span,
- .pure-material-textfield-outlined > textarea:not(:focus):placeholder-shown + span {
- font-size: inherit;
- line-height: 68px;
- }
- .pure-material-textfield-outlined > input:not(:focus):placeholder-shown + span::before,
- .pure-material-textfield-outlined > textarea:not(:focus):placeholder-shown + span::before,
- .pure-material-textfield-outlined > input:not(:focus):placeholder-shown + span::after,
- .pure-material-textfield-outlined > textarea:not(:focus):placeholder-shown + span::after {
- border-top-color: transparent;
- }
- /* Focus */
- .pure-material-textfield-outlined > input:focus,
- .pure-material-textfield-outlined > textarea:focus {
- border-color: #055fa7;
- border-top-color: transparent;
- box-shadow: inset 1px 0 var(--pure-material-safari-helper1), inset -1px 0 var(--pure-material-safari-helper1), inset 0 -1px var(--pure-material-safari-helper1);
- outline: none;
- }
- .pure-material-textfield-outlined > input:focus + span,
- .pure-material-textfield-outlined > textarea:focus + span {
- color: rgb(4, 94, 167);
- }
- .pure-material-textfield-outlined > input:focus + span::before,
- .pure-material-textfield-outlined > input:focus + span::after,
- .pure-material-textfield-outlined > textarea:focus + span::before,
- .pure-material-textfield-outlined > textarea:focus + span::after {
- border-top-color: #055fa7 !important;
- box-shadow: inset 0 1px var(--pure-material-safari-helper1);
- }
- /* Disabled */
- .pure-material-textfield-outlined > input:disabled,
- .pure-material-textfield-outlined > input:disabled + span,
- .pure-material-textfield-outlined > textarea:disabled,
- .pure-material-textfield-outlined > textarea:disabled + span {
- border-color: rgba( 0, 0, 0, 0.38) !important;
- border-top-color: transparent !important;
- color: rgba( 0, 0, 0, 0.38);
- pointer-events: none;
- }
- .pure-material-textfield-outlined > input:disabled + span::before,
- .pure-material-textfield-outlined > input:disabled + span::after,
- .pure-material-textfield-outlined > textarea:disabled + span::before,
- .pure-material-textfield-outlined > textarea:disabled + span::after {
- border-top-color: rgba(0, 0, 0, 0.38) !important;
- }
- .pure-material-textfield-outlined > input:disabled:placeholder-shown,
- .pure-material-textfield-outlined > input:disabled:placeholder-shown + span,
- .pure-material-textfield-outlined > textarea:disabled:placeholder-shown,
- .pure-material-textfield-outlined > textarea:disabled:placeholder-shown + span {
- border-top-color: rgba(0, 0, 0, 0.38) !important;
- }
- .pure-material-textfield-outlined > input:disabled:placeholder-shown + span::before,
- .pure-material-textfield-outlined > input:disabled:placeholder-shown + span::after,
- .pure-material-textfield-outlined > textarea:disabled:placeholder-shown + span::before,
- .pure-material-textfield-outlined > textarea:disabled:placeholder-shown + span::after {
- border-top-color: transparent !important;
- }
- /* Faster transition in Safari for less noticable fractional font-size issue */
- @media not all and (min-resolution:.001dpcm) {
- @supports (-webkit-appearance:none) {
- .pure-material-textfield-outlined > input,
- .pure-material-textfield-outlined > input + span,
- .pure-material-textfield-outlined > textarea,
- .pure-material-textfield-outlined > textarea + span,
- .pure-material-textfield-outlined > input + span::before,
- .pure-material-textfield-outlined > input + span::after,
- .pure-material-textfield-outlined > textarea + span::before,
- .pure-material-textfield-outlined > textarea + span::after {
- transition-duration: 0.1s;
- }
- }
- }
- .pure-material-button-contained {
- position: relative;
- /*display: inline-block;*/
- box-sizing: border-box;
- border: none;
- border-radius: 4px;
- padding: 2px 16px;
- min-width: 48%;
- /*height: 36px;*/
- vertical-align: middle;
- text-align: center;
- text-overflow: ellipsis;
- text-transform: uppercase;
- color: white;
- background-color: #2196f3;
- background: linear-gradient(90deg, rgba(0,59,79,1) 0%, rgba(9,68,121,1) 35%, rgba(4,98,173,1) 100%);
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
- font-family: "Roboto", "Segoe UI", BlinkMacSystemFont, serif;
- font-size: 14px;
- font-weight: 500;
- line-height: 36px;
- overflow: hidden;
- outline: none;
- cursor: pointer;
- transition: box-shadow 0.2s;
- }
- .pure-material-button-contained::-moz-focus-inner {
- border: none;
- }
- /* Overlay */
- .pure-material-button-contained::before {
- content: "";
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- background-color: rgb( 255, 255, 255);
- opacity: 0;
- transition: opacity 0.2s;
- }
- /* Ripple */
- .pure-material-button-contained::after {
- content: "";
- position: absolute;
- left: 50%;
- top: 50%;
- border-radius: 50%;
- padding: 50%;
- width: 32px; /* Safari */
- height: 32px; /* Safari */
- background-color: white;
- opacity: 0;
- transform: translate(-50%, -50%) scale(1);
- transition: opacity 1s, transform 0.5s;
- }
- /* Hover, Focus */
- .pure-material-button-contained:hover,
- .pure-material-button-contained:focus {
- box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
- }
- .pure-material-button-contained:hover::before {
- opacity: 0.08;
- }
- .pure-material-button-contained:focus::before {
- opacity: 0.24;
- }
- .pure-material-button-contained:hover:focus::before {
- opacity: 0.3;
- }
- /* Active */
- .pure-material-button-contained:active {
- box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
- }
- .pure-material-button-contained:active::after {
- opacity: 0.32;
- transform: translate(-50%, -50%) scale(0);
- transition: transform 0s;
- }
- /* Disabled */
- .pure-material-button-contained:disabled {
- cursor: initial;
- opacity: 0.5;
- }
- .pure-material-button-contained:disabled::before {
- opacity: 0;
- }
- .pure-material-button-contained:disabled::after {
- opacity: 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement