Ando / style.css
proti0070's picture
Upload 7 files
22be007 verified
/* Android Studio Web - Complete Styles with Android 10 Preview */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
transition: background-color 0.2s ease, border-color 0.2s ease;
}
::selection {
background-color: #214283;
color: white;
}
body {
font-family: 'Inter', sans-serif;
overflow: hidden;
}
.code-font {
font-family: 'JetBrains Mono', monospace;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #2B2B2B;
}
::-webkit-scrollbar-thumb {
background: #4E4E4E;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #5E5E5E;
}
::-webkit-scrollbar-corner {
background: #2B2B2B;
}
/* Editor Styles */
.line-numbers {
background-color: #313335;
color: #808080;
text-align: right;
padding-right: 12px;
user-select: none;
min-width: 40px;
line-height: 1.5rem;
font-size: 12px;
}
.editor-content {
background-color: #1E1E1E;
color: #A9B7C6;
outline: none;
white-space: pre;
tab-size: 4;
font-size: 12px;
line-height: 1.5rem;
}
/* File Tree */
.file-item {
cursor: pointer;
transition: background-color 0.15s ease;
font-size: 13px;
}
.file-item:hover {
background-color: #4E4E4E;
}
.file-item.active {
background-color: #4E4E4E;
color: white;
}
/* Android 10 Phone Frame */
.phone-frame {
width: 280px;
height: 560px;
background: #121212;
border-radius: 40px;
position: relative;
overflow: hidden;
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease;
}
.phone-frame.rotated {
transform: rotate(90deg);
width: 560px;
height: 280px;
}
/* Android 10 Status Bar */
.status-bar {
display: flex;
justify-content: space-between;
padding: 12px 20px;
background: #121212;
color: white;
font-size: 12px;
font-weight: 500;
}
.status-bar.light {
background: #FFFFFF;
color: black;
}
.status-bar .status-icons {
display: flex;
gap: 4px;
}
/* App Screen */
.app-screen {
height: calc(100% - 80px);
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #F5F5F5;
}
.app-screen.dark {
background: #1E1E1E;
}
.logo-container {
text-align: center;
}
#preview-logo {
width: 96px;
height: 96px;
border-radius: 20px;
margin-bottom: 16px;
object-fit: cover;
}
#preview-app-name {
font-size: 20px;
font-weight: 600;
color: #333;
margin-bottom: 4px;
}
.dark #preview-app-name {
color: white;
}
.app-version {
font-size: 12px;
color: #666;
}
.dark .app-version {
color: #999;
}
/* Android 10 Navigation */
.nav-bar {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
background: #121212;
}
.nav-bar.light {
background: #FFFFFF;
}
.nav-handle {
width: 120px;
height: 5px;
background: #4E4E4E;
border-radius: 3px;
}
/* Terminal */
.xterm {
padding: 8px;
height: 100%;
}
.xterm-viewport {
overflow-y: auto !important;
}
/* Build Output */
.build-success {
color: #3DDC84;
}
.build-error {
color: #CF6679;
}
.build-warning {
color: #FBC02D;
}
.build-info {
color: #64B5F6;
}
/* Animations */
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.building {
animation: pulse 1.5s infinite;
}
/* Project Dropdown */
#project-dropdown {
max-height: 300px;
overflow-y: auto;
}
.project-item {
padding: 8px 12px;
cursor: pointer;
border-radius: 4px;
display: flex;
align-items: center;
gap: 8px;
}
.project-item:hover {
background: #4E4E4E;
}
/* Responsive */
@media (max-width: 1024px) {
.w-64 {
width: 200px;
}
.w-80 {
width: 240px;
}
}
@media (max-width: 768px) {
.w-64, .w-80 {
display: none;
}
}