diff --git a/Readme.md b/Readme.md index e69de29..1cc7763 100644 --- a/Readme.md +++ b/Readme.md @@ -0,0 +1 @@ +AngularJS Training \ No newline at end of file diff --git a/css/styles.css b/css/styles.css new file mode 100644 index 0000000..5146183 --- /dev/null +++ b/css/styles.css @@ -0,0 +1,166 @@ +body{ + font-family: Calibri; +} + +u{ + padding-bottom: 30px; +} + +header { + color: forestgreen; + font-size: 2em; + font-weight: bold; + display: flex; + flex-flow: row wrap; +} + +section { + border: solid 0.5px #95c9bc; +} + +section > header { + background-color: #95c9bc; + width: 100%; +} + +section > footer { + background-color: lightgray; + width: 100%; + display: flex; + flex-flow: row wrap; + justify-content: center; +} + +article{ + padding: 8px; +} + +button { + margin: 5px; + background-color: #95c9bc; + color: #ffffff; + padding: 5px; + display: inline-block; + font-weight: normal; + text-align: center; + vertical-align: middle; + cursor: pointer; + border: 1px solid transparent; + white-space: nowrap; + font-size: 14px; +} + +header > h1 { + margin: 5px; + color: black; + font-size: 24px; +} + +form{ + display: flex; + flex-flow: row wrap; + justify-content: space-between; +} + +.form-side{ + margin-top: 20px; +} + +.form-item{ + display: flex; + vertical-align: middle; + width: 100%; + margin-bottom: 25px; + margin-top: 10px; +} + +label{ + font-weight: bold; + display: inline-block; + width: 200px; + float:left; + position: relative; + align-self: center; +} + +label > span{ + color: red; +} + + +input, textarea, select { + width : 350px; + margin: 0; + + -webkit-box-sizing: border-box; /* For legacy WebKit based browsers */ + -moz-box-sizing: border-box; /* For legacy (Firefox <29) Gecko based browsers */ + box-sizing: border-box; +} + +input[type='checkbox']{ + width: 30px; +} + +textarea{ + height: 90px; + resize: none; +} + +.checkboxes{ + display: inline-block; + margin-bottom: 0; + vertical-align: middle; +} + +.checkbox { + position: relative; + display: block; + margin-top: 10px; + margin-bottom: 10px; +} + +.mainmenubtn { + color: black; + border: none; + cursor: pointer; +} + +.mainmenubtn:hover { + font-weight: bold; +} + +.dropdown { + position: relative; + display: inline-block; +} +.dropdown-child { + display: none; + background-color: #abe1d4; + min-width: 110px; +} +.dropdown-child a { + color: black; + font-size: 13px; + padding: 10px; + padding-top: 5px; + text-decoration: none; + display: block; +} + +.dropdown-child a:hover { + font-weight: bold; + cursor: pointer; + background-color: #95c9bc; +} + +.dropdown:hover .dropdown-child { + display: block; + z-index: 9999; + position: absolute; +} + +@media (max-width: 768px) { + input, textarea, select { + width : 100%; + } +} \ No newline at end of file diff --git a/html/formulario.html b/html/formulario.html new file mode 100644 index 0000000..5db9797 --- /dev/null +++ b/html/formulario.html @@ -0,0 +1,149 @@ + + +
+ + + +