This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
teemant-old/public/main.styl

279 lines
8.6 KiB
Stylus
Raw Normal View History

2016-09-28 18:00:57 +00:00
// Run `stylus -w styl -o css` to compile
2016-09-25 18:48:35 +00:00
props(prop, args)
-webkit-{prop} args
-moz-{prop} args
-ms-{prop} args
-o-{prop} args
{prop} args
transition()
props('transition', arguments)
2016-09-22 15:41:37 +00:00
body
margin: 0
padding: 0
font-family: Open Sans, Everson Mono, Helvetica
2016-09-22 17:15:40 +00:00
.grade1
margin-bottom: 0
margin-top: 0
display: block
text-align: center
.grade2
margin-bottom: 0
margin-top: 20px
display: block
text-align: center
.grade3
margin-bottom: 0
margin-top: 20px
display: block
text-align: center
.ircclient
position: absolute
width: 100%
height: 100%
.coverwindow
position: absolute
width: 100%
height: 100%
&#authdialog
z-index: 100
2016-09-22 17:15:40 +00:00
.wrapper
width: 320px
margin: auto
margin-top: 5%
padding: 15px
label
display: block
font-size: 80%
margin-top: 5px
2016-09-27 15:59:09 +00:00
&.autosize
width: auto
display: inline-block !important
font-size: 90% !important
margin-bottom: 10px
input[type=text], input[type=number], input[type=password]
2016-09-22 17:15:40 +00:00
padding: 8px;
width: 300px;
border-radius: 5px;
input[type="submit"]
width: 318px;
padding: 12px;
margin-top: 20px;
display: block;
border-radius: 4px;
font-size: 120%;
font-weight: bold;
text-transform: uppercase;
cursor: pointer
2016-09-23 07:38:47 +00:00
#chat
2016-09-25 18:48:35 +00:00
overflow: hidden;
2016-09-23 07:38:47 +00:00
.ircwrapper
position: absolute
width: 100%
height: 100%
.toolbar
height: 56px
position: relative
2016-09-23 15:42:59 +00:00
z-index: 15
2016-09-25 18:48:35 +00:00
.open_settings
width: 36px;
height: 36px;
2016-09-23 07:38:47 +00:00
display: inline-block;
2016-09-25 18:48:35 +00:00
position: absolute;
right: 10px;
top: 10px;
cursor: pointer;
transition transform 0.2s linear
&:hover
transform: rotateZ(-90deg);
2016-09-23 07:38:47 +00:00
.tabby
2016-09-28 18:00:57 +00:00
display: inline-block
height: 56px
position: absolute
right: 45px
left: 0
white-space: nowrap
overflow-x: auto
overflow-y: hidden
2016-09-23 07:38:47 +00:00
.tab
display: inline-block;
min-width: 60px;
height: 25px;
margin: 5px;
margin-right: 0;
padding: 10px;
line-height: 25px;
2016-09-25 18:48:35 +00:00
transition background-color 0.2s linear
2016-09-23 07:38:47 +00:00
border-radius: 5px;
cursor: pointer;
font-weight: 600;
2016-09-23 09:47:12 +00:00
#unread
display: inline-block;
2016-09-23 15:42:59 +00:00
min-width: 18px;
height: 18px;
2016-09-23 09:47:12 +00:00
text-align: center;
2016-09-23 15:42:59 +00:00
font-size: 12px;
2016-09-23 09:47:12 +00:00
margin: 0 5px;
2016-09-23 15:42:59 +00:00
line-height: 20px;
2016-09-23 09:47:12 +00:00
border-radius: 100%;
&.none
display: none;
2016-09-23 07:38:47 +00:00
#close
display: inline-block;
width: 12px;
text-align: center;
2016-09-25 18:48:35 +00:00
margin-left: 5px
2016-09-28 18:00:57 +00:00
2016-09-23 07:38:47 +00:00
.chatarea
position: absolute;
top: 56px;
width: 100%;
bottom: 46px;
2016-09-23 15:42:59 +00:00
.smsc-nicklistbtn
width: 46px;
height: 46px;
position: absolute;
top: 16px;
right: 16px;
border-radius: 100%;
display: none;
opacity: 0.5;
cursor: pointer;
2016-09-23 07:38:47 +00:00
.topicbar
position: absolute;
top: 0;
height: 20px;
right: 0;
left: 0;
padding: 12px;
display: none;
overflow: hidden;
2016-09-24 17:30:39 +00:00
z-index: 10
2016-09-24 16:09:03 +00:00
&:hover
height: auto
2016-09-24 17:30:39 +00:00
max-height: 100px
overflow: auto
2016-09-24 16:09:03 +00:00
word-wrap: break-word
2016-09-23 07:38:47 +00:00
.letterbox
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
2016-09-23 09:47:12 +00:00
overflow-y: auto;
white-space: pre-wrap;
word-wrap: break-word;
2016-09-25 18:48:35 +00:00
padding: 5px;
2016-09-23 07:38:47 +00:00
.nicklist
width: 280px;
position: absolute;
right: 0;
padding: 10px;
top: 0;
bottom: 0;
display: none;
2016-09-23 15:42:59 +00:00
z-index: 11;
2016-09-24 17:30:39 +00:00
overflow: auto;
2016-09-23 15:42:59 +00:00
.nick
cursor: pointer;
.nickname
font-size: 120%;
.prefix
width: 16px;
height: 16px;
line-height: 16px;
padding: 2px;
display: inline-block;
border-radius: 4px;
text-align: center;
margin-right: 5px;
font-weight: bold;
.no-prefix
width: 25px;
display: inline-block;
2016-09-25 18:48:35 +00:00
.settings
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
padding: 20px;
width: 60%;
min-width: 360px;
margin: auto;
overflow: auto;
.grade1, .grade2, .grade3
text-align: left;
2016-09-23 07:38:47 +00:00
&.vnicks
.nicklist
display: block;
.letterbox
right: 301px;
.topicbar
right: 301px;
&.vtopic
.topicbar
display: block;
.letterbox
top: 45px;
.input
position: absolute;
bottom: 0;
height: 46px;
width: 100%;
2016-09-23 12:36:56 +00:00
.my_nickname
2016-09-23 07:38:47 +00:00
margin: 5px;
padding: 7px;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
padding-right: 20px;
margin-right: 0;
width: 183px;
2016-09-23 15:42:59 +00:00
overflow: hidden;
2016-09-23 07:38:47 +00:00
.inputwrapper
display: inline-block
position: absolute
margin: 5px 0
left: 210px
right: 55px
top: 0
2016-09-23 07:38:47 +00:00
input
width: 100%
padding: 6px
font-size: 120%
border-left: 0
.sendbutton
width: 32px;
position: absolute;
height: 32px;
float: right;
top: 5px;
right: 5px;
cursor: pointer;
2016-09-24 12:25:47 +00:00
2016-09-23 15:42:59 +00:00
@media all and (max-width: 600px)
.vnicks
.nicklist
display: none !important;
.letterbox
right: 0 !important;
.topicbar
right: 0 !important;
&.vopentrig
.nicklist
display: block !important;
.topicbar
right: 45px;
.smsc-nicklistbtn
z-index: 12;
display: block !important;
.my_nickname
display: none;
.inputwrapper
left: 38px !important;