Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 7.30 KB | None | 0 0
  1. $input_margin_right: 20px;
  2. $input_nombre_apellido: 30%;
  3. $input_numero_documento: 20%;
  4.  
  5. //Generales.
  6. td.rojo {
  7.   background-color: red;
  8.   color: #fff;
  9. }
  10.  
  11. @mixin paragraphs_hideremove() {
  12.   .paragraphs-dropbutton-wrapper input[name$="_remove"] {
  13.     display: none;
  14.   }
  15. }
  16.  
  17. @mixin paragraphs_float() {
  18.   .paragraph-type-top {
  19.     position: relative;
  20.     top: 22px;
  21.     right: 10px;
  22.   }
  23.  
  24.   .paragraphs-subform {
  25.     position: relative;
  26.     margin-top: 18px;
  27.     left: 10px;
  28.     max-width: 85%;
  29.  
  30.     .form-wrapper {
  31.       float: left;
  32.       margin-right: 10px;
  33.     }
  34.  
  35.     .field--type-boolean {
  36.       padding-top: 30px;
  37.     }
  38.   }
  39. }
  40.  
  41. @mixin paragraphs_nodragging() {
  42.   .field-multiple-drag {
  43.     display: none;
  44.     margin-left: 10px;
  45.   }
  46. }
  47.  
  48. // Fieldset DOCUMENTO
  49. @mixin paragraphs_documento() {
  50.  fieldset.fieldset-documento {
  51.         .fieldset-wrapper {
  52.             > div { float: left; }
  53.           .field--name-field-numero-dni { margin-right: $input_margin_right; }
  54.           .field--name-field-sin-dni {
  55.             margin-right: $input_margin_right;
  56.             margin-top: 25px;
  57.            }
  58.           .field--name-field-tipo-documento { margin-right: $input_margin_right; }
  59.           .field--name-field-documento-id {
  60.             width: $input_numero_documento;
  61.             margin-right: $input_margin_right;
  62.           }
  63.         }
  64.     }
  65. }
  66.  
  67. // Fieldset DATOS PERSONALES
  68. @mixin paragraphs_datos_personales() {
  69.     fieldset.fieldset-datos-personales {
  70.         .fieldset-wrapper {
  71.             > div {
  72.                 float: left;
  73.                 margin-right: $input_margin_right;
  74.             }
  75.             .field--name-field-nombres { width: $input_nombre_apellido; }
  76.             .field--name-field-apellidos { width: $input_nombre_apellido; }
  77.             .field--name-field-fecha-de-nacimiento {
  78.                     width: 16%;
  79.                     clear: both;
  80.                     margin-right: 0px;
  81.             }
  82.             .field--name-field-edad-gestacional > div { margin-top: 0px; }
  83.             .field--name-field-foto {
  84.                 width: 30%;
  85.                 .form-type-managed-file { margin-top: -4px; }
  86.             }
  87.        }
  88.     }
  89. }
  90.  
  91. // Fieldset DIRECCION
  92. @mixin paragraphs_direccion() {
  93.     fieldset.fieldset-direccion {
  94.        .paragraphs-subform {
  95.            > div {
  96.                 float: left;
  97.                 margin-right: $input_margin_right;
  98.            }
  99.        .field--name-field-calle { width: 40%; }
  100.        .field--name-field-numero { width: 10%; }
  101.        .field--name-field-jurisdiccion { clear: both; }
  102.        .field--name-field-pisodepto,
  103.        .field--name-field-localidad,
  104.        .field--name-field-casa,
  105.        .field--name-field-villa,
  106.        .field--name-field-manzana {
  107.           width: 25%;
  108.         }
  109.        .field--name-field-codigo-postal { width: 15%;}
  110.        }
  111.     }
  112. }
  113.  
  114. // Motivo a Faltar. Licencias
  115. @mixin paragraphs_motivo_faltar() {
  116.     table#field-pe-licencias-values {
  117.       tbody {
  118.           td.field-multiple-drag { display: none; }
  119.           .paragraphs-subform {
  120.               > div {
  121.                   float: left;
  122.                   margin-right: $input_margin_right;
  123.               }
  124.               .field--name-field-fecha-inicio { width: 20%; }
  125.               .field--name-field-fecha-fin { width: 20%; }
  126.               .field--name-field-motivo-faltar { width: 35%; }
  127.           }
  128.       }
  129.     }
  130. }
  131.  
  132. // Paragraphs casos.
  133. @mixin paragraphs_casos() {
  134.     fieldset.casos {
  135.        .paragraphs-subform {
  136.             > div {
  137.                 float: left;
  138.                 margin-right: $input_margin_right;
  139.                 padding-bottom: 2%;
  140.             }
  141.             .field--name-field-resolucion,
  142.             .field--name-field-organismos,
  143.             .field--name-field-situacion,
  144.             .field--name-field-adjunto {
  145.                 clear: both;
  146.                 width: 100%;
  147.             }
  148.             .field-group-notificacion {
  149.               overflow: hidden;
  150.               clear: both;
  151.             }
  152.        }
  153.     }
  154. }
  155.  
  156. // Datos Director/ra
  157. @mixin paragraphs_datos_director() {
  158.     fieldset.datos-director {
  159.          clear: both;
  160.         .paragraphs-subform {
  161.             .field--name-field-documento-tipo {
  162.                 float: left;
  163.                 margin-right: $input_margin_right;
  164.             }
  165.  
  166.             .field--name-field-documento-id {
  167.                 float: left;
  168.                 margin-right: $input_margin_right;
  169.                 width: $input_numero_documento;
  170.             }
  171.             .field--name-field-nombres,
  172.             .field--name-field-apellidos {
  173.                 width: $input_nombre_apellido;
  174.                 clear: both;
  175.             }
  176.         }
  177.     }
  178. }
  179.  
  180. // Form Rendicion:Relacion de dependencia
  181. @mixin paragraphs_relacion_dependencia() {
  182.     details.relacion-dependencia {
  183.         .details-wrapper {
  184.             min-height: 190px;
  185.             > div {
  186.                 float: left;
  187.                 margin-right: $input_margin_right;
  188.                 padding-bottom: 2%;
  189.             }
  190.             .field--name-field-documento-id { width: $input_numero_documento; }
  191.             .field--name-field-nombres {
  192.                 width: $input_nombre_apellido;
  193.                 clear: both;
  194.             }
  195.             .field--name-field-apellidos {
  196.                 width: $input_nombre_apellido;
  197.             }
  198.             .field--name-field-funcion {
  199.                 clear: both;
  200.             }
  201.         }
  202.     }
  203. }
  204.  
  205. // Form Rendicion:Personal monotributo
  206. @mixin paragraphs_personal_monotributo() {
  207.     details.personal-monotributo {
  208.         .details-wrapper {
  209.             min-height: 195px;
  210.             > div {
  211.                 float: left;
  212.                 margin-right: $input_margin_right;
  213.                 padding-bottom: 2%;
  214.             }
  215.             .field--name-field-cuit { width: 10%; }
  216.             .field--name-field-nombres, .field--name-field-apellidos {
  217.                 width: $input_nombre_apellido;
  218.             }
  219.             .field--name-field-nro-comprobante {
  220.                 width: $input_numero_documento;
  221.                 clear: both;
  222.             }
  223.             .field--name-field-monotributista-monto { clear: both; }
  224.         }
  225.     }
  226. }
  227.  
  228. // Form Rendicion:Gastos
  229. @mixin paragraphs_gastos() {
  230.     details.rendicion-gastos {
  231.         .details-wrapper {
  232.             min-height: 210px;
  233.             > div {
  234.                 float: left;
  235.                 margin-right: $input_margin_right;
  236.                 padding-bottom: 2%;
  237.             }
  238.             .field--name-field-cuit-proveedor { width: 15%; }
  239.             .field--name-field-proveedor { width: 45%; }
  240.             .field--name-field-concepto {
  241.                 width: 30%;
  242.                 margin-bottom: 3px;
  243.             }
  244.             .field--name-field-tipo-comprobante {
  245.                 width: 27%;
  246.                 clear: both;
  247.             }
  248.             .field--name-field-nro-comprobante { width: 15%; }
  249.             .field--name-field-fecha-comprobante {
  250.                     width: 46%;
  251.                     margin-right: 0px;
  252.             }
  253.             .field--name-field-foto-comprobante {
  254.                 clear: both;
  255.             }
  256.             .field--name-field-monto {
  257.                 label { margin-left: 10px; }
  258.                 input { width: 50%; }
  259.             }
  260.         }
  261.     }
  262. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement