mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-24 20:42:49 +01:00
118 lines
2.0 KiB
CSS
118 lines
2.0 KiB
CSS
/*********************/
|
|
/* Center everything */
|
|
/*********************/
|
|
|
|
#doc {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
position: absolute;
|
|
display: table;
|
|
}
|
|
|
|
#page-outer {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#page-container {
|
|
padding: 0 20px !important;
|
|
width: 100% !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
.page-canvas {
|
|
margin: 0 auto !important;
|
|
}
|
|
|
|
.ResponsiveLayout {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
}
|
|
|
|
.Section {
|
|
padding: 36px !important;
|
|
}
|
|
|
|
/*******************/
|
|
/* General styling */
|
|
/*******************/
|
|
|
|
body {
|
|
/* remove scrollbar */
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.page-canvas {
|
|
/* tweak page shadow */
|
|
box-shadow: 0 0 150px rgba(255, 255, 255, 0.3) !important;
|
|
}
|
|
|
|
.topbar, .TopNav {
|
|
/* hide top bar */
|
|
display: none !important;
|
|
}
|
|
|
|
.page-canvas, .buttons, .btn, input {
|
|
/* sharpen borders */
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
input {
|
|
/* tweak input padding */
|
|
padding: 5px 8px 4px !important;
|
|
}
|
|
|
|
button[type='submit'] {
|
|
/* style buttons */
|
|
border: 1px solid rgba(0, 0, 0, 0.3) !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.tweetduck-helper {
|
|
/* custom login text */
|
|
margin-top: 15px !important;
|
|
font-weight: bold !important;
|
|
}
|
|
|
|
/********************************************/
|
|
/* Fix min width and margins on logout page */
|
|
/********************************************/
|
|
|
|
html[logout] .page-canvas {
|
|
width: auto !important;
|
|
max-width: 888px;
|
|
}
|
|
|
|
html[logout] .signout-wrapper {
|
|
width: auto !important;
|
|
margin: 0 auto !important;
|
|
}
|
|
|
|
html[logout] .signout {
|
|
margin: 60px 0 54px !important;
|
|
}
|
|
|
|
html[logout] .buttons {
|
|
padding-bottom: 0 !important;
|
|
}
|
|
|
|
/*******************************/
|
|
/* General logout page styling */
|
|
/*******************************/
|
|
|
|
html[logout] .aside {
|
|
/* hide elements around dialog */
|
|
display: none;
|
|
}
|
|
|
|
html[logout] .buttons button, html[logout] .buttons a {
|
|
/* style buttons */
|
|
display: inline-block;
|
|
margin: 0 4px !important;
|
|
border: 1px solid rgba(0, 0, 0, 0.3) !important;
|
|
border-radius: 0 !important;
|
|
}
|