-
Notifications
You must be signed in to change notification settings - Fork 0
CSS first (poor) attempt: #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kimichael
wants to merge
4
commits into
master
Choose a base branch
from
dz_2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| .add-input { | ||
| -moz-appearance: textfield-multiline; | ||
| -webkit-appearance: textarea; | ||
| font-family: "Helvetica-Neue", serif; | ||
| font-size: 24pt; | ||
| border: 0; | ||
| flex: 1; | ||
| outline: none; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| .remove-button { | ||
| background:url(../../images/icons/close.png); | ||
| background-repeat: no-repeat; | ||
| float: right; | ||
| width: 18px; | ||
| height: 18px; | ||
| margin: 15px 10px; | ||
| border: 0; | ||
| align-self: flex-end; | ||
| visibility: hidden; | ||
| outline: none; | ||
| } | ||
|
|
||
| .todo-item:hover > .remove-button { | ||
| visibility: visible; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,110 @@ | ||
| @font-face { | ||
| font-family: Helvetica-Neue; | ||
| src: url(../fonts/HelveticaNeue.ttf); | ||
| } | ||
|
|
||
| @font-face { | ||
| font-family: Helvetica-Neue-UltraLight; | ||
| src: url(../fonts/HelveticaNeue-UltraLight.otf); | ||
| } | ||
|
|
||
| body { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Почему все эти стили в fonts.css |
||
| background-color: #F5F5F5 | ||
| } | ||
|
|
||
| .todo-header { | ||
| text-align: center; | ||
| } | ||
|
|
||
| .todo-title { | ||
| font-family: "Helvetica-Neue"; | ||
| font-size: 60pt; | ||
| margin :0 auto; | ||
| } | ||
|
|
||
| .todo-main { | ||
| background: #FFFFFF; | ||
| border: 1px solid #E3E3FF; | ||
| width: 560px; | ||
| margin: 0 auto; | ||
| } | ||
|
|
||
| .todo-add { | ||
| display: flex; | ||
| border-bottom: 1px solid #E3E3FF; | ||
| } | ||
|
|
||
| .todo-add_select-all { | ||
| background:url(../images/icons/select-all.png); | ||
| background-repeat: no-repeat; | ||
| width:24px; | ||
| height:12px; | ||
| border: 0; | ||
| margin: 24px 18px; | ||
| } | ||
|
|
||
| .todo-item { | ||
| display: flex; | ||
| min-height: 60px; | ||
| border-bottom: 1px solid #E3E3FF; | ||
| } | ||
|
|
||
| .todo-item:hover { | ||
| background: #F5F5F5; | ||
| } | ||
|
|
||
| .todo-item:hover > .todo-item_remove { | ||
| visibility: visible; | ||
| } | ||
|
|
||
| .todo-item_text { | ||
| border: 0; | ||
| font-family: "Helvetica-Neue"; | ||
| flex: 1 0; | ||
| font-size: 24pt; | ||
| resize: none; | ||
| padding-left: 10px; | ||
| padding-top: 12px; | ||
| outline: none; | ||
| word-break: break-all; | ||
| max-width: 600px; | ||
| } | ||
|
|
||
| .todo-action-bar { | ||
| display: flex; | ||
| height: 40px; | ||
| } | ||
|
|
||
| .todo-action-bar_counter { | ||
| font-family: "Helvetica-Neue", serif; | ||
| float: left; | ||
| margin: 10px 10px; | ||
| font-size: 14pt; | ||
| } | ||
|
|
||
| .todos_filters { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Идентично проблеме ok-technopolis/Shvedov_Oleg#4 (comment) |
||
| flex: 1 0; | ||
| overflow: hidden; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .todos_filter { | ||
| text-align: center; | ||
| font-family: "Helvetica-Neue", serif; | ||
| font-size: 14pt; | ||
| border: 0; | ||
| background: #FFFFFF; | ||
| margin: 10px 6px; | ||
| } | ||
|
|
||
| .todos_filter.__active { | ||
| border: 1px solid #ebdfdf; | ||
| border-radius: 2px; | ||
| } | ||
|
|
||
| .todo-action-bar_clear-completed { | ||
| float: right; | ||
| font-family: "Helvetica-Neue", serif; | ||
| border: 0; | ||
| background: #FFFFFF; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| .todo-action-bar { | ||
| display: flex; | ||
| height: 40px; | ||
| } | ||
|
|
||
| .todo-action-bar_counter { | ||
| font-family: "Helvetica-Neue", serif; | ||
| float: left; | ||
| margin: 10px 10px; | ||
| font-size: 14pt; | ||
| } | ||
|
|
||
| .todo-action-bar_clear-completed { | ||
| float: right; | ||
| font-family: "Helvetica-Neue", serif; | ||
| border: 0; | ||
| background: #FFFFFF; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| .todo-add { | ||
| display: flex; | ||
| border-bottom: 1px solid #E3E3FF; | ||
| } | ||
|
|
||
| .todo-add_select-all { | ||
| background:url(../../../images/icons/select-all.png); | ||
| background-repeat: no-repeat; | ||
| width:24px; | ||
| height:12px; | ||
| border: 0; | ||
| margin: 24px 18px; | ||
| outline: none; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| .todo-header { | ||
| text-align: center; | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| .todo-item { | ||
| display: flex; | ||
| min-height: 60px; | ||
| border-bottom: 1px solid #E3E3FF; | ||
| } | ||
|
|
||
| .todo-item:hover { | ||
| background: #F5F5F5; | ||
| } | ||
|
|
||
| .todo-item_text { | ||
| border: 0; | ||
| font-family: "Helvetica-Neue"; | ||
| flex: 1 0; | ||
| font-size: 24pt; | ||
| resize: none; | ||
| padding-left: 10px; | ||
| padding-top: 12px; | ||
| outline: none; | ||
| word-break: break-all; | ||
| max-width: 600px; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| .todo-main { | ||
| background: #FFFFFF; | ||
| border: 1px solid #E3E3FF; | ||
| width: 560px; | ||
| margin: 0 auto; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| .todo-title { | ||
| font-family: "Helvetica-Neue"; | ||
| font-size: 60pt; | ||
| margin :0 auto; | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| .todos_filters { | ||
| flex: 1 0; | ||
| overflow: hidden; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .todos_filter { | ||
| text-align: center; | ||
| font-family: "Helvetica-Neue", serif; | ||
| font-size: 14pt; | ||
| border: 0; | ||
| background: #FFFFFF; | ||
| margin: 10px 6px; | ||
| outline: none; | ||
| } | ||
|
|
||
| .todos_filter.__active { | ||
| border: 1px solid #ebdfdf; | ||
| border-radius: 2px; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| @font-face { | ||
| font-family: Helvetica-Neue; | ||
| src: url(../fonts/HelveticaNeue.ttf); | ||
| } | ||
|
|
||
| @font-face { | ||
| font-family: Helvetica-Neue-UltraLight; | ||
| src: url(../fonts/HelveticaNeue-UltraLight.otf); | ||
| } | ||
|
|
||
| body { | ||
| background-color: #F5F5F5 | ||
| } | ||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это платные шрифты, их не надо подключать