intfiction.org

The Interactive Fiction Community Forum
It is currently Sat Jul 21, 2018 10:17 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Apr 06, 2018 8:28 pm 
Offline

Joined: Thu Apr 03, 2014 9:44 am
Posts: 138
Hello,

I'm wondering if there's a way to change the style of notifications in Vorple? I'd like to change the colors of the pop-up box and its text if I can.

Thanks!


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sat Apr 07, 2018 3:00 pm 
Offline

Joined: Tue Dec 25, 2007 10:06 am
Posts: 1530
You need to add some custom CSS:

Code:
.toast-message {
    color: #ff0000;
}

#toast-container > .toast-info {
    background-image: none;
    background-color: #00ff00;
}

Replace .toast-info with the type of notification you want (.toast-info, .toast-success, .toast-warning or .toast-danger).

_________________
BlogTextureVorple


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sat Apr 07, 2018 3:59 pm 
Offline

Joined: Thu Apr 03, 2014 9:44 am
Posts: 138
Thanks! One other question (and thanks for helping with this -- I'm sort of trying to learn css as I do this), how would I refer to the name of the notification title, so I can change that color too? I'd all like the text to be black and the background white; I wouldn't mind changing the color of the little info balloon too, which is white as well.

EDIT: I figured out

Code:
.toast-title {
   color: black;
}


which leaves me with just the info balloon graphic!

Thanks again! I really like the way Vorple looks. At some point I'll have a project to share that wouldn't look nearly as nice without it.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group