-
Notifications
You must be signed in to change notification settings - Fork 415
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
Apply flex layout to RSS Rule Manager dialog #2691
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e6b2e73
Apply flex layout to RSS Rule Manager dialog
jevenski 1b1031b
Unify dialog window footer buttons list style
jevenski a056109
Make responsive status bar (#2690)
jevenski 6568fb5
Apply flex layout to RSS Rule Manager dialog
jevenski 9e679d5
Unify dialog window footer buttons list style
jevenski 65d4e76
Merge branch 'rssurlrewrite' of https://github.com/jevenski/ruTorrent…
jevenski 3b4f9ef
Apply flex layout to RSS Rule Manager dialog
jevenski d9f7004
Unify dialog window footer buttons list style
jevenski 8e56ee6
Make responsive status bar (#2690)
jevenski 8b6a5dd
Remove unwanted submodule which was added accidentally
jevenski 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 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 |
---|---|---|
@@ -1,7 +1,27 @@ | ||
* { -webkit-touch-callout: none; -webkit-tap-highlight-color: rgba(0,0,0,1.0); } | ||
html, body {border: 0; margin: 0; padding: 0; cursor: default; overflow: hidden; background-color: #F5F5F5; height: 100%;} | ||
html, body, input,select,button,textarea{font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px;} | ||
input[type=file] {border: solid 1px #676774; border-radius: 3px; width: 100%;} | ||
div { | ||
box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
-webkit-box-sizing: border-box; | ||
} | ||
fieldset { | ||
border: 1px solid #D0D0D0; | ||
border-radius:6px; | ||
margin: 0.25rem 0; | ||
padding: 0.25rem 0.5rem; | ||
} | ||
select, input[type=file], input[type=text] { | ||
border: 1px solid #B0B0B0; | ||
border-radius: 3px; | ||
margin: 0.25rem 0; | ||
padding: 0.25rem; | ||
width: 100%; | ||
box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
-webkit-box-sizing: border-box; | ||
} | ||
.light-theme { color-scheme: light; } | ||
.dark-theme { color-scheme: dark; } | ||
:root { | ||
|
@@ -97,18 +117,16 @@ div#t div#plugins {background: transparent url(../images/plugin.png) no-repeat 0 | |
div#t a#mnu_go {margin: 3px 0 0 0; padding: 3px} | ||
div#t #ind {margin-top: 2px; background: transparent url(../images/ajax-loader.gif) no-repeat 0px center; width: 32px; margin-right: 2px; line-height: 26px; cursor: default; } | ||
|
||
input.Textbox, button, input.Button, select {border: 1px solid #B0B0B0; font-size: 11px; padding: 2px} | ||
input.Textbox, button, input.Button {border: 1px solid #B0B0B0; font-size: 11px; padding: 2px} | ||
Input.TextboxShort {border: 1px solid #B0B0B0; font-size: 11px; padding: 2px; width: 50px} | ||
Input.TextboxMid {border: 1px solid #B0B0B0; font-size: 11px; padding: 2px; width: 110px} | ||
Input.TextboxLarge {border: 1px solid #B0B0B0; font-size: 11px; padding: 2px; width: 220px} | ||
Input.TextboxVShort {border: 1px solid #B0B0B0; font-size: 11px; padding: 2px; width: 30px} | ||
button, input.Button {padding: 1px 10px; background: #F0F0F0 url(../images/h.gif) repeat-x center bottom; width: 80px; height: 19px; border: 1px solid #A0A0A0; cursor: pointer } | ||
button[disabled],input.Button[disabled] { opacity: 0.3; cursor: default } | ||
button:not([disabled]):hover, input.Button:not([disabled]):hover { background-color: #F5F5F5; } | ||
button:not([disabled]):hover:active, input.Button:not([disabled]):hover:active { background-color: #FAFAFA; } | ||
#pview_save_view_button { align-self: center; width: 38px; height: 19px; padding: 0px; line-height: 2px; font-size: 19px; } | ||
|
||
select {margin-top: 5px} | ||
a {font-size: 11px; color: #686868} | ||
table#maincont {margin: 5px 0 0 0; min-width: 600px;} | ||
table#maincont td.uicell {vertical-align: top; padding: 0 } | ||
|
@@ -164,8 +182,6 @@ div.algnright {text-align: right; clear: right} | |
.ie .lm li a {margin: 0 0 0 -5px; padding: 0} | ||
.stg_con { display: none; float: right; position: relative; width: 450px; height: 500px; margin: 4px; background-color: var(--settings-background-color); } | ||
.ie9 .stg_con {position: static} | ||
fieldset {margin: 4px} | ||
* > fieldset {border: 1px solid #D0D0D0; -moz-border-radius: 6px; -webkit-border-radius:6px; border-radius:6px;} | ||
.stg_con table {width: 100%} | ||
.stg_con td {font-weight: normal; height: 19px} | ||
.stg_con td.alr {text-align: right} | ||
|
@@ -362,11 +378,13 @@ div.space {flex-grow: 1;} | |
/* No media query for `xs` since this is the default in Bootstrap */ | ||
/* Custom rules for medium devices */ | ||
div#tadd {max-width: 95vw;} | ||
div#tadd .buttons-list { | ||
div.dlg-window .buttons-list { | ||
margin: 0.5rem; | ||
gap: 0.25rem; | ||
display: flex; | ||
flex-direction: column; | ||
flex-direction: row; | ||
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. Change buttons direction from |
||
justify-content: start; | ||
flex-wrap: wrap; | ||
} | ||
div.status-row:not(:first-of-type) { | ||
border-bottom: dotted 1px #A0A0A0; | ||
|
@@ -381,12 +399,13 @@ div.status-row:not(:first-of-type) { | |
@media (min-width: 768px) { | ||
/* Custom rules for medium devices */ | ||
div#tadd {min-width: 600px;} | ||
div#tadd .buttons-list { | ||
div.dlg-window .buttons-list { | ||
margin: 1rem 0.5rem; | ||
gap: 0.25rem; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: end; | ||
flex-wrap: nowrap; | ||
} | ||
div.status-row:not(:first-of-type) { | ||
border-bottom: none; | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,28 +1,75 @@ | ||
div#dlgEditRules {width: 610px; height: 320px; font-size: 11px; font-family: Tahoma, Arial, Helvetica, sans-serif; overflow: visible} | ||
div#dlgEditRules div.dlg-header {background-image: url(./images/rss.gif)} | ||
div#dlgEditRules .row { | ||
margin: 0 0 0.25rem 0; | ||
padding: 0; | ||
} | ||
div#dlgEditRules .row > div { | ||
padding: 0 0.25rem; | ||
margin-bottom: 0.1rem; | ||
} | ||
|
||
.lfc_rur {float: left; } | ||
.lf_rur {width: 245px; height: 200px; margin: 5px; margin-right: 0; padding: 5px; background-color: #FFFFFF; border: 1px solid #D0D0D0; overflow: auto} | ||
.lf_rur ul {width: 100%; margin: 2px; padding: 0; list-style-position: inside; list-style: none; white-space: nowrap} | ||
.lf_rur li input { margin: 0 5px 0 0; padding: 4px; } | ||
.lf_rur li {margin: 0 ; padding: 0} | ||
.lf_rur li input.TextboxFocus { width: 85%; background-color: #CFDEEF; } | ||
.lf_rur li input.TextboxNormal { width: 85%; background-color: #FFFFFF } | ||
.lf_rur li input { border: 0; font-size: 11px; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; cursor: default; font-weight: bold; } | ||
div#RLSchk_buttons {padding-top: 5px; width: 260px; text-align:center} | ||
.rf_rur fieldset {margin: 3px; } | ||
.rf_rur {float: right; margin: 4px; background-color: #FAFAFA} | ||
.rf_rur label {width: 75px; display: block; float: left; margin-top: 5px; margin-bottom: 5px; margin-left: 10px; } | ||
.rf_rur br {clear: left; line-height: 0} | ||
.rf_rur select {width: 305px; margin: 3px; } | ||
.rf_rur input.TextboxLarge {margin: 3px; width: 300px;} | ||
.rf_rur select#RLS_rss { width: 220px;} | ||
.rf_rur input#RLS_test { width: 215px;} | ||
.rf_rur input#RLS_result { width: 215px;} | ||
|
||
.rf_rur input.Button {margin: 3px;} | ||
div#RLS_buttons {clear: both} | ||
.lf_rur { | ||
background-color: #FFFFFF; | ||
border: 1px solid #D0D0D0; | ||
border-radius: 3px; | ||
flex: 1 0 160px; | ||
overflow-y: auto; | ||
} | ||
.lf_rur ul { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: stretch; | ||
margin: 0.25rem; | ||
padding: 0.15rem; | ||
list-style-position: inside; | ||
list-style: none; | ||
white-space: nowrap; | ||
} | ||
.lf_rur li { | ||
display: flex; | ||
flex-direction: row; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
.lf_rur input[type=text] { | ||
flex: 1 1 auto; | ||
} | ||
.lf_rur input.TextboxFocus {background-color: #CFDEEF;} | ||
.lf_rur input.TextboxNormal {background-color: #FFFFFF;} | ||
|
||
#chkRuleBtn {width: 50px} | ||
|
||
/* Custom break point settings for responsiveness */ | ||
|
||
/* X-Small devices (portrait phones, less than 576px) */ | ||
/* No media query for `xs` since this is the default in Bootstrap */ | ||
/* Custom rules for medium devices */ | ||
div#dlgEditRules {max-width: 95vw;} | ||
#rlslist {max-height: 130px;} | ||
|
||
/* Small devices (landscape phones, 576px and up) */ | ||
@media (min-width: 576px) { | ||
/* Custom rules for small devices */ | ||
} | ||
|
||
/* Medium devices (tablets, 768px and up) */ | ||
@media (min-width: 768px) { | ||
/* Custom rules for medium devices */ | ||
div#dlgEditRules {min-width: 600px;} | ||
#rlslist {max-height: 260px;} | ||
} | ||
|
||
/* Large devices (desktops, 992px and up) */ | ||
@media (min-width: 992px) { | ||
/* Custom rules for large devices */ | ||
} | ||
|
||
/* X-Large devices (large desktops, 1200px and up) */ | ||
@media (min-width: 1200px) { | ||
/* Custom rules for x-large devices */ | ||
} | ||
|
||
/* XX-Large devices (larger desktops, 1400px and up) */ | ||
@media (min-width: 1400px) { | ||
/* Custom rules for xx-large devices */ | ||
} |
Oops, something went wrong.
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.
Using this rule to set the buttons lists in all dialog windows.