Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.05 KB | None | 0 0
  1. * {
  2. box-sizing: border-box;
  3. }
  4.  
  5.  
  6. body {
  7. background: #efefef;
  8. }
  9.  
  10. // Centralizando o container
  11. .container{
  12. margin: 2% auto;
  13. //min-width: 1200px;
  14. padding: 1.5em;
  15. }
  16.  
  17. // Fonte e tamanho do texto "Cadastro Transporte Universitário"
  18. h1,h2,h3,h4{
  19. font-family: Catamaran,Helvetica,Arial,sans-serif;
  20. font-weight: 200;
  21. letter-spacing: 1px;
  22. }
  23. h4{
  24. text-align: center;
  25. margin-top: -10px;
  26. margin-bottom: 25px;
  27. }
  28.  
  29. // Formulário do transporte universitário
  30. .form-control {
  31. display: block;
  32. width: 100%;
  33. padding: .375rem .75rem;
  34. font-size: 1rem;
  35. line-height: 1.5;
  36. color: #495057;
  37. background-color: #fff;
  38. background-clip: padding-box;
  39. border: 1px solid #ced4da;
  40. border-radius: .25rem;
  41. transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  42. }
  43.  
  44. /*********************** Card *************************/
  45. .card{
  46. border : none;
  47. }
  48. .card label {
  49. font-size: 14px;
  50. font-weight: 400;
  51. color: #4d4848;
  52. margin-bottom: 5px;
  53. text-transform: uppercase;
  54. }
  55. .card-header{
  56. background-color:#18638c;
  57. height: 50px;
  58. text-transform: uppercase;
  59. color: white;
  60. text-align: center;
  61. }
  62.  
  63. .table{
  64. font-size: 14px;
  65. td , #periodosOnibus{
  66. text-align: center;
  67. }
  68. .form-check-input{
  69. width: 15px;
  70. height: 15px;
  71. }
  72. }
  73.  
  74.  
  75.  
  76. ul {
  77. list-style-type: none;
  78. overflow: hidden;
  79. margin: 0;
  80. padding: 0;
  81. }
  82. p, li, a{
  83. font-size: 16px;
  84. }
  85.  
  86. button{
  87. border-radius: 5%;
  88. }
  89. hr.header{
  90. border : 0;
  91. height: 1px;
  92. background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  93. }
  94.  
  95. /******** Barra de progresso (Dados/Endereço/Dados da instituição/Importação de documentos/Salvar) ***********/
  96. .divStepIndication{
  97. margin-bottom: 1%;
  98. }
  99.  
  100. .rvt-steps {
  101. list-style: none;
  102. counter-reset: step;
  103. display: flex;
  104. justify-content: space-between;
  105. flex-wrap: wrap;
  106. margin: 0;
  107. padding: 0;
  108. position: relative;
  109.  
  110. &__label {
  111. margin-top: .5rem;
  112. display: inline-block;
  113. }
  114.  
  115. li {
  116. text-align: center;
  117. flex-grow: 1;
  118. position: relative;
  119. z-index: 2;
  120.  
  121. //cor barra li complete
  122. &.is-complete:after{
  123. background-color: green;
  124. }
  125. // cor barra li has error
  126. &.has-error:after{
  127. background-color: #df3603;
  128. }
  129. &:after {
  130. content: " ";
  131. display: block;
  132. height: .2rem; // largura da barra
  133. background-color: #eee;
  134. position: relative;
  135. /**
  136. * NOTE:
  137. *
  138. * Setting a specific position like this seems fragile.
  139. * I wonder if there's a better way to do this?
  140. */
  141. // posição da barra
  142. top: -3.0rem;
  143. z-index: 0;
  144. }
  145.  
  146. &:first-child:after {
  147. width: 50%;
  148. left: 50%;
  149. }
  150.  
  151. &:last-child:after {
  152. width: 50%;
  153. }
  154.  
  155. &:before {
  156. z-index: 999;
  157. position: relative;
  158. counter-increment: step;
  159. content: counter(step);
  160. display: block;
  161. width: 2rem;
  162. height: 2rem;
  163. text-align: center;
  164. border-radius: 50%;
  165.  
  166. border: 2px solid #aaa;
  167. background-color: #eeeeee;
  168.  
  169. margin-right: auto;
  170. margin-left: auto;
  171. }
  172.  
  173. a {
  174. color: #333;
  175. text-decoration: none;
  176.  
  177. &:hover span {
  178. text-decoration: underline;
  179. }
  180. }
  181. }
  182.  
  183. .is-complete {
  184. &:before {
  185. border-color: #008a28;
  186. color: #fff;
  187. //content: " ";
  188. //background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICAgIDxwYXRoIGZpbGw9IiMwMDhhMjgiIGQ9Ik02LjcyLDEzbC0uNDgtLjM2LTMtM0ExLDEsMCwwLDEsNC43MSw4LjI5bDIuMTEsMi4xMiw0LjMzLTYuOTRhMSwxLDAsMCwxLDEuNywxLjA2TDcuNjQsMTIuODdaIi8+Cjwvc3ZnPgo=");
  189. background-color: #008a28;
  190. background-repeat: no-repeat;
  191. background-position: 50% 50%;
  192. background-size: 20px 20px;
  193. }
  194. }
  195.  
  196. .has-error {
  197.  
  198. &:before {
  199. color: #fff;
  200. border-color: #df3603;
  201. // content: " ";
  202. //background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICAgIDx0aXRsZT5FeGNsYW1hdGlvbiBpY29uPC90aXRsZT4KICAgIDxnIGZpbGw9IiNkZjM2MDMiPgogICAgICAgIDxwYXRoIGQ9Ik04LDExYTEsMSwwLDAsMS0xLTFWM0ExLDEsMCwwLDEsOSwzdjdBMSwxLDAsMCwxLDgsMTFaIi8+CiAgICAgICAgPGNpcmNsZSBjeD0iOCIgY3k9IjEzIiByPSIxIi8+CiAgICA8L2c+Cjwvc3ZnPgo=");
  203. // background-color: #fdeee8;
  204. background-color: #df3603;
  205. background-repeat: no-repeat;
  206. background-position: 50% 50%;
  207. background-size: 20px 20px;
  208. }
  209. }
  210.  
  211. .is-current {
  212. // box-shadow: inset 0 0 0 3px #6a3;
  213.  
  214. font-weight: 700;
  215.  
  216. &:before {
  217. border: 2.5px solid #006298;
  218. background-color: #006298;
  219. color: #fff;
  220. }
  221. }
  222. }
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247. html, body {
  248. height: 100%;
  249. }
  250.  
  251. body {
  252. font-family: 'Open Sans', sans-serif;
  253. background: #1D1F20;
  254. color: cadetblue;
  255. }
  256.  
  257. .wrapper {
  258. max-width: 800px;
  259. margin: 30px auto;
  260. }
  261.  
  262. .photo_submit-container {
  263. display: flex;
  264. max-width: 800px;
  265. margin: 0 auto;
  266. flex-direction: row;
  267. flex-wrap: wrap;
  268. justify-content: center;
  269. padding: 0;
  270. }
  271.  
  272. .photo_submit {
  273. position: relative;
  274. display: flex;
  275. flex-direction: column;
  276. align-items: center;
  277. justify-content: center;
  278. width: 300px;
  279. height: 150px;
  280. background: #dae0e5;
  281. border-radius: 8px;
  282.  
  283. &:hover {
  284. cursor: pointer;
  285. background: darken(#f8f8f8, 5%);
  286. }
  287.  
  288. &:nth-child(2),
  289. &:nth-child(4){
  290. margin-left: 1rem;
  291. }
  292.  
  293. &:nth-child(3),
  294. &:nth-child(4){
  295. margin-top: 1rem;
  296. }
  297. background-repeat: no-repeat;
  298. background-size: 50%;
  299. background-position: center;
  300.  
  301.  
  302. }
  303.  
  304.  
  305. .photo_submit-input {
  306. display: none;
  307. }
  308.  
  309. .photo_submit-plus {
  310. position: relative;
  311. width: 45px;
  312. height: 45px;
  313. border-radius: 50%;
  314. background: cadetblue;
  315. pointer-events: none;
  316.  
  317. &:after {
  318. position: absolute;
  319. top: 50%;
  320. left: 50%;
  321. transform: translate(-46%, -52%);
  322. content: '+';
  323. font-size: 36px;
  324. color: #fff;
  325. }
  326.  
  327. .photo_submit--image & {
  328. display: none;
  329. }
  330. }
  331.  
  332. .photo_submit-uploadLabel {
  333. margin-top: 1rem;
  334. font-size: 21px;
  335. color: cadetblue;
  336. letter-spacing: 0.03em;
  337. pointer-events: none;
  338. text-align: center;
  339.  
  340. .photo_submit--image & {
  341. display: none;
  342. }
  343. }
  344.  
  345. .photo_submit-delete {
  346. display: none;
  347. position: absolute;
  348. top: 20px;
  349. right: 20px;
  350.  
  351. width: 24px;
  352. height: 24px;
  353.  
  354. background: #f8f8f8;
  355.  
  356. border-radius: 50%;
  357.  
  358. text-indent: -9999px;
  359. cursor: pointer;
  360.  
  361. &:before,
  362. &:after {
  363. position: absolute;
  364. top: 50%;
  365. left: 50%;
  366. width: 2px;
  367. height: 12px;
  368.  
  369. background-color: cadetblue;
  370.  
  371. content: '';
  372. }
  373.  
  374. &:before {
  375. transform: translate(-50%, -50%) rotate(45deg);
  376. }
  377.  
  378. &:after {
  379. transform: translate(-50%, -50%) rotate(-45deg);
  380. }
  381.  
  382. &:hover {
  383. background: #ccc;
  384. }
  385.  
  386. .photo_submit--image & {
  387. display: inline-block;
  388. }
  389. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement