app.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. app {
  2. position: fixed;
  3. height: 100vh;
  4. width: 100vw;
  5. box-sizing: border-box;
  6. border-right: 1px solid red;
  7. font-family: 'Roboto', sans-serif;
  8. overflow-y: auto;
  9. overflow-y: auto;
  10. padding-top: 64px;
  11. }
  12. app md-toolbar {
  13. top: 0px;
  14. position: fixed;
  15. user-select: none;
  16. }
  17. ul {
  18. margin: 0px;
  19. padding: 0px;
  20. list-style: none;
  21. box-sizing: border-box;
  22. }
  23. app .content {}
  24. /* header */
  25. .header-user {
  26. display: flex;
  27. align-items: center;
  28. }
  29. .header-user>*:not(:first-child) {
  30. margin: 0px 12px;
  31. display: flex;
  32. }
  33. .header-user ul {
  34. display: flex;
  35. flex-direction: column;
  36. font-size: 15px;
  37. }
  38. .header-user>:first-child {
  39. font-size: 46px;
  40. }
  41. .header-user ul li:last-child {
  42. font-size: 12px;
  43. color: rgba(255, 255, 255, 0.75);
  44. }
  45. /* fim do header */
  46. .login-input-container .material-icons {
  47. position: absolute;
  48. left: 0px;
  49. color: rgba(0, 0, 0, .5);
  50. }
  51. .noticias-container {
  52. overflow: auto
  53. }
  54. .noticias-painel {
  55. display: flex;
  56. flex-direction: row;
  57. justify-content: center;
  58. align-items: center;
  59. margin: 40px 30px;
  60. flex-wrap: wrap;
  61. list-style: none;
  62. box-sizing: border-box;
  63. }
  64. .noticia {
  65. text-decoration: none;
  66. cursor: pointer;
  67. width: 280px;
  68. max-width: 340px;
  69. height: 300px;
  70. background: #fefefe;
  71. color: rgba(0, 0, 0, 0.7);
  72. overflow: hidden;
  73. max-height: 340px;
  74. margin: 10px;
  75. display: flex;
  76. box-shadow: 0 1px 7px rgba(0, 0, 0, .05);
  77. border: 1px solid #00000017;
  78. border-radius: 6px;
  79. flex-direction: column;
  80. position: relative;
  81. justify-content: space-between;
  82. }
  83. .noticia-actions {
  84. display: flex;
  85. justify-content: space-between;
  86. /* background: #0000000d; */
  87. /* border-radius: 54px; */
  88. /* margin: 10px; */
  89. font-size: 15px;
  90. align-items: center;
  91. }
  92. .noticia-actions li {
  93. padding: 0 10px;
  94. display: flex;
  95. }
  96. figure {
  97. margin: 1em 0px;
  98. }
  99. .publicado-em {
  100. font-size: 12px;
  101. color: rgba(0, 0, 0, .5);
  102. }
  103. .tags {
  104. display: flex;
  105. flex-wrap: wrap;
  106. }
  107. .tags li {
  108. background: #00000012;
  109. padding: 5px 8px;
  110. box-sizing: border-box;
  111. font-size: 12px;
  112. border-radius: 5px;
  113. margin-right: 10px;
  114. margin-top: 7px;
  115. }
  116. .noticia>:not(:first-child) {
  117. padding: 8px
  118. }
  119. .noticia-img {
  120. overflow: hidden;
  121. background: #00000017;
  122. height: 80px;
  123. min-height: 80px;
  124. }
  125. .noticia-img img {
  126. width: 100%;
  127. transform: translateY(-60px);
  128. opacity: 0.8;
  129. }
  130. .avatar {
  131. border-radius: 50%
  132. }
  133. .noticia-header-box>div {
  134. margin-bottom: 10px
  135. }
  136. .noticia-h3 {
  137. letter-spacing: -.02em;
  138. font-weight: 600;
  139. font-style: normal;
  140. letter-spacing: 0;
  141. font-size: 15px;
  142. line-height: 24px;
  143. letter-spacing: -.29px;
  144. }
  145. .login {
  146. position: fixed;
  147. top: 0px;
  148. left: 0px;
  149. right: 0px;
  150. bottom: 0px;
  151. display: flex;
  152. flex-direction: column;
  153. justify-content: center;
  154. align-items: center;
  155. box-sizing: border-box;
  156. top: 0;
  157. left: 0;
  158. right: 0;
  159. bottom: 0;
  160. display: flex;
  161. flex-direction: column;
  162. justify-content: center;
  163. align-items: center;
  164. box-sizing: border-box;
  165. background-position: center;
  166. background-repeat: no-repeat;
  167. background-size: cover;
  168. background-color: #77aa77;
  169. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 2 1'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%2377aa77'/%3E%3Cstop offset='1' stop-color='%234fd'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23cf8' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23cf8' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='2' y2='2'%3E%3Cstop offset='0' stop-color='%23cf8' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23cf8' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='2' height='1'/%3E%3Cg fill-opacity='0.5'%3E%3Cpolygon fill='url(%23b)' points='0 1 0 0 2 0'/%3E%3Cpolygon fill='url(%23c)' points='2 1 2 0 0 0'/%3E%3C/g%3E%3C/svg%3E");
  170. background-attachment: fixed;
  171. background-size: cover;
  172. }
  173. .login-container {
  174. box-shadow: 0 0 4px #000000a6;
  175. background: #fff;
  176. height: 500px;
  177. width: 450px;
  178. border-radius: 5px;
  179. display: grid;
  180. grid-template-rows: auto 1fr;
  181. box-sizing: border-box;
  182. }
  183. .logo-container {
  184. padding: 40px 20px 0px;
  185. transition: all var(--duration-step) ease-out;
  186. /* height: 200px; */
  187. height: 100px;
  188. justify-content: center;
  189. display: flex;
  190. flex-direction: column;
  191. align-items: center;
  192. position: relative;
  193. box-sizing: border-box;
  194. }
  195. .project-name {
  196. color: #7d7d7d;
  197. margin: 0px 10px;
  198. font-size: 20px;
  199. transition: all var(--duration-step) cubic-bezier(0.45, 0.05, 0.55, 0.95);
  200. box-sizing: border-box;
  201. }
  202. .reduce {
  203. height: 100px;
  204. /* flex-direction: row; */
  205. /* justify-content: start; */
  206. }
  207. .logo {
  208. transition: all var(--duration-step) cubic-bezier(0.45, 0.05, 0.55, 0.95);
  209. height: 100px;
  210. width: 100px;
  211. }
  212. .reduce .logo {
  213. transform: translate(-170px);
  214. height: 48px;
  215. }
  216. .reduce .project-name {
  217. font-size: 16px;
  218. transform: translate(-84px, -34px);
  219. }
  220. .login-step-container {
  221. /* border: 1px solid blue; */
  222. display: flex;
  223. /* flex-direction: row; */
  224. /* overflow-x: scroll; */
  225. /* flex-wrap: nowrap; */
  226. /* overflow-y: hidden; */
  227. /* flex-basis: 1; */
  228. /* overflow: hidden; */
  229. /* flex-flow: wrap; */
  230. overflow: hidden;
  231. box-sizing: border-box;
  232. }
  233. .login-step-container>ul {
  234. display: flex;
  235. flex-direction: row;
  236. }
  237. .login-step {
  238. /* border: 1px solid forestgreen; */
  239. height: 100%;
  240. width: 450px;
  241. /* transform: translateY(-340px); */
  242. transition: all var(--duration-step) ease;
  243. box-sizing: border-box;
  244. }
  245. .user-info {
  246. display: flex;
  247. flex-direction: column;
  248. align-items: center;
  249. }
  250. .user-data {
  251. display: flex;
  252. flex-direction: column;
  253. align-items: center;
  254. }
  255. .user-data span:first-child {
  256. font-size: 18px;
  257. }
  258. .user-data span:last-child {
  259. font-size: 14px;
  260. }
  261. .avatar {
  262. border-radius: 50%;
  263. height: 64px;
  264. width: 64px;
  265. }
  266. .login-input-container {
  267. padding: 25px 40px;
  268. display: flex;
  269. flex-direction: column;
  270. width: 100%;
  271. }
  272. .login-input-container li {
  273. padding: 10px;
  274. }
  275. .signin-actions {
  276. display: flex;
  277. flex-direction: row;
  278. justify-content: space-between;
  279. align-items: center;
  280. }
  281. .signin-actions a {
  282. text-decoration: none;
  283. font-weight: 500;
  284. font-size: 16px;
  285. }
  286. .login-reset .signin-actions {
  287. justify-content: flex-end;
  288. }
  289. .login-input-container .reset-text {
  290. align-items: flex-start;
  291. }
  292. .login-input-container .user-data {
  293. align-items: flex-start;
  294. justify-content: flex-start;
  295. }
  296. .login-error {
  297. transition: all .15s ease-out;
  298. margin: 0px;
  299. font-size: 14px;
  300. color: #b12a21;
  301. margin-left: 12px;
  302. margin-top: -6px;
  303. }