Skip to content

Commit

Permalink
Proper Styling for TSS
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaopengLin committed Nov 13, 2024
1 parent 49e3fae commit c62418d
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
61 changes: 61 additions & 0 deletions resources/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -400,3 +400,64 @@ ContentTypeFilter {
width: 0;
height: 0;
}

/* ----------------------------------------
Text to Speech Page
*/

TextToSpeechBar {
border-top: 1px solid #ccc;
}

TextToSpeechBar #closeButton {
outline: none;
max-height: 36px;
max-width: 36px;
border: 1px solid #ccc;
border-radius: 0;
}

TextToSpeechBar #stopButton {
outline: none;
max-height: 36px;
padding: 0px 10px;

background-color: white;
border: 1px solid #ccc;
border-radius: 0;
}

TextToSpeechBar #stopButton:hover {
background-color: #D9E9FF;
border: 1px solid #3366CC;
}

TextToSpeechBar #stopButton:disabled {
color: grey;
background-color: darkgrey;
}

TextToSpeechBar QComboBox::drop-down {
height: 22px;
width: 15px;
padding: 0px 2px;
margin: 0px;

image: url(":/icons/drop-down.svg");
background-color: white;
}

TextToSpeechBar QComboBox {
background-color: white;
border: 1px solid #ccc;
}

TextToSpeechBar QAbstractItemView QScrollBar {
width: 5px;
border: none;
outline: none;
}

TextToSpeechBar QAbstractItemView QScrollBar::handle {
background-color: grey;
}
3 changes: 3 additions & 0 deletions resources/icons/drop-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/kiwix.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@
<file>icons/more-vertical.svg</file>
<file>icons/caret-left-solid.svg</file>
<file>icons/stop-circle.svg</file>
<file>icons/drop-down.svg</file>
</qresource>
</RCC>

0 comments on commit c62418d

Please sign in to comment.