Advertisement
S-ed

unreal bugreport form

Mar 16th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.73 KB | None | 0 0
  1. /* ==UserStyle==
  2. @name           epicgames.formstack.com
  3. @namespace      github.com/openstyles/stylus
  4. @version        0.1.0
  5. @description    Theme for bug report form for Unreal Engine on Formstack
  6. @author         Alexey Mak (S-ed, Sedokun)
  7. ==/UserStyle== */
  8.  
  9. @-moz-document url-prefix("https://epicgames.formstack.com/forms/unreal_engine_bug_submission_form") {
  10.    
  11.     .fsForm input:focus,
  12.     .fsForm select:focus,
  13.     .fsForm textarea:focus,
  14.     .fsForm .ui-slider-handle:focus {
  15.     -moz-box-shadow: none;
  16.     -webkit-box-shadow: none;
  17.     box-shadow: none;
  18.     }
  19.    
  20.     .fsRowBody input[type="radio"],
  21.     .fsRowBody input[type="checkbox"] {
  22.         -moz-appearance: none;
  23.         -webkit-appearance: none;
  24.         background-color: #454545;
  25.         border: 1px solid #666;
  26.         padding: 0px;
  27.         position: relative;
  28.         margin-top: 1px;
  29.     }
  30.    
  31.     .fsRowBody input[type="radio"] {
  32.         border-radius: 7px;
  33.     }
  34.    
  35.     .fsRowBody input[type="radio"]:hover,
  36.     .fsRowBody input[type="radio"]:active,
  37.     .fsRowBody input[type="radio"]:checked:active,
  38.     .fsRowBody input[type="checkbox"]:hover,
  39.     .fsRowBody input[type="checkbox"]:active,
  40.     .fsRowBody input[type="checkbox"]:checked:active {
  41.         border-color: #F90;
  42.     }
  43.    
  44.     .fsRowBody input[type="checkbox"]:checked:after {
  45.         content: '\2714';
  46.         font-size: 10px;
  47.         position: absolute;
  48.         top: -2px;
  49.         left: 2px;
  50.         color: #f90;
  51.     }
  52.    
  53.     .fsRowBody input[type="radio"]:checked {
  54.         background-color: #F90;
  55.         box-shadow: 0 0 0 2px #333 inset;
  56.         background-clip: padding-box;
  57.     }
  58.    
  59.     .fsRowBody input[type="radio"]::before,
  60.     .fsRowBody input[type="radio"]:checked::before,
  61.     .fsRowBody input[type="checkbox"]::before,
  62.     .fsRowBody input[type="checkbox"]:checked::before {
  63.         content: none;
  64.     }
  65.    
  66.     .fsSignature,    
  67.     .fsRowBody input[type="text"],
  68.     .fsRowBody input[type="email"],
  69.     .fsRowBody input[type="number"],
  70.     .fsRowBody input[type="tel"],
  71.     .fsForm select,
  72.     .fsForm textarea,
  73.     .fsRowBody input[type="text"].fsRequired,
  74.     .fsRowBody input[type="email"].fsRequired,
  75.     .fsRowBody input[type="number"].fsRequired,
  76.     .fsRowBody input[type="tel"].fsRequired,
  77.     .fsForm select.fsRequired,
  78.     .fsForm textarea.fsRequired {      
  79.         border: 1px solid #454545;
  80.         background-color: #333;
  81.         color: #ccc;
  82.     }
  83.    
  84.     .fsSignature:focus,    
  85.     .fsRowBody input[type="text"]:focus,
  86.     .fsRowBody input[type="email"]:focus,
  87.     .fsRowBody input[type="number"]:focus,
  88.     .fsRowBody input[type="tel"]:focus,
  89.     .fsForm textarea:focus,
  90.     .fsRowBody input[type="text"].fsRequired:focus,
  91.     .fsRowBody input[type="email"].fsRequired:focus,
  92.     .fsRowBody input[type="number"].fsRequired:focus,
  93.     .fsRowBody input[type="tel"].fsRequired:focus,
  94.     .fsForm select.fsRequired:focus,
  95.     .fsForm textarea.fsRequired:focus {    
  96.         border: 1px solid #999;
  97.     }
  98.    
  99.     .fsBody .fsSupporting {
  100.         font-size: 14px;
  101.         color: #f90;
  102.     }
  103.    
  104.     input[type="file"] {
  105.         width: 0.1px;
  106.         height: 0.1px;
  107.         opacity: 0;
  108.         overflow: hidden;
  109.         position: absolute;
  110.         z-index: -1;
  111.     }
  112.    
  113.     div[fs-field-type="file"] > label {
  114.     font-size: 1.25em;
  115.     font-weight: 700;
  116.     color: white;
  117.     background-color: black;
  118.     display: inline-block;
  119.     }
  120.    
  121.     div[fs-field-type="file"] > label:after {
  122.         content: "Choose a file...";
  123.         display: block;
  124.         padding: 5px;
  125.         border: 1px solid #666;
  126.         border-radius: 6px;
  127.         width: 105px;
  128.         margin: 8px 0;
  129.         cursor: pointer;
  130.     }
  131.    
  132.     div[fs-field-type="file"] > label:hover:after {
  133.         border: 1px solid #f90;
  134.         background-color: #454545;
  135.     }
  136.  
  137.     div[fs-field-type="file"] > label,
  138.     div[fs-field-type="file"] > label:hover {
  139.         background-color: transparent;
  140.     }  
  141. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement