Skip to content
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

Implemented about section of help page #91

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .parcelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": ["@parcel/config-default"],
"reporters": ["...", "parcel-reporter-static-files-copy"]
}
24 changes: 23 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"elm-test": "0.19.1-revision6",
"node-elm-compiler": "^5.0.6",
"npm-run-all": "4.1.5",
"parcel": "^2.0.0"
"parcel": "^2.0.0",
"parcel-reporter-static-files-copy": "^1.3.4"
}
,"staticFiles": {
"staticPath": "./public/static/"
}
}
27 changes: 16 additions & 11 deletions public/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
src: url("./opensans.woff") format("woff");
}

.input-range-container {
}
.input-range-container {}

/* In the case of the double slider, each individual slider has it's width set to 100% of the parent element. Therefore, in order to set a fixed width, it is recommended to set it on the parent element and not override the width of the range slider. This is to ensure the flexibility of the component. */
.input-range-container,
Expand Down Expand Up @@ -108,14 +107,14 @@
cursor: not-allowed;
}

.input-range:disabled ~ .input-range__track,
.input-range:disabled:hover ~ .input-range__track {
.input-range:disabled~.input-range__track,
.input-range:disabled:hover~.input-range__track {
cursor: not-allowed;
background-color: rgb(42, 43, 44);
}

.input-range:disabled ~ .input-range__progress,
.input-range:disabled:hover ~ .input-range__progress {
.input-range:disabled~.input-range__progress,
.input-range:disabled:hover~.input-range__progress {
cursor: not-allowed;
background-color: #dcdee1;
}
Expand Down Expand Up @@ -173,6 +172,12 @@

.input-range__progress {
background-color: rgb(51, 51, 51);
border-right: 7px solid rgba(0, 0, 0, 0);
transition: border-color 0.2s linear;
}

.input-range__progress:hover {
border-right: 7px solid rgb(99, 97, 97);
}

.input-range-labels-container {
Expand Down Expand Up @@ -245,30 +250,30 @@ h2 {
color: #2b2f30;
}

.markdown p > code {
.markdown p>code {
background-color: #f5f5f5;
padding: 2px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 0.9em;
}

.markdown p > code:hover {
.markdown p>code:hover {
border: 1px solid #12b2e7;
border-radius: 4px;
color: #12b2e7;
}

.markdown li > code {
.markdown li>code {
background-color: #f5f5f5;
padding: 2px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 0.9em;
}

.markdown li > code:hover {
.markdown li>code:hover {
border: 1px solid #12b2e7;
border-radius: 4px;
color: #12b2e7;
}
}
Binary file added public/static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 13 additions & 2 deletions src/Components/RightSidebar.elm
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ module Components.RightSidebar exposing (view)

import Colors exposing (greyIcon)
import Components.LayoutType exposing (ShowRightSidebarMenu)
import Element exposing (Attribute, Element, alignRight, centerX, centerY, column, el, fill, height, htmlAttribute, padding, paddingXY, px, rgb, row, spacing, text, width)
import Element exposing (Attribute, Element, alignRight, centerX, centerY, column, el, fill, height, htmlAttribute, image, padding, paddingXY, px, rgb, row, spacing, text, width)
import Element.Background as Background
import Element.Font as Font
import Element.Input as Input
import Html.Attributes
import Material.Icons as Filled
Expand All @@ -17,7 +18,17 @@ view { showRightSidebarMenu, showRightSidebarMenuMsg, clearPlaylistMsg, refreshP
column
[ height (px panelHeight), width (px 400), Background.color Colors.playlistHeaderBackground, alignRight, htmlAttribute <| Html.Attributes.style "pointer-events" "all" ]
[ row [ width fill ]
[ Input.button [ Background.color Colors.backgroundKodi, height (px 50), width (px 100), padding 8 ] { onPress = Just rightSidebarMsg, label = Element.text "Kodi" }
[ Input.button [ Background.color Colors.backgroundKodi, height (px 50), width (px 100), padding 8 ]
{ onPress = Just rightSidebarMsg
, label =
Element.row []
[ image [ width (px 15), height (px 15), paddingXY 15 0 ]
{ description = ""
, src = "logo.png"
}
, el [ Font.color (Element.rgb255 18 178 231) ] (text " Kodi")
]
}
, Input.button [ Background.color Colors.backgroundLocal, height (px 50), width (px 100), padding 8 ]
{ onPress = Just rightSidebarMsg
, label =
Expand Down
Loading