diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-10-09 23:35:42 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-10-09 23:35:42 +0300 |
commit | 5a184b0433ba31f9d9dca576ddcfb01eff910196 (patch) | |
tree | eb80ed32f317740705bfa133f2c317a17d6ba220 /priv/css | |
parent | Better handle mobile devices in CSS of mod_register_web (diff) |
Don't include CSS, javascript and image data directly in the code
Diffstat (limited to 'priv/css')
-rw-r--r-- | priv/css/admin.css | 279 | ||||
-rw-r--r-- | priv/css/bosh.css | 51 | ||||
-rw-r--r-- | priv/css/muc.css | 27 | ||||
-rw-r--r-- | priv/css/oauth.css | 103 |
4 files changed, 460 insertions, 0 deletions
diff --git a/priv/css/admin.css b/priv/css/admin.css new file mode 100644 index 00000000..e0767839 --- /dev/null +++ b/priv/css/admin.css @@ -0,0 +1,279 @@ +html,body { + margin: 0; + padding: 0; + height: 100%; + background: #f9f9f9; + font-family: sans-serif; +} +body { + min-width: 990px; +} +a { + text-decoration: none; + color: #3eaffa; +} +a:hover, +a:active { + text-decoration: underline; +} +#container { + position: relative; + padding: 0; + margin: 0 auto; + max-width: 1280px; + min-height: 100%; + height: 100%; + margin-bottom: -30px; + z-index: 1; +} +html>body #container { + height: auto; +} +#header h1 { + width: 100%; + height: 50px; + padding: 0; + margin: 0; + background-color: #49cbc1; +} +#header h1 a { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 50px; + padding: 0; + margin: 0; + background: url('@BASE@logo.png') 10px center no-repeat transparent; + background-size: auto 25px; + display: block; + text-indent: -9999px; +} +#clearcopyright { + display: block; + width: 100%; + height: 30px; +} +#copyrightouter { + position: relative; + display: table; + width: 100%; + height: 30px; + z-index: 2; +} +#copyright { + display: table-cell; + vertical-align: bottom; + width: 100%; + height: 30px; +} +#copyright a { + font-weight: bold; + color: #fff; +} +#copyright p { + margin-left: 0; + margin-right: 0; + margin-top: 5px; + margin-bottom: 0; + padding-left: 0; + padding-right: 0; + padding-top: 5px; + padding-bottom: 5px; + width: 100%; + color: #fff; + background-color: #30353E; + font-size: 0.75em; + text-align: center; +} +#navigation { + display: inline-block; + vertical-align: top; + width: 30%; +} +#navigation ul { + padding: 0; + margin: 0; + width: 90%; + background: #fff; +} +#navigation ul li { + list-style: none; + margin: 0; + + border-bottom: 1px solid #f9f9f9; + text-align: left; +} +#navigation ul li a { + margin: 0; + display: inline-block; + padding: 10px; + color: #333; +} +ul li #navhead a, ul li #navheadsub a, ul li #navheadsubsub a { + font-size: 1.5em; + color: inherit; +} +#navitemsub { + border-left: 0.5em solid #424a55; +} +#navitemsubsub { + border-left: 2em solid #424a55; +} +#navheadsub, +#navheadsubsub { + padding-left: 0.5em; +} +#navhead, +#navheadsub, +#navheadsubsub { + border-top: 3px solid #49cbc1; + background: #424a55; + color: #fff; +} +#lastactivity li { + padding: 2px; + margin-bottom: -1px; +} +thead tr td { + background: #3eaffa; + color: #fff; +} +thead tr td a { + color: #fff; +} +td.copy { + text-align: center; +} +tr.head { + color: #fff; + background-color: #3b547a; + text-align: center; +} +tr.oddraw { + color: #412c75; + background-color: #ccd4df; + text-align: center; +} +tr.evenraw { + color: #412c75; + background-color: #dbe0e8; + text-align: center; +} +td.leftheader { + color: #412c75; + background-color: #ccccc1; + padding-left: 5px; + padding-top: 2px; + padding-bottom: 2px; + margin-top: 0px; + margin-bottom: 0px; +} +td.leftcontent { + color: #000044; + background-color: #e6e6df; + padding-left: 5px; + padding-right: 5px; + padding-top: 2px; + padding-bottom: 2px; + margin-top: 0px; + margin-bottom: 0px; +} +td.rightcontent { + color: #000044; + text-align: justify; + padding-left: 10px; + padding-right: 10px; + padding-bottom: 5px; +} + +h1 { + color: #000044; + padding-top: 2px; + padding-bottom: 2px; + margin-top: 0px; + margin-bottom: 0px; +} +h2 { + color: #000044; + text-align: center; + padding-top: 2px; + padding-bottom: 2px; + margin-top: 0px; + margin-bottom: 0px; +} +h3 { + color: #000044; + text-align: left; + padding-top: 20px; + padding-bottom: 2px; + margin-top: 0px; + margin-bottom: 0px; +} +#content ul { + padding-left: 1.1em; + margin-top: 1em; +} +#content ul li { + list-style-type: disc; + padding: 5px; +} +#content ul.nolistyle>li { + list-style-type: none; +} +#content { + display: inline-block; + vertical-align: top; + padding-top: 25px; + width: 70%; +} +div.guidelink, +p[dir=ltr] { + display: inline-block; + float: right; + + margin: 0; + margin-right: 1em; +} +div.guidelink a, +p[dir=ltr] a { + display: inline-block; + border-radius: 3px; + padding: 3px; + + background: #3eaffa; + + text-transform: uppercase; + font-size: 0.75em; + color: #fff; +} +table { + margin-top: 1em; +} +table tr td { + padding: 0.5em; +} +table tr:nth-child(odd) { + background: #fff; +} +table.withtextareas>tbody>tr>td { + vertical-align: top; +} +textarea { + margin-bottom: 1em; +} +input, +select { + font-size: 1em; +} +p.result { + border: 1px; + border-style: dashed; + border-color: #FE8A02; + padding: 1em; + margin-right: 1em; + background: #FFE3C9; +} +*.alignright { + text-align: right; +} diff --git a/priv/css/bosh.css b/priv/css/bosh.css new file mode 100644 index 00000000..efa6b68b --- /dev/null +++ b/priv/css/bosh.css @@ -0,0 +1,51 @@ +body { + margin: 0; + padding: 0; + font-family: sans-serif; + color: #fff; +} +h1 { + font-size: 3em; + color: #444; +} +p { + line-height: 1.5em; + color: #888; +} +a { + color: #fff; +} +a:hover, +a:active { + text-decoration: underline; +} +.container { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: #424A55; + background-image: -webkit-linear-gradient(270deg, rgba(48,52,62,0) 24%, #30353e 100%); + background-image: linear-gradient(-180deg, rgba(48,52,62,0) 24%, #30353e 100%); +} +.section { + padding: 3em; +} +.white.section { + background: #fff; + border-bottom: 4px solid #41AFCA; +} +.white.section a { + text-decoration: none; + color: #41AFCA; +} +.white.section a:hover, +.white.section a:active { + text-decoration: underline; +} +.block { + margin: 0 auto; + max-width: 900px; + width: 100%; +} diff --git a/priv/css/muc.css b/priv/css/muc.css new file mode 100644 index 00000000..48b7a19f --- /dev/null +++ b/priv/css/muc.css @@ -0,0 +1,27 @@ +.ts {color: #AAAAAA; text-decoration: none;} +.mrcm {color: #009900; font-style: italic; font-weight: bold;} +.msc {color: #009900; font-style: italic; font-weight: bold;} +.msm {color: #000099; font-style: italic; font-weight: bold;} +.mj {color: #009900; font-style: italic;} +.ml {color: #009900; font-style: italic;} +.mk {color: #009900; font-style: italic;} +.mb {color: #009900; font-style: italic;} +.mnc {color: #009900; font-style: italic;} +.mn {color: #0000AA;} +.mne {color: #AA0099;} +a.nav {color: #AAAAAA; font-family: monospace; letter-spacing: 3px; text-decoration: none;} +div.roomtitle {border-bottom: #224466 solid 3pt; margin-left: 20pt;} +div.roomtitle {color: #336699; font-size: 24px; font-weight: bold; font-family: sans-serif; letter-spacing: 3px; text-decoration: none;} +a.roomjid {color: #336699; font-size: 24px; font-weight: bold; font-family: sans-serif; letter-spacing: 3px; margin-left: 20pt; text-decoration: none;} +div.logdate {color: #663399; font-size: 20px; font-weight: bold; font-family: sans-serif; letter-spacing: 2px; border-bottom: #224466 solid 1pt; margin-left:80pt; margin-top:20px;} +div.roomsubject {color: #336699; font-size: 18px; font-family: sans-serif; margin-left: 80pt; margin-bottom: 10px;} +div.rc {color: #336699; font-size: 12px; font-family: sans-serif; margin-left: 50%; text-align: right; background: #f3f6f9; border-bottom: 1px solid #336699; border-right: 4px solid #336699;} +div.rct {font-weight: bold; background: #e3e6e9; padding-right: 10px;} +div.rcos {padding-right: 10px;} +div.rcoe {color: green;} +div.rcod {color: red;} +div.rcoe:after {content: ": v";} +div.rcod:after {content: ": x";} +div.rcot:after {} +.legend {width: 100%; margin-top: 30px; border-top: #224466 solid 1pt; padding: 10px 0px 10px 0px; text-align: left; font-family: monospace; letter-spacing: 2px;} +.w3c {position: absolute; right: 10px; width: 60%; text-align: right; font-family: monospace; letter-spacing: 1px;} diff --git a/priv/css/oauth.css b/priv/css/oauth.css new file mode 100644 index 00000000..41112f39 --- /dev/null +++ b/priv/css/oauth.css @@ -0,0 +1,103 @@ +body { + margin: 0; + padding: 0; + + font-family: sans-serif; + color: #fff; +} + +h1 { + font-size: 3em; + color: #444; +} + +p { + line-height: 1.5em; + color: #888; +} + +a { + color: #fff; +} +a:hover, +a:active { + text-decoration: underline; +} + +em { + display: inline-block; + padding: 0 5px; + background: #f4f4f4; + border-radius: 5px; + font-style: normal; + font-weight: bold; + color: #444; +} + +form { + color: #444; +} +label { + display: block; + font-weight: bold; +} + +input[type=text], +input[type=password] { + margin-bottom: 1em; + padding: 0.4em; + max-width: 330px; + width: 100%; + border: 1px solid #c4c4c4; + border-radius: 5px; + outline: 0; + font-size: 1.2em; +} +input[type=text]:focus, +input[type=password]:focus, +input[type=text]:active, +input[type=password]:active { + border-color: #41AFCA; +} + +input[type=submit] { + font-size: 1em; +} + +.container { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: #424A55; + background-image: -webkit-linear-gradient(270deg, rgba(48,52,62,0) 24%, #30353e 100%); + background-image: linear-gradient(-180deg, rgba(48,52,62,0) 24%, #30353e 100%); +} + +.section { + padding: 3em; +} +.white.section { + background: #fff; + border-bottom: 4px solid #41AFCA; +} + +.white.section a { + text-decoration: none; + color: #41AFCA; +} +.white.section a:hover, +.white.section a:active { + text-decoration: underline; +} + +.container > .section { + background: #424A55; +} + +.block { + margin: 0 auto; + max-width: 900px; + width: 100%; +} |